[ 
https://issues.apache.org/jira/browse/TEPHRA-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Istvan Toth updated TEPHRA-314:
-------------------------------
    Description: 
Currently the tephra-distribution module can be used as a tephra server 
component, which contains the init script, configuration, and libraries.

However, one glance at the lib dir shows that it is a disaster waiting to 
happen, with multiple versions of the same dependencies included. (which I 
suspect we'd also get from the HBase classpath)

We need a way to start a tephra server with a sane classpath.

The example modules are also not neccessary for starting the server.

One way to go about it would be:
 * -rename tephra-distribution to tephra-server-
 * remove the example JARs from it
 * move the assembly descriptor to the submodule
 * make sure that the Hadoop and Hbase dependencies are note replicated in the 
/lib dir
 * -review or remove the license files, since we have no binary distribution-

  was:
Currently the tephra-distribution module can be used as a tephra server 
component, which contains the init script, configuration, and libraries.

However, one glance at the lib dir shows that it is a disaster waiting to 
happen, with multiple versions of the same dependencies included. (which I 
suspect we'd also get from the HBase classpath)

We need a way to start a tephra server with a sane classpath.

The example modules are also not neccessary for starting the server.

One way to go about it would be:
 * rename tephra-distribution to tephra-server
 * remove the example JARs from it
 * move the assembly descriptor to the submodule
 * make sure that the Hadoop and Hbase dependencies are note replicated in the 
/lib dir
 * review or remove the license files, since we have no binary distribution


> Clean up lib dir in distribution assembly
> -----------------------------------------
>
>                 Key: TEPHRA-314
>                 URL: https://issues.apache.org/jira/browse/TEPHRA-314
>             Project: Phoenix Tephra
>          Issue Type: Improvement
>    Affects Versions: 0.16.0
>            Reporter: Istvan Toth
>            Assignee: Poorna Chandra
>            Priority: Major
>
> Currently the tephra-distribution module can be used as a tephra server 
> component, which contains the init script, configuration, and libraries.
> However, one glance at the lib dir shows that it is a disaster waiting to 
> happen, with multiple versions of the same dependencies included. (which I 
> suspect we'd also get from the HBase classpath)
> We need a way to start a tephra server with a sane classpath.
> The example modules are also not neccessary for starting the server.
> One way to go about it would be:
>  * -rename tephra-distribution to tephra-server-
>  * remove the example JARs from it
>  * move the assembly descriptor to the submodule
>  * make sure that the Hadoop and Hbase dependencies are note replicated in 
> the /lib dir
>  * -review or remove the license files, since we have no binary distribution-



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to