You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/02/01 00:39:08 UTC
[GitHub] keith-turner opened a new issue #928: The context classloader did
not work for a compaction strategy with 2.0.0-alpha-2
keith-turner opened a new issue #928: The context classloader did not work for a compaction strategy with 2.0.0-alpha-2
URL: https://github.com/apache/accumulo/issues/928
I attempted to test a custom compaction strategy with the 2.0.0-alpha-2 and tried loading it using the context classloader. It could not find the class.
```
java.lang.ClassNotFoundException: test.KTCompactionStrat
at org.apache.commons.vfs2.impl.VFSClassLoader.findClass(VFSClassLoader.java:178)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.accumulo.start.classloader.vfs.ContextManager.loadClass(ContextManager.java:185)
at org.apache.accumulo.core.conf.ConfigurationTypeHelper.getClassInstance(ConfigurationTypeHelper.java:204)
at org.apache.accumulo.core.conf.ConfigurationTypeHelper.getClassInstance(ConfigurationTypeHelper.java:174)
at org.apache.accumulo.core.conf.Property.createTableInstanceFromPropertyName(Property.java:1266)
at org.apache.accumulo.tserver.TabletServerResourceManager$TabletResourceManager.needsMajorCompaction(TabletServerResourceManager.java:844)
at org.apache.accumulo.tserver.tablet.Tablet.needsMajorCompaction(Tablet.java:1572)
at org.apache.accumulo.tserver.tablet.Tablet.initiateMajorCompaction(Tablet.java:1546)
at org.apache.accumulo.tserver.tablet.MinorCompactionTask.run(MinorCompactionTask.java:103)
at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35)
at org.apache.htrace.wrappers.TraceRunnable.run(TraceRunnable.java:57)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35)
at java.lang.Thread.run(Thread.java:748)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services