[ https://issues.apache.org/jira/browse/CASSANDRA-13477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhiyan Shao updated CASSANDRA-13477: ------------------------------------ Description: Currently, hadoop cql3 library does not support setting OutputNativePort. It always uses the default port 9042. If Cassandra cluster uses a different native_transport_port, this won't work. There is a setInputNativePort but no setOutputNativePort. This ticket is to add this support. During testing, we found out that storage_port and ssl_storage_port also need to be set to customized one. Here is our current workaround: hadoopConfig.set("cassandra.output.native.port", nonDefaultNativePort) System.setProperty("cassandra.storage_port", nonStoragePort) System.setProperty("cassandra.ssl_storage_port", nonSSLStoragePort) was: Currently, hadoop cql3 library does not support setting OutputNativePort. It always uses the default port 9042. If Cassandra cluster uses a different native_transport_port, this won't work. There is a setInputNativePort but no setOutputNativePort. This ticket is to add this support. > Support running sstableloader outside of cluster with non default > native_transport_port > --------------------------------------------------------------------------------------- > > Key: CASSANDRA-13477 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13477 > Project: Cassandra > Issue Type: Improvement > Components: Configuration, Libraries, Tools > Reporter: Zhiyan Shao > Assignee: Zhiyan Shao > Priority: Minor > Fix For: 3.0.x, 3.11.x, 4.x > > Attachments: 13477-3.0.txt > > Original Estimate: 1h > Remaining Estimate: 1h > > Currently, hadoop cql3 library does not support setting OutputNativePort. It > always uses the default port 9042. If Cassandra cluster uses a different > native_transport_port, this won't work. There is a setInputNativePort but no > setOutputNativePort. > This ticket is to add this support. > During testing, we found out that storage_port and ssl_storage_port also need > to be set to customized one. Here is our current workaround: > hadoopConfig.set("cassandra.output.native.port", nonDefaultNativePort) > System.setProperty("cassandra.storage_port", nonStoragePort) > System.setProperty("cassandra.ssl_storage_port", nonSSLStoragePort) -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org