Job Failure - ExitCodeException exitCode=1

Problem

A job submitted to the Hadoop cluster fails with the following exception in the job log:

WARN [2016-01-01 00:00:00.000] [ConcurrentJobExecutor-0] (DefaultMrJobClient.java:216) - attempt_: Exception from container-launch. Container id: container_ Exit code: 1 Stack trace: ExitCodeException exitCode=1: 

Cause

This error most commonly occurs if there is a path mismatch in Datameer for the Yarn Classpath.

Solution

To resolve this issue, capture the yarn.application.classpath parameter from the yarn-site.xml file and paste the output into the YARN Application Classpath parameter in the Hadoop Cluster page for Datameer.

Once that is done, re-submit the job to verify that the issue is resolved.

If this doesn't resolve the issue, see the following related article: Job Failure - ExitCodeException exitCode=1 Pivotal HD