Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-13134

JDBC: JDBC Standalone should not be in the lib dir by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0, 2.0.1, 2.1.0
    • 2.0.1, 2.1.0
    • JDBC
    • None
    • JDBC: JDBC Standalone should not be in the lib dir by default

    Description

      JDBC standalone contains many shaded jars, which tends to diverge in version when hotfixes are deployed.

      $ 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
      

      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.

      Attachments

        1. HIVE-13134.1.patch
          0.9 kB
          Gopal Vijayaraghavan

        Issue Links

          Activity

            People

              gopalv Gopal Vijayaraghavan
              gopalv Gopal Vijayaraghavan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: