You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by sam liu <sa...@gmail.com> on 2014/12/23 03:34:02 UTC

Does MRv2 support the deprecated properties?

Hi Experts,

In Hadoop 2.x code, there are lots of deprecated properties and many of
them have new version in 2.x code.

For example,
org.apache.hadoop.mapred.JobConf#MAPRED_JOB_MAP_MEMORY_MB_PROPERTY is
deprecated, and its new version is MAPREDUCE_JOB_MAP_MEMORY_MB_PROPERTY.

Does MRv2 support the deprecated properties? If yes, which part of source
code does this transition work?

Thanks in advance!

Re: Does MRv2 support the deprecated properties?

Posted by Xuan Gong <xg...@hortonworks.com>.
Hey sam:

Please take a look at
hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/util/ConfigUtil.java


Thanks

Xuan Gong

On Mon, Dec 22, 2014 at 6:34 PM, sam liu <sa...@gmail.com> wrote:

> Hi Experts,
>
> In Hadoop 2.x code, there are lots of deprecated properties and many of
> them have new version in 2.x code.
>
> For example,
> org.apache.hadoop.mapred.JobConf#MAPRED_JOB_MAP_MEMORY_MB_PROPERTY is
> deprecated, and its new version is MAPREDUCE_JOB_MAP_MEMORY_MB_PROPERTY.
>
> Does MRv2 support the deprecated properties? If yes, which part of source
> code does this transition work?
>
> Thanks in advance!
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Does MRv2 support the deprecated properties?

Posted by Xuan Gong <xg...@hortonworks.com>.
Hey sam:

Please take a look at
hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/util/ConfigUtil.java


Thanks

Xuan Gong

On Mon, Dec 22, 2014 at 6:34 PM, sam liu <sa...@gmail.com> wrote:

> Hi Experts,
>
> In Hadoop 2.x code, there are lots of deprecated properties and many of
> them have new version in 2.x code.
>
> For example,
> org.apache.hadoop.mapred.JobConf#MAPRED_JOB_MAP_MEMORY_MB_PROPERTY is
> deprecated, and its new version is MAPREDUCE_JOB_MAP_MEMORY_MB_PROPERTY.
>
> Does MRv2 support the deprecated properties? If yes, which part of source
> code does this transition work?
>
> Thanks in advance!
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Does MRv2 support the deprecated properties?

Posted by Xuan Gong <xg...@hortonworks.com>.
Hey sam:

Please take a look at
hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/util/ConfigUtil.java


Thanks

Xuan Gong

On Mon, Dec 22, 2014 at 6:34 PM, sam liu <sa...@gmail.com> wrote:

> Hi Experts,
>
> In Hadoop 2.x code, there are lots of deprecated properties and many of
> them have new version in 2.x code.
>
> For example,
> org.apache.hadoop.mapred.JobConf#MAPRED_JOB_MAP_MEMORY_MB_PROPERTY is
> deprecated, and its new version is MAPREDUCE_JOB_MAP_MEMORY_MB_PROPERTY.
>
> Does MRv2 support the deprecated properties? If yes, which part of source
> code does this transition work?
>
> Thanks in advance!
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Does MRv2 support the deprecated properties?

Posted by Xuan Gong <xg...@hortonworks.com>.
Hey sam:

Please take a look at
hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/util/ConfigUtil.java


Thanks

Xuan Gong

On Mon, Dec 22, 2014 at 6:34 PM, sam liu <sa...@gmail.com> wrote:

> Hi Experts,
>
> In Hadoop 2.x code, there are lots of deprecated properties and many of
> them have new version in 2.x code.
>
> For example,
> org.apache.hadoop.mapred.JobConf#MAPRED_JOB_MAP_MEMORY_MB_PROPERTY is
> deprecated, and its new version is MAPREDUCE_JOB_MAP_MEMORY_MB_PROPERTY.
>
> Does MRv2 support the deprecated properties? If yes, which part of source
> code does this transition work?
>
> Thanks in advance!
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.