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 wi...@apache.org on 2020/04/08 03:04:05 UTC
[hadoop] branch branch-3.3 updated: 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.
wilfreds pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.3 by this push:
new 618a920 YARN-10063. Add container-executor arguments --http/--https to usage. Contributed by Siddharth Ahuja
618a920 is described below
commit 618a9208f7d2d1692ffbd74331c0d1fabcba5937
Author: Wilfred Spiegelenburg <wi...@apache.org>
AuthorDate: Wed Apr 8 11:30:03 2020 +1000
YARN-10063. Add container-executor arguments --http/--https to usage. Contributed by Siddharth Ahuja
(cherry picked from commit 2214005c0f11955b2c50c4d2d4bd14947dd797ba)
---
.../src/main/native/container-executor/impl/main.c | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 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 01c054a..9555f80 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
@@ -71,7 +71,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 pidfile nm-local-dirs nm-log-dirs resources ",
+ "container-script tokens http-option pidfile nm-local-dirs nm-log-dirs resources ",
INITIALIZE_CONTAINER, LAUNCH_CONTAINER);
if(is_tc_support_enabled()) {
@@ -80,10 +80,15 @@ static void display_usage(FILE *stream) {
fputs("\n", stream);
}
+ 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 pidfile nm-local-dirs nm-log-dirs "
+ "%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_tc_support_enabled()) {
@@ -92,6 +97,11 @@ static void display_usage(FILE *stream) {
fputs("\n", stream);
}
+ fputs(
+ " where http-option is one of:\n"
+ " --http\n"
+ " --https keystorepath truststorepath\n", stream);
+
fprintf(stream,
" signal container: %2d container-pid signal\n"
" delete 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