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

update cassandra-cli for mandatory login()

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7 beta 1
    • Legacy/Tools
    • None

    Description

      With the completion of CASSANDRA-714, the cli will need to be updated accordingly.

      • Either the --keyspace command argument (or something equivalent entered interactively after startup), will need to be made required.
      • The record specifier should be changed from `keyspace.column_family['row']' to `column_family['row']'.
      • The keyspace name should be displayed in the prompt, instead of the fixed string "cassandra" as a reminder of the current working keyspace.

      Additionally, a get_string_property("cluster name") was recently added to force connection errors to occur early (the name is also displayed in the banner). Since this changeset will make a login() call mandatory, the get_string_property() call will be unneeded and can be removed.

      Attachments

        Issue Links

          Activity

            People

              todd Todd Lipcon
              urandom Eric Evans
              Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: