You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by liuyangandy <gi...@git.apache.org> on 2017/03/29 06:47:09 UTC

[GitHub] zeppelin issue #162: ZEPPELIN-179: Cassandra Interpreter

Github user liuyangandy commented on the issue:

    https://github.com/apache/zeppelin/pull/162
  
    @doanduyhai My Zeppelin and Cassandra is running in DCOS, my ```cassandra.hosts``` is my one of Cassandra cluster node IP, others properties are default. But when I try to test connectivity in Zeppelin notebook using the CQL, it always throws the following exception:
    
    > java.lang.ClassNotFoundException: com.google.common.collect.ImmutableMap
    > 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    > 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    > 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    > 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    > 	at com.datastax.driver.core.ProtocolVersion.<clinit>(ProtocolVersion.java:78)
    > 	at org.apache.zeppelin.cassandra.JavaDriverConfig.getProtocolVersion(JavaDriverConfig.scala:209)
    > 	at org.apache.zeppelin.cassandra.CassandraInterpreter.open(CassandraInterpreter.java:273)
    > 	at org.apache.zeppelin.interpreter.ClassloaderInterpreter.open(ClassloaderInterpreter.java:74)
    > 	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:68)
    > 	at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:92)
    > 	at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:300)
    > 	at org.apache.zeppelin.scheduler.Job.run(Job.java:169)
    > 	at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:157)
    > 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    > 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    > 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
    > 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    > 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    > 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    > 	at java.lang.Thread.run(Thread.java:745)
    
    Thanks for reading and helping.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---