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 <[email protected]>
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:[email protected]]
> Sent: Wednesday, October 21, 2015 1:57 PM
> To: [email protected]
> 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
>

Reply via email to