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 BC9E4117C6 for ; Wed, 10 Sep 2014 22:46:35 +0000 (UTC) Received: (qmail 79275 invoked by uid 500); 10 Sep 2014 22:46:35 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 79207 invoked by uid 500); 10 Sep 2014 22:46:35 -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 79194 invoked by uid 500); 10 Sep 2014 22:46:35 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 79191 invoked by uid 99); 10 Sep 2014 22:46:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2014 22:46:35 +0000 Date: Wed, 10 Sep 2014 22:46:35 +0000 (UTC) From: "Lars Francke (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-1992) NCDFE: o.a.commons/configuration/Configuration with Hadoop 0.20.100 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-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129282#comment-14129282 ] Lars Francke commented on HIVE-1992: ------------------------------------ I think this can be closed because we don't support Hadoop 0.20 anymore and the build system has changed in the meantime. > NCDFE: o.a.commons/configuration/Configuration with Hadoop 0.20.100 > ------------------------------------------------------------------- > > Key: HIVE-1992 > URL: https://issues.apache.org/jira/browse/HIVE-1992 > Project: Hive > Issue Type: Bug > Components: CLI > Affects Versions: 0.6.0 > Environment: Red Hat 2.6.18 > Reporter: Joep Rottinghuis > Attachments: commons-configuration-1.6.jar, hive-1992.patch > > > When compiling Hive against Hadoop 0.20.100 all tests and CLI commands fail with NoClassDefFoundError: org/apache/commons/configuration/Configuration (see log output example below): > Hadoop classes depend on commons.configuration which is not available on classpath with Hive 0.6. > Sample test case failure (one of many): > {code} > test: > [junit] Running org.apache.hadoop.hive.metastore.TestEmbeddedHiveMetaStore > [junit] Unable to open the metastore > [junit] java.lang.NoClassDefFoundError: org/apache/commons/configuration/Configuration > [junit] at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.(DefaultMetricsSystem.java:37) > [junit] at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.(DefaultMetricsSystem.java:34) > [junit] at org.apache.hadoop.security.UgiInstrumentation.create(UgiInstrumentation.java:51) > [junit] at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:196) > [junit] at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:159) > [junit] at org.apache.hadoop.security.UserGroupInformation.isSecurityEnabled(UserGroupInformation.java:216) > [junit] at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:409) > [junit] at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:395) > [junit] at org.apache.hadoop.fs.FileSystem$Cache$Key.(FileSystem.java:1418) > [junit] at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1319) > [junit] at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:226) > [junit] at org.apache.hadoop.fs.Path.getFileSystem(Path.java:183) > [junit] at org.apache.hadoop.hive.metastore.Warehouse.getFs(Warehouse.java:72) > [junit] at org.apache.hadoop.hive.metastore.Warehouse.getDnsPath(Warehouse.java:104) > [junit] at org.apache.hadoop.hive.metastore.Warehouse.getWhRoot(Warehouse.java:119) > {code} > As with HIVE-1990, I first applied HIVE-1264 and tweaked the build.properties to compile Hive against locally built Hadoop 0.20.100 (see HADOOP-7108). -- This message was sent by Atlassian JIRA (v6.3.4#6332)