Hadoop Common
  1. Hadoop Common
  2. HADOOP-5031

metrics aggregation is incorrect in database

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Redhat 5.1, Java 6

    • Hadoop Flags:
      Reviewed

      Description

      A few problem with the aggregation SQL statements:

      hdfs throughput should be calculated by doing two level aggregation:

      First, calculate the rate for hadoop datanode metrics with accumulated vales.
      Second, sum up all datanode rate to provide a single number to represent the current cluster performance.

      Disable hod jobs utilization measurement - The data provide a rough view of the cluster performance but mostly inaccurate.
      Disable user utilization measurement generated from hod job - The data is generated from hod job metrics, and it's mostly inaccurate.

        Activity

        Hide
        Hudson added a comment -
        Show
        Hudson added a comment - Integrated in Hadoop-trunk #778 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/778/ )
        Hide
        Chris Douglas added a comment -

        Setting fix version for the commit

        Show
        Chris Douglas added a comment - Setting fix version for the commit
        Hide
        Eric Yang added a comment -

        I just committed this. Thanks Kevin.

        Show
        Eric Yang added a comment - I just committed this. Thanks Kevin.
        Hide
        Cheng added a comment -

        +1 minor change. it's actually in prod already.

        Show
        Cheng added a comment - +1 minor change. it's actually in prod already.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12401538/HADOOP-5031.patch
        against trunk revision 750703.

        +1 @author. The patch does not contain any @author tags.

        -1 tests included. The patch doesn't appear to include any new or modified tests.
        Please justify why no tests are needed for this patch.

        +1 javadoc. The javadoc tool did not generate any warning messages.

        +1 javac. The applied patch does not increase the total number of javac compiler warnings.

        +1 findbugs. The patch does not introduce any new Findbugs warnings.

        +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

        +1 release audit. The applied patch does not increase the total number of release audit warnings.

        -1 core tests. The patch failed core unit tests.

        +1 contrib tests. The patch passed contrib unit tests.

        Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/25/testReport/
        Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/25/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
        Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/25/artifact/trunk/build/test/checkstyle-errors.html
        Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/25/console

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12401538/HADOOP-5031.patch against trunk revision 750703. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no tests are needed for this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 Eclipse classpath. The patch retains Eclipse classpath integrity. +1 release audit. The applied patch does not increase the total number of release audit warnings. -1 core tests. The patch failed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/25/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/25/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/25/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch-minerva.apache.org/25/console This message is automatically generated.
        Hide
        Eric Yang added a comment -
        • SQL statement change.
        Show
        Eric Yang added a comment - SQL statement change.
        Hide
        Eric Yang added a comment -
        • Change aggregation to calculate rate for datanode first, then sum up the datanode rate to get the cluster rate.
        Show
        Eric Yang added a comment - Change aggregation to calculate rate for datanode first, then sum up the datanode rate to get the cluster rate.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development