hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Szehon Ho <sze...@cloudera.com>
Subject Re: "org.datanucleus" is already registered
Date Thu, 22 Jan 2015 19:18:35 GMT
Yea I think current trunk builds with 2.6 now, and the pom shouldn't
change.

I think its recommended to run a hive of current trunk against hadoop 2.6
(most tested configuration), it might work against older hadoop but not too
sure.

If you're bound to use hadoop 2.4, alternatively you try an older release
of hive that was built against that.

Thanks
Szehon

On Thu, Jan 22, 2015 at 11:09 AM, Dmitry Sivachenko <trtrmitya@gmail.com>
wrote:

> On 22 янв. 2015 г., at 21:58, Dmitry Sivachenko <trtrmitya@gmail.com>
> wrote:
> >
> >
> >> On 22 янв. 2015 г., at 21:44, Szehon Ho <szehon@cloudera.com> wrote:
> >>
> >> I've seen this when there are some settings for maven repo that get
> this jar to be in there twice (duplicate repository).  In your case, its
> picking up from
> >> "file:/opt/home/mitya/.m2/repository" and
> "file:/home/mitya/.m2/repository/"
> >>
> >> Best to check the maven settings and make sure it is only in there once.
> >>
> >
> > Oh, I see, this is because /home is a symlink for /opt/home ...
> > This is stupid.
> >
> > Thanks for clarification!
> >
>
>
> One more question please: I use hadoop version 2.4.1.  Can I build hive
> with <hadoop-23.version>2.6.0</hadoop-23.version>?
> Or should this version match the version of hadoop I am using?
>
> If I change this variable to 2.4.1, I get compile error:
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
> (default-compile) on project hive-shims-0.23: Compilation failure:
> Compilation failure:
> [ERROR]
> /place/vartmp/hive/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java:[40,36]
> package org.apache.hadoop.crypto.key does not exist
> [ERROR]
> /place/vartmp/hive/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java:[41,48]
> package org.apache.hadoop.crypto.key.KeyProvider does not exist
> [ERROR]
> /place/vartmp/hive/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java:[42,36]
> package org.apache.hadoop.crypto.key does not exist
> [ERROR]
> /place/vartmp/hive/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java:[65,39]
> cannot find symbol
> [ERROR] symbol:   class BlockStoragePolicy
> [ERROR] location: package org.apache.hadoop.hdfs.protocol
> [ERROR]
> /place/vartmp/hive/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java:[68,39]
> cannot find symbol
> [ERROR] symbol:   class EncryptionZone
> [ERROR] location: package org.apache.hadoop.hdfs.protocol
> [ERROR]
> /place/vartmp/hive/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java:[1051,13]
> cannot find symbol
> [ERROR] symbol:   class KeyProvider
>
> <...>
>
>
> Thanks!

Mime
View raw message