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

local directories cannot be cleanuped when create directory of "executor-***" throws IOException such as there is no more free disk space to create it etc.

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete CommentsDelete
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.2, 2.0.2
    • 2.2.0
    • Spark Core
    • None
    • linux

    Description

      i set SPARK_LOCAL_DIRS variable like this:
      SPARK_LOCAL_DIRS=/data2/spark/tmp,/data3/spark/tmp,/data4/spark/tmp

      when there is no more free disk space on "/data4/spark/tmp" , other local directories (/data2/spark/tmp,/data3/spark/tmp) cannot be cleaned up when my application finished.

      we should catch the IOExecption when create local dirs , otherwise the variable "appDirectories(appId)" not be set , then local directories "executor-***" which have been created on/data2/spark/tmp and /data3/spark/tmp will not be deleted.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            zuo.tingbing9 zuotingbing Assign to me
            zuo.tingbing9 zuotingbing
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment