You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/10/21 07:21:01 UTC
[jira] [Updated] (HIVE-14555) JDBC:ClassNotFoundException when executing a map join query with UDF
[ https://issues.apache.org/jira/browse/HIVE-14555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stamatis Zampetakis updated HIVE-14555:
---------------------------------------
Fix Version/s: (was: 1.1.0)
I cleared the fixVersion field since this ticket is still open. Please review this ticket and if the fix is already committed to a specific version please set the version accordingly and mark the ticket as RESOLVED.
According to the [JIRA guidelines|https://cwiki.apache.org/confluence/display/Hive/HowToContribute] the fixVersion should be set only when the issue is resolved/closed.
> JDBC:ClassNotFoundException when executing a map join query with UDF
> --------------------------------------------------------------------
>
> Key: HIVE-14555
> URL: https://issues.apache.org/jira/browse/HIVE-14555
> Project: Hive
> Issue Type: Bug
> Components: Query Planning
> Affects Versions: 1.1.0
> Reporter: hizero
> Assignee: hizero
> Priority: Major
> Attachments: HIVE-14555.patch
>
>
> when I submit a map join query with UDF using JDBC and sometimes it throws:
> Error while compiling statement: FAILED: SemanticException Generate Map Join Task Error: Unable to find class: com.kingnetdc.hive.udf.FilterByMap Serialization trace: genericUDF (org.apache.hadoop.hive.ql.plan.ExprNodeGenericFuncDesc) colExprMap (org.apache.hadoop.hive.ql.exec.SelectOperator) childOperators (org.apache.hadoop.hive.ql.exec.FilterOperator) childOperators (org.apache.hadoop.hive.ql.exec.JoinOperator) reducer (org.apache.hadoop.hive.ql.plan.ReduceWork) reduceWork (org.apache.hadoop.hive.ql.plan.MapredWork)
> I have found the fact that it fails at cloning plan when invoking Utilities.deserializePlan.
> An existing thread deals with the query and its static threadlocal variable,cloningQueryPlanKryo has been initialed at most once per thread.When this thread registered UDF setting in aux_jar_paths it wont reinitialize the cloningQueryPlanKryo.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)