Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13477

Support running sstableloader outside of cluster with non default native_transport_port

    XMLWordPrintableJSON

Details

    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)

      Attachments

        1. 13477-3.0.txt
          1 kB
          Zhiyan Shao

        Activity

          People

            zhiyan.shao@gmail.com Zhiyan Shao
            zhiyan.shao@gmail.com Zhiyan Shao
            Zhiyan Shao
            Philip Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified