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

TestDelegationToken#testDelegationTokenWithRealUser is failing

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.22.0
    • 0.22.0
    • contrib/hdfsproxy, security
    • None

    Description

      Hudson is reporting that TestDelegationToken#testDelegationTokenWithRealUser is failing on trunk.

      Failing for the past 10 builds (Since #223 )
      Took 0.61 sec.
      add description
      Error Message

      User: RealUser is not allowed to impersonate proxyUser
      Stacktrace

      org.apache.hadoop.ipc.RemoteException: User: RealUser is not allowed to impersonate proxyUser
      at org.apache.hadoop.ipc.Client.call(Client.java:887)
      at org.apache.hadoop.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:198)
      at $Proxy7.getProtocolVersion(Unknown Source)
      at org.apache.hadoop.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.java:228)
      at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:220)
      at org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:151)
      at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:250)
      at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:217)
      at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:87)
      at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1747)
      at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:69)
      at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:1775)
      at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1763)
      at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:193)
      at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:101)
      at org.apache.hadoop.hdfs.MiniDFSCluster.getFileSystem(MiniDFSCluster.java:813)
      at org.apache.hadoop.hdfs.security.TestDelegationToken$1.run(TestDelegationToken.java:147)
      at org.apache.hadoop.hdfs.security.TestDelegationToken$1.run(TestDelegationToken.java:145)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:396)
      at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:706)
      at org.apache.hadoop.hdfs.security.TestDelegationToken.testDelegationTokenWithRealUser(TestDelegationToken.java:144)

      Attachments

        Activity

          People

            pocheung Po Cheung
            eli Eli Collins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: