You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/08/04 12:15:04 UTC

[jira] [Assigned] (SPARK-9593) Hive ShimLoader loads wrong Hadoop shims when Spark is compiled against Hadoop 2.0.0-mr1-cdh4.1.1

     [ https://issues.apache.org/jira/browse/SPARK-9593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-9593:
-----------------------------------

    Assignee: Cheng Lian  (was: Apache Spark)

> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org