You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Mikhail Stepura (JIRA)" <ji...@apache.org> on 2013/10/26 07:39:34 UTC

[jira] [Commented] (CASSANDRA-6242) CQL LIST USERS does nothing after a user is created.

    [ https://issues.apache.org/jira/browse/CASSANDRA-6242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13806007#comment-13806007 ] 

Mikhail Stepura commented on CASSANDRA-6242:
--------------------------------------------

Issue in cqlsh

> CQL LIST USERS does nothing after a user is created.
> ----------------------------------------------------
>
>                 Key: CASSANDRA-6242
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6242
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: cqlsh 4.0.1 | Cassandra 2.0.1 | CQL spec 3.1.1 | Thrift protocol 19.37.0
> java version "1.6.0_43"
> Java(TM) SE Runtime Environment (build 1.6.0_43-b01)
> Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01, mixed mode)
> Windows 7 - CQL running in Cygwin.
> Python 2.7.3
>            Reporter: Ben Sykes
>            Assignee: Mikhail Stepura
>            Priority: Minor
>
> 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.
> {code}
> $ ./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>
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)