[ https://issues.apache.org/jira/browse/HIVE-6159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
shanyu zhao updated HIVE-6159: ------------------------------ Attachment: HIVE-6159-v3.patch Thanks [~thejas] for reviewing the patch. I added a new test case to make sure users can still use deprecated properties in hive-site.xml and we can read the configuration in HiveConf with new key. New patch attached. I have run unit tests with hadoop-2 and this patch doesn't introduce any new failures. > Hive uses deprecated hadoop configuration in Hadoop 2.0 > ------------------------------------------------------- > > Key: HIVE-6159 > URL: https://issues.apache.org/jira/browse/HIVE-6159 > Project: Hive > Issue Type: Bug > Components: Configuration > Affects Versions: 0.12.0 > Reporter: shanyu zhao > Assignee: shanyu zhao > Fix For: 0.13.0 > > Attachments: HIVE-6159-v2.patch, HIVE-6159-v3.patch, HIVE-6159.patch > > > Build hive against hadoop 2.0. Then run hive CLI, you'll see deprecated > configurations warnings like this: > 13/12/14 01:00:51 INFO Configuration.deprecation: mapred.input.dir.recursive > is > deprecated. Instead, use mapreduce.input.fileinputformat.input.dir.recursive > 13/12/14 01:00:52 INFO Configuration.deprecation: mapred.max.split.size is > depre > cated. Instead, use mapreduce.input.fileinputformat.split.maxsize > 13/12/14 01:00:52 INFO Configuration.deprecation: mapred.min.split.size is > depre > cated. Instead, use mapreduce.input.fileinputformat.split.minsize > 13/12/14 01:00:52 INFO Configuration.deprecation: > mapred.min.split.size.per.rack > is deprecated. Instead, use > mapreduce.input.fileinputformat.split.minsize.per.r > ack > 13/12/14 01:00:52 INFO Configuration.deprecation: > mapred.min.split.size.per.node > is deprecated. Instead, use > mapreduce.input.fileinputformat.split.minsize.per.n > ode > 13/12/14 01:00:52 INFO Configuration.deprecation: mapred.reduce.tasks is > depreca > ted. Instead, use mapreduce.job.reduces > 13/12/14 01:00:52 INFO Configuration.deprecation: > mapred.reduce.tasks.speculativ > e.execution is deprecated. Instead, use mapreduce.reduce.speculative -- This message was sent by Atlassian JIRA (v6.1.5#6160)