MAPREDUCE-6204. TestJobCounters should use new properties instead of JobConf.MAPRED_TASK_JAVA_OPTS.
This commit is contained in:
parent
55ed6558ba
commit
b27ce3c531
|
@ -425,6 +425,9 @@ Release 2.8.0 - UNRELEASED
|
|||
avoid FileNotFoundException causing HistoryFileInfo into MOVE_FAILED state.
|
||||
(zhihai xu via devaraj)
|
||||
|
||||
MAPREDUCE-6204. TestJobCounters should use new properties instead of
|
||||
JobConf.MAPRED_TASK_JAVA_OPTS. (Sam Liu via ozawa)
|
||||
|
||||
Release 2.7.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -611,8 +611,9 @@ public class TestJobCounters {
|
|||
jobConf.setOutputValueClass(Text.class);
|
||||
jobConf.setMaxMapAttempts(1);
|
||||
jobConf.setMaxReduceAttempts(1);
|
||||
jobConf.set(JobConf.MAPRED_TASK_JAVA_OPTS, heapOptions);
|
||||
|
||||
jobConf.set(JobConf.MAPRED_MAP_TASK_JAVA_OPTS, heapOptions);
|
||||
jobConf.set(JobConf.MAPRED_REDUCE_TASK_JAVA_OPTS, heapOptions);
|
||||
|
||||
// set the targets
|
||||
jobConf.setLong(MemoryLoaderMapper.TARGET_VALUE, targetMapValue);
|
||||
jobConf.setLong(MemoryLoaderReducer.TARGET_VALUE, targetReduceValue);
|
||||
|
|
Loading…
Reference in New Issue