hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <>
Subject [jira] [Commented] (HIVE-3632) Upgrade datanucleus to support JDK7
Date Mon, 15 Jul 2013 17:06:50 GMT


Xuefu Zhang commented on HIVE-3632:

To compile and run hive on JDK7, DataNucleus needs to be upgraded. The current plan is to
upgrade using the following library versions:


These versions work for both JDK6 and JDK7. After upgrade, there is only a few test failures
with JDK6. Besides the unit tests, more tests will be conducted.

This is related to HIVE-2084, but the goal here is slightly different. Of course, the upgrade
needs to address all issues that may arise.

> Upgrade datanucleus to support JDK7
> -----------------------------------
>                 Key: HIVE-3632
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 0.9.1, 0.10.0
>            Reporter: Chris Drome
>            Assignee: Xuefu Zhang
>            Priority: Critical
> I found serious problems with datanucleus code when using JDK7, resulting in some sort
of exception being thrown when datanucleus code is entered.
> I tried source=1.7, target=1.7 with JDK7 as well as source=1.6, target=1.6 with JDK7
and there was no visible difference in that the same unit tests failed.
> I tried upgrading datanucleus to 3.0.1, as per HIVE-2084.patch, which did not fix the
failing tests.
> I tried upgrading datanucleus to 3.1-release, as per the advise of,
which suggests using ASMv4 will allow datanucleus to work with JDK7. I was not successful
with this either.
> I tried upgrading datanucleus to 3.1.2. I was not successful with this either.
> Regarding datanucleus support for JDK7+, there is the following JIRA
> which suggests that they don't plan to actively support JDK7+ bytecode any time soon.
> I also tested the following JVM parameters found on
> with no success either.
> This will become a more serious problem as people move to newer JVMs. If there are other
who have solved this issue, please post how this was done. Otherwise, it is a topic that I
would like to raise for discussion.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message