From 83979e61a49daa67a05eed1ba64c24d31a41610a Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Fri, 10 Apr 2015 20:21:00 +0900 Subject: [PATCH] MAPREDUCE-6307. Remove property mapreduce.tasktracker.taskmemorymanager.monitoringinterval. Contributed by J.Andreina. --- .../hadoop-common/src/site/markdown/DeprecatedProperties.md | 1 - hadoop-mapreduce-project/CHANGES.txt | 4 ++++ .../apache/hadoop/mapreduce/server/tasktracker/TTConfig.java | 2 -- .../java/org/apache/hadoop/mapreduce/util/ConfigUtil.java | 3 --- .../src/test/resources/job_1329348432655_0001_conf.xml | 1 - hadoop-tools/hadoop-sls/src/main/data/2jobs2min-rumen-jh.json | 2 -- 6 files changed, 4 insertions(+), 9 deletions(-) diff --git a/hadoop-common-project/hadoop-common/src/site/markdown/DeprecatedProperties.md b/hadoop-common-project/hadoop-common/src/site/markdown/DeprecatedProperties.md index dae99281b4..e9b82adc37 100644 --- a/hadoop-common-project/hadoop-common/src/site/markdown/DeprecatedProperties.md +++ b/hadoop-common-project/hadoop-common/src/site/markdown/DeprecatedProperties.md @@ -239,7 +239,6 @@ The following table lists the configuration property names that are deprecated i | mapred.tasktracker.reduce.tasks.maximum | mapreduce.tasktracker.reduce.tasks.maximum | | mapred.task.tracker.report.address | mapreduce.tasktracker.report.address | | mapred.task.tracker.task-controller | mapreduce.tasktracker.taskcontroller | -| mapred.tasktracker.taskmemorymanager.monitoring-interval | mapreduce.tasktracker.taskmemorymanager.monitoringinterval | | mapred.tasktracker.tasks.sleeptime-before-sigkill | mapreduce.tasktracker.tasks.sleeptimebeforesigkill | | mapred.temp.dir | mapreduce.cluster.temp.dir | | mapred.text.key.comparator.options | mapreduce.partition.keycomparator.options | diff --git a/hadoop-mapreduce-project/CHANGES.txt b/hadoop-mapreduce-project/CHANGES.txt index 665cb6386a..a0854c1b80 100644 --- a/hadoop-mapreduce-project/CHANGES.txt +++ b/hadoop-mapreduce-project/CHANGES.txt @@ -293,6 +293,10 @@ Release 2.8.0 - UNRELEASED CompletedJob#loadFullHistoryData for code optimization. (zxu via rkanter) + MAPREDUCE-6307. Remove property + mapreduce.tasktracker.taskmemorymanager.monitoringinterval. + (J.Andreina via aajisaka) + OPTIMIZATIONS BUG FIXES diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/server/tasktracker/TTConfig.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/server/tasktracker/TTConfig.java index d9bd67d7c6..5556287dfb 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/server/tasktracker/TTConfig.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/server/tasktracker/TTConfig.java @@ -80,8 +80,6 @@ public interface TTConfig extends MRConfig { "mapreduce.tasktracker.resourcecalculatorplugin"; public static final String TT_REDUCE_SLOTS = "mapreduce.tasktracker.reduce.tasks.maximum"; - public static final String TT_MEMORY_MANAGER_MONITORING_INTERVAL = - "mapreduce.tasktracker.taskmemorymanager.monitoringinterval"; public static final String TT_LOCAL_CACHE_SIZE = "mapreduce.tasktracker.cache.local.size"; public static final String TT_LOCAL_CACHE_SUBDIRS_LIMIT = diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/util/ConfigUtil.java b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/util/ConfigUtil.java index bbbf99c4be..66b630a69f 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/util/ConfigUtil.java +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/util/ConfigUtil.java @@ -164,9 +164,6 @@ private static void addDeprecatedKeys() { TTConfig.TT_RESOURCE_CALCULATOR_PLUGIN), new DeprecationDelta("mapred.tasktracker.reduce.tasks.maximum", TTConfig.TT_REDUCE_SLOTS), - new DeprecationDelta( - "mapred.tasktracker.taskmemorymanager.monitoring-interval", - TTConfig.TT_MEMORY_MANAGER_MONITORING_INTERVAL), new DeprecationDelta( "mapred.tasktracker.tasks.sleeptime-before-sigkill", TTConfig.TT_SLEEP_TIME_BEFORE_SIG_KILL), diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/resources/job_1329348432655_0001_conf.xml b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/resources/job_1329348432655_0001_conf.xml index 608b8abf1a..6d1c175f01 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/resources/job_1329348432655_0001_conf.xml +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/resources/job_1329348432655_0001_conf.xml @@ -45,7 +45,6 @@ mapreduce.job.outputformat.classorg.apache.hadoop.mapreduce.lib.output.NullOutputFormat yarn.log.server.urlhttp://localhost:19888/jobhistory/nmlogs hadoop.http.authentication.kerberos.principalHTTP/localhost@LOCALHOST -mapreduce.tasktracker.taskmemorymanager.monitoringinterval5000 s3native.blocksize67108864 dfs.namenode.edits.dir${dfs.namenode.name.dir} mapreduce.job.map.classorg.apache.hadoop.mapreduce.SleepJob$SleepMapper diff --git a/hadoop-tools/hadoop-sls/src/main/data/2jobs2min-rumen-jh.json b/hadoop-tools/hadoop-sls/src/main/data/2jobs2min-rumen-jh.json index 70ff8af515..f54c26fa4f 100644 --- a/hadoop-tools/hadoop-sls/src/main/data/2jobs2min-rumen-jh.json +++ b/hadoop-tools/hadoop-sls/src/main/data/2jobs2min-rumen-jh.json @@ -4580,7 +4580,6 @@ "mapreduce.job.outputformat.class" : "org.apache.hadoop.examples.terasort.TeraOutputFormat", "hadoop.jetty.logs.serve.aliases" : "true", "hadoop.http.authentication.kerberos.principal" : "HTTP/_HOST@LOCALHOST", - "mapreduce.tasktracker.taskmemorymanager.monitoringinterval" : "5000", "mapreduce.job.reduce.shuffle.consumer.plugin.class" : "org.apache.hadoop.mapreduce.task.reduce.Shuffle", "s3native.blocksize" : "67108864", "dfs.namenode.edits.dir" : "${dfs.namenode.name.dir}", @@ -9690,7 +9689,6 @@ "mapreduce.job.outputformat.class" : "org.apache.hadoop.examples.terasort.TeraOutputFormat", "hadoop.jetty.logs.serve.aliases" : "true", "hadoop.http.authentication.kerberos.principal" : "HTTP/_HOST@LOCALHOST", - "mapreduce.tasktracker.taskmemorymanager.monitoringinterval" : "5000", "mapreduce.job.reduce.shuffle.consumer.plugin.class" : "org.apache.hadoop.mapreduce.task.reduce.Shuffle", "s3native.blocksize" : "67108864", "dfs.namenode.edits.dir" : "${dfs.namenode.name.dir}",