[
https://issues.apache.org/jira/browse/LENS-317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15171386#comment-15171386
]
Badrinath Kulkarni commented on LENS-317:
-----------------------------------------
Approach discussed :
1. We will have common jars in base folder and a jar_order file which will
provide the order in which the jars need to be loaded.
2. Add db jar API
This API will create a new folder for the corresponding DB and copies single
jar from <local> or from <hdfs_path> to that folder. Everytime a new jar is
added, its counter will be incremented. Example below -
{noformat}
/base_folder
-jar_order
-hive-metastore-0.13.3.jar
-lens-ship-jars-2.5.3.jar
/DB_A
-db_a_version_1.jar
-db_a_version_2.jar
-db_a_version_3.jar
/DB_B
-db_b_version_1.jar
-db_b_version_2.jar
-db_b_version_3.jar
{noformat}
3. Whenever a new job is started, it will always pick up the latest jar
4. There will be a size restriction on uploaded jar
5. Deletion of jars will be taken up as a different JIRA task.
> Server side calls for updating database jars
> --------------------------------------------
>
> Key: LENS-317
> URL: https://issues.apache.org/jira/browse/LENS-317
> Project: Apache Lens
> Issue Type: Improvement
> Components: cube, server
> Reporter: Jaideep Dhok
> Assignee: Badrinath Kulkarni
> Fix For: 2.6
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)