com.dasasian.chok.util.IHadoopConstants Maven / Gradle / Ivy
/**
* Copyright (C) 2014 Dasasian ([email protected])
*
* Licensed 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 com.dasasian.chok.util;
/**
* Contains hadoop configuration keys used in
* hadoop-default.xml/hadoop-site.xml.
*/
public interface IHadoopConstants {
String NAMENODE = "fs.default.name";
String JOBTRACKER = "mapred.job.tracker";
String TMP_DIR = "hadoop.tmp.dir";
String NATIVE_LIB = "hadoop.native.lib";
String NUMBER_OF_MAP_TASKS_PER_JOB = "mapred.map.tasks";
String NUMBER_OF_REDUCE_TASKS_PER_JOB = "mapred.reduce.tasks";
String NUMBER_OF_MAP_TASKS_PER_TASKTRACKER = "mapred.tasktracker.map.tasks.maximum";
String NUMBER_OF_REDUCE_TASKS_PER_TASKTRACKER = "mapred.tasktracker.reduce.tasks.maximum";
String CHILD_JVM_OPTS = "mapred.child.java.opts";
String MAPRED_LOCAL_DIR = "mapred.local.dir";
String MAPRED_SYSTEM_DIR = "mapred.system.dir";
String MAPRED_TEMP_DIR = "mapred.temp.dir";
String IO_FILE_BUFFER_SIZE = "io.file.buffer.size";
String IO_SORT_MB = "io.sort.mb";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy