namenode, datanode not list by using jps

前端 未结 6 1773
走了就别回头了
走了就别回头了 2021-01-03 02:50

Environment: ubuntu 14.04, hadoop 2.6

After I type the start-all.sh and jps, DataNode doesn\'t list on the terminal



        
6条回答
  •  南方客
    南方客 (楼主)
    2021-01-03 03:03

    For this you need to give permission to you hdfc folder. Then run below commands:

    1. create a group by command: sudo adgroup hadoop
    2. add ur user into this: sudo usermod -a -G hadoop "ur_user" ( u can see current user by Who command)
    3. Now change the owner ship of this hadoop_store directly by: sudo chown -R "ur_user":"ur_gourp" /usr/local/hadoop_store
    4. then format name node again by: hdfs namenode -format

    and start all services you can see the result.....now type JPS (it will work).

提交回复
热议问题