From 28b605dd1a34ed569aa3d4ab696109a038055b83 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) (cherry picked from commit d432173737a532b7106682116013b751ba162ff0) --- .../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 ecd5c2029cb..cf6521e8f84 100644 --- a/hadoop-common-project/hadoop-common/src/site/markdown/CommandsManual.md +++ b/hadoop-common-project/hadoop-common/src/site/markdown/CommandsManual.md @@ -158,6 +158,12 @@ Usage: `hadoop CLASSNAME` Runs the class named `CLASSNAME`. +### `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 2925abd6acc..a3a6b1f4ba8 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 a916a94a9f2..eefbafa5c1a 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 @@ -162,6 +162,12 @@ Usage: `yarn version` Prints the Hadoop version. +### `envvars` + +Usage: `yarn envvars` + +Display computed Hadoop environment variables. + Administration Commands -----------------------