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

Do not attemp when user code throws exception

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Not A Problem
    • 2.3.3, 2.4.0
    • None
    • Spark Core, YARN
    • None

    Description

      Yarn attemps the failed App depending on YarnRMClient#unregister. However, some attemps are useless like the example:

      sc.parallelize(Seq(1,2,3)).map(_ => throw new RuntimeException("exception")).collect()
      

      Also some attemps when "FileNorFoundException" is thrown in user code looks unreasonable.

      Some environment errors, such as node dead, attemps reasonablely. So, it will be better that user exception will not attemp.

      Attachments

        Activity

          People

            Unassigned Unassigned
            deshanxiao Deshan Xiao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: