You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by Chris Drome <cd...@yahoo-inc.com> on 2012/09/26 22:27:45 UTC
Hive + JDK7: datanucleus issues
Hi,
I'm looking into making Hive work with JDK7.
In the process I ran into some issues related to datanucleus and was hoping for some help.
Hive currently builds with datanucleus-2.0.3 which pulls in asm-3.1.
Building against JDK7 causes the error described in:
http://www.datanucleus.org/servlet/jira/browse/NUCENHANCER-81
It seems that asm must be >3.2 in order to work with JDK7.
So I tried building hive against datanucleus-3.1.0-release which pulls in asm-4.0.
Although this seems to resolve the error mentioned above, it results in various other JDO exceptions on the unit tests.
Has anyone had experience upgrading datanucleus in the context of hive?
One thing to be concerned about is that it seems there are no plans for making datanucleus work with JDK7.
Any comments or suggestions are welcome.
Thanks,
chris
Re: Hive + JDK7: datanucleus issues
Posted by Carl Steinbach <ca...@cloudera.com>.
Hi Chris,
Take a look at this: https://issues.apache.org/jira/browse/HIVE-2084
Thanks.
Carl
On Wed, Sep 26, 2012 at 1:27 PM, Chris Drome <cd...@yahoo-inc.com> wrote:
> Hi,
>
> I'm looking into making Hive work with JDK7.
>
> In the process I ran into some issues related to datanucleus and was
> hoping for some help.
>
> Hive currently builds with datanucleus-2.0.3 which pulls in asm-3.1.
> Building against JDK7 causes the error described in:
>
> http://www.datanucleus.org/servlet/jira/browse/NUCENHANCER-81
>
> It seems that asm must be >3.2 in order to work with JDK7.
>
> So I tried building hive against datanucleus-3.1.0-release which pulls in
> asm-4.0.
>
> Although this seems to resolve the error mentioned above, it results in
> various other JDO exceptions on the unit tests.
>
> Has anyone had experience upgrading datanucleus in the context of hive?
>
> One thing to be concerned about is that it seems there are no plans for
> making datanucleus work with JDK7.
>
> Any comments or suggestions are welcome.
>
> Thanks,
>
> chris
>