Uploaded image for project: 'REEF'
  1. REEF
  2. REEF-2016

Fix CreateUriForPath method for different IFileSystem implements to not prepend baseUri prefix if it already contains it

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.17
    • Component/s: REEF-IO
    • Labels:
      None

      Description

      The CreateUriForPath(string path) method is summarised as follows

      /// Create Uri from a given file path.
      /// The file path can be full with prefix or relative without prefix.
      /// If null is passed as the path, ArgumentException will be thrown.

      Currently the AzureBlob, Azure Data Lake and HDFS implementations of IFileSystem treat the path as relative and appends the baseUri prefix. If a full uri is passed with prefix the returned Uri is incorrect. This needs to be fixed

        Attachments

          Activity

            People

            • Assignee:
              dwaijam Dwaipayan Mukhopadhyay
              Reporter:
              dwaijam Dwaipayan Mukhopadhyay
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: