You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jonathan Hsieh (Commented) (JIRA)" <ji...@apache.org> on 2011/12/03 02:25:40 UTC
[jira] [Commented] (HADOOP-7879)
DistributedFileSystem#createNonRecursive should also incrementWriteOps
statistics.
[ https://issues.apache.org/jira/browse/HADOOP-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161989#comment-13161989 ]
Jonathan Hsieh commented on HADOOP-7879:
----------------------------------------
trivial 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
> Assignee: 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