hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkat Ranganathan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-7349) Consuming published Hive HCatalog artificats in a Hadoop 2 build environment fails
Date Sat, 05 Jul 2014 01:50:33 GMT
Venkat Ranganathan created HIVE-7349:
----------------------------------------

             Summary: Consuming published Hive HCatalog artificats in a Hadoop 2 build environment
fails
                 Key: HIVE-7349
                 URL: https://issues.apache.org/jira/browse/HIVE-7349
             Project: Hive
          Issue Type: Bug
          Components: HCatalog
    Affects Versions: 0.13.0
            Reporter: Venkat Ranganathan


The published Hive artifacts are built with Hadoop 1 profile.   Even though Hive has Hadoop
1 and Hadoop 2 shims, some of the HCatalog Mapreduce classes are still dependent on the compiled
environment.

For example, using Hive artifacts published in a Sqoop Hcatalog Hadoop 2 build environment
results in the following failure

Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected
java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext,
but class was expected
        at org.apache.hive.hcatalog.mapreduce.HCatBaseOutputFormat.getJobInfo(HCatBaseOutputFormat.java:104)
        at org.apache.hive.hcatalog.mapreduce.HCatBaseOutputFormat.getOutputFormat(HCatBaseOutputFormat.java:84)
        at org.apache.hive.hcatalog.mapreduce.HCatBaseOutputFormat.checkOutputSpecs(HCatBaseOutputFormat.java:73)
        at org.apache.hadoop.mapreduce.JobSubmitter.checkSpecs(JobSubmitter.java:418)
        at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:333)
        at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1218)
        at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1215)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1478)
        at org.apache.hadoop.mapreduce.Job.submit(Job.java:1215)






--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message