[
https://issues.apache.org/jira/browse/HDFS-5110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13744198#comment-13744198
]
Jing Zhao commented on HDFS-5110:
---------------------------------
The patch looks good to me. Could you also mention what local tests you have
run to verify the patch?
> Change FSDataOutputStream to HdfsDataOutputStream for opened streams to fix
> type cast error
> -------------------------------------------------------------------------------------------
>
> Key: HDFS-5110
> URL: https://issues.apache.org/jira/browse/HDFS-5110
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: nfs
> Affects Versions: 3.0.0
> Reporter: Brandon Li
> Assignee: Brandon Li
> Attachments: HDFS-5110.patch
>
>
> In openFileCtx, HdfsDataOutputStream.hsync is invoked to sync the data
> sometimes to make sure the same data can be read back immediately.
> NFS gets the cast error since originally FSDataOutputStream was used.
--
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