Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
1.3.0, 1.3.1, 1.4.0
-
None
-
None
-
PySpark job run in yarn-client mode on CDH 5.4.2
Description
When a PySpark job fails, the YARN records and reports its status as successful. Hari Shreedharan pointed out to me that the ApplicationMaster records app success when system.exit is called. PySpark always exits by calling os._exit. Because of this, every PySpark application run on yarn is marked as completed successfully.
Attachments
Issue Links
- duplicates
-
SPARK-7736 Exception not failing Python applications (in yarn cluster mode)
- Resolved