accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Allen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-995) stop-all.sh parameter passing does not accept -u root -p password params properly
Date Sat, 26 Jan 2013 00:03:13 GMT
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

Mime
View raw message