cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Stepura (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CASSANDRA-6242) CQL LIST USERS does nothing after a user is created.
Date Sat, 26 Oct 2013 05:39:31 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-6242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mikhail Stepura reassigned CASSANDRA-6242:
------------------------------------------

    Assignee: Mikhail Stepura

> 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)

Mime
View raw message