How Do You Know if a MapReduce Job Succeeded?

Problem scenario
You want to know if a MapReduce job succeeded. What do you do?

Solution
Run one or both of these pairs of commands:

hadoop job -list all
hadoop job -list all | grep SUCCEEDED
mapred job -list all
mapred job -list all | grep SUCCEEDED

Leave a comment

Your email address will not be published. Required fields are marked *