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

Xiaoqiao He resolved HDFS-17422.
--------------------------------
    Fix Version/s: 3.5.0
     Hadoop Flags: Reviewed
       Resolution: Fixed

>  Enhance the stability of the unit test TestDFSAdmin
> ----------------------------------------------------
>
>                 Key: HDFS-17422
>                 URL: https://issues.apache.org/jira/browse/HDFS-17422
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: lei w
>            Assignee: lei w
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.5.0
>
>
> It has been observed that TestDFSAdmin frequently fails tests, such as 
> [PR-6620|https://github.com/apache/hadoop/pull/6620]. The failure occurs when 
> the test method testDecommissionDataNodesReconfig asserts the first line of 
> the standard output. The issue arises when the content being checked does not 
> appear on a single line. I believe we should change the method of testing. 
> The standard output content, which was printed in 
> [PR-6620|https://github.com/apache/hadoop/pull/6620], is as follows :
> {panel:title=TestInformation}
> 2024-03-11 02:36:19,442 [main] INFO  tools.TestDFSAdmin 
> (TestDFSAdmin.java:testDecommissionDataNodesReconfig(1356)) - 
> outsForFinishReconf first element is Reconfiguring status for node 
> [127.0.0.1:41361]: started at Mon Mar 11 02:36:18 UTC 2024 and finished at 
> Mon Mar 11 02:36:18 UTC 2024., all element is [Reconfiguring status for node 
> [127.0.0.1:41361]: started at Mon Mar 11 02:36:18 UTC 2024 and finished at 
> Mon Mar 11 02:36:18 UTC 2024., SUCCESS: Changed property 
> dfs.datanode.data.transfer.bandwidthPerSec,      From: "0",      To: "1000", 
> Reconfiguring status for node [127.0.0.1:33073]: started at Mon Mar 11 
> 02:36:18 UTC 2024 and finished at Mon Mar 11 02:36:18 UTC 2024., SUCCESS: 
> Changed property dfs.datanode.data.transfer.bandwidthPerSec,       From: "0", 
>      To: "1000", Retrieval of reconfiguration status successful on 2 nodes, 
> failed on 0 nodes.], node1Addr is 127.0.0.1:41361 , node2Addr is 
> 127.0.0.1:33073.
> {panel}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to