Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-11000

webhdfs PUT does not work if requests are routed to call queue.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha2
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      If webhdfs calls are routed to ipc call queue, PUT does not work.

      I think this is what we got when we tried HDFS-10789 on branch-2.7 internally last year.

      WARN resources.ExceptionHandler: INTERNAL_SERVER_ERROR
      java.lang.NullPointerException
              at org.apache.hadoop.hdfs.server.namenode.web.resources.NamenodeWebHdfsMethods.redirectURI(NamenodeWebHdfsMethods.java:299)
              at org.apache.hadoop.hdfs.server.namenode.web.resources.NamenodeWebHdfsMethods.put(NamenodeWebHdfsMethods.java:495)
              at org.apache.hadoop.hdfs.server.namenode.web.resources.NamenodeWebHdfsMethods.access$100(NamenodeWebHdfsMethods.java:100)
              at org.apache.hadoop.hdfs.server.namenode.web.resources.NamenodeWebHdfsMethods$2.call(NamenodeWebHdfsMethods.java:449)
              at org.apache.hadoop.hdfs.server.namenode.web.resources.NamenodeWebHdfsMethods$2.call(NamenodeWebHdfsMethods.java:446)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at org.apache.hadoop.ipc.Server$ExternalCall.run(Server.java:722)
              at org.apache.hadoop.ipc.Server$ExternalCall.run(Server.java:711)
              at java.security.AccessController.doPrivileged(Native Method)
              at javax.security.auth.Subject.doAs(Subject.java:422)
              at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1680)
              at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2247
      

      Sorry, we should have included this in HDFS-10789.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kihwal Kihwal Lee
                Reporter:
                kihwal Kihwal Lee
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: