Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7879

DistributedFileSystem#createNonRecursive should also incrementWriteOps statistics.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      This method:

       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);
        }
      

      Needs a statistics.incrementWriteOps(1);

        Attachments

        1. hadoop-7870.patch
          0.7 kB
          Jonathan Hsieh

          Activity

            People

            • Assignee:
              jmhsieh Jonathan Hsieh
              Reporter:
              jmhsieh Jonathan Hsieh
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: