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

Alejandro Abdelnur commented on HDFS-6842:
------------------------------------------

Ted, this is happening because of HADOOP-10835 refactoring changes, 
HADOOP-10836 fixes it. 

Mind checking with HADOOP-10836, I've tested locally and that fixes the 
problem. 

> TestHttpFSFWithWebhdfsFileSystem fails in trunk
> -----------------------------------------------
>
>                 Key: HDFS-6842
>                 URL: https://issues.apache.org/jira/browse/HDFS-6842
>             Project: Hadoop HDFS
>          Issue Type: Test
>            Reporter: Ted Yu
>
> This can be reproduced locally:
> {code}
> testOperationDoAs[21](org.apache.hadoop.fs.http.client.TestHttpFSFWithWebhdfsFileSystem)
>   Time elapsed: 0.315 sec  <<< ERROR!
> org.apache.hadoop.ipc.RemoteException: User: zy is not allowed to impersonate 
> user1
>       at org.apache.hadoop.ipc.Client.call(Client.java:1411)
>       at org.apache.hadoop.ipc.Client.call(Client.java:1364)
>       at 
> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:206)
>       at com.sun.proxy.$Proxy24.mkdirs(Unknown Source)
>       at 
> org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.mkdirs(ClientNamenodeProtocolTranslatorPB.java:512)
>       at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:606)
>       at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:186)
>       at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:101)
>       at com.sun.proxy.$Proxy25.mkdirs(Unknown Source)
>       at org.apache.hadoop.hdfs.DFSClient.primitiveMkdir(DFSClient.java:2546)
>       at org.apache.hadoop.hdfs.DFSClient.mkdirs(DFSClient.java:2517)
>       at 
> org.apache.hadoop.hdfs.DistributedFileSystem$16.doCall(DistributedFileSystem.java:821)
>       at 
> org.apache.hadoop.hdfs.DistributedFileSystem$16.doCall(DistributedFileSystem.java:817)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to