Repository: incubator-hawq-docs Updated Branches: refs/heads/develop 1f6714a31 -> 57e1325f1
jane s mods for MASTER_DATA_DIRECTORY Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/commit/6a910faf Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/tree/6a910faf Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/diff/6a910faf Branch: refs/heads/develop Commit: 6a910faf078465180cb1f8b54b819b38fe893b05 Parents: 1f6714a Author: Lisa Owen <[email protected]> Authored: Wed Aug 24 13:21:00 2016 -0700 Committer: Lisa Owen <[email protected]> Committed: Wed Aug 24 13:21:00 2016 -0700 ---------------------------------------------------------------------- reference/HAWQEnvironmentVariables.html.md.erb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/6a910faf/reference/HAWQEnvironmentVariables.html.md.erb ---------------------------------------------------------------------- diff --git a/reference/HAWQEnvironmentVariables.html.md.erb b/reference/HAWQEnvironmentVariables.html.md.erb index c0498ed..beb28d3 100644 --- a/reference/HAWQEnvironmentVariables.html.md.erb +++ b/reference/HAWQEnvironmentVariables.html.md.erb @@ -37,19 +37,19 @@ LD_LIBRARY_PATH=$GPHOME/lib export LD_LIBRARY_PATH ``` +## <a id="optionalenvironmentvariables"></a>Optional Environment Variables + +The following are HAWQ environment variables. You may want to add the connection-related environment variables to your profile, for convenience. That way, you do not have to type so many options on the command line for client connections. Note that these environment variables should be set on the HAWQ master host only. + ### <a id="master_data_directory"></a>MASTER\_DATA\_DIRECTORY -This should point to the directory created by the `hawq init` utility in the master data directory location. For example: +This variable is only needed for legacy compatibility. The master data directory is now set in hawq-site.xml, by using the `hawq config` command. If used, this variable should point to the directory created by the `hawq init` utility in the master data directory location. For example: ``` pre MASTER_DATA_DIRECTORY=/data/master export MASTER_DATA_DIRECTORY ``` -## <a id="optionalenvironmentvariables"></a>Optional Environment Variables - -The following are HAWQ environment variables. You may want to add the connection-related environment variables to your profile, for convenience. That way, you do not have to type so many options on the command line for client connections. Note that these environment variables should be set on the HAWQ master host only. - ### <a id="pgappname"></a>PGAPPNAME This is the name of the application that is usually set by an application when it connects to the server. This name is displayed in the activity view and in log entries. The `PGAPPNAME` environmental variable behaves the same as the `application_name` connection parameter. The default value for `application_name` is `psql`. The name cannot be longer than 63 characters.
