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

Add a new interface for retrieving FS and FC Statistics

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: fs
    • Labels:
      None
    • Target Version/s:

      Description

      Currently FileSystem.Statistics exposes the following statistics:
      BytesRead
      BytesWritten
      ReadOps
      LargeReadOps
      WriteOps

      These are in-turn exposed as job counters by MapReduce and other frameworks. There is logic within DfsClient to map operations to these counters that can be confusing, for instance, mkdirs counts as a writeOp.

      Proposed enhancement:
      Add a statistic for each DfsClient operation including create, append, createSymlink, delete, exists, mkdirs, rename and expose them as new properties on the Statistics object. The operation-specific counters can be used for analyzing the load imposed by a particular job on HDFS.
      For example, we can use them to identify jobs that end up creating a large number of files.

      Once this information is available in the Statistics object, the app frameworks like MapReduce can expose them as additional counters to be aggregated and recorded as part of job summary.

        Attachments

        1. HDFS-10175.000.patch
          51 kB
          Mingliang Liu
        2. HDFS-10175.001.patch
          48 kB
          Mingliang Liu
        3. HDFS-10175.002.patch
          47 kB
          Mingliang Liu
        4. HDFS-10175.003.patch
          49 kB
          Mingliang Liu
        5. TestStatisticsOverhead.java
          3 kB
          Colin P. McCabe
        6. HDFS-10175.004.patch
          49 kB
          Mingliang Liu
        7. HDFS-10175.005.patch
          53 kB
          Mingliang Liu
        8. HDFS-10175.006.patch
          8 kB
          Colin P. McCabe
        9. HADOOP-13065-007.patch
          20 kB
          Colin P. McCabe
        10. HADOOP-13065.008.patch
          73 kB
          Mingliang Liu
        11. HADOOP-13065.009.patch
          76 kB
          Mingliang Liu
        12. HADOOP-13065.010.patch
          77 kB
          Mingliang Liu
        13. HADOOP-13065.011.patch
          79 kB
          Mingliang Liu
        14. HADOOP-13065.012.patch
          79 kB
          Mingliang Liu
        15. HADOOP-13065.013.patch
          79 kB
          Mingliang Liu

          Issue Links

            Activity

              People

              • Assignee:
                liuml07 Mingliang Liu
                Reporter:
                venkateshrin Ram Venkatesh
              • Votes:
                0 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: