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

WebHdfsFilesystem does not work within a proxyuser doAs call in secure mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Invalid
    • 2.0.0-alpha
    • None
    • None
    • None

    Description

      It does not find kerberos credentials in the context (the UGI is logged in from a keytab) and it fails with the following trace:

      java.lang.IllegalStateException: unknown char '<'(60) in org.mortbay.util.ajax.JSON$ReaderSource@23245e75
      	at org.mortbay.util.ajax.JSON.handleUnknown(JSON.java:788)
      	at org.mortbay.util.ajax.JSON.parse(JSON.java:777)
      	at org.mortbay.util.ajax.JSON.parse(JSON.java:603)
      	at org.mortbay.util.ajax.JSON.parse(JSON.java:183)
      	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.jsonParse(WebHdfsFileSystem.java:259)
      	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.validateResponse(WebHdfsFileSystem.java:268)
      	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.run(WebHdfsFileSystem.java:427)
      	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getDelegationToken(WebHdfsFileSystem.java:722)
      

      Attachments

        1. HDFS-3509.patch
          5 kB
          Alejandro Abdelnur
        2. HDFS-3509-branch1.patch
          3 kB
          Alejandro Abdelnur

        Issue Links

          Activity

            People

              tucu00 Alejandro Abdelnur
              tucu00 Alejandro Abdelnur
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: