You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by we...@apache.org on 2020/04/23 19:51:34 UTC
[hadoop] branch branch-3.2 updated: Revert "YARN-10063. Add
container-executor arguments --http/--https to usage. Contributed by
Siddharth Ahuja"
This is an automated email from the ASF dual-hosted git repository.
weichiu pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.2 by this push:
new 48f1c8f Revert "YARN-10063. Add container-executor arguments --http/--https to usage. Contributed by Siddharth Ahuja"
48f1c8f is described below
commit 48f1c8ffb6a3fd62b399f5b9aeb06973109f16d5
Author: Wei-Chiu Chuang <we...@cloudera.com>
AuthorDate: Thu Apr 23 12:37:21 2020 -0700
Revert "YARN-10063. Add container-executor arguments --http/--https to usage. Contributed by Siddharth Ahuja"
This reverts commit a2067aafa941344c2c1713ba835a107f7231c2cc.
---
.../src/main/native/container-executor/impl/main.c | 30 ++++++++++------------
1 file changed, 13 insertions(+), 17 deletions(-)
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/main.c b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/main.c
index c6187d9..a3057e6 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/main.c
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/impl/main.c
@@ -72,7 +72,7 @@ static void display_usage(FILE *stream) {
" initialize container: %2d appid tokens nm-local-dirs "
"nm-log-dirs cmd app...\n"
" launch container: %2d appid containerid workdir "
- "container-script tokens http-option pidfile nm-local-dirs nm-log-dirs resources ",
+ "container-script tokens pidfile nm-local-dirs nm-log-dirs resources ",
INITIALIZE_CONTAINER, LAUNCH_CONTAINER);
if(is_tc_support_enabled()) {
@@ -81,16 +81,17 @@ static void display_usage(FILE *stream) {
fprintf(stream, "\n");
}
- fputs(
- " where http-option is one of:\n"
- " --http\n"
- " --https keystorepath truststorepath\n", stream);
-
- de = is_docker_support_enabled() ? enabled : disabled;
- fprintf(stream,
- "%11s launch docker container:%2d appid containerid workdir "
- "container-script tokens http-option pidfile nm-local-dirs nm-log-dirs "
- "docker-command-file resources ", de, LAUNCH_DOCKER_CONTAINER);
+ if(is_docker_support_enabled()) {
+ fprintf(stream,
+ " launch docker container: %2d appid containerid workdir "
+ "container-script tokens pidfile nm-local-dirs nm-log-dirs "
+ "docker-command-file resources ", LAUNCH_DOCKER_CONTAINER);
+ } else {
+ fprintf(stream,
+ "[DISABLED] launch docker container: %2d appid containerid workdir "
+ "container-script tokens pidfile nm-local-dirs nm-log-dirs "
+ "docker-command-file resources ", LAUNCH_DOCKER_CONTAINER);
+ }
if(is_tc_support_enabled()) {
fprintf(stream, "optional-tc-command-file\n");
@@ -98,12 +99,7 @@ static void display_usage(FILE *stream) {
fprintf(stream, "\n");
}
- fputs(
- " where http-option is one of:\n"
- " --http\n"
- " --https keystorepath truststorepath\n", stream);
-
- fprintf(stream,
+ fprintf(stream,
" signal container: %2d container-pid signal\n"
" delete as user: %2d relative-path\n"
" list as user: %2d relative-path\n",
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org