HADOOP-7491. hadoop command should respect HADOOP_OPTS when given a class name. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1152389 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
28e6a4e44a
commit
8830af00ee
@ -294,6 +294,9 @@ Trunk (unreleased changes)
|
||||
|
||||
HADOOP-7474. Refactor ClientCache out of WritableRpcEngine. (jitendra)
|
||||
|
||||
HADOOP-7491. hadoop command should respect HADOOP_OPTS when given
|
||||
a class name. (eli)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HADOOP-7333. Performance improvement in PureJavaCrc32. (Eric Caspole
|
||||
|
@ -118,6 +118,7 @@ case $COMMAND in
|
||||
echo "Error: No command named \`$COMMAND' was found. Perhaps you meant \`hadoop ${COMMAND#-}'"
|
||||
exit 1
|
||||
else
|
||||
HADOOP_OPTS="$HADOOP_OPTS $HADOOP_CLIENT_OPTS"
|
||||
CLASS=$COMMAND
|
||||
fi
|
||||
shift
|
||||
|
Loading…
Reference in New Issue
Block a user