hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zjs...@apache.org
Subject [17/50] [abbrv] hadoop git commit: HADOOP-11983. HADOOP_USER_CLASSPATH_FIRST works the opposite of what it is supposed to do (Sangjin Lee via aw)
Date Tue, 02 Jun 2015 23:47:49 GMT
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/b914ccaf
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b914ccaf
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b914ccaf

Branch: refs/heads/YARN-2928
Commit: b914ccafc9647f47e1e667fc10d051d9f7f31e1e
Parents: f47c0e9
Author: Allen Wittenauer <aw@apache.org>
Authored: Thu May 28 11:29:58 2015 -0700
Committer: Zhijie Shen <zjshen@apache.org>
Committed: Tue Jun 2 16:12:55 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/b914ccaf/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/b914ccaf/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