diff --git a/docs/configuration.md b/docs/configuration.md
index ec38762c31923..258bb79207b03 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -210,7 +210,7 @@ Apart from these, the following properties are also available, and may be useful
spark.executorEnv.[EnvironmentVariableName] |
(none) |
- Add the environment variable specified by to the Executor
+ Add the environment variable specified by `EnvironmentVariableName` to the Executor
process. The user can specify multiple of these and to set multiple environment variables.
|
diff --git a/docs/running-on-yarn.md b/docs/running-on-yarn.md
index fb14f73f083c7..8e8e618633998 100644
--- a/docs/running-on-yarn.md
+++ b/docs/running-on-yarn.md
@@ -118,7 +118,7 @@ Most of the configs are the same for Spark on YARN as for other deployment modes
spark.yarn.appMasterEnv.[EnvironmentVariableName] |
(none) |
- Add the environment variable specified by to the
+ Add the environment variable specified by `EnvironmentVariableName` to the
Application Master process launched on YARN. The user can specify multiple of
these and to set multiple environment variables. In yarn-cluster mode this controls
the environment of the SPARK driver and in yarn-client mode it only controls
|