hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Patrick McCabe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8491) We need to check for short writes when using FileChannel#write and related methods
Date Fri, 08 Jun 2012 02:43:23 GMT

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

Colin Patrick McCabe commented on HADOOP-8491:
----------------------------------------------

I just took a quick look at the source code to OpenJDK 6.  It's possible that I'm missing
something in the JDK code, but I didn't see anything in there that would guard against short
writes.  I think we're better off just implementing writeFully and using that.
                
> We need to check for short writes when using FileChannel#write and related methods
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-8491
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8491
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>            Priority: Minor
>
> We need to check for short writes when using WritableByteChannel#write and related methods.

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

        

Mime
View raw message