incubator-hcatalog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HCATALOG-187) HCatalog release missing Hive builtins
Date Wed, 21 Dec 2011 18:25:31 GMT

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

Ashutosh Chauhan commented on HCATALOG-187:
-------------------------------------------

+1 Will commit this soon.
                
> HCatalog release missing Hive builtins
> --------------------------------------
>
>                 Key: HCATALOG-187
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-187
>             Project: HCatalog
>          Issue Type: Bug
>            Reporter: Travis Crawford
>         Attachments: HCATALOG-187.diff
>
>
> HIVE-2523 moved builtins to its own package. When doing a clean HCatalog build we now
get a RuntimeException because builtins are missing:
> {code}
> $ HADOOP_HOME=/usr/lib/hadoop bin/hcat
> Exception in thread "main" 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.cli.CliSessionState.<init>(CliSessionState.java:81)
> 	at org.apache.hcatalog.cli.HCatCli.main(HCatCli.java:63)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
> Caused by: java.lang.ClassNotFoundException: org.apache.hive.builtins.BuiltinUtils
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:169)
> 	at org.apache.hadoop.hive.ql.exec.Utilities.getBuiltinUtilsClass(Utilities.java:2319)
> 	at org.apache.hadoop.hive.ql.session.SessionState.<init>(SessionState.java:182)
> 	... 7 more
> {code}
> The builtins jar needs to be included in the HCatalog release.

--
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