Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C382110B0B for ; Wed, 24 Jul 2013 23:09:54 +0000 (UTC) Received: (qmail 99595 invoked by uid 500); 24 Jul 2013 23:09:54 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 99547 invoked by uid 500); 24 Jul 2013 23:09:54 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 99539 invoked by uid 500); 24 Jul 2013 23:09:54 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 99536 invoked by uid 99); 24 Jul 2013 23:09:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jul 2013 23:09:54 +0000 Date: Wed, 24 Jul 2013 23:09:54 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-3632) Upgrade datanucleus to support JDK7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuefu Zhang updated HIVE-3632: ------------------------------ Attachment: HIVE-3632.2.patch Patch is rebased and updated by removing deps in ql/ivy.xml. > Upgrade datanucleus to support JDK7 > ----------------------------------- > > Key: HIVE-3632 > URL: https://issues.apache.org/jira/browse/HIVE-3632 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 0.9.1, 0.10.0, 0.11.0 > Reporter: Chris Drome > Assignee: Xuefu Zhang > Priority: Critical > Fix For: 0.12.0 > > Attachments: HIVE-3632.1.patch, HIVE-3632.2.patch, HIVE-3632.patch, HIVE-3632.patch.1 > > > 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 http://www.datanucleus.org/servlet/jira/browse/NUCENHANCER-86, 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 > http://www.datanucleus.org/servlet/jira/browse/NUCENHANCER-81 > which suggests that they don't plan to actively support JDK7+ bytecode any time soon. > I also tested the following JVM parameters found on > http://veerasundar.com/blog/2012/01/java-lang-verifyerror-expecting-a-stackmap-frame-at-branch-target-jdk-7/ > 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. > Test Properties: > CLEAR LIBRARY CACHE -- 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: http://www.atlassian.com/software/jira