You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Sorabh Hamirwasia (JIRA)" <ji...@apache.org> on 2018/10/17 05:11:00 UTC

[jira] [Created] (DRILL-6800) Simplify packaging of Jdbc-all jar

Sorabh Hamirwasia created DRILL-6800:
----------------------------------------

             Summary: Simplify packaging of Jdbc-all jar
                 Key: DRILL-6800
                 URL: https://issues.apache.org/jira/browse/DRILL-6800
             Project: Apache Drill
          Issue Type: Improvement
          Components: Client - JDBC
            Reporter: Sorabh Hamirwasia


Today Jdbc-all package is created using drill-java-exec as dependency and then excluding unnecessary dependency. Also there is size check for jdbc-all jar to avoid including any unwanted dependency. But configured size has increased over time and doesn't really provide a good mechanism to enforce small footprint of jdbc-all jar. Following are some recommendation to improve it:
1) Divide java-exec module into separate client/server and common module
2) Have size check for client artifact only.
3) Update jdbc-all pom to include newly created client artifact and jdbc driver artifact. 
* Have multiple profiles to include and exclude any profile specific dependency. For 
example MapR profile will exclude hadoop dependency whereas apache profile will 
include it.
* We can create 2 artifacts for jdbc-all: one with and other without (for smaller jar size) Hadoop dependencies.
4) Update client side protobuf to not have server side definitions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)