소스 검색

AMBARI-5707. Replace Ganglia with high performant and pluggable Metrics System. Rat check fix. (swagle)

Siddharth Wagle 10 년 전
부모
커밋
93b8348fab
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java
  2. 4 0
      pom.xml

+ 1 - 1
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AbstractProviderModule.java

@@ -547,7 +547,7 @@ public abstract class AbstractProviderModule implements ProviderModule, Resource
             ComponentSSLConfiguration.instance(),
             ComponentSSLConfiguration.instance(),
             this,
             this,
             PropertyHelper.getPropertyId("Clusters", "cluster_name")));
             PropertyHelper.getPropertyId("Clusters", "cluster_name")));
-            providers.add(new AlertSummaryPropertyProvider(type,
+          providers.add(new AlertSummaryPropertyProvider(type,
             "Clusters/cluster_name", null));
             "Clusters/cluster_name", null));
           break;
           break;
         case Service:
         case Service:

+ 4 - 0
pom.xml

@@ -255,10 +255,14 @@
             <!--Velocity log -->
             <!--Velocity log -->
             <exclude>**/velocity.log*</exclude>
             <exclude>**/velocity.log*</exclude>
 
 
+            <!-- Metrics module -->
             <!-- psutil : external lib, Apache 2.0 license included as a source file -->
             <!-- psutil : external lib, Apache 2.0 license included as a source file -->
             <exclude>ambari-metrics/ambari-metrics-host-monitoring/src/main/python/psutil/**</exclude>
             <exclude>ambari-metrics/ambari-metrics-host-monitoring/src/main/python/psutil/**</exclude>
+            <exclude>ambari-metrics/target/rpm/ambari-metrics/SPECS/ambari-metrics.spec</exclude>
             <exclude>ambari-metrics/ambari-metrics-timelineservice/src/test/resources/lib/org/apache/phoenix/phoenix-core-tests/4.2.0/phoenix-core-tests-4.2.0.pom</exclude>
             <exclude>ambari-metrics/ambari-metrics-timelineservice/src/test/resources/lib/org/apache/phoenix/phoenix-core-tests/4.2.0/phoenix-core-tests-4.2.0.pom</exclude>
             <exclude>ambari-metrics/ambari-metrics-timelineservice/src/test/resources/lib/org/apache/phoenix/phoenix-core-tests/maven-metadata-local.xml</exclude>
             <exclude>ambari-metrics/ambari-metrics-timelineservice/src/test/resources/lib/org/apache/phoenix/phoenix-core-tests/maven-metadata-local.xml</exclude>
+            <exclude>ambari-metrics/*/target/**</exclude>
+
           </excludes>
           </excludes>
         </configuration>
         </configuration>
         <executions>
         <executions>