hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From viraj...@apache.org
Subject [01/50] [abbrv] hadoop git commit: YARN-8485. Priviledged container app launch is failing intermittently. Contributed by Eric Yang
Date Mon, 09 Jul 2018 18:25:53 GMT
Repository: hadoop
Updated Branches:
  refs/heads/HDFS-12090 9d7a9031a -> b210ee3ec


YARN-8485. Priviledged container app launch is failing intermittently. Contributed by Eric
Yang


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

Branch: refs/heads/HDFS-12090
Commit: 53e267fa7232add3c21174382d91b2607aa6becf
Parents: ab2f834
Author: Shane Kumpf <skumpf@apache.org>
Authored: Mon Jul 2 16:18:32 2018 -0600
Committer: Shane Kumpf <skumpf@apache.org>
Committed: Mon Jul 2 16:18:32 2018 -0600

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/53e267fa/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/utils/docker-util.c
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/utils/docker-util.c
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/utils/docker-util.c
index ffc349a..d364227 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/utils/docker-util.c
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/utils/docker-util.c
@@ -1235,7 +1235,7 @@ static int check_privileges(const char *user) {
   if (ret != 1) {
     int child_pid = fork();
     if (child_pid == 0) {
-      execl("/bin/sudo", "sudo", "-U", user, "-n", "-l", "docker", NULL);
+      execl("/usr/bin/sudo", "sudo", "-U", user, "-n", "-l", "docker", NULL);
       exit(INITIALIZE_USER_FAILED);
     } else {
       while ((waitid = waitpid(child_pid, &statval, 0)) != child_pid) {


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


Mime
View raw message