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

Tsz Wo (Nicholas), SZE commented on HDFS-1102:
----------------------------------------------

>> It would be nice if we can fix this without changing the hftp protocol.
>
> any idea on how this can be done?

I think this is a programming bug.  RuntimeException is not handled correctly; 
see also [this 
comment|https://issues.apache.org/jira/browse/HDFS-1085?focusedCommentId=12855012&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12855012].

> HftpFileSystem : errors during transfer result in truncated transfer
> --------------------------------------------------------------------
>
>                 Key: HDFS-1102
>                 URL: https://issues.apache.org/jira/browse/HDFS-1102
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node, hdfs client
>    Affects Versions: 0.20.1
>            Reporter: sam rash
>
> If an error occurs transferring the data over HTTP, the HftpInputStream does 
> not know it received fewer bytes than the file contains.  We can at least 
> detect this and throw an EOFException when this occurs.

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