Hi DuyHai,
   Does the Cassandra interpreter support Cassandra 3.5? The system table error 
I’m getting leads me to believe it’s not.

Respectfully,

Kyle Burke | Data Science Engineer
IgnitionOne - Marketing Technology. Simplified.
Office: 1545 Peachtree St NE, Suite 500 | Atlanta, GA | 30309
Direct: 404.961.3918


From: DuyHai Doan
Reply-To: 
"users@zeppelin.incubator.apache.org<mailto:users@zeppelin.incubator.apache.org>"
Date: Friday, May 6, 2016 at 7:32 AM
To: 
"users@zeppelin.incubator.apache.org<mailto:users@zeppelin.incubator.apache.org>"
Subject: Re: cassandra interpreter

Hello

No you're mistaking, the Cassandra interpreter is only using the binary 
protocol to communicate with Cassandra (port 9042 by default). In the logs, 
what you see is the Thrift protocol used by Zeppelin to communicate between the 
Zeppelin server and the interpreter JVM process.

By the way can you please copy/paste the complete stack trace so we can track 
down the root cause ?


On Fri, May 6, 2016 at 12:50 AM, Kyle Burke 
<kyle.bu...@ignitionone.com<mailto:kyle.bu...@ignitionone.com>> wrote:
All,
  I’m having connection issues trying to get zeppelin to connect to our 
Cassandra cluster. Below is the error I’m getting. I’m assuming from the error 
that Zeppelin uses the thrift api to connect to Cassandra. My thrift port 9160 
is open (based on netstat) so I can't seem to figure out why the connection is 
refused. Any suggestions on what to test or changes required in the cassandra 
config files to successfully connect would be appreciated.



ERROR [2016-05-05 22:29:16,939] ({pool-1-thread-2} Job.java[run]:182) - Job 
failed

org.apache.zeppelin.interpreter.InterpreterException: 
org.apache.zeppelin.interpreter.InterpreterException: 
org.apache.thrift.transport.TTransportException: java.net.ConnectException: 
Connection refused

        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter.interpret(RemoteInterpreter.java:190)

        at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:93)

        at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:211)

        at org.apache.zeppelin.scheduler.Job.run(Job.java:169)

        at 
org.apache.zeppelin.scheduler.RemoteScheduler$JobRunner.run(RemoteScheduler.java:322)

        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)

Caused by: org.apache.zeppelin.interpreter.InterpreterException: 
org.apache.thrift.transport.TTransportException: java.net.ConnectException: 
Connection refused

        at 
org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:53)

        at 
org.apache.zeppelin.interpreter.remote.ClientFactory.create(ClientFactory.java:37)

        at 
org.apache.commons.pool2.BasePooledObjectFactory.makeObject(BasePooledObjectFactory.java:60)

        at 
org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861)

        at 
org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435)

        at 
org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)

        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterProcess.getClient(RemoteInterpreterProcess.java:139)

        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreter.interpret(RemoteInterpreter.java:188)

        ... 11 more


Respectfully,

Kyle Burke | Data Science Engineer
IgnitionOne - Marketing Technology. Simplified.
Office: 1545 Peachtree St NE, Suite 500 | Atlanta, GA | 30309

Reply via email to