ContainerExecutor Error Codes (YARN)
The codes in the table apply to the container-executor in YARN, but are used the LinuxContainerExecutor only.
| 
 Numeric Code  | 
 Name  | 
 Description  | 
|---|---|---|
| 
 1  | 
 INVALID_ARGUMENT_NUMBER  | 
  | 
| 
 2  | 
 INVALID_USER_NAME  | 
 The user passed to the task-controller does not exist.  | 
| 
 3  | 
 INVALID_COMMAND_PROVIDED  | 
 The container-executor does not recognize the command it was asked to run.  | 
| 
 5  | 
 INVALID_NM_ROOT  | 
 The passed NodeManager root does not match the configured NodeManager root (yarn.nodemanager.local-dirs), or does not exist.  | 
| 
 6  | 
 SETUID_OPER_FAILED  | 
 Either could not read the local groups database, or could not set UID or GID  | 
| 
 7  | 
 UNABLE_TO_EXECUTE_CONTAINER_SCRIPT  | 
 The container-executor could not run the container launcher script.  | 
| 
 8  | 
 UNABLE_TO_SIGNAL_CONTAINER  | 
 The container-executor could not signal the container it was passed.  | 
| 
 9  | 
 INVALID_CONTAINER_PID  | 
 The PID passed to the container-executor was negative or 0.  | 
| 
 18  | 
 OUT_OF_MEMORY  | 
 The container-executor couldn't allocate enough memory while reading the container-executor.cfg file, or while getting the paths for the container launcher script or credentials files.  | 
| 
 20  | 
 INITIALIZE_USER_FAILED  | 
 Couldn't get, stat, or secure the per-user NodeManager directory.  | 
| 
 21  | 
 UNABLE_TO_BUILD_PATH  | 
 The container-executor couldn't concatenate two paths, most likely because it ran out of memory.  | 
| 
 22  | 
 INVALID_CONTAINER_EXEC_PERMISSIONS  | 
 The container-executor binary does not have the correct permissions set. See Information about Other Hadoop Security Programs.  | 
| 
 24  | 
 INVALID_CONFIG_FILE  | 
 The container-executor.cfg file is missing, malformed, or has incorrect permissions.  | 
| 
 25  | 
 SETSID_OPER_FAILED  | 
 Could not set the session ID of the forked container.  | 
| 
 26  | 
 WRITE_PIDFILE_FAILED  | 
 Failed to write the value of the PID of the launched container to the PID file of the container.  | 
| 
 255  | 
 Unknown Error  | 
 This error has several possible causes. Some common causes are: 
  | 
| << TaskController Error Codes (MRv1) | ©2016 Cloudera, Inc. All rights reserved | Get Started with Hue >> | 
| Terms and Conditions Privacy Policy |