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

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

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

Ayush Saxena resolved MAPREDUCE-7387.
-------------------------------------
    Fix Version/s: 3.4.0
                   3.3.4
     Hadoop Flags: Reviewed
       Resolution: Fixed

> 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
>            Assignee: fanshilun
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.4.0, 3.3.4
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> 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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-dev-help@hadoop.apache.org