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

Colin Patrick McCabe commented on HDFS-3479:
--------------------------------------------

Eek, looks like you're right.  From DataInputStream#read(byte b[], int off, int 
len) throws IOException:

{code}
* Reads up to <code>len</code> bytes of data from the contained 
* input stream into an array of bytes.  An attempt is made to read 
* as many as <code>len</code> bytes, but a smaller number may be read, 
* possibly zero. The number of bytes actually read is returned as an 
* integer.
{code}
                
> backport HDFS-3335 (check for edit log corruption at the end of the log) to 
> branch-1
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-3479
>                 URL: https://issues.apache.org/jira/browse/HDFS-3479
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HDFS-3335-b1.005.patch, HDFS-3479-b1.002.patch
>
>
> backport HDFS-3335 (check for edit log corruption at the end of the log) to 
> branch-1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to