hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject hadoop git commit: HADOOP-11983. HADOOP_USER_CLASSPATH_FIRST works the opposite of what it is supposed to do (Sangjin Lee via aw)
Date Thu, 28 May 2015 18:30:09 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 5df1fadf8 -> 08ae87f6b


HADOOP-11983. HADOOP_USER_CLASSPATH_FIRST works the opposite of what it is supposed to do
(Sangjin Lee via aw)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/08ae87f6
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/08ae87f6
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/08ae87f6

Branch: refs/heads/trunk
Commit: 08ae87f6ba334bd3442234e65b93495fe312cbb7
Parents: 5df1fad
Author: Allen Wittenauer <aw@apache.org>
Authored: Thu May 28 11:29:58 2015 -0700
Committer: Allen Wittenauer <aw@apache.org>
Committed: Thu May 28 11:29:58 2015 -0700

----------------------------------------------------------------------
 hadoop-common-project/hadoop-common/CHANGES.txt                  | 3 +++
 .../hadoop-common/src/main/bin/hadoop-functions.sh               | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/08ae87f6/hadoop-common-project/hadoop-common/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index 71b3388..69f5aa7 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -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)

http://git-wip-us.apache.org/repos/asf/hadoop/blob/08ae87f6/hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
old mode 100644
new mode 100755
index 5556f2f..be65d7f
--- a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
+++ b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
@@ -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


Mime
View raw message