From ded2d08f33c25daf17dbf3e5ff0ddfcf9980c6aa Mon Sep 17 00:00:00 2001 From: Daniel Templeton Date: Tue, 27 Dec 2016 07:16:37 -0800 Subject: [PATCH] HADOOP-13940. Document the missing envvars commands (Contributed by Yiqun Lin via Daniel Templeton) --- .../hadoop-common/src/site/markdown/CommandsManual.md | 6 ++++++ .../src/site/markdown/MapredCommands.md | 6 ++++++ .../hadoop-yarn-site/src/site/markdown/YarnCommands.md | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/hadoop-common-project/hadoop-common/src/site/markdown/CommandsManual.md b/hadoop-common-project/hadoop-common/src/site/markdown/CommandsManual.md index ef76810d98..696848b3bc 100644 --- a/hadoop-common-project/hadoop-common/src/site/markdown/CommandsManual.md +++ b/hadoop-common-project/hadoop-common/src/site/markdown/CommandsManual.md @@ -223,6 +223,12 @@ Usage: `hadoop CLASSNAME` Runs the class named `CLASSNAME`. The class must be part of a package. +### `envvars` + +Usage: `hadoop envvars` + +Display computed Hadoop environment variables. + Administration Commands ----------------------- diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/MapredCommands.md b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/MapredCommands.md index f312d31c5f..6b7de2b1cf 100644 --- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/MapredCommands.md +++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/site/markdown/MapredCommands.md @@ -140,6 +140,12 @@ Prints the version. Usage: `mapred version` +### `envvars` + +Usage: `mapred envvars` + +Display computed Hadoop environment variables. + Administration Commands ----------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/YarnCommands.md b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/YarnCommands.md index 1d51b1f6c9..56096f5c03 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/YarnCommands.md +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/YarnCommands.md @@ -166,6 +166,12 @@ Usage: `yarn version` Prints the Hadoop version. +### `envvars` + +Usage: `yarn envvars` + +Display computed Hadoop environment variables. + Administration Commands -----------------------