Hello Erick, I have one more question.
Can the sstableloader job run from outside a Cassandra node? or it has to be run from inside Cassandra node. When I tried it from the cassandra node it worked but when I try to run it from outside the cassandra cluster(a standalone machine which doesn't have any Cassandra process running) using the below command it fails with streaming error. *Command:* > $ /root/apache-cassandra-3.11.6/bin/sstableloader -d ip1,ip2,ip3 > keyspace1/table1 --truststore truststore.p12 --truststore-password > cassandra --keystore-password cassandra --keystore keystore.p12 -v -u user > -pw password --ssl-storage-port 7001 -prtcl TLS *Errors:* > ERROR 21:48:22,078 [Stream #be7a0de0-2530-11eb-bc56-c7c5c59d560b] > Streaming error occurred on session with peer 10.66.129.194 > java.net.ConnectException: Connection refused > at sun.nio.ch.Net.connect0(Native Method) ~[na:1.8.0_272] > at sun.nio.ch.Net.connect(Net.java:482) ~[na:1.8.0_272] > at sun.nio.ch.Net.connect(Net.java:474) ~[na:1.8.0_272] > at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:647) > ~[na:1.8.0_272] > at java.nio.channels.SocketChannel.open(SocketChannel.java:189) > ~[na:1.8.0_272] > at > org.apache.cassandra.tools.BulkLoadConnectionFactory.createConnection(BulkLoadConnectionFactory.java:60) > ~[apache-cassandra-3.11.6.jar:3.11.6] > at > org.apache.cassandra.streaming.StreamSession.createConnection(StreamSession.java:283) > ~[apache-cassandra-3.11.6.jar:3.11.6] > at > org.apache.cassandra.streaming.ConnectionHandler.initiate(ConnectionHandler.java:86) > ~[apache-cassandra-3.11.6.jar:3.11.6] > at > org.apache.cassandra.streaming.StreamSession.start(StreamSession.java:270) > ~[apache-cassandra-3.11.6.jar:3.11.6] > at > org.apache.cassandra.streaming.StreamCoordinator$StreamSessionConnector.run(StreamCoordinator.java:269) > [apache-cassandra-3.11.6.jar:3.11.6] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > [na:1.8.0_272] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > [na:1.8.0_272] > at > org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:84) > [apache-cassandra-3.11.6.jar:3.11.6] > at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_272] > progress: total: 100% 0.000KiB/s (avg: 0.000KiB/s) On Mon, Nov 9, 2020 at 3:08 PM Jai Bheemsen Rao Dhanwada < jaibheem...@gmail.com> wrote: > Thanks Erick, I will go through the posts and get back if I have any > questions. > > On Mon, Nov 9, 2020 at 1:58 PM Erick Ramirez <erick.rami...@datastax.com> > wrote: > >> A few months ago, I was asked a similar question so I wrote instructions >> for this. It depends on whether the clusters are identical or not. The >> posts define what "identical" means. >> >> If the source and target cluster are identical in configuration, follow >> the procedure here -- https://community.datastax.com/questions/4534/. >> >> If the source and target cluster have different configurations, follow >> the procedure here -- https://community.datastax.com/questions/4477/. >> Cheers! >> >