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

Hudson commented on HDFS-3531:
------------------------------

Integrated in Hadoop-Common-trunk-Commit #2353 (See 
[https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2353/])
    HDFS-3531. EditLogFileOutputStream#preallocate should check for incomplete 
writes. Contributed by Colin Patrick McCabe (Revision 1349616)

     Result = SUCCESS
eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1349616
Files : 
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/IOUtils.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/TestIOUtils.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/EditLogFileOutputStream.java

                
> EditLogFileOutputStream#preallocate should check for incomplete writes
> ----------------------------------------------------------------------
>
>                 Key: HDFS-3531
>                 URL: https://issues.apache.org/jira/browse/HDFS-3531
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: name-node
>    Affects Versions: 2.0.0-alpha
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>             Fix For: 2.0.1-alpha
>
>         Attachments: HADOOP-8491.001.patch, HADOOP-8491.002.patch, 
> hadoop-8491.txt, hadoop-8491.txt
>
>
> We need to check for short writes when using WritableByteChannel#write and 
> related methods in EditLogFileOutputStream#preallocate so we ensure we've 
> preallocated sufficient space.

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