[ 
https://issues.apache.org/jira/browse/HDFS-982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Po Cheung reassigned HDFS-982:
------------------------------

    Assignee: Po Cheung

> TestDelegationToken#testDelegationTokenWithRealUser is failing
> --------------------------------------------------------------
>
>                 Key: HDFS-982
>                 URL: https://issues.apache.org/jira/browse/HDFS-982
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: contrib/hdfsproxy, security
>    Affects Versions: 0.22.0
>            Reporter: Eli Collins
>            Assignee: Po Cheung
>            Priority: Blocker
>             Fix For: 0.22.0
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to