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

JDBC: Standalone jar is missing ZK dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.0
    • JDBC
    • None

    Description

      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/curator/RetryPolicy
      	at org.apache.hive.jdbc.Utils.configureConnParams(Utils.java:514)
      	at org.apache.hive.jdbc.Utils.parseURL(Utils.java:434)
      	at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:132)
      	at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:107)
      	at java.sql.DriverManager.getConnection(DriverManager.java:664)
      	at java.sql.DriverManager.getConnection(DriverManager.java:247)
      	at JDBCExecutor.getConnection(JDBCExecutor.java:65)
      	at JDBCExecutor.executeStatement(JDBCExecutor.java:104)
      	at JDBCExecutor.executeSQLFile(JDBCExecutor.java:81)
      	at JDBCExecutor.main(JDBCExecutor.java:183)
      Caused by: java.lang.ClassNotFoundException: org.apache.curator.RetryPolicy
      	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      

      Attachments

        1. HIVE-15472.1.patch
          0.8 kB
          Tao Li
        2. HIVE-15472.2.patch
          1 kB
          Tao Li

        Activity

          People

            taoli-hwx Tao Li
            gopalv Gopal Vijayaraghavan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: