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

dfs datanode metrics, bytes_read, bytes_written overflows due to incorrect type used.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.18.2, 0.19.0
    • 0.18.2
    • metrics
    • None
    • Red Hat Enterprise Linux AS release 4 (Nahant Update 5), Java 1.6.

    • Incompatible change, Reviewed
    • Changed bytes_read, bytes_written to type long to prevent metrics overflow.

    Description

      bytes_read, and bytes_written metrics are using int (MetricsTimeVaryingInt) as counter. This type is too small to store the bytes_read and bytes_written metrics. Recommend to change this to long (metricsLongValue).

      Attachments

        1. HADOOP-4228.patch
          10 kB
          Eric Yang
        2. HADOOP-4228-trunk.patch
          11 kB
          Eric Yang
        3. metricsLong.patch
          6 kB
          Hairong Kuang
        4. metricsLong1-br18.patch
          6 kB
          Hairong Kuang
        5. metricsLong1.patch
          6 kB
          Hairong Kuang

        Activity

          People

            eyang Eric Yang
            eyang Eric Yang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: