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

FileSystem counters can overflow for large number of readOps, largeReadOps, writeOps

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 2.5.0, 2.4.1
    • None
    • None

    Description

      The org.apache.hadoop.fs.FileSystem.Statistics.StatisticsData class defines readOps, largeReadOps, writeOps as int. Also the The org.apache.hadoop.fs.FileSystem.Statistics class has methods like getReadOps(), getLargeReadOps() and getWriteOps() that return int. These int values can overflow if the exceed 2^31-1 showing negative values. It would be nice if these can be changed to long.

      Attachments

        1. 11044.patch4
          13 kB
          Gary Steelman
        2. 11044.patch6
          14 kB
          Swapnil Daingade

        Activity

          People

            sdaingade Swapnil Daingade
            sdaingade Swapnil Daingade
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: