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

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

#1 I think one way to solve this to remove jdo-api from the metastore

[~alangates] does that sound good?

> 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
>
>
> 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
(v7.6.3#76005)

Reply via email to