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

Danny Becker commented on HDFS-14851:
-------------------------------------

[~crh] I understand the concern of iterating over every block to check for a 
corrupt flag. I disagree with the solution of failing if any block in the file 
is corrupt. What if the user reads only a portion of the file which doesn't 
contain corrupt blocks? I don't think parallelism would work for us here 
either, because it isn't a very computational task, just checking a boolean 
flag.

> WebHdfs Returns 200 Status Code for Open of Files with Corrupt Blocks
> ---------------------------------------------------------------------
>
>                 Key: HDFS-14851
>                 URL: https://issues.apache.org/jira/browse/HDFS-14851
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: webhdfs
>            Reporter: Danny Becker
>            Assignee: Danny Becker
>            Priority: Minor
>         Attachments: HDFS-14851.001.patch
>
>
> WebHdfs returns 200 status code for Open operations on files with missing or 
> corrupt blocks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to