[jira] [Commented] (ACCUMULO-3576) Usage of jline.internal.Preconditions breaks mini accumulo
[ https://issues.apache.org/jira/browse/ACCUMULO-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14315154#comment-14315154 ] Josh Elser commented on ACCUMULO-3576: -- Good catch, Keith. That should definitely be the Guava variant, not JLine. > Usage of jline.internal.Preconditions breaks mini accumulo > -- > > Key: ACCUMULO-3576 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3576 > Project: Accumulo > Issue Type: Bug >Reporter: Keith Turner > Fix For: 1.6.2 > > > Tried building fluo against 1.6.2 RC4 and mini failed to run w/ the following > problem in the tserver log. I think this may be caused by > [995080c|https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=995080c] > which uses {{jline.internal.Preconditions}} in {{ActiveAssignmentRunnable}}. > > {noformat} > 2015-02-10 17:42:51,739 [tserver.TabletServer$ThriftClientHandler] ERROR: > jline/internal/Preconditions > java.lang.NoClassDefFoundError: jline/internal/Preconditions > at > org.apache.accumulo.tserver.ActiveAssignmentRunnable.(ActiveAssignmentRunnable.java:41) > at > org.apache.accumulo.tserver.TabletServerResourceManager.addMetaDataAssignment(TabletServerResourceManager.java:716) > at > org.apache.accumulo.tserver.TabletServer$ThriftClientHandler.loadTablet(TabletServer.java:2326) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.apache.accumulo.trace.instrument.thrift.RpcServerInvocationHandler.invoke(RpcServerInvocationHandler.java:46) > at > org.apache.accumulo.server.util.RpcWrapper$1.invoke(RpcWrapper.java:47) > at com.sun.proxy.$Proxy10.loadTablet(Unknown Source) > at > org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2557) > at > org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2543) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > at > org.apache.accumulo.server.util.TServerUtils$TimedProcessor.process(TServerUtils.java:168) > at > org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:516) > at > org.apache.accumulo.server.util.CustomNonBlockingServer$1.run(CustomNonBlockingServer.java:77) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at > org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47) > at > org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.ClassNotFoundException: jline.internal.Preconditions > at java.net.URLClassLoader$1.run(URLClassLoader.java:366) > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > ... 22 more > 2015-02-10 17:42:51,744 [thrift.ProcessFunction] ERROR: Internal error > processing loadTablet > org.apache.thrift.TException: jline/internal/Preconditions > at > org.apache.accumulo.server.util.RpcWrapper$1.invoke(RpcWrapper.java:55) > at com.sun.proxy.$Proxy10.loadTablet(Unknown Source) > at > org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2557) > at > org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2543) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > at > org.apache.accumulo.server.util.TServerUtils$TimedProcessor.process(TServerUtils.java:168) > at > org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:516) > at > org.apache.accumulo.server.util.CustomNonBlockingServ
[jira] [Commented] (ACCUMULO-3576) Usage of jline.internal.Preconditions breaks mini accumulo
[ https://issues.apache.org/jira/browse/ACCUMULO-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14315309#comment-14315309 ] Keith Turner commented on ACCUMULO-3576: Was looking into this w/ [~ctubbsii]. Seems like Zookeeper depends on jline 0.9.xx and that was being pulled in instead of jline 2.11. Not sure why this happened, fluo has no direct dependency on jline. I suppose jline 0.9.xx does not have this Precondition class. > Usage of jline.internal.Preconditions breaks mini accumulo > -- > > Key: ACCUMULO-3576 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3576 > Project: Accumulo > Issue Type: Bug >Reporter: Keith Turner >Assignee: Josh Elser > Fix For: 1.7.0, 1.6.3 > > Time Spent: 20m > Remaining Estimate: 0h > > Tried building fluo against 1.6.2 RC4 and mini failed to run w/ the following > problem in the tserver log. I think this may be caused by > [995080c|https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=995080c] > which uses {{jline.internal.Preconditions}} in {{ActiveAssignmentRunnable}}. > > {noformat} > 2015-02-10 17:42:51,739 [tserver.TabletServer$ThriftClientHandler] ERROR: > jline/internal/Preconditions > java.lang.NoClassDefFoundError: jline/internal/Preconditions > at > org.apache.accumulo.tserver.ActiveAssignmentRunnable.(ActiveAssignmentRunnable.java:41) > at > org.apache.accumulo.tserver.TabletServerResourceManager.addMetaDataAssignment(TabletServerResourceManager.java:716) > at > org.apache.accumulo.tserver.TabletServer$ThriftClientHandler.loadTablet(TabletServer.java:2326) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.apache.accumulo.trace.instrument.thrift.RpcServerInvocationHandler.invoke(RpcServerInvocationHandler.java:46) > at > org.apache.accumulo.server.util.RpcWrapper$1.invoke(RpcWrapper.java:47) > at com.sun.proxy.$Proxy10.loadTablet(Unknown Source) > at > org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2557) > at > org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2543) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > at > org.apache.accumulo.server.util.TServerUtils$TimedProcessor.process(TServerUtils.java:168) > at > org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:516) > at > org.apache.accumulo.server.util.CustomNonBlockingServer$1.run(CustomNonBlockingServer.java:77) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at > org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47) > at > org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.ClassNotFoundException: jline.internal.Preconditions > at java.net.URLClassLoader$1.run(URLClassLoader.java:366) > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > ... 22 more > 2015-02-10 17:42:51,744 [thrift.ProcessFunction] ERROR: Internal error > processing loadTablet > org.apache.thrift.TException: jline/internal/Preconditions > at > org.apache.accumulo.server.util.RpcWrapper$1.invoke(RpcWrapper.java:55) > at com.sun.proxy.$Proxy10.loadTablet(Unknown Source) > at > org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2557) > at > org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2543) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
[jira] [Commented] (ACCUMULO-3576) Usage of jline.internal.Preconditions breaks mini accumulo
[ https://issues.apache.org/jira/browse/ACCUMULO-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14315339#comment-14315339 ] Christopher Tubbs commented on ACCUMULO-3576: - I believe ZooKeeper could (should) fix this upstream by making jline an optional dependency. > Usage of jline.internal.Preconditions breaks mini accumulo > -- > > Key: ACCUMULO-3576 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3576 > Project: Accumulo > Issue Type: Bug >Reporter: Keith Turner >Assignee: Josh Elser > Fix For: 1.6.2, 1.7.0 > > Time Spent: 40m > Remaining Estimate: 0h > > Tried building fluo against 1.6.2 RC4 and mini failed to run w/ the following > problem in the tserver log. I think this may be caused by > [995080c|https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=995080c] > which uses {{jline.internal.Preconditions}} in {{ActiveAssignmentRunnable}}. > > {noformat} > 2015-02-10 17:42:51,739 [tserver.TabletServer$ThriftClientHandler] ERROR: > jline/internal/Preconditions > java.lang.NoClassDefFoundError: jline/internal/Preconditions > at > org.apache.accumulo.tserver.ActiveAssignmentRunnable.(ActiveAssignmentRunnable.java:41) > at > org.apache.accumulo.tserver.TabletServerResourceManager.addMetaDataAssignment(TabletServerResourceManager.java:716) > at > org.apache.accumulo.tserver.TabletServer$ThriftClientHandler.loadTablet(TabletServer.java:2326) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.apache.accumulo.trace.instrument.thrift.RpcServerInvocationHandler.invoke(RpcServerInvocationHandler.java:46) > at > org.apache.accumulo.server.util.RpcWrapper$1.invoke(RpcWrapper.java:47) > at com.sun.proxy.$Proxy10.loadTablet(Unknown Source) > at > org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2557) > at > org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2543) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > at > org.apache.accumulo.server.util.TServerUtils$TimedProcessor.process(TServerUtils.java:168) > at > org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:516) > at > org.apache.accumulo.server.util.CustomNonBlockingServer$1.run(CustomNonBlockingServer.java:77) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at > org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47) > at > org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.ClassNotFoundException: jline.internal.Preconditions > at java.net.URLClassLoader$1.run(URLClassLoader.java:366) > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > ... 22 more > 2015-02-10 17:42:51,744 [thrift.ProcessFunction] ERROR: Internal error > processing loadTablet > org.apache.thrift.TException: jline/internal/Preconditions > at > org.apache.accumulo.server.util.RpcWrapper$1.invoke(RpcWrapper.java:55) > at com.sun.proxy.$Proxy10.loadTablet(Unknown Source) > at > org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2557) > at > org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2543) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > at > org.apache.accumulo.server.util.TServerUtils$TimedProcessor.process(TServerUtils.java:168) > at > org.apache.thrift.server.AbstractNonblockingServ
[jira] [Commented] (ACCUMULO-3576) Usage of jline.internal.Preconditions breaks mini accumulo
[ https://issues.apache.org/jira/browse/ACCUMULO-3576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14315392#comment-14315392 ] Keith Turner commented on ACCUMULO-3576: With the changes to use guava Precondition and [fluo PR 420|https://github.com/fluo-io/fluo/pull/420] I was able to build and test fluo against 1.6.2-SNAPSHOT. > Usage of jline.internal.Preconditions breaks mini accumulo > -- > > Key: ACCUMULO-3576 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3576 > Project: Accumulo > Issue Type: Bug >Reporter: Keith Turner >Assignee: Josh Elser > Fix For: 1.6.2, 1.7.0 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > Tried building fluo against 1.6.2 RC4 and mini failed to run w/ the following > problem in the tserver log. I think this may be caused by > [995080c|https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=995080c] > which uses {{jline.internal.Preconditions}} in {{ActiveAssignmentRunnable}}. > > {noformat} > 2015-02-10 17:42:51,739 [tserver.TabletServer$ThriftClientHandler] ERROR: > jline/internal/Preconditions > java.lang.NoClassDefFoundError: jline/internal/Preconditions > at > org.apache.accumulo.tserver.ActiveAssignmentRunnable.(ActiveAssignmentRunnable.java:41) > at > org.apache.accumulo.tserver.TabletServerResourceManager.addMetaDataAssignment(TabletServerResourceManager.java:716) > at > org.apache.accumulo.tserver.TabletServer$ThriftClientHandler.loadTablet(TabletServer.java:2326) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.apache.accumulo.trace.instrument.thrift.RpcServerInvocationHandler.invoke(RpcServerInvocationHandler.java:46) > at > org.apache.accumulo.server.util.RpcWrapper$1.invoke(RpcWrapper.java:47) > at com.sun.proxy.$Proxy10.loadTablet(Unknown Source) > at > org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2557) > at > org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2543) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > at > org.apache.accumulo.server.util.TServerUtils$TimedProcessor.process(TServerUtils.java:168) > at > org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.invoke(AbstractNonblockingServer.java:516) > at > org.apache.accumulo.server.util.CustomNonBlockingServer$1.run(CustomNonBlockingServer.java:77) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at > org.apache.accumulo.trace.instrument.TraceRunnable.run(TraceRunnable.java:47) > at > org.apache.accumulo.core.util.LoggingRunnable.run(LoggingRunnable.java:34) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.ClassNotFoundException: jline.internal.Preconditions > at java.net.URLClassLoader$1.run(URLClassLoader.java:366) > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > ... 22 more > 2015-02-10 17:42:51,744 [thrift.ProcessFunction] ERROR: Internal error > processing loadTablet > org.apache.thrift.TException: jline/internal/Preconditions > at > org.apache.accumulo.server.util.RpcWrapper$1.invoke(RpcWrapper.java:55) > at com.sun.proxy.$Proxy10.loadTablet(Unknown Source) > at > org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2557) > at > org.apache.accumulo.core.tabletserver.thrift.TabletClientService$Processor$loadTablet.getResult(TabletClientService.java:2543) > at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39) > at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39) > at > org.apache.accumulo.server.util.TServerUtils$TimedProcessor.process(TServerUtils.java:168) >