[
https://issues.apache.org/jira/browse/HIVE-6159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thejas M Nair updated HIVE-6159:
--------------------------------
Status: Patch Available (was: Open)
Canceling and submitting patch to run unit tests.
[~shanyu] The changes look good to me .
One case I am concerned is where user continues to use the old config value (in
hive-site.xml or using "-hiveconf .."). Can you add a unit test case to verify
that the right thing happens ? eg - set the value of one of these properties in
hive conf using old value, try reading back using new value and check if you
get the updated value.
Have you tried running unit tests with hadoop2 with this change? The precommit
tests run only run with hadoop 1.
> 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.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)