You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Eric Newton (JIRA)" <ji...@apache.org> on 2012/07/16 23:22:35 UTC
[jira] [Commented] (ACCUMULO-691) Connecting To Shell With
Incorrect Password Should Fail
[ https://issues.apache.org/jira/browse/ACCUMULO-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415650#comment-13415650 ]
Eric Newton commented on ACCUMULO-691:
--------------------------------------
Please add a functional test before closing the ticket. This should have been caught by one of the shell tests, and if it wasn't, let's add to the test.
> Connecting To Shell With Incorrect Password Should Fail
> -------------------------------------------------------
>
> Key: ACCUMULO-691
> URL: https://issues.apache.org/jira/browse/ACCUMULO-691
> Project: Accumulo
> Issue Type: Bug
> Affects Versions: 1.5.0-SNAPSHOT
> Reporter: David Medinets
> Assignee: John Vines
> Fix For: 1.5.0
>
>
> I ran this command:
> accumulo shell -u root -p bad_password
> And was connected to the shell. I did not expect this to work. I could
> run the "tables" command. I could even choose a table to work with.
> However the scan and insert failed as shown below.
> root@development> table david
> root@development david> scan
> 14 00:18:11,063 [shell.Shell] ERROR:
> org.apache.accumulo.core.client.AccumuloSecurityException: Error
> BAD_CREDENTIALS - Username or Password is Invalid
> root@development david> insert row1 cf1 cq1 value
> 14 00:18:25,952 [impl.ThriftScanner] WARN : Security Violation in scan
> request to 66.175.213.65:9997: ThriftSecurityException(user:root,
> code:BAD_CREDENTIALS)
> 14 00:18:26,046 [shell.Shell] ERROR:
> org.apache.accumulo.core.client.MutationsRejectedException: #
> constraint violations : 0 # authorization failures : 1 # server
> errors 0 # exceptions 0
> The config -T command did work which is probably not good.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira