[ https://issues.apache.org/jira/browse/HDFS-4762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13697488#comment-13697488 ]
Tsz Wo (Nicholas), SZE commented on HDFS-4762: ---------------------------------------------- - OpenFileCtx.getPendingWrites() is not needed since it is only used inside OpenFileCtx. - offset should not be casted to int below. {code} // OpenFileCtx.processPerfectOverWrite(..) readCount = fis.read((int) offset, readbuffer, 0, count); {code} -* Use IOUtils.cleanup(..) to close fis. > Provide HDFS based NFSv3 and Mountd implementation > -------------------------------------------------- > > Key: HDFS-4762 > URL: https://issues.apache.org/jira/browse/HDFS-4762 > Project: Hadoop HDFS > Issue Type: Sub-task > Affects Versions: 3.0.0 > Reporter: Brandon Li > Assignee: Brandon Li > Attachments: HDFS-4762.patch, HDFS-4762.patch.2, HDFS-4762.patch.3, > HDFS-4762.patch.3, HDFS-4762.patch.4, HDFS-4762.patch.5 > > > This is to track the implementation of NFSv3 to HDFS. -- 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