Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9746

DistributedCache.addFileToClassPath assumes Path has no authority nor protocol set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.0-alpha
    • None
    • filecache
    • None

    Description

      DistributedCache.addFileToClassPath assumes a Path passed as a parameter has no authority nor protocol set. When it does it silently fails to add a file to the classpath. It is nowhere documented. It can be easily fixed by substituting file.toString() call with file.toUri().getPath()

      Attachments

        Activity

          People

            ojoshi Omkar Vinit Joshi
            fedo Mateusz Fedoryszak
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified