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

Zhijie Shen updated MAPREDUCE-5245:
-----------------------------------

    Attachment: MAPREDUCE-5245.1.patch

Add the variables back. Since MAPRED_JOB_MAP_MEMORY_MB_PROPERTY and 
MAPRED_JOB_REDUCE_MEMORY_MB_PROPERTY are changed to new values in M/R 2.x. 
Therefore, the incompatible changes are introduced. The existing 
MAPRED_JOB_MAP_MEMORY_MB_PROPERTY and MAPRED_JOB_REDUCE_MEMORY_MB_PROPERTY are 
replaced with MAPREDUCE_JOB_MAP_MEMORY_MB_PROPERTY and 
MAPREDUCE_JOB_REDUCE_MEMORY_MB_PROPERTY, and MAPRED_JOB_MAP_MEMORY_MB_PROPERTY 
and MAPRED_JOB_REDUCE_MEMORY_MB_PROPERTY are then set to old property names 
used by M/R 1.x.

In addition, set/getMemoryForMapTask() and set/getMemoryForReduceTask() 
write/read both old and new property names.
                
> A number of public static variables are removed from JobConf
> ------------------------------------------------------------
>
>                 Key: MAPREDUCE-5245
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5245
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>         Attachments: MAPREDUCE-5245.1.patch
>
>
> A number of public static variables are removed from JobConf:
> boolean DEFAULT_MAPREDUCE_RECOVER_JOB  
> String MAPREDUCE_RECOVER_JOB           
> String WORKFLOW_ADJACENCY_PREFIX_PATTERN       
> String WORKFLOW_ADJACENCY_PREFIX_STRING        
> String WORKFLOW_ID     
> String WORKFLOW_NAME   
> String WORKFLOW_NODE_NAME      
> String WORKFLOW_TAGS
> The workflow related variables are moved to MRJobConfig.
> The follwing public static variables becomes default:
> String MAPRED_JOB_MAP_MEMORY_MB_PROPERTY       
> String MAPRED_JOB_REDUCE_MEMORY_MB_PROPERTY
> The variables there are no longer referred internally in 2.x, but they might 
> be used by users as they were public.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to