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

Allow Monitors/Agents to be configured to communicate with a collector that is behind a VIP

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.1.2, 2.2.0
    • Component/s: ambari-metrics, stacks
    • Labels:
      None

      Description

      Currently the address of the AMS Collector is automatically picked up from the host assignment to the component. When AMS is used in the active-passive configuration then the hostname of the collector should be explicitly specifiable. That way, it can be configured to have the collector traffic flow through the VIP.

      1. AMBARI-13521_12.patch
        42 kB
        Dmytro Sen
      2. AMBARI-13521_9.patch
        42 kB
        Dmytro Sen

        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/12768023/AMBARI-13521_2.patch
          against trunk revision .

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

          +1 tests included. The patch appears to include 2 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/4040//testReport/
          Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/4040//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/12768023/AMBARI-13521_2.patch against trunk revision . +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 2 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/4040//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/4040//console This message is automatically generated.
          Hide
          dsen Dmytro Sen added a comment -

          Committed to trunk and branch-2.1

          Show
          dsen Dmytro Sen added a comment - Committed to trunk and branch-2.1
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-trunk-Commit #3708 (See https://builds.apache.org/job/Ambari-trunk-Commit/3708/)
          AMBARI-13521 Allow Monitors/Agents to be configured to communicate with (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0c1d4b928e62bcceddc5b787314246ca3e4c981a)

          • ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/JMXPropertyProviderTest.java
          • ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/templates/config.yaml.j2
          • ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java
          • ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/service_check.py
          • ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSReportPropertyProvider.java
          • ambari-server/src/test/python/stacks/2.0.6/configs/default.json
          • ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/RestMetricsPropertyProviderTest.java
          • ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/templates/metric_monitor.ini.j2
          • ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/timeline/AMSPropertyProviderTest.java
          • ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/ganglia/GangliaPropertyProviderTest.java
          • ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
          • ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/templates/storm-metrics2.properties.j2
          • ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/package/scripts/params.py
          • ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
          • ambari-server/src/main/resources/stacks/HDPWIN/2.1/hooks/before-START/scripts/params.py
          • ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/params.py
          • ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricHostProvider.java
          • ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSPropertyProvider.java
          • ambari-server/src/test/python/stacks/2.0.6/FLUME/test_flume.py
          • ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/ganglia/GangliaReportPropertyProviderTest.java
          • ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py
          • ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/templates/hadoop-metrics2-hbase.properties.j2
          • ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py
          • ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-trunk-Commit #3708 (See https://builds.apache.org/job/Ambari-trunk-Commit/3708/ ) AMBARI-13521 Allow Monitors/Agents to be configured to communicate with (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0c1d4b928e62bcceddc5b787314246ca3e4c981a ) ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/JMXPropertyProviderTest.java ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/templates/config.yaml.j2 ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/service_check.py ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSReportPropertyProvider.java ambari-server/src/test/python/stacks/2.0.6/configs/default.json ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/RestMetricsPropertyProviderTest.java ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/templates/metric_monitor.ini.j2 ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/timeline/AMSPropertyProviderTest.java ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/ganglia/GangliaPropertyProviderTest.java ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/templates/storm-metrics2.properties.j2 ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/package/scripts/params.py ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py ambari-server/src/main/resources/stacks/HDPWIN/2.1/hooks/before-START/scripts/params.py ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/params.py ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricHostProvider.java ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSPropertyProvider.java ambari-server/src/test/python/stacks/2.0.6/FLUME/test_flume.py ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/ganglia/GangliaReportPropertyProviderTest.java ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/templates/hadoop-metrics2-hbase.properties.j2 ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Ambari-branch-2.1 #740 (See https://builds.apache.org/job/Ambari-branch-2.1/740/)
          AMBARI-13521 Allow Monitors/Agents to be configured to communicate with (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=55a4837b0440378df43486f81eae8a6badc8af99)

          • ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/RestMetricsPropertyProviderTest.java
          • ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java
          • ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
          • ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/params.py
          • ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/templates/storm-metrics2.properties.j2
          • ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py
          • ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py
          • ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSReportPropertyProvider.java
          • ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/ganglia/GangliaReportPropertyProviderTest.java
          • ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSPropertyProvider.java
          • ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/service_check.py
          • ambari-server/src/test/python/stacks/2.0.6/configs/default.json
          • ambari-server/src/main/resources/stacks/HDPWIN/2.1/hooks/before-START/scripts/params.py
          • ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/templates/hadoop-metrics2-hbase.properties.j2
          • ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
          • ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/timeline/AMSPropertyProviderTest.java
          • ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/ganglia/GangliaPropertyProviderTest.java
          • ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/package/scripts/params.py
          • ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricHostProvider.java
          • ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/JMXPropertyProviderTest.java
          • ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/templates/config.yaml.j2
          • ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/templates/metric_monitor.ini.j2
          • ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
          • ambari-server/src/test/python/stacks/2.0.6/FLUME/test_flume.py
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Ambari-branch-2.1 #740 (See https://builds.apache.org/job/Ambari-branch-2.1/740/ ) AMBARI-13521 Allow Monitors/Agents to be configured to communicate with (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=55a4837b0440378df43486f81eae8a6badc8af99 ) ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/RestMetricsPropertyProviderTest.java ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py ambari-server/src/main/resources/common-services/ACCUMULO/1.6.1.2.2.0/package/scripts/params.py ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/templates/storm-metrics2.properties.j2 ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_linux.py ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSReportPropertyProvider.java ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/ganglia/GangliaReportPropertyProviderTest.java ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSPropertyProvider.java ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/service_check.py ambari-server/src/test/python/stacks/2.0.6/configs/default.json ambari-server/src/main/resources/stacks/HDPWIN/2.1/hooks/before-START/scripts/params.py ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/templates/hadoop-metrics2-hbase.properties.j2 ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/timeline/AMSPropertyProviderTest.java ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/ganglia/GangliaPropertyProviderTest.java ambari-server/src/main/resources/common-services/KAFKA/0.8.1.2.2/package/scripts/params.py ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricHostProvider.java ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/JMXPropertyProviderTest.java ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/templates/config.yaml.j2 ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/templates/metric_monitor.ini.j2 ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py ambari-server/src/test/python/stacks/2.0.6/FLUME/test_flume.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