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

DistributedFileSystem#createNonRecursive should also incrementWriteOps statistics.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: