Siyao Meng created HDFS-17927:
---------------------------------
Summary: Make TestDiskError.testShutdown use deterministic volume
failure injection
Key: HDFS-17927
URL: https://issues.apache.org/jira/browse/HDFS-17927
Project: Hadoop HDFS
Issue Type: Improvement
Components: test
Reporter: Siyao Meng
Assignee: Siyao Meng
`TestDiskError.testShutdown()` currently drives DataNode shutdown by repeatedly
creating files until `dn.isDatanodeUp()` becomes false. If shutdown does not
happen promptly, the test can loop for a long time and generate excessive logs.
Replaces file-create loop with deterministic failure injection for both
DataNode data dirs, then explicitly runs `dn.checkDiskError()` and waits for
the DataNode to exit.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]