Reader small image

You're reading from  Monitoring Hadoop

Product typeBook
Published inApr 2015
Publisher
ISBN-139781783281558
Edition1st Edition
Tools
Right arrow
Author (1)
Aman Singh
Aman Singh
author image
Aman Singh

Gurmukh Singh is a seasoned technology professional with 14+ years of industry experience in infrastructure design, distributed systems, performance optimization, and networks. He has worked in big data domain for the last 5 years and provides consultancy and training on various technologies. He has worked with companies such as HP, JP Morgan, and Yahoo. He has authored Monitoring Hadoop by Packt Publishing
Read more about Aman Singh

Right arrow

MapReduce control commands


Hadoop provides a job command to interact with map reducers, using which the administrator can control the jobs or tasks submitted to the cluster.

  • The <options> part of hadoop job <options> is explained in the following table:

    Option

    Description

    -list

    This command lists all the running jobs in a cluster. This is for MapReduce version 1.

    -list all

    This command lists all the jobs in a cluster.

    -status <job-id>

    This gives information about the job counter and the MapReduce completion percentage.

    -kill <job-id>

    Using this command, we can kill the long-running or stuck jobs.

    -history

    Gives details about the job, in terms of failed or successful tasks.

  • hadoop jobtracker -dumpConfiguration: This command is used to dump the JobTracker configuration along with all the queue information. This can be really helpful in doing a quick review of the configuration or as a backup.

  • hadoop queue <options>: The jobs submitted can...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Monitoring Hadoop
Published in: Apr 2015Publisher: ISBN-13: 9781783281558

Author (1)

author image
Aman Singh

Gurmukh Singh is a seasoned technology professional with 14+ years of industry experience in infrastructure design, distributed systems, performance optimization, and networks. He has worked in big data domain for the last 5 years and provides consultancy and training on various technologies. He has worked with companies such as HP, JP Morgan, and Yahoo. He has authored Monitoring Hadoop by Packt Publishing
Read more about Aman Singh