YARN-2438. yarn-env.sh cleanup (aw)
This commit is contained in:
parent
88e329fdfb
commit
0c8aec43f0
|
@ -8,6 +8,8 @@ Trunk - Unreleased
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
|
|
||||||
|
YARN-2438. yarn-env.sh cleanup (aw)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#
|
||||||
# Licensed to the Apache Software Foundation (ASF) under one or more
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
# contributor license agreements. See the NOTICE file distributed with
|
# contributor license agreements. See the NOTICE file distributed with
|
||||||
# this work for additional information regarding copyright ownership.
|
# this work for additional information regarding copyright ownership.
|
||||||
|
@ -25,27 +26,21 @@
|
||||||
##
|
##
|
||||||
|
|
||||||
###
|
###
|
||||||
# Generic settings for YARN
|
# YARN-specific overrides for generic settings
|
||||||
###
|
###
|
||||||
|
|
||||||
# User for YARN daemons
|
# By default, YARN will use HADOOP_LOG_DIR for YARN logging. Specify a custom
|
||||||
export HADOOP_YARN_USER=${HADOOP_YARN_USER:-yarn}
|
# log directory for YARN things here:
|
||||||
|
# export YARN_LOG_DIR="${HADOOP_LOG_DIR}"
|
||||||
|
|
||||||
#
|
# By default, YARN will use the value of HADOOP_LOGFILE as the 'fallback' log
|
||||||
# By default, YARN will use HADOOP_CONF_DIR. Specify a custom
|
# file # when log4j settings are not defined. Specify a custom YARN log file
|
||||||
# YARN_CONF_DIR here
|
# here:
|
||||||
# export YARN_CONF_DIR="${YARN_CONF_DIR:-$HADOOP_YARN_HOME/conf}"
|
# export YARN_LOGFILE=${HADOOP_LOGFILE}
|
||||||
#
|
|
||||||
|
|
||||||
# Override Hadoop's log directory & file
|
#Override the log4j settings for all YARN apps By default, YARN will use
|
||||||
# export YARN_LOG_DIR="$HADOOP_YARN_HOME/logs"
|
# HADOOP_ROOT_LOGGER.
|
||||||
# export YARN_LOGFILE='yarn.log'
|
# export YARN_ROOT_LOGGER=${HADOOP_ROOT_LOGGER}
|
||||||
|
|
||||||
# Need a custom-to-YARN service-level authorization policy file?
|
|
||||||
# export YARN_POLICYFILE="yarn-policy.xml"
|
|
||||||
|
|
||||||
#Override the log4j settings for all YARN apps
|
|
||||||
# export YARN_ROOT_LOGGER="INFO,console"
|
|
||||||
|
|
||||||
###
|
###
|
||||||
# Resource Manager specific parameters
|
# Resource Manager specific parameters
|
||||||
|
@ -125,3 +120,26 @@ export HADOOP_YARN_USER=${HADOOP_YARN_USER:-yarn}
|
||||||
#
|
#
|
||||||
#export YARN_TIMELINESERVER_OPTS=
|
#export YARN_TIMELINESERVER_OPTS=
|
||||||
|
|
||||||
|
###
|
||||||
|
# Web App Proxy Server specifc parameters
|
||||||
|
###
|
||||||
|
|
||||||
|
# Specify the max Heapsize for the proxy 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 YARN_OPTS,
|
||||||
|
# HADOOP_OPTS, and/or YARN_PROXYSERVER_OPTS.
|
||||||
|
# If not specified, the default value will be picked from either YARN_HEAPMAX
|
||||||
|
# or JAVA_HEAP_MAX with YARN_HEAPMAX as the preferred option of the two.
|
||||||
|
#
|
||||||
|
#export YARN_PROXYSERVER_HEAPSIZE=1000
|
||||||
|
|
||||||
|
# Specify the JVM options to be used when starting the proxy server.
|
||||||
|
# These options will be appended to the options specified as YARN_OPTS
|
||||||
|
# and therefore may override any similar flags set in YARN_OPTS
|
||||||
|
#
|
||||||
|
# See ResourceManager for some examples
|
||||||
|
#
|
||||||
|
#export YARN_PROXYSERVER_OPTS=
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue