3. Start MapReduce

  1. Execute these commands from the JobTracker server:

    Login as $HDFS_USER
    /usr/lib/hadoop/bin/hadoop fs -mkdir /mapred
    /usr/lib/hadoop/bin/hadoop fs -chown -R mapred /mapred
    Login as $MAPRED_USER
    /usr/lib/hadoop/bin/hadoop-daemon.sh --config $HADOOP_CONF_DIR start jobtracker
  2. Execute these commands from the JobHistory server:

    Login as $MAPRED_USER
    /usr/lib/hadoop/bin/hadoop-daemon.sh --config $HADOOP_CONF_DIR start historyserver
  3. Execute these commands from all TaskTracker nodes:

    Login as $MAPRED_USER
    /usr/lib/hadoop/bin/hadoop-daemon.sh --config $HADOOP_CONF_DIR start tasktracker
    

loading table of contents...