简体   繁体   中英

Hadoop- How to run JobTracker?

I use CDH5.4 , I want to start the JobTracker and TaskTracker with this command sudo service hadoop-0.20-mapreduce-jobtracker start and sudo service hadoop-0.20-mapreduce-tasktracker start , I got this error : hadoop-0.20-mapreduce-jobtracker: Unrecognized service same error with tasktraker why?

I tried to use the start-all.sh but I didn't find his location.. after that I used the ./mapred.sh but It asks about password Please give me a solution to start the jobtraker and tasktracker

Please check HDFS service is installed or not and namenode and datanode an yarn

start-all.sh & stop-all.sh : Used to start and stop hadoop daemons all at once. Issuing it on the master machine will

start/stop the daemons on all the nodes of a cluster. Deprecated as you have already noticed.

start-dfs.sh, stop-dfs.sh and start-yarn.sh, stop-yarn.sh : Same as above but start/stop HDFS and YARN daemons separately

on all the nodes from the master machine. It is advisable to use these commands now over start-all.sh & stop-all.sh

hadoop-daemon.sh namenode/datanode and yarn-deamon.sh resourcemanager : To start individual daemons on an individual

machine manually. You need to go to a particular node and issue these commands.

You're using CDH 5.4 so do not use the new very old version of MapReduce, use MR2 and YARN. The jobTracker is a service that is part of YARN. Use ClouderaManager to set up a single node by following their excellent instructions.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM