You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2016/02/24 04:15:18 UTC

[jira] [Updated] (HIVE-13134) JDBC: JDBC Standalone should not be in the lib dir by default

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

Gopal V updated HIVE-13134:
---------------------------
    Description: 
JDBC standalone contains many shaded jars, which tends to diverge in version without being aware of the issue on the cluster.

{code}
$ jar tvf jdbc/target/hive-jdbc-*-standalone.jar | grep slf4j
     0 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/
  3366 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/BasicMarker.class
  1427 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/BasicMarkerFactory.class
  1521 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/FormattingTuple.class
  4773 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/MarkerIgnoringBase.class
  6699 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/MessageFormatter.class
   823 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/NamedLoggerBase.class
  3267 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/NOPLogger.class
   584 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/NOPLoggerFactory.class
  1047 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/SubstituteLoggerFactory.class
   933 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/Util.class
{code}

Still need to retain those in the shaded version, but the jar has to out of the ./bin/hive classpath to load the service entries in order.

  was:
JDBC standalone contains many shaded jars, which tends to diverge in version without being aware of the issue on the cluster.

{code}
$ jar tvf jdbc/target/hive-jdbc-*-standalone.jar | grep slf4j
     0 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/
  3366 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/BasicMarker.class
  1427 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/BasicMarkerFactory.class
  1521 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/FormattingTuple.class
  4773 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/MarkerIgnoringBase.class
  6699 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/MessageFormatter.class
   823 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/NamedLoggerBase.class
  3267 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/NOPLogger.class
   584 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/NOPLoggerFactory.class
  1047 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/SubstituteLoggerFactory.class
   933 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/Util.class
{code}


> JDBC: JDBC Standalone should not be in the lib dir by default
> -------------------------------------------------------------
>
>                 Key: HIVE-13134
>                 URL: https://issues.apache.org/jira/browse/HIVE-13134
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>            Reporter: Gopal V
>            Assignee: Vaibhav Gumashta
>
> JDBC standalone contains many shaded jars, which tends to diverge in version without being aware of the issue on the cluster.
> {code}
> $ jar tvf jdbc/target/hive-jdbc-*-standalone.jar | grep slf4j
>      0 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/
>   3366 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/BasicMarker.class
>   1427 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/BasicMarkerFactory.class
>   1521 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/FormattingTuple.class
>   4773 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/MarkerIgnoringBase.class
>   6699 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/MessageFormatter.class
>    823 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/NamedLoggerBase.class
>   3267 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/NOPLogger.class
>    584 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/NOPLoggerFactory.class
>   1047 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/SubstituteLoggerFactory.class
>    933 Tue Feb 23 17:21:04 PST 2016 org/slf4j/helpers/Util.class
> {code}
> Still need to retain those in the shaded version, but the jar has to out of the ./bin/hive classpath to load the service entries in order.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)