You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "fanshilun (Jira)" <ji...@apache.org> on 2022/06/11 00:37:00 UTC

[jira] [Created] (MAPREDUCE-7387) Fix TestJHSSecurity#testDelegationToken AssertionError due to HDFS-16563

fanshilun created MAPREDUCE-7387:
------------------------------------

             Summary: Fix TestJHSSecurity#testDelegationToken AssertionError due to HDFS-16563
                 Key: MAPREDUCE-7387
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7387
             Project: Hadoop Map/Reduce
          Issue Type: Bug
    Affects Versions: 3.4.0, 3.3.4
            Reporter: fanshilun
             Fix For: 3.4.0, 3.3.4


During the processing of HADOOP-18284. Fix Repeated Semicolons., PR#4422 was submitted, and an error was reported in hadoop.mapreduce.security.TestJHSSecurity#testDelegationToken in the test report.
{code:java}
[ERROR] testDelegationToken(org.apache.hadoop.mapreduce.security.TestJHSSecurity)  Time elapsed: 16.344 s  <<< FAILURE!
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:87)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.junit.Assert.assertTrue(Assert.java:53)
	at org.apache.hadoop.mapreduce.security.TestJHSSecurity.testDelegationToken(TestJHSSecurity.java:163)
.....{code}
It can be found that HDFS-16563 is causing this problem.

The reason is because HDFS-16563 changed error msg, which made MR's Jinit Test assertion fail.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org