Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0-alpha1
    • ui, webhdfs
    • None

    Description

      Please see https://issues.apache.org/jira/browse/HDFS-7588?focusedCommentId=14276192&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14276192

      A backwards compatible manner we can fix this is to add a flag on the request which would disable the redirect, i.e.

      curl -i -X PUT "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=CREATE[&noredirect=<true|false>]
      

      returns 200 with the DN location in the response.

      This would allow the Browser clients to get the redirect URL to put the file to.

      Attachments

        1. HDFS-7766.01.patch
          17 kB
          Ravi Prakash
        2. HDFS-7766.02.patch
          19 kB
          Ravi Prakash
        3. HDFS-7766.03.patch
          27 kB
          Ravi Prakash
        4. HDFS-7766.04.patch
          27 kB
          Ravi Prakash
        5. HDFS-7766.04.patch
          27 kB
          Ravi Prakash
        6. HDFS-7766.05.patch
          28 kB
          Ravi Prakash
        7. HDFS-7766.06.patch
          29 kB
          Ravi Prakash

        Issue Links

          Activity

            People

              raviprak Ravi Prakash
              raviprak Ravi Prakash
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: