You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2020/08/04 20:42:11 UTC

[accumulo] branch 1.9 updated: Fix #1663 Missing metrics files running CI tests (#1667)

This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch 1.9
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/1.9 by this push:
     new 346400d  Fix #1663 Missing metrics files running CI tests (#1667)
346400d is described below

commit 346400d1812402bc35562f63708e65f8ea8165ac
Author: EdColeman <de...@etcoleman.com>
AuthorDate: Tue Aug 4 16:41:58 2020 -0400

    Fix #1663 Missing metrics files running CI tests (#1667)
    
    - excluded hadoop-metrics2-accumulo.properties from jar plugin
    - added gc metrics config sample to template
    
    Co-authored-by: Ed Coleman <edcoleman.apache.org>
    Co-authored-by: Christopher Tubbs <ct...@apache.org>
---
 assemble/conf/templates/hadoop-metrics2-accumulo.properties | 5 +++++
 test/pom.xml                                                | 9 +++++++++
 2 files changed, 14 insertions(+)

diff --git a/assemble/conf/templates/hadoop-metrics2-accumulo.properties b/assemble/conf/templates/hadoop-metrics2-accumulo.properties
index f3593b5..ebe067c 100644
--- a/assemble/conf/templates/hadoop-metrics2-accumulo.properties
+++ b/assemble/conf/templates/hadoop-metrics2-accumulo.properties
@@ -46,6 +46,11 @@
 # accumulo.sink.file-thrift.context=thrift
 # accumulo.sink.file-thrift.filename=thrift.metrics
 
+# File sink for gc metrics
+# accumulo.sink.file-gc.class=org.apache.hadoop.metrics2.sink.FileSink
+# accumulo.sink.file-gc.context=accgc
+# accumulo.sink.file-gc.filename=accgc.metrics
+
 #
 # Configure Graphite
 #
diff --git a/test/pom.xml b/test/pom.xml
index fa16455..dc4451f 100644
--- a/test/pom.xml
+++ b/test/pom.xml
@@ -270,6 +270,15 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jar-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>hadoop-metrics2-accumulo.properties</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
   <profiles>