Skip to content

Commit b417a4c

Browse files
jiwqaajisaka
authored andcommitted
MAPREDUCE-7214. Remove unused pieces related to mapreduce.job.userlog.retain.hours
Signed-off-by: Akira Ajisaka <[email protected]>
1 parent 101d5b5 commit b417a4c

File tree

5 files changed

+0
-8
lines changed

5 files changed

+0
-8
lines changed

hadoop-common-project/hadoop-common/src/site/markdown/DeprecatedProperties.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ The following table lists the configuration property names that are deprecated i
222222
| mapreduce.reduce.class | mapreduce.job.reduce.class |
223223
| mapred.used.genericoptionsparser | mapreduce.client.genericoptionsparser.used |
224224
| mapred.userlog.limit.kb | mapreduce.task.userlog.limit.kb |
225-
| mapred.userlog.retain.hours | mapreduce.job.userlog.retain.hours |
226225
| mapred.working.dir | mapreduce.job.working.dir |
227226
| mapred.work.output.dir | mapreduce.task.output.dir |
228227
| min.num.spills.for.combine | mapreduce.map.combine.minspills |

hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/MRJobConfig.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,6 @@ public interface MRJobConfig {
287287
@Deprecated
288288
public static final String CACHE_SYMLINK = "mapreduce.job.cache.symlink.create";
289289

290-
public static final String USER_LOG_RETAIN_HOURS = "mapreduce.job.userlog.retain.hours";
291-
292290
public static final String MAPREDUCE_JOB_USER_CLASSPATH_FIRST = "mapreduce.job.user.classpath.first";
293291

294292
public static final String MAPREDUCE_JOB_CLASSLOADER = "mapreduce.job.classloader";

hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/util/ConfigUtil.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,6 @@ private static void addDeprecatedKeys() {
208208
MRJobConfig.TASK_OUTPUT_DIR),
209209
new DeprecationDelta("mapred.userlog.limit.kb",
210210
MRJobConfig.TASK_USERLOG_LIMIT),
211-
new DeprecationDelta("mapred.userlog.retain.hours",
212-
MRJobConfig.USER_LOG_RETAIN_HOURS),
213211
new DeprecationDelta("mapred.task.profile.params",
214212
MRJobConfig.TASK_PROFILE_PARAMS),
215213
new DeprecationDelta("io.sort.spill.percent",

hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/resources/job_1329348432655_0001_conf.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@
229229
<property><!--Loaded from job.xml--><name>mapreduce.job.ubertask.maxmaps</name><value>9</value></property>
230230
<property><!--Loaded from job.xml--><name>yarn.nodemanager.heartbeat.interval-ms</name><value>1000</value></property>
231231
<property><!--Loaded from job.xml--><name>dfs.namenode.secondary.http-address</name><value>0.0.0.0:9868</value></property>
232-
<property><!--Loaded from job.xml--><name>mapreduce.job.userlog.retain.hours</name><value>24</value></property>
233232
<property><!--Loaded from job.xml--><name>mapreduce.task.timeout</name><value>600000</value></property>
234233
<property><!--Loaded from job.xml--><name>mapreduce.jobhistory.loadedjobs.cache.size</name><value>1</value></property>
235234
<property><!--Loaded from job.xml--><name>mapreduce.framework.name</name><value>yarn</value></property>

hadoop-tools/hadoop-sls/src/main/data/2jobs2min-rumen-jh.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4809,7 +4809,6 @@
48094809
"mapreduce.job.ubertask.maxmaps" : "9",
48104810
"yarn.scheduler.maximum-allocation-mb" : "8192",
48114811
"yarn.nodemanager.heartbeat.interval-ms" : "1000",
4812-
"mapreduce.job.userlog.retain.hours" : "24",
48134812
"dfs.namenode.secondary.http-address" : "0.0.0.0:9868",
48144813
"mapreduce.task.timeout" : "600000",
48154814
"mapreduce.framework.name" : "yarn",
@@ -9877,7 +9876,6 @@
98779876
"mapreduce.job.ubertask.maxmaps" : "9",
98789877
"yarn.scheduler.maximum-allocation-mb" : "8192",
98799878
"yarn.nodemanager.heartbeat.interval-ms" : "1000",
9880-
"mapreduce.job.userlog.retain.hours" : "24",
98819879
"dfs.namenode.secondary.http-address" : "0.0.0.0:9868",
98829880
"mapreduce.task.timeout" : "600000",
98839881
"mapreduce.framework.name" : "yarn",

0 commit comments

Comments
 (0)