HADOOP-11983. HADOOP_USER_CLASSPATH_FIRST works the opposite of what it is supposed to do (Sangjin Lee via aw)
This commit is contained in:
parent
5df1fadf87
commit
08ae87f6ba
@ -474,6 +474,9 @@ Trunk (Unreleased)
|
||||
|
||||
HADOOP-11406. xargs -P is not portable (Kengo Seki via aw)
|
||||
|
||||
HADOOP-11983. HADOOP_USER_CLASSPATH_FIRST works the opposite of what it is
|
||||
supposed to do (Sangjin Lee via aw)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HADOOP-7761. Improve the performance of raw comparisons. (todd)
|
||||
|
4
hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
Normal file → Executable file
4
hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
Normal file → Executable file
@ -761,11 +761,11 @@ function hadoop_add_to_classpath_userpath
|
||||
if [[ -z "${HADOOP_USE_CLIENT_CLASSLOADER}" ]]; then
|
||||
if [[ -z "${HADOOP_USER_CLASSPATH_FIRST}" ]]; then
|
||||
for ((i=j; i>=0; i--)); do
|
||||
hadoop_add_classpath "${array[$i]}" before
|
||||
hadoop_add_classpath "${array[$i]}" after
|
||||
done
|
||||
else
|
||||
for ((i=0; i<=j; i++)); do
|
||||
hadoop_add_classpath "${array[$i]}" after
|
||||
hadoop_add_classpath "${array[$i]}" before
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user