hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6765) ASTNodeOrigin unserializable leads to fail when join with view
Date Thu, 27 Mar 2014 08:58:17 GMT

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

Adrian Wang commented on HIVE-6765:
-----------------------------------

I added a PersistenceDelegate in serializeObject() in Class Utilities and resolved the problem.
later I'll attach the patch.

> ASTNodeOrigin unserializable leads to fail when join with view
> --------------------------------------------------------------
>
>                 Key: HIVE-6765
>                 URL: https://issues.apache.org/jira/browse/HIVE-6765
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.12.0
>            Reporter: Adrian Wang
>
> when a view contains a UDF, and the view comes into a JOIN operation, Hive will encounter
a bug with stack trace like
> Caused by: java.lang.InstantiationException: org.apache.hadoop.hive.ql.parse.ASTNodeOrigin
> 	at java.lang.Class.newInstance0(Class.java:359)
> 	at java.lang.Class.newInstance(Class.java:327)
> 	at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message