[ https://issues.apache.org/jira/browse/HBASE-5830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259800#comment-13259800 ]
Uma Maheswara Rao G commented on HBASE-5830: -------------------------------------------- Yes, both has the public api: Hadoop-2 or trunk code: SequenceFile#Writer: {code} /** flush all currently written data to the file system */ public void syncFs() throws IOException { if (out != null) { out.hflush(); // flush contents to file system } } {code} Branch-1: SequenceFile#Writer: {code} /** flush all currently written data to the file system */ public void syncFs() throws IOException { if (out != null) { out.sync(); // flush contents to file system } } {code} > Cleanup SequenceFileLogWriter to use syncFs api from SequenceFile#Writer > directly in trunk. > ------------------------------------------------------------------------------------------- > > Key: HBASE-5830 > URL: https://issues.apache.org/jira/browse/HBASE-5830 > Project: HBase > Issue Type: Bug > Components: wal > Affects Versions: 0.96.0 > Reporter: Uma Maheswara Rao G > Assignee: Uma Maheswara Rao G > Attachments: HBASE-5830.patch > > -- 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