hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garry Turkington (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-3739) Hive auto convert join result error: java.lang.InstantiationException: org.antlr.runtime.CommonToken
Date Mon, 29 Apr 2013 19:38:16 GMT

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

Garry Turkington commented on HIVE-3739:
----------------------------------------

I've been seeing this issue on and off but couldn't find a pattern until today.

The variable appears to be JDK 7 vs JDK6.  On a CDH 4.2.1 cluster running Oracle JDK 6 u32
64-bit my Hive queries that take use of auto join run successfully.  But as a test I tried
running the cluster with Oracle JDK 7 U21 64-bit and the same Hive queries throw lots of these
Antlr exceptions.

On further investigation one of my client boxes has JDK 7 by default and this is where the
errors were seen in the past; JDK 6 clients didn't show the issue.

As mentioned this was on Cloudera 4.2.1 i.e. Hive 0.10; not sure if core Hive views JDK 7
as a supported platform or not, I see other Jiras resolved that fix JDK 7 problems but the
getting started page only mentions JDK 6:

https://cwiki.apache.org/confluence/display/Hive/GettingStarted

Garry
                
> Hive auto convert join result error: java.lang.InstantiationException: org.antlr.runtime.CommonToken
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-3739
>                 URL: https://issues.apache.org/jira/browse/HIVE-3739
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.9.0
>         Environment: hive.auto.convert.join=true
>            Reporter: fantasy
>
> After I set hive.auto.convert.join=true. Any HiveQL with a join executed in hive result
a error as this:
> -------------
> java.lang.InstantiationException: org.antlr.runtime.CommonToken
>  Continuing ...
>  java.lang.RuntimeException: failed to evaluate: <unbound>=Class.new();
>  Continuing ...
>  java.lang.InstantiationException: org.antlr.runtime.CommonToken
>  Continuing ...
>  java.lang.RuntimeException: failed to evaluate: <unbound>=Class.new();
>  Continuing ...
>  java.lang.InstantiationException: org.antlr.runtime.CommonToken
>  Continuing ...
>  java.lang.RuntimeException: failed to evaluate: <unbound>=Class.new();
>  Continuing ...
>  java.lang.InstantiationException: org.antlr.runtime.CommonToken
>  Continuing ...
>  java.lang.RuntimeException: failed to evaluate: <unbound>=Class.new();
>  Continuing ...
> -----------------------
> can anyone tell why?

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

Mime
View raw message