You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2011/02/04 21:41:30 UTC
[jira] Created: (CASSANDRA-2111) cassandra-cli 'use Keyspace user
pass' breaks with SimpleAuth
cassandra-cli 'use Keyspace user pass' breaks with SimpleAuth
-------------------------------------------------------------
Key: CASSANDRA-2111
URL: https://issues.apache.org/jira/browse/CASSANDRA-2111
Project: Cassandra
Issue Type: Bug
Components: Tools
Affects Versions: 0.7.0
Reporter: Tyler Hobbs
Assignee: Pavel Yaskevich
Priority: Trivial
If SimpleAuth is used and the -Daccess.properties... JVM options are passed in, the CLI's "use Keyspace user 'password'" command breaks. However, if the --username and --password options are used, you can still authenticate.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CASSANDRA-2111) cassandra-cli 'use Keyspace user
pass' breaks with SimpleAuth
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992859#comment-12992859 ]
Hudson commented on CASSANDRA-2111:
-----------------------------------
Integrated in Cassandra-0.7 #273 (See [https://hudson.apache.org/hudson/job/Cassandra-0.7/273/])
add cli support for setting username/password at 'connect' command
patch by Pavel Yaskevich; reviewed by thobbs for CASSANDRA-2111
> cassandra-cli 'use Keyspace user pass' breaks with SimpleAuth
> -------------------------------------------------------------
>
> Key: CASSANDRA-2111
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2111
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.7.0
> Reporter: Tyler Hobbs
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Fix For: 0.7.1
>
> Attachments: CASSANDRA-2111-v2.patch, CASSANDRA-2111.patch
>
> Original Estimate: 2h
> Time Spent: 2h
> Remaining Estimate: 0h
>
> If SimpleAuth is used and the -Daccess.properties... JVM options are passed in, the CLI's "use Keyspace user 'password'" command breaks. However, if the --username and --password options are used, you can still authenticate.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CASSANDRA-2111) cassandra-cli 'use Keyspace user
pass' breaks with SimpleAuth
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990792#comment-12990792 ]
Pavel Yaskevich commented on CASSANDRA-2111:
--------------------------------------------
Looks like that right now without a valid user/password given by --username/--password you won't be able to connect the cassandra instance, that means that if you will try to use `use Keyspace <username> '<password>';` it will tell you that `Keyspace is not found` which is a wrong error message in this case.
I will make following changes:
a). add support for setting username/password at `connect host/port;` command;
b). change error to show that you are not connected to node instead of '<keyspace> not found' for `use <keyspace>` (other commands show the right error);
> cassandra-cli 'use Keyspace user pass' breaks with SimpleAuth
> -------------------------------------------------------------
>
> Key: CASSANDRA-2111
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2111
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.7.0
> Reporter: Tyler Hobbs
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> If SimpleAuth is used and the -Daccess.properties... JVM options are passed in, the CLI's "use Keyspace user 'password'" command breaks. However, if the --username and --password options are used, you can still authenticate.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CASSANDRA-2111) cassandra-cli 'use Keyspace user
pass' breaks with SimpleAuth
Posted by "Tyler Hobbs (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992808#comment-12992808 ]
Tyler Hobbs commented on CASSANDRA-2111:
----------------------------------------
The normal 'help' output does not show that you can specify a user/pass combination with connect. The 'help connect' output does, though.
Other than that, it looks good.
> cassandra-cli 'use Keyspace user pass' breaks with SimpleAuth
> -------------------------------------------------------------
>
> Key: CASSANDRA-2111
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2111
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.7.0
> Reporter: Tyler Hobbs
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Attachments: CASSANDRA-2111.patch
>
> Original Estimate: 2h
> Time Spent: 2h
> Remaining Estimate: 0h
>
> If SimpleAuth is used and the -Daccess.properties... JVM options are passed in, the CLI's "use Keyspace user 'password'" command breaks. However, if the --username and --password options are used, you can still authenticate.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CASSANDRA-2111) cassandra-cli 'use Keyspace user
pass' breaks with SimpleAuth
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Yaskevich updated CASSANDRA-2111:
---------------------------------------
Attachment: CASSANDRA-2111-v2.patch
v2 fixes missing note about user/pass for connect command when just `help` is used without `connect` attribute. This patch could be applied to both trunk and cassandra-0.7 branches.
> cassandra-cli 'use Keyspace user pass' breaks with SimpleAuth
> -------------------------------------------------------------
>
> Key: CASSANDRA-2111
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2111
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.7.0
> Reporter: Tyler Hobbs
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Attachments: CASSANDRA-2111-v2.patch, CASSANDRA-2111.patch
>
> Original Estimate: 2h
> Time Spent: 2h
> Remaining Estimate: 0h
>
> If SimpleAuth is used and the -Daccess.properties... JVM options are passed in, the CLI's "use Keyspace user 'password'" command breaks. However, if the --username and --password options are used, you can still authenticate.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CASSANDRA-2111) cassandra-cli 'use Keyspace user
pass' breaks with SimpleAuth
Posted by "Tyler Hobbs (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992812#comment-12992812 ]
Tyler Hobbs commented on CASSANDRA-2111:
----------------------------------------
+1
> cassandra-cli 'use Keyspace user pass' breaks with SimpleAuth
> -------------------------------------------------------------
>
> Key: CASSANDRA-2111
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2111
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.7.0
> Reporter: Tyler Hobbs
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Attachments: CASSANDRA-2111-v2.patch, CASSANDRA-2111.patch
>
> Original Estimate: 2h
> Time Spent: 2h
> Remaining Estimate: 0h
>
> If SimpleAuth is used and the -Daccess.properties... JVM options are passed in, the CLI's "use Keyspace user 'password'" command breaks. However, if the --username and --password options are used, you can still authenticate.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CASSANDRA-2111) cassandra-cli 'use Keyspace user
pass' breaks with SimpleAuth
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Yaskevich updated CASSANDRA-2111:
---------------------------------------
Attachment: CASSANDRA-2111.patch
`connect` command enhancement:
`connect host/port <username> '<password>';`
and changes from previous comment.
> cassandra-cli 'use Keyspace user pass' breaks with SimpleAuth
> -------------------------------------------------------------
>
> Key: CASSANDRA-2111
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2111
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.7.0
> Reporter: Tyler Hobbs
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Attachments: CASSANDRA-2111.patch
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> If SimpleAuth is used and the -Daccess.properties... JVM options are passed in, the CLI's "use Keyspace user 'password'" command breaks. However, if the --username and --password options are used, you can still authenticate.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CASSANDRA-2111) cassandra-cli 'use Keyspace user
pass' breaks with SimpleAuth
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-2111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-2111:
--------------------------------------
Reviewer: thobbs (was: jbellis)
> cassandra-cli 'use Keyspace user pass' breaks with SimpleAuth
> -------------------------------------------------------------
>
> Key: CASSANDRA-2111
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2111
> Project: Cassandra
> Issue Type: Bug
> Components: Tools
> Affects Versions: 0.7.0
> Reporter: Tyler Hobbs
> Assignee: Pavel Yaskevich
> Priority: Trivial
> Attachments: CASSANDRA-2111.patch
>
> Original Estimate: 2h
> Time Spent: 2h
> Remaining Estimate: 0h
>
> If SimpleAuth is used and the -Daccess.properties... JVM options are passed in, the CLI's "use Keyspace user 'password'" command breaks. However, if the --username and --password options are used, you can still authenticate.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira