You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Michael Allen (JIRA)" <ji...@apache.org> on 2013/01/26 01:03:13 UTC

[jira] [Created] (ACCUMULO-995) stop-all.sh parameter passing does not accept -u root -p password params properly

Michael Allen created ACCUMULO-995:
--------------------------------------

             Summary: stop-all.sh parameter passing does not accept -u root -p password params properly
                 Key: ACCUMULO-995
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-995
             Project: Accumulo
          Issue Type: Bug
          Components: scripts
    Affects Versions: 1.5.0
         Environment: Accumulo 1.5.0 from trunk, running on my OS X laptop.
            Reporter: Michael Allen
            Assignee: John Vines


Recreation steps:

1. Install Accumulo 1.5.0 from trunk, and start server (start-all.sh).
2. Now stop the server:

bin/stop-all.sh -u root -p password

Expected outcome: 

stop-all.sh command would use supplied credentials to attach to the server.

Actual outcome:

The eventual implementation class (o.a.a.s.util.Admin) throws a parse exception for the command line parameters:

Caused by: com.beust.jcommander.ParameterException: Unknown option: -u
	at com.beust.jcommander.JCommander.parseValues(JCommander.java:735)
	at com.beust.jcommander.JCommander.parse(JCommander.java:279)
	at com.beust.jcommander.JCommander.parse(JCommander.java:262)
	at com.beust.jcommander.JCommander.parseValues(JCommander.java:780)
	at com.beust.jcommander.JCommander.parse(JCommander.java:279)
	at com.beust.jcommander.JCommander.parse(JCommander.java:262)
	at org.apache.accumulo.server.util.Admin.main(Admin.java:76)
	... 6 more


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira