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

Zoltan Haindrich commented on HIVE-21887:
-----------------------------------------

patch#3)

* shade the "right" library in ql
* Hive.registerFunctions have ignored Errors/Throwables which could have lead 
to a hang in case of a ClassNotFoundException

> Multiple implementations of PersistenceManager are on the classpath
> -------------------------------------------------------------------
>
>                 Key: HIVE-21887
>                 URL: https://issues.apache.org/jira/browse/HIVE-21887
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Major
>         Attachments: HIVE-21887.01.patch, HIVE-21887.01.patch, 
> HIVE-21887.01.patch, HIVE-21887.02.patch, HIVE-21887.03.patch
>
>
> While writing some test I've just bumped into that PersistenceManager is not 
> always AutoCloseable ; however when I was using it from the metastore it was.
> it turned out that:
> * 'standalone-metastore' uses: org.datanucleus:javax.jdo:3.2.0-m3
> * 'metastore' uses: javax.jdo:jdo-api:3.0.1
> the problem is that both dependency contains the jdo api; and sometimes 
> jdo-api is earlier on the classpath



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to