ZanderXu opened a new pull request, #6812:
URL: https://github.com/apache/hadoop/pull/6812

   TestDFSAdmin.testAllDatanodesReconfig and 
TestDFSAdmin.testDecommissionDataNodesReconfig failed. 
   
   [HDFS-17506](https://github.com/apache/hadoop/pull/6806) encountered this 
failed UT and the error message like:
   ```
   [ERROR] Tests run: 21, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 
44.521 s <<< FAILURE! - in org.apache.hadoop.hdfs.tools.TestDFSAdmin
   [ERROR] testAllDatanodesReconfig(org.apache.hadoop.hdfs.tools.TestDFSAdmin)  
Time elapsed: 2.086 s  <<< FAILURE!
   java.lang.AssertionError: 
   
   Expecting:
    <["Reconfiguring status for node [127.0.0.1:43731]: SUCCESS: Changed 
property dfs.datanode.peer.stats.enabled",
       "        From: "false"",
       "        To: "true"",
       "started at Fri May 10 13:02:51 UTC 2024 and finished at Fri May 10 
13:02:51 UTC 2024."]>
   to contain subsequence:
    <["SUCCESS: Changed property dfs.datanode.peer.stats.enabled",
       "        From: "false"",
       "        To: "true""]>
   
        at 
org.apache.hadoop.hdfs.tools.TestDFSAdmin.testAllDatanodesReconfig(TestDFSAdmin.java:1286)
        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:59)
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
   ```
   
   `getReconfigurationStatusUtil` concurrently get reconfiguration status from 
multiple DNs. It may cause messages in out is wrong, such as:
   ```
   Line1: Reconfiguring status for node [127.0.0.1:65229]: Reconfiguring status 
for node [127.0.0.1:65224]: started at Sat May 11 15:05:49 CST 2024started at 
Sat May 11 15:05:49 CST 2024 and finished at Sat May 11 15:05:49 CST 2024.
   
   Line2: and finished at Sat May 11 15:05:49 CST 2024.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to