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


   So, I did the following:
   
   ```
   ~/Software/accumulo-2.1.0-SNAPSHOT/bin$ ./accumulo 
org.apache.accumulo.server.util.ChangeSecret --old secret --new secret2
   2021-09-09T15:48:30,014 [conf.SiteConfiguration] INFO : Found Accumulo 
configuration on classpath at 
/home/dlmari2/Software/accumulo-2.1.0-SNAPSHOT/conf/accumulo.properties
   old zookeeper password: 
   new zookeeper password: 
   Usage: org.apache.accumulo.server.util.ChangeSecret [options]
     Options:
       -auths, --auths
         the authorizations to use when reading or writing
         Default: <empty string>
       -c, --config-file
         Read the given client config file. If omitted, the classpath will be 
         searched for file named accumulo-client.properties
       -h, -?, --help, -help
   
       --password
         connection password (can be specified as '<password>', 
         'pass:<password>', 'file:<local file containing the password>' or 
         'env:<variable containing the pass>')
       --trace
         turn on distributed tracing
         Default: false
       -u, --user
         Connection user
       -o
         Overrides property in accumulo-client.properties. Expected format: -o 
         <key>=<value> 
         Default: []
   
   Can only specify option --old once.
   ```
   
   So, I guess I don't know how to run it. So I tried it w/out args and it did 
not fail.
   
   ```
   ~/Software/accumulo-2.1.0-SNAPSHOT/bin$ ./accumulo 
org.apache.accumulo.server.util.ChangeSecret
   2021-09-09T15:49:29,824 [conf.SiteConfiguration] INFO : Found Accumulo 
configuration on classpath at 
/home/dlmari2/Software/accumulo-2.1.0-SNAPSHOT/conf/accumulo.properties
   old zookeeper password: 
   new zookeeper password: 
   ~/Software/accumulo-2.1.0-SNAPSHOT/bin$ 
   ```


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