Ahmed Hussein created HDFS-15144:
------------------------------------
Summary:
TestBlockStatsMXBean#testStorageTypeStatsWhenStorageFailed is incorrect
Key: HDFS-15144
URL: https://issues.apache.org/jira/browse/HDFS-15144
Project: Hadoop HDFS
Issue Type: Bug
Reporter: Ahmed Hussein
Assignee: Ahmed Hussein
{{TestBlockStatsMXBean#testStorageTypeStatsWhenStorageFailed}} loops three
times to restart Datanodes. However, the code restart the DN-0 three times.
As a result, the JUnit does not really execute the scenario it was supposed to.
When I changed the loop, the test did not pass with the following stack trace.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]