2012-09-25 23:49:09 +00:00
|
|
|
# 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.
|
|
|
|
|
2014-08-19 12:11:17 +00:00
|
|
|
##
|
|
|
|
## THIS FILE ACTS AS AN OVERRIDE FOR hadoop-env.sh FOR ALL
|
|
|
|
## WORK DONE BY THE mapred AND RELATED COMMANDS.
|
|
|
|
##
|
|
|
|
## Precedence rules:
|
|
|
|
##
|
|
|
|
## mapred-env.sh > hadoop-env.sh > hard-coded defaults
|
|
|
|
##
|
|
|
|
## MAPRED_xyz > HADOOP_xyz > hard-coded defaults
|
|
|
|
##
|
2012-09-25 23:49:09 +00:00
|
|
|
|
2014-08-19 12:11:17 +00:00
|
|
|
###
|
|
|
|
# Generic settings for MapReduce
|
|
|
|
###
|
2012-09-25 23:49:09 +00:00
|
|
|
|
2014-08-19 12:11:17 +00:00
|
|
|
#Override the log4j settings for all MR apps
|
2014-12-02 00:21:20 +00:00
|
|
|
# Java property: hadoop.root.logger
|
2014-08-19 12:11:17 +00:00
|
|
|
# export MAPRED_ROOT_LOGGER="INFO,console"
|
2012-09-25 23:49:09 +00:00
|
|
|
|
2014-08-19 12:11:17 +00:00
|
|
|
# Override Hadoop's log directory & file
|
2014-12-02 00:21:20 +00:00
|
|
|
# Java property: hadoop.log.dir
|
2014-08-19 12:11:17 +00:00
|
|
|
# export HADOOP_MAPRED_LOG_DIR=""
|
|
|
|
|
|
|
|
# Override Hadoop's pid directory
|
|
|
|
# export HADOOP_MAPRED_PID_DIR=
|
|
|
|
|
|
|
|
# Override Hadoop's identity string. $USER by default.
|
|
|
|
# This is used in writing log and pid files, so keep that in mind!
|
2014-12-02 00:21:20 +00:00
|
|
|
# Java property: hadoop.id.str
|
2014-08-19 12:11:17 +00:00
|
|
|
# export HADOOP_MAPRED_IDENT_STRING=$USER
|
|
|
|
|
|
|
|
# Override Hadoop's process priority
|
|
|
|
# Note that sub-processes will also run at this level!
|
|
|
|
# export HADOOP_MAPRED_NICENESS=0
|
|
|
|
|
|
|
|
###
|
|
|
|
# Job History Server specific parameters
|
|
|
|
###
|
|
|
|
|
2014-12-10 21:37:32 +00:00
|
|
|
# Specify the max heapsize for the JobHistoryServer. If no units are
|
|
|
|
# given, it will be assumed to be in MB.
|
|
|
|
# This value will be overridden by an Xmx setting specified in either YARN_OPTS,
|
|
|
|
# HADOOP_OPTS, and/or HADOOP_JOB_HISTORYSERVER_OPTS.
|
|
|
|
# Default is the same as HADOOP_HEAPSIZE_MAX.
|
|
|
|
#export HADOOP_JOB_HISTORYSERVER_HEAPSIZE=
|
2014-08-19 12:11:17 +00:00
|
|
|
|
2014-12-10 21:37:32 +00:00
|
|
|
# Specify the JVM options to be used when starting the HistoryServer.
|
2014-08-19 12:11:17 +00:00
|
|
|
# These options will be appended to the options specified as YARN_OPTS
|
|
|
|
# and therefore may override any similar flags set in YARN_OPTS
|
2012-09-25 23:49:09 +00:00
|
|
|
#export HADOOP_JOB_HISTORYSERVER_OPTS=
|
2014-08-19 12:11:17 +00:00
|
|
|
|
|
|
|
# Specify the log4j settings for the JobHistoryServer
|
2014-12-02 00:21:20 +00:00
|
|
|
# Java property: hadoop.root.logger
|
2014-08-19 12:11:17 +00:00
|
|
|
#export HADOOP_JHS_LOGGER=INFO,RFA
|
|
|
|
|
|
|
|
|
|
|
|
|