58ed4fa544
This commit includes the following changes: HADOOP-13356. Add a function to handle command_subcommand_OPTS HADOOP-13355. Handle HADOOP_CLIENT_OPTS in a function HADOOP-13554. Add an equivalent of hadoop_subcmd_opts for secure opts HADOOP-13562. Change hadoop_subcommand_opts to use only uppercase HADOOP-13358. Modify HDFS to use hadoop_subcommand_opts HADOOP-13357. Modify common to use hadoop_subcommand_opts HADOOP-13359. Modify YARN to use hadoop_subcommand_opts HADOOP-13361. Modify hadoop_verify_user to be consistent with hadoop_subcommand_opts (ie more granularity) HADOOP-13564. modify mapred to use hadoop_subcommand_opts HADOOP-13563. hadoop_subcommand_opts should print name not actual content during debug HADOOP-13360. Documentation for HADOOP_subcommand_OPTS This closes apache/hadoop#126
46 lines
1.7 KiB
Bash
46 lines
1.7 KiB
Bash
# 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.
|
|
|
|
##
|
|
## 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
|
|
##
|
|
|
|
###
|
|
# Job History Server specific parameters
|
|
###
|
|
|
|
# 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 HADOOP_OPTS,
|
|
# and/or MAPRED_HISTORYSERVER_OPTS.
|
|
# Default is the same as HADOOP_HEAPSIZE_MAX.
|
|
#export HADOOP_JOB_HISTORYSERVER_HEAPSIZE=
|
|
|
|
# Specify the JVM options to be used when starting the HistoryServer.
|
|
# These options will be appended to the options specified as HADOOP_OPTS
|
|
# and therefore may override any similar flags set in HADOOP_OPTS
|
|
#export MAPRED_HISTORYSERVER_OPTS=
|
|
|
|
# Specify the log4j settings for the JobHistoryServer
|
|
# Java property: hadoop.root.logger
|
|
#export HADOOP_JHS_LOGGER=INFO,RFA
|