hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tao Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-15472) JDBC: Standalone jar is missing ZK dependencies
Date Tue, 17 Jan 2017 18:37:26 GMT

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

Tao Li updated HIVE-15472:
--------------------------
    Attachment: HIVE-15472.2.patch

> JDBC: Standalone jar is missing ZK dependencies
> -----------------------------------------------
>
>                 Key: HIVE-15472
>                 URL: https://issues.apache.org/jira/browse/HIVE-15472
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 2.2.0
>            Reporter: Gopal V
>            Assignee: Tao Li
>         Attachments: HIVE-15472.1.patch, HIVE-15472.2.patch
>
>
> {code}
> 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)
> {code}



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

Mime
View raw message