hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hemanthboyina (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-14816) TestFileCorruption#testCorruptionWithDiskFailure logic is not correct
Date Fri, 06 Sep 2019 19:47:00 GMT

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

hemanthboyina commented on HDFS-14816:

         _It would be great if you could share some findings and logic behind._

the test case is added for DN storage state - FAILED condition check for findandmarkblockascorrupt
through the existing code ,the blocks datanode storage is not getting updated to failed ,
so when calling findandmarkblockascorrupt the block datanode storage state is NORMAL  , by
this we are not achieving what we want to test


updated the blocks DN state as failed , storage state will be FAILED in findandmarkblockascorrupt


> TestFileCorruption#testCorruptionWithDiskFailure logic is not correct
> ---------------------------------------------------------------------
>                 Key: HDFS-14816
>                 URL: https://issues.apache.org/jira/browse/HDFS-14816
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: hemanthboyina
>            Assignee: hemanthboyina
>            Priority: Major
>         Attachments: HDFS-14816.001.patch

This message was sent by Atlassian Jira

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message