Reputation: 815
I am using Nifi 1.1.1 and am trying to put data using a PutCassandraQL processor, but am getting
datastax.driver.core.exceptions.Transport exception:[null] Cannot connect
while trying an option : node-0:servername.com:PORT, node-2:servername.com:PORT, node-3:servername.com:PORT
edit :
node-0.servername.com:9042,node-2.servername.com:9042,node-3.servername.com:9042
as given in the doumentation. Can someone tell me the cause of this error with an example of the properway to give the 'Cassandra Contact point' in Nifi
Upvotes: 0
Views: 467
Reputation: 12093
The Cassandra Contact Points property expects a hostname or IP followed by a colon and then the port number where the Cassandra node is listening. So if you have 3 nodes at:
node-0.servername.com:9042
node-2.servername.com:9042
node-3.servername.com:9042
Your Contact Points setting would be:
node-0.servername.com:9042,node-2.servername.com:9042,node-3.servername.com:9042
Upvotes: 1