blob: 8c04bfc7184166846cb9119d60c2fc1f34d24417 [file] [log] [blame]
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.mapreduce.server.tasktracker;
import org.apache.hadoop.mapreduce.MRConfig;
/**
* Place holder for TaskTracker server-level configuration.
*
* The keys should have "mapreduce.tasktracker." as the prefix
*/
public interface TTConfig extends MRConfig {
// Task-tracker configuration properties
public static final String TT_HEALTH_CHECKER_INTERVAL =
"mapreduce.tasktracker.healthchecker.interval";
public static final String TT_HEALTH_CHECKER_SCRIPT_ARGS =
"mapreduce.tasktracker.healthchecker.script.args";
public static final String TT_HEALTH_CHECKER_SCRIPT_PATH =
"mapreduce.tasktracker.healthchecker.script.path";
public static final String TT_HEALTH_CHECKER_SCRIPT_TIMEOUT =
"mapreduce.tasktracker.healthchecker.script.timeout";
public static final String TT_LOCAL_DIR_MINSPACE_KILL =
"mapreduce.tasktracker.local.dir.minspacekill";
public static final String TT_LOCAL_DIR_MINSPACE_START =
"mapreduce.tasktracker.local.dir.minspacestart";
public static final String TT_HTTP_ADDRESS =
"mapreduce.tasktracker.http.address";
public static final String TT_REPORT_ADDRESS =
"mapreduce.tasktracker.report.address";
public static final String TT_TASK_CONTROLLER =
"mapreduce.tasktracker.taskcontroller";
public static final String TT_CONTENTION_TRACKING =
"mapreduce.tasktracker.contention.tracking";
public static final String TT_STATIC_RESOLUTIONS =
"mapreduce.tasktracker.net.static.resolutions";
public static final String TT_HTTP_THREADS =
"mapreduce.tasktracker.http.threads";
public static final String TT_HOST_NAME = "mapreduce.tasktracker.host.name";
public static final String TT_SLEEP_TIME_BEFORE_SIG_KILL =
"mapreduce.tasktracker.tasks.sleeptimebeforesigkill";
public static final String TT_DNS_INTERFACE =
"mapreduce.tasktracker.dns.interface";
public static final String TT_DNS_NAMESERVER =
"mapreduce.tasktracker.dns.nameserver";
public static final String TT_MAX_TASK_COMPLETION_EVENTS_TO_POLL =
"mapreduce.tasktracker.events.batchsize";
public static final String TT_INDEX_CACHE =
"mapreduce.tasktracker.indexcache.mb";
public static final String TT_INSTRUMENTATION =
"mapreduce.tasktracker.instrumentation";
public static final String TT_MAP_SLOTS =
"mapreduce.tasktracker.map.tasks.maximum";
public static final String TT_MEMORY_CALCULATOR_PLUGIN =
"mapreduce.tasktracker.memorycalculatorplugin";
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";
}