Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.1.0
-
None
-
None
Description
I dont know the history behind this or what these classes are used for in YARN but having a runtime dependency on vendor specific JDBC driver seems wrong.
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-keyvault</artifactId>
</exclusion>
</exclusions>
</dependency>
This causes uber jars in dependent modules like hive-jdbc-standalone.jar to include all "runtime" scoped jars to be automatically bundled.
Instead the scope of the above dependency to be "provided" rather than "runtime".
Also is this scoped correctly? or should this be a "runtime" dependency instead of the default "compile"
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP-java7</artifactId>
</dependency>
Thanks