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

Jim Brennan commented on HDFS-14893:
------------------------------------

This is failing on this line:
{noformat}
assertTrue(logCapture.getOutput().contains("Assuming Standby state"));
{noformat}
But there is no code that generates that string.  Looks like this was caused by 
HDFS-14785, which changed the logging in getHAServiceState().
It appears to be fixed in trunk by HDFS-14245.
[~xkrogen] I don't know if the correct fix is to pull back HDFS-14245 or to 
just fix this test in branch-2.
cc: [~jhung]


> TestDelegationTokensWithHA.testObserverReadProxyProviderWithDT failing on 
> branch-2
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-14893
>                 URL: https://issues.apache.org/jira/browse/HDFS-14893
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs
>    Affects Versions: 2.10.0
>            Reporter: Jim Brennan
>            Priority: Minor
>
> TestDelegationTokensWithHA.testObserverReadProxyProviderWithDT() is failing 
> on branch-2
> {noformat}
> [INFO] Running 
> org.apache.hadoop.hdfs.server.namenode.ha.TestDelegationTokensWithHA
> [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 8.994 
> s <<< FAILURE! - in 
> org.apache.hadoop.hdfs.server.namenode.ha.TestDelegationTokensWithHA
> [ERROR] 
> testObserverReadProxyProviderWithDT(org.apache.hadoop.hdfs.server.namenode.ha.TestDelegationTokensWithHA)
>   Time elapsed: 0.648 s  <<< FAILURE!
> 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:159)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
>       at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>       at 
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
>       at 
> org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
>       at 
> org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
>  {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