[ 
https://issues.apache.org/jira/browse/HDFS-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833950#action_12833950
 ] 

Kay Kay commented on HDFS-968:
------------------------------

Test failed with - 

org.apache.hadoop.hdfs.security.TestDelegationToken.testDelegationTokenWithRealUser
 (from TestDelegationToken)

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)

I don't think it has anything to do with this patch though. 


> s/StringBuffer/StringBuilder - as necessary
> -------------------------------------------
>
>                 Key: HDFS-968
>                 URL: https://issues.apache.org/jira/browse/HDFS-968
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Kay Kay
>         Attachments: HDFS-968.patch
>
>


-- 
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