[ https://issues.apache.org/jira/browse/HIVE-21887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16917757#comment-16917757 ]
Laszlo Bodor commented on HIVE-21887: ------------------------------------- +1 > 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)