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

SparkContext#addFile doesn't keep file folder information

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0, 1.4.0
    • Spark Core
    • None

    Description

      Files added with SparkContext#addFile are loaded with Utils#fetchFile before a task starts. However, Utils#fetchFile puts all files under the Spart root on the worker node. We should have an option to keep the folder information.

      Attachments

        Issue Links

          Activity

            People

              sandyr Sandy Ryza
              jxiang Jimmy Xiang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: