You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by jm...@apache.org on 2022/07/17 16:59:16 UTC

[accumulo-testing] branch main updated: Fix YieldingScanExecutorPT by adding shaded jar to classpath (#175)

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

jmanno pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-testing.git


The following commit(s) were added to refs/heads/main by this push:
     new 97d0441  Fix YieldingScanExecutorPT by adding shaded jar to classpath (#175)
97d0441 is described below

commit 97d0441bc07d55a76b380a8be6102a4758bf23b7
Author: Jeffrey Manno <je...@gmail.com>
AuthorDate: Sun Jul 17 12:59:10 2022 -0400

    Fix YieldingScanExecutorPT by adding shaded jar to classpath (#175)
    
    * add shaded jar to class path to fix PT
---
 bin/performance | 8 ++++++--
 pom.xml         | 6 ++++++
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/bin/performance b/bin/performance
index e69603a..1834f91 100755
--- a/bin/performance
+++ b/bin/performance
@@ -59,8 +59,12 @@ if [ ! -f "$at_home/conf/cluster-control.sh" ]; then
 fi
 
 source "$at_home"/conf/cluster-control.sh
-build_shade_jar
-CP="$at_home/target/accumulo-testing-shaded.jar:$(get_hadoop_client)"
+export TEST_JAR_PATH="${at_home}/target/accumulo-testing-shaded.jar"
+if [[ ! -f "$TEST_JAR_PATH" ]]; then
+  build_shade_jar
+fi
+CP="$at_shaded_jar:$(get_hadoop_client)"
+export CLASSPATH="$at_shaded_jar:$CLASSPATH"
 perf_pkg="org.apache.accumulo.testing.performance.impl"
 case "$1" in
   run)
diff --git a/pom.xml b/pom.xml
index 257f0dc..9b576b3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -354,6 +354,12 @@
                         <exclude>META-INF/*.SF</exclude>
                         <exclude>META-INF/*.DSA</exclude>
                         <exclude>META-INF/*.RSA</exclude>
+                        <exclude>META-INF/*.txt</exclude>
+                        <exclude>META-INF/*.MF</exclude>
+                        <exclude>META-INF/DEPENDENCIES</exclude>
+                        <exclude>META-INF/LICENSE</exclude>
+                        <exclude>META-INF/NOTICE</exclude>
+                        <exclude>META-INF/io.netty.versions.properties</exclude>
                       </excludes>
                     </filter>
                   </filters>