You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sushanth Sowmyan (JIRA)" <ji...@apache.org> on 2014/03/07 00:16:47 UTC

[jira] [Updated] (HIVE-6572) Use shimmed version of hadoop conf names for mapred.{min,max}.split.size{.*}

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

Sushanth Sowmyan updated HIVE-6572:
-----------------------------------

    Attachment: HIVE-6572.patch

Patch attached.

[~owen.omalley], could you please check this patch real quick?

[~rhbutani], I would like this patch to also be included in the hive-0.13 release, since it fixes some erroneous config usage introduced in the 0.13 timeframe, and we don't want to have a release with them, which might make this behaviour something we have to support in the longer run.

> Use shimmed version of hadoop conf names for mapred.{min,max}.split.size{.*}
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-6572
>                 URL: https://issues.apache.org/jira/browse/HIVE-6572
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.0, 0.14.0
>            Reporter: Sushanth Sowmyan
>            Assignee: Sushanth Sowmyan
>         Attachments: HIVE-6572.patch
>
>
> HadoopShims has a method to fetch config parameters by name so that they return the appropriate config param name for the appropriate hadoop version. We need to be consistent about using these versions.
> For eg:. mapred.min.split.size is deprecated with hadoop 2.x, and is instead called mapreduce.input.fileinputformat.split.minsize .
> Also, there is a bug in Hadoop20SShims and Hadoop20Shims that defines MAPREDMINSPLITSIZEPERNODE as mapred.min.split.size.per.rack and MAPREDMINSPLITSIZEPERRACK as mapred.min.split.size.per.node. This is wrong and confusing.



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