You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/03/11 07:07:00 UTC
[jira] [Updated] (HDFS-17422) Enhance the stability of the unit test TestDFSAdmin
[ https://issues.apache.org/jira/browse/HDFS-17422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDFS-17422:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org