accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Havanki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1494) add a "run user jar" command to accumulo start script
Date Fri, 20 Sep 2013 16:43:54 GMT

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

Bill Havanki commented on ACCUMULO-1494:
----------------------------------------

That would indeed make it simpler, but it would also differ from {{hadoop jar}}, which allows
the main class optionally.

{code}
$ hadoop jar
RunJar jarFile [mainClass] args...
$
{code}
                
> 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
>
> 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