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

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.17
    • REEF-IO
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment