hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-7879) DistributedFileSystem#createNonRecursive should also incrementWriteOps statistics.
Date Sat, 03 Dec 2011 01:13:40 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Hsieh updated HADOOP-7879:
-----------------------------------

    Description: 
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);
    
> 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
>
> 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

        

Mime
View raw message