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

Tom White commented on HADOOP-7937:
-----------------------------------

The javac warning is because sync() is deprecated.

> Given that they're just used via DFSClient

Should DFSClient in trunk/23 use these methods, given that the append 
implementation is different to the one in 20? If so then that will need fixing 
in an HDFS JIRA.

I'll go ahead and commit this.
                
> Forward port SequenceFile#syncFs and friends from Hadoop 1.x
> ------------------------------------------------------------
>
>                 Key: HADOOP-7937
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7937
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: io
>    Affects Versions: 0.22.0, 0.23.1
>            Reporter: Eli Collins
>            Assignee: Tom White
>              Labels: bigtop
>         Attachments: HADOOP-7937.patch
>
>
> HDFS-200 added a new public API SequenceFile#syncFs, we need to forward port 
> this for compatibility. Looks like it might have introduced other APIs that 
> need forward porting as well (eg LocaltedBlocks#setFileLength, and 
> DataNode#getBlockInfo).

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