[ 
https://issues.apache.org/jira/browse/HDFS-17927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18086450#comment-18086450
 ] 

ASF GitHub Bot commented on HDFS-17927:
---------------------------------------

smengcl commented on PR #8517:
URL: https://github.com/apache/hadoop/pull/8517#issuecomment-4634248181

   Thanks @boky01 for the review!




> 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
>            Priority: Major
>              Labels: pull-request-available
>
> `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]

Reply via email to