Cheng Lian created SPARK-9593:
---------------------------------

             Summary: Hive ShimLoader loads wrong Hadoop shims when Spark is 
compiled against Hadoop 2.0.0-mr1-cdh4.1.1
                 Key: SPARK-9593
                 URL: https://issues.apache.org/jira/browse/SPARK-9593
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.5.0
            Reporter: Cheng Lian
            Assignee: Cheng Lian
            Priority: Blocker


Internally, Hive {{ShimLoader}} tries to load different versions of Hadoop 
shims by checking version information gathered from Hadoop jar files.  If the 
major version number is 1, {{Hadoop20SShims}} will be loaded.  Otherwise, if 
the major version number is 2, {{Hadoop23Shims}} will be chosen.  However, CDH 
Hadoop versions like 2.0.0-mr1-cdh4.1.1 have 2 as major version number, but 
contain Hadoop 1 code.  This confuses Hive {{ShimLoader}} and loads wrong 
version of shims.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to