[ 
https://issues.apache.org/jira/browse/HDFS-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dhruba borthakur updated HDFS-532:
----------------------------------

    Attachment: BlockMissingException2.txt

Fix javac warning in earlier patch.

> Allow applications to know that a read request failed because block is missing
> ------------------------------------------------------------------------------
>
>                 Key: HDFS-532
>                 URL: https://issues.apache.org/jira/browse/HDFS-532
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client
>            Reporter: dhruba borthakur
>            Assignee: dhruba borthakur
>             Fix For: 0.21.0
>
>         Attachments: BlockMissingException.patch, BlockMissingException2.txt
>
>
> I have an application that has intelligence to retrieve data from alternate 
> locations if HDFS cannot provide this data. This can happen when data in HDFS 
> is corrupted or the block is missing. HDFS already throws ChecksumException 
> if the block is corrupted and throws a generic IOException if the block is 
> missing. I would like HDFS to throw BlockMissingException when a read request 
> encounters a block that has no locations associated with it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to