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

Sean Busbey commented on ACCUMULO-1494:
---------------------------------------

Two issues:

* a jar command makes it easier for new-comers familiar with hadoop to use 
accumulo
* just adding to the classloader doesn't allow the client jar provider to use 
the Manifest's mainClass to ease integration

Other than that, updating the docs to suggest the use of the add argument would 
work.
                
> 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: Bug
>          Components: start
>            Reporter: Sean Busbey
>            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

Reply via email to