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


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

Branch: refs/heads/YARN-1011
Commit: bc28da65fb1c67904aa3cefd7273cb7423521014
Parents: 6a52b5e
Author: Akira Ajisaka <[email protected]>
Authored: Thu May 25 17:06:26 2017 +0900
Committer: Akira Ajisaka <[email protected]>
Committed: Thu May 25 17:06:26 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/bc28da65/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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to