accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [accumulo-classloaders] 02/03: Capturing testing document
Date Sat, 26 Sep 2020 03:22:27 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 5566e52143592cc5cfe06ce1b92161cf6f443f3c
Author: Dave Marion <dlmarion@apache.org>
AuthorDate: Fri Sep 25 21:14:12 2020 +0000

    Capturing testing document
---
 modules/vfs-class-loader/WIP.txt | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/modules/vfs-class-loader/WIP.txt b/modules/vfs-class-loader/WIP.txt
new file mode 100644
index 0000000..7f92d22
--- /dev/null
+++ b/modules/vfs-class-loader/WIP.txt
@@ -0,0 +1,15 @@
+1. Running Accumulo with new VFS ClassLoader as SystemClassLoader
+
+   a. Add accumulo/test/target/TestJar-Iterators.jar to HDFS directory
+	hadoop fs -mkdir /iterators
+	hadoop fs -put TestJar-Iterators.jar /iterators/.
+   b. Add vfs-reloading-classloader-0.0.1-SNAPSHOT.jar to CLASSPATH
+   c. Add "-Djava.system.class.loader=org.apache.accumulo.classloader.vfs.ReloadingVFSClassLoader"
to JAVA_OPTS
+   d. Add "-Dvfs.class.loader.classpath=hdfs://localhost:9000/iterators/TestJar-Iterators.jar"
to JAVA_OPTS
+   e. Add "-Dvfs.class.loader.debug=true" to JAVA_OPTS
+   f. Create table , insert some test data
+      createtable test
+      insert a b c this_is_a_test
+      scan
+      setiter -class org.apache.accumulo.test.functional.ValueReversingIterator -scan -t
test -name reverse -p 100
+


Mime
View raw message