You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Susheel Kumar Gadalay <sk...@gmail.com> on 2014/08/10 16:36:21 UTC

How to run Job tracker/Task tracker in 2.2.0 and later

Hi,

I am using Hadoop 2.2.0 version.

I am not finding start-mapred.sh in the sbin directory.

How do I start Job tracker and Task tracker.

I tried version 1 way by directly executing but getting these errors.

[hadoop@ip-10-147-128-12 ~]$ sbin/hadoop-daemon.sh start jobtracker
starting jobtracker, logging to
/home/hadoop/logs/hadoop-hadoop-jobtracker-ip-10-147-128-12.out
DEPRECATED: Use of this script to execute mapred command is deprecated.
Instead use the mapred command for it.

Sorry, the jobtracker command is no longer supported.
You may find similar functionality with the "yarn" shell command.
Usage: mapred [--config confdir] COMMAND
       where COMMAND is one of:
  pipes                run a Pipes job
  job                  manipulate MapReduce jobs
  queue                get information regarding JobQueues

[hadoop@ip-10-147-128-12 ~]$ sbin/hadoop-daemons.sh start tasktracker
localhost: starting tasktracker, logging to
/home/hadoop/logs/hadoop-hadoop-tasktracker-ip-10-147-128-12.out
localhost: DEPRECATED: Use of this script to execute mapred command is
deprecated.
localhost: Instead use the mapred command for it.
localhost:
localhost: Sorry, the tasktracker command is no longer supported.
localhost: You may find similar functionality with the "yarn" shell command.
localhost: Usage: mapred [--config confdir] COMMAND
localhost:        where COMMAND is one of:
localhost:   pipes                run a Pipes job
localhost:   job                  manipulate MapReduce jobs
localhost:   queue                get information regarding JobQueues