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

Ethan Rose commented on HDDS-8894:
----------------------------------

Thanks for reporting this [~jyosin]. In this test, the container file was 
truncated to 0 bytes. This is a valid yaml file but with the value null. The 
SnakeYaml parser returns null in this case, which triggers NullPointerException 
in our code and crashes the container scanner thread. An integration test for 
this case and a fix is added in HDDS-8553.

> Unhealthy replica not detected on tampering with container file
> ---------------------------------------------------------------
>
>                 Key: HDDS-8894
>                 URL: https://issues.apache.org/jira/browse/HDDS-8894
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: SCM
>            Reporter: Jyotirmoy Sinha
>            Priority: Major
>
> Steps :
>  # Create volume, bucket, key
>  # Close container of above key
>  # Truncate the container file in one of the datanodes
>  # The above datanode is not marked UNHEALTHY



--
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