2012-09-25 19:49:09 -04: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 08:11:17 -04: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 19:49:09 -04:00
|
|
|
|
2014-08-19 08:11:17 -04:00
|
|
|
###
|
|
|
|
# Generic settings for MapReduce
|
|
|
|
###
|
2012-09-25 19:49:09 -04:00
|
|
|
|
2014-08-19 08:11:17 -04:00
|
|
|
#Override the log4j settings for all MR apps
|
2014-12-01 19:21:20 -05:00
|
|
|
# Java property: hadoop.root.logger
|
2014-08-19 08:11:17 -04:00
|
|
|
# export MAPRED_ROOT_LOGGER="INFO,console"
|
2012-09-25 19:49:09 -04:00
|
|
|
|
2014-08-19 08:11:17 -04:00
|
|
|
# Override Hadoop's log directory & file
|
2014-12-01 19:21:20 -05:00
|
|
|
# Java property: hadoop.log.dir
|
2014-08-19 08:11:17 -04: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-01 19:21:20 -05:00
|
|
|
# Java property: hadoop.id.str
|
2014-08-19 08:11:17 -04: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
|
|
|
|
###
|
|
|
|
|
|
|
|
# Specify the max heapsize for the Job History Server using a numerical value
|
|
|
|
# in the scale of MB. For example, to specify an jvm option of -Xmx1000m, set
|
|
|
|
# the value to 1000.
|
|
|
|
# This value will be overridden by an Xmx setting specified in either
|
|
|
|
# MAPRED_OPTS, HADOOP_OPTS, and/or HADOOP_JOB_HISTORYSERVER_OPTS.
|
2014-12-01 19:21:20 -05:00
|
|
|
# If not specified, the default value will be picked from either HADOOP_HEAPSIZE
|
|
|
|
# or the built-in default.
|
2014-08-19 08:11:17 -04:00
|
|
|
#
|
|
|
|
#export HADOOP_JOB_HISTORYSERVER_HEAPSIZE=1000
|
|
|
|
|
|
|
|
# Specify the JVM options to be used when starting the ResourceManager.
|
|
|
|
# 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 19:49:09 -04:00
|
|
|
#export HADOOP_JOB_HISTORYSERVER_OPTS=
|
2014-08-19 08:11:17 -04:00
|
|
|
|
|
|
|
# Specify the log4j settings for the JobHistoryServer
|
2014-12-01 19:21:20 -05:00
|
|
|
# Java property: hadoop.root.logger
|
2014-08-19 08:11:17 -04:00
|
|
|
#export HADOOP_JHS_LOGGER=INFO,RFA
|
|
|
|
|
|
|
|
|
|
|
|
|