accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Newton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1494) add a "run user jar" command to accumulo start script
Date Tue, 24 Sep 2013 15:49:02 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13776411#comment-13776411
] 

Eric Newton commented on ACCUMULO-1494:
---------------------------------------

Looks good.  Can you make this skip the traceback:

{noformat}
$ ./bin/accumulo jar
java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:131)
	at java.util.zip.ZipFile.<init>(ZipFile.java:92)
	at sun.tools.jar.Main.list(Main.java:997)
	at sun.tools.jar.Main.run(Main.java:242)
	at sun.tools.jar.Main.main(Main.java:1167)
accumulo init | master | tserver | monitor | shell | admin | gc | classpath | rfile-info |
login-info | tracer | minicluster | proxy | zookeeper | create-token | info | version | jar
<jar> [<main class>] args | <accumulo class> args
{noformat}

                
> add a "run user jar" command to accumulo start script
> -----------------------------------------------------
>
>                 Key: ACCUMULO-1494
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1494
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: start
>            Reporter: Sean Busbey
>            Assignee: Bill Havanki
>            Priority: Minor
>              Labels: newbie
>         Attachments: 0001-ACCUMULO-1494-Add-support-for-accumulo-jar-command.patch
>
>
> Rather than suggesting users run a client by adding their client jars to lib/ext (ref:
[1.4|http://accumulo.apache.org/1.4/user_manual/Writing_Accumulo_Clients.html], [1.5|http://accumulo.apache.org/1.5/accumulo_user_manual.html#_writing_accumulo_clients])
we should provide an equivalent to the [hadoop jar command|http://hadoop.apache.org/docs/stable/commands_manual.html#jar].
> {noformat}
> $ ./bin/accumulo jar --help
> usage: jar <jar | -?> [mainClass] [args]
> Jar - Run Jar with Apache Accumulo
>   -?,--help          display this help
> {noformat}
> Like the hadoop jar command, if the jar manifest defines a mainClass, it should use it.
Otherwise, it should use the command line provided one.

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