I'm using Hadoop Streaming a lot. It's exit codes has been something of a mystery, so today I decided to find out by looking at the source code.
The exit codes are listed in StreamJob.java, and are as follows:
- Job not successful, i.e. something went wrong with M/R code.
- Bad input path
- Invalid jobconf
- Output path already exists
- Error launching job. Could be any error, for example some HDFS communication error.