You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "David Medinets (JIRA)" <ji...@apache.org> on 2012/07/14 03:23:33 UTC

[jira] [Created] (ACCUMULO-691) Connecting To Shell With Incorrect Password Should Fail

David Medinets created ACCUMULO-691:
---------------------------------------

             Summary: 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
            Reporter: David Medinets


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

        

[jira] [Commented] (ACCUMULO-691) Connecting To Shell With Incorrect Password Should Fail

Posted by "Eric Newton (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Resolved] (ACCUMULO-691) Connecting To Shell With Incorrect Password Should Fail

Posted by "John Vines (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Vines resolved ACCUMULO-691.
---------------------------------

    Resolution: Fixed
    
> 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

        

[jira] [Resolved] (ACCUMULO-691) Connecting To Shell With Incorrect Password Should Fail

Posted by "John Vines (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Vines resolved ACCUMULO-691.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.0
         Assignee: John Vines

This was broken in trunk alone, fixed now
                
> 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

        

[jira] [Reopened] (ACCUMULO-691) Connecting To Shell With Incorrect Password Should Fail

Posted by "John Vines (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Vines reopened ACCUMULO-691:
---------------------------------


Need to add 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

        

[jira] [Updated] (ACCUMULO-691) Connecting To Shell With Incorrect Password Should Fail

Posted by "John Vines (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Vines updated ACCUMULO-691:
--------------------------------

    Affects Version/s:     (was: 1.5.0)
                       1.5.0-SNAPSHOT
    
> 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

        

[jira] [Resolved] (ACCUMULO-691) Connecting To Shell With Incorrect Password Should Fail

Posted by "John Vines (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Vines resolved ACCUMULO-691.
---------------------------------

    Resolution: Fixed
    
> 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

        

[jira] [Reopened] (ACCUMULO-691) Connecting To Shell With Incorrect Password Should Fail

Posted by "John Vines (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Vines reopened ACCUMULO-691:
---------------------------------

    
> 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