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

FileSystem.getUri().resolve() should handle Path created on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • None
    • None
    • windows

    Description

      FileSystem.getUri() returns URI constructed from string "file:///" This when applied to absolute Paths created on Windows breaks. For example when using a patch constructed like this with DistributedCache(). makeAbsolute(Path) seems to return path with drive letter followed by colon. URI.resolve() treats this part as authority for local filesystem on windows.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lohit Lohit Vijaya Renu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: