hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Francke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-1992) NCDFE: o.a.commons/configuration/Configuration with Hadoop 0.20.100
Date Wed, 10 Sep 2014 22:46:35 GMT

    [ 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.<init>(DefaultMetricsSystem.java:37)
>     [junit] 	at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.<clinit>(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.<init>(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)

Mime
View raw message