Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-13024

Disable MetricsDataTransferMethodFactory for AMS

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.2
    • Labels:
      None

      Description

      Some metrics are double-edited(on MetricsDataTransferMethodFactory and sink/monitor side)
      For instance, cpu-metrics are multiplied by 100 on monitor side, but divided by MetricsDataTransferMethodFactory

        Issue Links

          Activity

          Hide
          hadoopqa Hadoop QA added a comment -

          +1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12754519/AMBARI-13024_2.patch
          against trunk revision .

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

          +1 tests included. The patch appears to include 3 new or modified test files.

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

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

          +1 core tests. The patch passed unit tests in ambari-server.

          Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3732//testReport/
          Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3732//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - +1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12754519/AMBARI-13024_2.patch against trunk revision . +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 3 new or modified test files. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in ambari-server. Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3732//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3732//console This message is automatically generated.
          Hide
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12755370/AMBARI-13024_4.patch
          against trunk revision .

          -1 patch. Top-level trunk compilation may be broken.

          Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3770//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12755370/AMBARI-13024_4.patch against trunk revision . -1 patch . Top-level trunk compilation may be broken. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3770//console This message is automatically generated.
          Hide
          dsen Dmytro Sen added a comment -

          Unit tests passed locally.
          Committed to trunk and branch-2.1

          Show
          dsen Dmytro Sen added a comment - Unit tests passed locally. Committed to trunk and branch-2.1
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-branch-2.1 #526 (See https://builds.apache.org/job/Ambari-branch-2.1/526/)
          AMBARI-13024 Disable MetricsDataTransferMethodFactory for AMS (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=cba000d2da06443f7de3446d6c2368c839d4e08c)

          • ambari-server/src/test/resources/ams/single_host_metric.json
          • ambari-server/src/test/resources/ams/multiple_host_metrics.json
          • ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/host_info.py
          • ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricsDataTransferMethodFactory.java
          • ambari-metrics/ambari-metrics-host-monitoring/src/test/python/core/TestHostInfo.py
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-branch-2.1 #526 (See https://builds.apache.org/job/Ambari-branch-2.1/526/ ) AMBARI-13024 Disable MetricsDataTransferMethodFactory for AMS (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=cba000d2da06443f7de3446d6c2368c839d4e08c ) ambari-server/src/test/resources/ams/single_host_metric.json ambari-server/src/test/resources/ams/multiple_host_metrics.json ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/host_info.py ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricsDataTransferMethodFactory.java ambari-metrics/ambari-metrics-host-monitoring/src/test/python/core/TestHostInfo.py
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-trunk-Commit #3436 (See https://builds.apache.org/job/Ambari-trunk-Commit/3436/)
          AMBARI-13024 Disable MetricsDataTransferMethodFactory for AMS (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e837d4f082d32a69bd345ba805ee1d96b8981296)

          • ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricsDataTransferMethodFactory.java
          • ambari-server/src/test/resources/ams/multiple_host_metrics.json
          • ambari-server/src/test/resources/ams/single_host_metric.json
          • ambari-metrics/ambari-metrics-host-monitoring/src/test/python/core/TestHostInfo.py
          • ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/host_info.py
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-trunk-Commit #3436 (See https://builds.apache.org/job/Ambari-trunk-Commit/3436/ ) AMBARI-13024 Disable MetricsDataTransferMethodFactory for AMS (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e837d4f082d32a69bd345ba805ee1d96b8981296 ) ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricsDataTransferMethodFactory.java ambari-server/src/test/resources/ams/multiple_host_metrics.json ambari-server/src/test/resources/ams/single_host_metric.json ambari-metrics/ambari-metrics-host-monitoring/src/test/python/core/TestHostInfo.py ambari-metrics/ambari-metrics-host-monitoring/src/main/python/core/host_info.py

            People

            • Assignee:
              dsen Dmytro Sen
              Reporter:
              dsen Dmytro Sen
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development