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

error in help text of cassandra-cli (--tspw option shows SSL: full path to truststore)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.6
    • Legacy/Tools
    • None
    • N/A
      (Ubuntu Linux, OpenJDK 7)

    • Low

    Description

      When you issue the cmdline "cassandra-cli -?" you get the following:

      cssndra@ubuntu2:/opt/cassandra/conf$ cassandra-cli -?
      usage: cassandra-cli
       -?,--help                                           usage help
       -alg,--ssl-alg <ALGORITHM>                          SSL: algorithm
                                                           (default: SunX509)
       -B,--batch                                          enabled batch mode
                                                           (suppress output; errors are fatal)
       -ciphers,--ssl-ciphers <CIPHER-SUITES>              SSL: comma-separated
                                                           list of encryption suites to use
          --debug                                          display stack-traces
                                                           (NOTE: We print strack-traces in the places where it makes sense even
                                                           without --debug)
       -f,--file <FILENAME>                                load statements from
                                                           the specific file
       -h,--host <HOSTNAME>                                cassandra server's
                                                           host name
          --jmxpassword <JMX-PASSWORD>                     JMX service password
          --jmxport <JMX-PORT>                             JMX service port
          --jmxusername <JMX-USERNAME>                     JMX service username
       -k,--keyspace <KEYSPACE>                            cassandra keyspace
                                                           user is authenticated against
       -p,--port <PORT>                                    cassandra server's
                                                           thrift port
       -prtcl,--ssl-protocol <PROTOCOL>                    SSL: connections
                                                           protocol to use (default: TLS)
       -pw,--password <PASSWORD>                           password for
                                                           cassandra authentication
          --schema-mwt <TIME>                              Schema migration wait
                                                           time (secs.), default is 10 secs
       -st,--store-type <STORE-TYPE>                       SSL: type of store
       -tf,--transport-factory <TRANSPORT-FACTORY>         Fully-qualified
                                                           TTransportFactory class name for creating a connection to cassandra
       -ts,--truststore <TRUSTSTORE>                       SSL: full path to
                                                           truststore
       -tspw,--truststore-password <TRUSTSTORE-PASSWORD>   SSL: full path to
                                                           truststore
       -u,--username <USERNAME>                            user name for
                                                           cassandra authentication
       -v,--verbose                                        verbose output when
                                                           using batch mode
      

      As you see, the help text for the --tspw switch has the same as the --ts switch.

      Attachments

        1. CASSANDRA-5634.patch
          1 kB
          Harry Metske

        Activity

          People

            metskem Harry Metske
            metskem Harry Metske
            Harry Metske
            David Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: