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

ramtin updated HDFS-9195:
-------------------------
    Attachment: HDFS-9195.001.patch

cachedHomeDirectory generated for RealUser and webhdfs.getHomeDirectory() won't 
provide a new path for ProxyUser.

> TestDelegationTokenForProxyUser.testWebHdfsDoAs fails on trunk
> --------------------------------------------------------------
>
>                 Key: HDFS-9195
>                 URL: https://issues.apache.org/jira/browse/HDFS-9195
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Tsuyoshi Ozawa
>         Attachments: HDFS-9195.001.patch
>
>
> {quote}
> testWebHdfsDoAs(org.apache.hadoop.hdfs.security.TestDelegationTokenForProxyUser)
>   Time elapsed: 1.299 sec  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<...ocalhost:44528/user/[Proxy]User> 
> but was:<...ocalhost:44528/user/[Real]User>
>       at org.junit.Assert.assertEquals(Assert.java:115)
>       at org.junit.Assert.assertEquals(Assert.java:144)
>       at 
> org.apache.hadoop.hdfs.security.TestDelegationTokenForProxyUser.testWebHdfsDoAs(TestDelegationTokenForProxyUser.java:163)
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to