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.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.18.2, 0.19.0
    • Fix Version/s: 0.18.2
    • Component/s: metrics
    • Labels:
      None
    • Environment:

      Red Hat Enterprise Linux AS release 4 (Nahant Update 5), Java 1.6.

    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      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.patch
          6 kB
          Hairong Kuang
        5. metricsLong1-br18.patch
          6 kB
          Hairong Kuang

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: