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

VJ commented on HIVE-3007:
--------------------------

If i am not using JBoss should i just make the /org/apache/hive/jdbc/main 
directory?
                
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to