Can you enable Thrift on a node and still connect remotely to it using CQL/port 9042?

2016-06-07 Thread Carolina Simoes Gomes
Hello,

I have a question. I have changed the Cassandra driver (3.0.0) so we can 
connect to and query two nodes (Cassandra 3.2.1), the local one and a remote 
node, using the driver's native protocol (CQL, port 9042).

But it seems that when I enable Thrift in cassandra.yaml (start_rpc=true, port 
9160), I cannot subsequently connect remotely to the remote node using CQL, 
from inside the driver.

Is there a way of having Thrift enabled on a node but also being able to 
connect remotely to it using CQL/port 9042?

Thanks!

Carolina Gomes, M.Sc.
Systems Researcher
Huawei Canada Research Center
19 Allstate Parkway, Suite 200
Markham ON   L3R 5A
carolina.go...@huawei.com
www.huawei.ca


How to include all dependencies on cassandra driver jar?

2016-06-03 Thread Carolina Simoes Gomes
Hello,



I am using Cassandra 3.2.1 and the 3.0.0 driver. I need to build the driver but 
with all its dependencies included in the jar (uber jar), using maven, such 
that there are no external dependencies. How should I go about doing that?



Thanks,



Carolina Gomes, M.Sc.
Systems Researcher
Huawei Canada Research Center
19 Allstate Parkway, Suite 200
Markham ON   L3R 5A
carolina.go...@huawei.com
www.huawei.ca