I have two node C* cluster and on these two nodes I want to run spark jobs
locally. Inside sparkJob I have to put connection url as localhost so that
it will insert data to local C* instance( I am using Cassandra same nodes
as spark Job's slaves for execution via Mesos)

Problem is if I change rpc_address=localhost in cassandra.yml then I can
connect locally using Spark job(with localhost as connection url) or cqlsh
localhost but remote applications cannot connect to node using IP in
connection url.

I am using apache-cassandra-2.2.0.

Is there any configuration so that local program on C* node can connect
using localhost as connection url and remote program's using IP/name in
connection url?

Is this approach correct to connect local spark job to its local C* node
for any RDD operations?

Thanks,
Ravi

Reply via email to