Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-8612

Yarn application status is misreported for failed PySpark apps.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.3.0, 1.3.1, 1.4.0
    • None
    • YARN
    • 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

          Activity

            People

              Unassigned Unassigned
              juliet Juliet Hougland
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: