[
https://issues.apache.org/jira/browse/HADOOP-8861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13479781#comment-13479781
]
Amareshwari Sriramadasu commented on HADOOP-8861:
-------------------------------------------------
Hadoop QA failed to apply the patch since it is against branch-1. I ran the
tests on box, the result is the same as earlier - both commit and smoke tests
pass. After that, the build fails saying unable to delete userlog file.
Also, the TestLocalFileSystem result:
[junit] Running org.apache.hadoop.fs.TestLocalFileSystem
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 12.196 sec
> FSDataOutputStream.sync should call flush() if the underlying wrapped stream
> is not Syncable
> --------------------------------------------------------------------------------------------
>
> Key: HADOOP-8861
> URL: https://issues.apache.org/jira/browse/HADOOP-8861
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 1.0.3
> Reporter: Amareshwari Sriramadasu
> Attachments: HADOOP-8861-2.patch, HADOOP-8861.patch
>
>
> Currently FSDataOutputStream.sync is a no-op if the wrapped stream is not
> Syncable. Instead it should call flush() if the wrapped stream is not
> syncable.
> This behavior is already present in trunk, but branch-1 does not have this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira