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

Not able to override default transport port in cassandra 4.0

    XMLWordPrintableJSON

Details

    Description

      Bulk Loader is not honouring "-p" option given on the command line of the sstableloader.

      The command line used is:

      ~/apache-cassandra-4.0.1/bin/sstableloader -d 10.14.20.148 -cph 1 -idct 0 -p 9942 -ssp 7011 -sp 7010 --verbose ~/cassandra4_experiment/nishant/employee/

       

      but the call is still going to /10.14.20.148:9042. We are just passing the host information to the Cluster.Builder in NativeSSTableLoaderClient.java:
      Cluster.Builder builder = Cluster.builder().addContactPointsWithPorts(hosts).allowBetaProtocolVersion();

      Looks like default port is getting picked inside com.datastax.driver.core.cluster.

      Attachments

        Issue Links

          Activity

            People

              smiklosovic Stefan Miklosovic
              nishant__gupta NISHANT GUPTA
              Stefan Miklosovic
              Brandon Williams, Stefan Miklosovic
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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