[
https://issues.apache.org/jira/browse/HDDS-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16861267#comment-16861267
]
Eric Yang commented on HDDS-1554:
---------------------------------
3. {quote}You can help me with sharing more details about the future
plans{quote}
In this patch, I added a check for expecting IOException to be thrown when om
metadata have been corrupted. The code base is not throwing IOException
currently, but this could be one of the criteria for fault injection test to
pass. MiniOzoneCluster may not have abilities to produce some distributed
complex test cases. For example, one of the datanode getting constant SIGINT,
and validate the replications have happened correctly. Examine high frequency
polling to SCM metrics have any ill effect to Ozone cluster communication.
Some scenarios can only be tested in distributed environment with Java type
checking to ensure the exception wrapping from server side propagated to client
side is meaningful. Java tests may produce higher fidelity in the result sets.
If you still feel this is redundant, and there is ways to accomplish the same
in MiniOzoneCluster, or Robot test. Feel free to rewrite the read-only and
corruption tests in Robot framework, and submit the patch here. I would be
happy to review the patches.
> Create disk tests for fault injection test
> ------------------------------------------
>
> Key: HDDS-1554
> URL: https://issues.apache.org/jira/browse/HDDS-1554
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: build
> Reporter: Eric Yang
> Assignee: Eric Yang
> Priority: Major
> Attachments: HDDS-1554.001.patch, HDDS-1554.002.patch,
> HDDS-1554.003.patch, HDDS-1554.004.patch
>
>
> The current plan for fault injection disk tests are:
> # Scenario 1 - Read/Write test
> ## Run docker-compose to bring up a cluster
> ## Initialize scm and om
> ## Upload data to Ozone cluster
> ## Verify data is correct
> ## Shutdown cluster
> # Scenario 2 - Read/Only test
> ## Repeat Scenario 1
> ## Mount data disk as read only
> ## Try to write data to Ozone cluster
> ## Validate error message is correct
> ## Shutdown cluster
> # Scenario 3 - Corruption test
> ## Repeat Scenario 2
> ## Shutdown cluster
> ## Modify data disk data
> ## Restart cluster
> ## Validate error message for read from corrupted data
> ## Validate error message for write to corrupted volume
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]