[
https://issues.apache.org/jira/browse/HADOOP-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Hsieh updated HADOOP-7879:
-----------------------------------
Attachment: hadoop-7870.patch
> DistributedFileSystem#createNonRecursive should also incrementWriteOps
> statistics.
> ----------------------------------------------------------------------------------
>
> Key: HADOOP-7879
> URL: https://issues.apache.org/jira/browse/HADOOP-7879
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Jonathan Hsieh
> Attachments: hadoop-7870.patch
>
>
> This method:
> {code}
> public FSDataOutputStream createNonRecursive(Path f, FsPermission permission,
> boolean overwrite,
> int bufferSize, short replication, long blockSize,
> Progressable progress) throws IOException {
> return new FSDataOutputStream
> (dfs.create(getPathName(f), permission,
> overwrite, false, replication, blockSize, progress,
> bufferSize),
> statistics);
> }
> {code}
> Needs a statistics.incrementWriteOps(1);
--
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