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

Chen Liang commented on HDFS-15164:
-----------------------------------

Initially based on my quick check, I thought this was due to the change in 
HDFS-15099 to return RetryOnActiveException, causing the error message to 
change, and the test is asserts on log capture, so it got a different message 
and failed the assertion. On a second look, seems that the actual issue is that 
due to probing period, client was not connecting to Standby, so that the 
expected Standby exception is not happening. In this case, I think disabling 
the probing period for this test is the right fix.

So +1 on 01 patch, pending Jenkins. And thanks [~ayushtkn] again for taking a 
look!

> Fix TestDelegationTokensWithHA
> ------------------------------
>
>                 Key: HDFS-15164
>                 URL: https://issues.apache.org/jira/browse/HDFS-15164
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>         Attachments: HDFS-15164-01.patch
>
>
> {noformat}
> java.lang.AssertionError
>       at org.junit.Assert.fail(Assert.java:86)
>       at org.junit.Assert.assertTrue(Assert.java:41)
>       at org.junit.Assert.assertTrue(Assert.java:52)
>       at 
> org.apache.hadoop.hdfs.server.namenode.ha.TestDelegationTokensWithHA.testObserverReadProxyProviderWithDT(TestDelegationTokensWithHA.java:156){noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to