Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-257

File system storage wont work with relative paths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 0.4
    • 0.5
    • None
    • None

    Description

      I think I introduced this in FALCON-85. I was testing with relative URLs in feed and process definitions and it started failing with malformed URI.

      Workflow failed, error message[IOException: E0902: Exception occured: [Incomplete HDFS URI, no host: hdfs://venkatesh-secure-falcon-1.cs1cloud.internal:8020falcon/demo/apps/ingest/fs

      This is a simple line change:

              return storageUrl + new Path(locationForType.getPath());
      

      to

              return new Path(storageUrl + "/" + locationForType.getPath()).toString();
      

      Attachments

        1. FALCON-257.patch
          4 kB
          Venkatesh Seetharam
        2. FALCON-257-v1.patch
          7 kB
          Venkatesh Seetharam
        3. FALCON-257-v2.patch
          8 kB
          Venkatesh Seetharam

        Activity

          People

            svenkat Venkatesh Seetharam
            svenkat Venkatesh Seetharam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: