dlmarion commented on pull request #2266:
URL: https://github.com/apache/accumulo/pull/2266#issuecomment-916238269


   Ok, I think I see what's happening now. It looks like you can log into the 
shell with whatever password you want, and it fails later when you try to do 
something. However, some things work (list tables):
   
   ```
   ~/Software/accumulo-2.1.0-SNAPSHOT/bin$ ./accumulo shell -u root -p foo
   Loading configuration from 
/home/dlmari2/Software/accumulo-2.1.0-SNAPSHOT/conf/accumulo-client.properties
   
   Shell - Apache Accumulo Interactive Shell
   - 
   - version: 2.1.0-SNAPSHOT
   - instance name: password-test
   - instance id: a467172e-f040-420e-acb9-3cc0ec9dc02f
   - 
   - type 'help' for a list of available commands
   - 
   WARNING: An illegal reflective access operation has occurred
   WARNING: Illegal reflective access by 
org.apache.hadoop.security.authentication.util.KerberosUtil 
(file:/home/dlmari2/Software/hadoop-3.2.1/share/hadoop/client/hadoop-client-api-3.2.1.jar)
 to method sun.security.krb5.Config.getInstance()
   WARNING: Please consider reporting this to the maintainers of 
org.apache.hadoop.security.authentication.util.KerberosUtil
   WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
   WARNING: All illegal access operations will be denied in a future release
   root@password-test> tables
   accumulo.metadata
   accumulo.replication
   accumulo.root
   trace
   root@password-test> scan -t accumulo.root
   2021-09-09T16:05:33,102 [shell.Shell] ERROR: Could not load the specified 
formatter. Using the DefaultFormatter
   2021-09-09T16:05:33,137 [shell.Shell] ERROR: 
org.apache.accumulo.core.client.AccumuloSecurityException: Error 
BAD_CREDENTIALS for user root - Username or Password is Invalid
   ```
   Maybe this changed with 2.0, I'm more familiar with bad passwords failing to 
let you in the shell at all.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to