MAPREDUCE-3112. Fixed recursive sourcing of HADOOP_OPTS environment
variable. (Eric Yang) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1178657 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3edf3579c8
commit
a48e6f2519
|
@ -41,7 +41,7 @@ done
|
|||
#export HADOOP_NAMENODE_INIT_HEAPSIZE=""
|
||||
|
||||
# Extra Java runtime options. Empty by default.
|
||||
export HADOOP_OPTS="-Djava.net.preferIPv4Stack=true $HADOOP_OPTS"
|
||||
export HADOOP_OPTS="-Djava.net.preferIPv4Stack=true $HADOOP_CLIENT_OPTS"
|
||||
|
||||
# Command specific options appended to HADOOP_OPTS when specified
|
||||
export HADOOP_NAMENODE_OPTS="-Dsecurity.audit.logger=INFO,DRFAS -Dhdfs.audit.logger=INFO,DRFAAUDIT ${HADOOP_NAMENODE_OPTS}"
|
||||
|
|
|
@ -1507,6 +1507,9 @@ Release 0.23.0 - Unreleased
|
|||
MAPREDUCE-2792. Replace usage of node ip-addresses with hostnames.
|
||||
(vinodkv via acmurthy)
|
||||
|
||||
MAPREDUCE-3112. Fixed recursive sourcing of HADOOP_OPTS environment
|
||||
variable. (Eric Yang)
|
||||
|
||||
Release 0.22.0 - Unreleased
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -180,7 +180,9 @@ public class StreamJob implements Tool {
|
|||
|
||||
void preProcessArgs() {
|
||||
verbose_ = false;
|
||||
addTaskEnvironment_ = "";
|
||||
// Unset HADOOP_ROOT_LOGGER in case streaming job
|
||||
// invokes additional hadoop commands.
|
||||
addTaskEnvironment_ = "HADOOP_ROOT_LOGGER=";
|
||||
}
|
||||
|
||||
void postProcessArgs() throws IOException {
|
||||
|
|
Loading…
Reference in New Issue