"In our cluster (HDP) this "return code 1" usually means that YARN launched the App Master (container #1) but had not enough resources to launch a sufficient number of TEZ executor containers to process the DAG => the AppMaster waits => until time-out."