hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruslan Peshchuk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3007) Following error occured when establishing the sample HIVE JDBC connection
Date Fri, 13 Jul 2012 10:18:34 GMT

    [ https://issues.apache.org/jira/browse/HIVE-3007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13413629#comment-13413629
] 

Ruslan Peshchuk commented on HIVE-3007:
---------------------------------------

Forgot to say that I fixed it in branch-0.9 sources.
                
> Following error occured when establishing the sample HIVE JDBC connection
> -------------------------------------------------------------------------
>
>                 Key: HIVE-3007
>                 URL: https://issues.apache.org/jira/browse/HIVE-3007
>             Project: Hive
>          Issue Type: Bug
>         Environment: Linux 
>            Reporter: victorWang
>         Attachments: [HIVE-3007].patch, module.xml
>
>
> Exception in thread "main" java.lang.reflect.InvocationTargetException
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
>         at java.lang.reflect.Method.invoke(Method.java:611)
>         at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
> Caused by: java.lang.RuntimeException: Failed to load Hive builtin functions
>         at org.apache.hadoop.hive.ql.session.SessionState.<init>(SessionState.java:190)
>         at org.apache.hadoop.hive.jdbc.JdbcSessionState.<init>(JdbcSessionState.java:31)
>         at org.apache.hadoop.hive.jdbc.HiveConnection.<init>(HiveConnection.java:62)
>         at org.apache.hadoop.hive.jdbc.HiveDriver.connect(HiveDriver.java:108)
>         at java.sql.DriverManager.getConnection(DriverManager.java:322)
>         at java.sql.DriverManager.getConnection(DriverManager.java:358)
>         at HiveJdbcClient.main(HiveJdbcClient.java:24)
>         ... 5 more
> Caused by: java.net.MalformedURLException: no !/ in spec
>         at java.net.URL.<init>(URL.java:613)
>         at java.net.URL.<init>(URL.java:476)
>         at java.net.URL.<init>(URL.java:425)
>         at java.net.JarURLConnection.parseSpecs(JarURLConnection.java:162)
>         at java.net.JarURLConnection.<init>(JarURLConnection.java:155)
>         at sun.net.www.protocol.jar.JarURLConnection.<init>(JarURLConnection.java:78)
>         at sun.net.www.protocol.jar.Handler.openConnection(Handler.java:36)
>         at java.net.URL.openConnection(URL.java:957)
>         at java.net.URL.openStream(URL.java:1022)
>         at org.apache.hadoop.hive.ql.exec.FunctionRegistry.registerFunctionsFromPluginJar(FunctionRegistry.java:1194)
>         at org.apache.hadoop.hive.ql.session.SessionState.<init>(SessionState.java:187)
>         ... 11 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message