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

Closing shuffle writers we swallow more important exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • Spark Core
    • None

    Description

      ShaffleMapTask: line 75

      ShaffleMapTask
       case e: Exception =>
              if (writer != null) {
                writer.stop(success = false)
              }
              throw e
      

      Exception in writer.stop() swallows the important one. Couldn't find the reason for problems for days. Look up in internet "java.io.FileNotFoundException: /local/hd2/yarn/local/usercache/epahomov/appcache/application_1411219858924_12991/spark-local-20140924225309-03f5/21/shuffle_4_12_147 (No such file or directory)" - there are plenty poor guys like me.

      Attachments

        Activity

          People

            Unassigned Unassigned
            epakhomov Egor Pakhomov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: