Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8.1 5ab55390e -> e9835c107


YARN-6141. ppc64le on Linux doesn't trigger __linux get_executable codepath. 
Contributed by Sonia Garudi and Ayappan.

(cherry picked from commit bc28da65fb1c67904aa3cefd7273cb7423521014)
(cherry picked from commit ca1c0cbc62b577e03ed59efb3f9050cba59be8a0)
(cherry picked from commit d50f2407846f1d16720e40b81828d8a37eeb6fc3)


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

Branch: refs/heads/branch-2.8.1
Commit: e9835c107074c061aa6cdb91726e5def6273a865
Parents: 5ab5539
Author: Akira Ajisaka <aajis...@apache.org>
Authored: Thu May 25 17:06:26 2017 +0900
Committer: Akira Ajisaka <aajis...@apache.org>
Committed: Thu May 25 17:08:45 2017 +0900

----------------------------------------------------------------------
 .../src/main/native/container-executor/impl/get_executable.c       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/e9835c10/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/get_executable.c
----------------------------------------------------------------------
diff --git 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/get_executable.c
 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/get_executable.c
index 49ae093..ce46b77 100644
--- 
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/get_executable.c
+++ 
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/get_executable.c
@@ -142,7 +142,7 @@ char* get_executable(char *argv0) {
   return __get_exec_sysctl(mib);
 }
 
-#elif defined(__linux)
+#elif defined(__linux__)
 
 
 char* get_executable(char *argv0) {


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to