Return-Path: Delivered-To: apmail-hive-dev-archive@www.apache.org Received: (qmail 31241 invoked from network); 1 Mar 2011 08:10:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Mar 2011 08:10:00 -0000 Received: (qmail 97961 invoked by uid 500); 1 Mar 2011 08:10:00 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 97783 invoked by uid 500); 1 Mar 2011 08:09:58 -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 97775 invoked by uid 500); 1 Mar 2011 08:09:57 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 97772 invoked by uid 99); 1 Mar 2011 08:09:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 08:09:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 08:09:56 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E2D9C43E0D for ; Tue, 1 Mar 2011 08:09:36 +0000 (UTC) Date: Tue, 1 Mar 2011 08:09:36 +0000 (UTC) From: "Carl Steinbach (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <522627927.4414.1298966976925.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1120259066.4411.1298966497329.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (HIVE-2015) Eliminate bogus Datanucleus.Plugin Bundle ERROR log messages 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-2015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carl Steinbach updated HIVE-2015: --------------------------------- Component/s: Diagnosability > Eliminate bogus Datanucleus.Plugin Bundle ERROR log messages > ------------------------------------------------------------ > > Key: HIVE-2015 > URL: https://issues.apache.org/jira/browse/HIVE-2015 > Project: Hive > Issue Type: Bug > Components: Diagnosability, Metastore > Reporter: Carl Steinbach > > Every time I start up the Hive CLI with logging enabled I'm treated to the following ERROR log messages courtesy of DataNucleus: > {code} > DEBUG metastore.ObjectStore: datanucleus.plugin.pluginRegistryBundleCheck = LOG > ERROR DataNucleus.Plugin: Bundle "org.eclipse.jdt.core" requires "org.eclipse.core.resources" but it cannot be resolved. > ERROR DataNucleus.Plugin: Bundle "org.eclipse.jdt.core" requires "org.eclipse.core.runtime" but it cannot be resolved. > ERROR DataNucleus.Plugin: Bundle "org.eclipse.jdt.core" requires "org.eclipse.text" but it cannot be resolved. > {code} > Here's where this comes from: > * The bin/hive scripts cause Hive to inherit Hadoop's classpath. > * Hadoop's classpath includes $HADOOP_HOME/lib/core-3.1.1.jar, an Eclipse library. > * core-3.1.1.jar includes a plugin.xml file defining an OSGI plugin > * At startup, Datanucleus scans the classpath looking for OSGI plugins, and will attempt to initialize any that it finds, including the Eclipse OSGI plugins located in core-3.1.1.jar > * Initialization of the OSGI plugin in core-3.1.1.jar fails because of unresolved dependencies. > * We see an ERROR message telling us that Datanucleus failed to initialize a plugin that we don't care about in the first place. > I can think of two options for solving this problem: > # Rewrite the scripts in $HIVE_HOME/bin so that they don't inherit ALL of Hadoop's CLASSPATH. > # Replace DataNucleus's NOnManagedPluginRegistry with our own implementation that does nothing. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira