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

CQL LIST USERS does nothing after a user is created.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.3
    • Legacy/Tools
    • None
    • Low

    Description

      After using CREATE USER to create a new user, the LIST USERS command returns nothing to the console.
      After removing this user again, the command works as expected.

      $ ./cqlsh -u cassandra -p cassandra
      Connected to Test Cluster at localhost:9160.
      [cqlsh 4.0.1 | Cassandra 2.0.1 | CQL spec 3.1.1 | Thrift protocol 19.37.0]
      Use HELP for help.
      cqlsh> LIST USERS;
      
       name      | super
      -----------+-------
       cassandra |  True
      
      cqlsh> CREATE USER bob WITH PASSWORD 'example' NOSUPERUSER;
      cqlsh> LIST USERS;
      cqlsh> SELECT * FROM system_auth.users;
      
       name      | super
      -----------+-------
             bob | False
       cassandra |  True
      
      (2 rows)
      
      cqlsh> DROP USER bob;
      cqlsh> LIST USERS;
      
       name      | super
      -----------+-------
       cassandra |  True
      
      cqlsh>
      

      Attachments

        1. cassandra-2.0-6242.patch
          0.8 kB
          Mikhail Stepura

        Activity

          People

            mishail Mikhail Stepura
            bensykes Ben Sykes
            Mikhail Stepura
            Aleksey Yeschenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: