Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13065 Add a new interface for retrieving FS and FC Statistics
  3. HADOOP-13280

FileSystemStorageStatistics#getLong(“readOps“) should return readOps + largeReadOps

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 2.8.0, 3.0.0-alpha1
    • fs
    • None

    Description

      Currently FileSystemStorageStatistics instance simply returns data from FileSystem$Statistics. As to readOps, the FileSystem$Statistics#getReadOps() returns readOps + largeReadOps. We should make the FileSystemStorageStatistics#getLong(“readOps“) return the sum as well.

      Moreover, there is no unit tests for FileSystemStorageStatistics and this JIRA will also address this.

      Attachments

        1. HADOOP-13280.000.patch
          6 kB
          Mingliang Liu
        2. HADOOP-13280.001.patch
          6 kB
          Mingliang Liu
        3. HADOOP-13280-branch-2.8.000.patch
          5 kB
          Mingliang Liu

        Activity

          People

            liuml07 Mingliang Liu
            liuml07 Mingliang Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: