[
https://issues.apache.org/jira/browse/HADOOP-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602011#action_12602011
]
Tsz Wo (Nicholas), SZE commented on HADOOP-3177:
------------------------------------------------
> Furthermore FileOutputStream#getFD is final, as is FileDescriptor, so we
> can't use it here.
Oops, I missed this point. We definitely cannot use FileDescriptor.
I think the Syncable interface idea is good.
> Expose DFSOutputStream.fsync API though the FileSystem interface
> ----------------------------------------------------------------
>
> Key: HADOOP-3177
> URL: https://issues.apache.org/jira/browse/HADOOP-3177
> Project: Hadoop Core
> Issue Type: Improvement
> Components: dfs
> Reporter: dhruba borthakur
> Assignee: dhruba borthakur
>
> In the current code, there is a DFSOutputStream.fsync() API that allows a
> client to flush all buffered data to the datanodes and also persist block
> locations on the namenode. This API should be exposed through the generic API
> in the org.hadoop.fs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.