MAPREDUCE-3112. Fixed recursive sourcing of HADOOP_OPTS environment
variable. (Eric Yang) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23@1178658 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a549cd3351
commit
5d2f0a19aa
|
@ -38,7 +38,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}"
|
||||
|
|
|
@ -1478,6 +1478,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