hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dyozie <...@git.apache.org>
Subject [GitHub] incubator-hawq-docs pull request #80: HAWQ-1209 - hawq overview page
Date Fri, 06 Jan 2017 00:16:39 GMT
Github user dyozie commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq-docs/pull/80#discussion_r94880036
  
    --- Diff: admin/setuphawqopenv.html.md.erb ---
    @@ -0,0 +1,81 @@
    +---
    +title: Introducing the HAWQ Operating Environment
    +---
    +
    +Before invoking operations on a HAWQ cluster, you must set up your HAWQ environment.
This set up is required for both administrative and non-administrative HAWQ users.
    +
    +## <a id="hawq_setupenv"></a>Procedure: Setting Up Your HAWQ Operating Environment
    +
    +HAWQ installs a script that you can use to set up your HAWQ cluster environment. The
`greenplum_path.sh` script, located in your HAWQ root install directory, sets `$PATH` and
other environment variables to find HAWQ files.  Most importantly, `greenplum_path.sh` sets
the `$GPHOME` environment variable to point to the root directory of the HAWQ installation.
 If you installed HAWQ from a product distribution, the HAWQ root is typically `/usr/local/hawq`.
If you built HAWQ from source or downloaded the tarball, you will have selected an install
root directory on your own.
    +
    +Perform the following steps to set up your HAWQ operating environment:
    +
    +1. Log in to the HAWQ \<node\-type\> system as the desired user.  For example:
    +
    +    ``` shell
    +    $ ssh gpadmin@<master>
    +    gpadmin@master$ 
    +    ```
    +
    +    Or, if you are already logged in to \<node\-type\> as a different user, switch
to the desired user. For example:
    +    
    +    ``` shell
    +    gpadmin@master$ su - <hawq-user>
    +    Password:
    +    hawq-user@master$ 
    +    ```
    +
    +2. Set up your HAWQ operating environment by sourcing the `greenplum_path.sh` file. For
HAWQ deployments installed from a product distribution:
    --- End diff --
    
    I think it's fine to remove "For HAWQ deployments installed from a product distribution:"
here.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message