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

SparkContext should not exit directly when spark.local.dir is a list of multiple paths and one of them has error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Spark Core
    • None

    Description

      The spark.local.dir is configured as a list of multiple paths as follows /data1/sparkenv/local,/data2/sparkenv/local. If the disk data2 of the driver node has error, the application will exit since DiskBlockManager exits directly at createLocalDirs. If the disk data2 of the worker node has error, the executor will exit either.
      DiskBlockManager should not exit directly at createLocalDirs if one of spark.local.dir has error. Since spark.local.dir has multiple paths, a problem should not affect the overall situation.
      I think DiskBlockManager could ignore the bad directory at createLocalDirs.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yantangzhai YanTang Zhai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: