scylladb / scylla-tools-java

Apache Cassandra, supplying tools for Scylla
Apache License 2.0
53 stars 85 forks source link

add flag for configuring AddressTranslator #136

Open rjeczalik opened 4 years ago

rjeczalik commented 4 years ago

sstableloader does not work when it's used with cluster that do broadcasting over private network.

It could be useful in such cases to configure the CQL java driver with address translation [1] so private addresses read from system_peers could be mapped to public ones.

[1] https://docs.datastax.com/en/drivers/java/2.2/com/datastax/driver/core/policies/AddressTranslator.html

mailmahee commented 4 years ago

@elcallio @haaawk Here is an example - https://help.compose.com/docs/scylla-address-translation-maps

@tzach @slivne