trafodion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Zeller <hans.zel...@esgyn.com>
Subject Re: Hive error
Date Wed, 21 Oct 2015 21:48:29 GMT
I did a bit of searching in my CLASSPATH and could not find that class in
any of the jars, couldn't find it in my Hadoop directory, either. To do
this, you may need to add the appropriate jar file to the CLASSPATH. Or,
maybe we have mismatched versions, that org.apache.hadoop.mapred.MRVersion
is not available in our particular version of Hadoop?

Hans

On Wed, Oct 21, 2015 at 1:58 PM, Dave Birdsall <dave.birdsall@esgyn.com>
wrote:

> I don't know, but I'm wondering if there is a CLASS_PATH problem. It is
> complaining that it can't find the org/apache/hadoop/mapred/MRVersion
> class.
>
> -----Original Message-----
> From: Gunnar Tapper [mailto:gunnar.tapper@esgyn.com]
> Sent: Wednesday, October 21, 2015 1:57 PM
> To: dev@trafodion.incubator.apache.org
> Subject: Hive error
>
> Hi,
>
>
>
> How do I handle the following error?
>
>
>
> **** ERROR[1190] Failed to initialize Hive metadata. Call to
> HiveClient_JNI::initConnection() returned error (111). Cause:
> java.lang.NoClassDefFoundError: org/apache/hadoop/mapred/MRVersion
> org.apache.hadoop.hive.shims.Hadoop23Shims.isMR2(Hadoop23Shims.java:848)
>
> org.apache.hadoop.hive.shims.Hadoop23Shims.getHadoopConfNames(Hadoop23Shims.java:919)
> org.apache.hadoop.hive.conf.HiveConf$ConfVars.<clinit>(HiveConf.java:356)
> org.apache.hadoop.hive.conf.HiveConf.<clinit>(HiveConf.java:105)
> org.trafodion.sql.HBaseAccess.HiveClient.init(HiveClient.java:90) .
> [2015-10-21 13:42:55]*
>
>
>
> Thanks,
>
>
>
> Gunnar
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message