You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by yo...@apache.org on 2016/09/20 22:46:29 UTC

[1/5] incubator-hawq-docs git commit: clarify use of hawq check --hadoop option

Repository: incubator-hawq-docs
Updated Branches:
  refs/heads/develop d64c0f917 -> ecb0097bc


clarify use of hawq check --hadoop option


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/0f642f1c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/tree/0f642f1c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/diff/0f642f1c

Branch: refs/heads/develop
Commit: 0f642f1ce67bd570d2043174bbdaed990c7840bb
Parents: 1661c62
Author: Lisa Owen <lo...@pivotal.io>
Authored: Wed Sep 14 14:11:38 2016 -0700
Committer: Lisa Owen <lo...@pivotal.io>
Committed: Wed Sep 14 14:11:38 2016 -0700

----------------------------------------------------------------------
 .../cli/admin_utilities/hawqcheck.html.md.erb     | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/0f642f1c/reference/cli/admin_utilities/hawqcheck.html.md.erb
----------------------------------------------------------------------
diff --git a/reference/cli/admin_utilities/hawqcheck.html.md.erb b/reference/cli/admin_utilities/hawqcheck.html.md.erb
index 7163218..517004d 100644
--- a/reference/cli/admin_utilities/hawqcheck.html.md.erb
+++ b/reference/cli/admin_utilities/hawqcheck.html.md.erb
@@ -25,9 +25,9 @@ hawq check -?
 
 ## <a id="topic1__section3"></a>Description
 
-The `hawq check` utility determines the platform on which you are running HAWQ and validates various platform-specific configuration settings as well as HAWQ and HDFS-specific configuration settings. In order to perform HAWQ configuration checks, make sure HAWQ has been already started and `hawq config` works. For HDFS checks, you should either set the HADOOP\_HOME environment variable or give the hadoop installation location using `--hadoop` option.
+The `hawq check` utility determines the platform on which you are running HAWQ and validates various platform-specific configuration settings as well as HAWQ and HDFS-specific configuration settings. In order to perform HAWQ configuration checks, make sure HAWQ has been already started and `hawq config` works. For HDFS checks, you should either set the HADOOP\_HOME environment variable or provide the hadoop installation location using `--hadoop` option.
 
-The `hawq check` utility can use a host file or a file previously created with the `--zipout `option to validate platform settings. If `GPCHECK_ERROR` displays, one or more validation checks failed. You can also use `hawq check` to gather and view platform settings on hosts without running validation checks. When running checks, `hawq check` compares your actual configuration setting with an expected value listed in a config file (`$GPHOME/etc/hawq check.cnf` by default). You must modify your configuration values for "mount.points" and "diskusage.monitor.mounts" to reflect the actual mount points you want to check, as a comma-separated list. Otherwise, the utility only checks the root directory, which may not be helpful.
+The `hawq check` utility can use a host file or a file previously created with the `--zipout `option to validate platform settings. If `GPCHECK_ERROR` displays, one or more validation checks failed. You can also use `hawq check` to gather and view platform settings on hosts without running validation checks. When running checks, `hawq check` compares your actual configuration setting with an expected value listed in a config file (`$GPHOME/etc/hawq_check.cnf` by default). You must modify your configuration values for "mount.points" and "diskusage.monitor.mounts" to reflect the actual mount points you want to check, as a comma-separated list. Otherwise, the utility only checks the root directory, which may not be helpful.
 
 An example is shown below:
 
@@ -54,7 +54,7 @@ diskusage.monitor.mounts = /,/data1,/data2
 <dd>The name of a configuration file to use instead of the default file `$GPHOME/etc/hawq_check.cnf`.</dd>
 
 <dt>-\\\-hadoop, -\\\-hadoop-home \<hadoop\_home\>  </dt>
-<dd>Use this option to specify your hadoop installation location so that `hawq check` can validate HDFS settings. This option is not needed if `HADOOP_HOME` environment variable is set.</dd>
+<dd>Use this option to specify the full path to your hadoop installation location so that `hawq check` can validate HDFS settings. This option is not needed if the `HADOOP_HOME` environment variable is set.</dd>
 
 <dt>-\\\-stdout  </dt>
 <dd>Send collected host information from `hawq check` to standard output. No checks or validations are performed.</dd>
@@ -82,25 +82,25 @@ diskusage.monitor.mounts = /,/data1,/data2
 
 ## <a id="topic1__section5"></a>Examples
 
-Verify and validate the HAWQ platform settings by entering a host file and specifying the hadoop location:
+Verify and validate the HAWQ platform settings by entering a host file and specifying the full hadoop install path:
 
 ``` shell
-$ hawq check -f hostfile_hawq_check --hadoop ~/hadoop-2.0.0/
+$ hawq check -f hostfile_hawq_check --hadoop /usr/hdp/version/hadoop
 ```
 
 Verify and validate the HAWQ platform settings with HDFS HA enabled, YARN HA enabled and Kerberos enabled:
 
 ``` shell
-$ hawq check -f hostfile_hawq_check --hadoop ~/hadoop-2.0.0/ --hdfs-ha --yarn-ha --kerberos
+$ hawq check -f hostfile_hawq_check --hadoop /usr/hdp/version/hadoop --hdfs-ha --yarn-ha --kerberos
 ```
 
 Verify and validate the HAWQ platform settings with HDFS HA enabled, and Kerberos enabled:
 
 ``` shell
-$ hawq check -f hostfile_hawq_check --hadoop ~/hadoop-2.0.0/ --hdfs-ha --kerberos
+$ hawq check -f hostfile_hawq_check --hadoop /usr/hdp/version/hadoop --hdfs-ha --kerberos
 ```
 
-Save HAWQ platform settings to a zip file, when HADOOP\_HOME environment variable is set:
+Save HAWQ platform settings to a zip file, when the $HADOOP\_HOME environment variable is set:
 
 ``` shell
 $ hawq check -f hostfile_hawq_check --zipout  
@@ -115,7 +115,7 @@ $ hawq check --zipin hawq_check_timestamp.tar.gz
 View collected HAWQ platform settings:
 
 ``` shell
-$ hawq check -f hostfile_hawq_check --hadoop ~/hadoop-2.0.0/ --stdout
+$ hawq check -f hostfile_hawq_check --hadoop /usr/hdp/version/hadoop --stdout
 ```
 
 ## <a id="topic1__section6"></a>See Also


[3/5] incubator-hawq-docs git commit: hawq check - add h/host option, cleanup

Posted by yo...@apache.org.
hawq check - add h/host option, cleanup


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/01663016
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/tree/01663016
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/diff/01663016

Branch: refs/heads/develop
Commit: 016630163015e782ef630338998ef1696f5f005e
Parents: 6704cc0
Author: Lisa Owen <lo...@pivotal.io>
Authored: Thu Sep 15 10:52:32 2016 -0700
Committer: Lisa Owen <lo...@pivotal.io>
Committed: Thu Sep 15 10:52:32 2016 -0700

----------------------------------------------------------------------
 reference/cli/admin_utilities/hawqcheck.html.md.erb | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/01663016/reference/cli/admin_utilities/hawqcheck.html.md.erb
----------------------------------------------------------------------
diff --git a/reference/cli/admin_utilities/hawqcheck.html.md.erb b/reference/cli/admin_utilities/hawqcheck.html.md.erb
index 3b31d82..de67903 100644
--- a/reference/cli/admin_utilities/hawqcheck.html.md.erb
+++ b/reference/cli/admin_utilities/hawqcheck.html.md.erb
@@ -7,9 +7,9 @@ Verifies and validates HAWQ platform settings.
 ## <a id="topic1__section2"></a>Synopsis
 
 ``` pre
-hawq check -f <hostfile_hawq_check>
+hawq check -f <hostfile_hawq_check> | (-h <hostname> | --host <hostname>)
+    --hadoop <hadoop_home> | --hadoop-home <hadoop_home>
     [--config <config_file>] 
-    [--hadoop <hadoop_home> | --hadoop-home <hadoop_home>]
     [--stdout | --zipout]
     [--kerberos] 
     [--hdfs-ha] 
@@ -43,6 +43,9 @@ diskusage.monitor.mounts = /,/data1,/data2
 <dt>-f \<hostfile\_hawq\_check\>  </dt>
 <dd>The name of a file that contains a list of hosts that `hawq check` uses to validate platform-specific settings. This file should contain a single host name for all hosts in your HAWQ system (master, standby master, and segments).</dd>
 
+<dt>-h, -\\\-host \<hostname\>  </dt>
+<dd>Specifies a single host on which platform-specific settings will be validated.</dd>
+
 <dt>-\\\-zipin \<hawq\_check\_zipfile\>  </dt>
 <dd>Use this option to decompress and check a .zip file created with the `--zipout` option. If you specify the `--zipin` option, `hawq check` performs validation tasks against the specified file.</dd>
 
@@ -85,19 +88,19 @@ diskusage.monitor.mounts = /,/data1,/data2
 Verify and validate the HAWQ platform settings by entering a host file and specifying the full hadoop install path:
 
 ``` shell
-$ hawq check -f hostfile_hawq_check --hadoop /usr/hdp/version/hadoop
+$ hawq check -f hostfile_hawq_check --hadoop /usr/hdp/<version>/hadoop
 ```
 
 Verify and validate the HAWQ platform settings with HDFS HA enabled, YARN HA enabled and Kerberos enabled:
 
 ``` shell
-$ hawq check -f hostfile_hawq_check --hadoop /usr/hdp/version/hadoop --hdfs-ha --yarn-ha --kerberos
+$ hawq check -f hostfile_hawq_check --hadoop /usr/local/hadoop-<version> --hdfs-ha --yarn-ha --kerberos
 ```
 
 Verify and validate the HAWQ platform settings with HDFS HA enabled, and Kerberos enabled:
 
 ``` shell
-$ hawq check -f hostfile_hawq_check --hadoop /usr/hdp/version/hadoop --hdfs-ha --kerberos
+$ hawq check -f hostfile_hawq_check --hadoop /usr/hdp/<version>/hadoop --hdfs-ha --kerberos
 ```
 
 Save HAWQ platform settings to a zip file, when the `$HADOOP_HOME` environment variable is set:
@@ -115,7 +118,7 @@ $ hawq check --zipin hawq_check_timestamp.tar.gz
 View collected HAWQ platform settings:
 
 ``` shell
-$ hawq check -f hostfile_hawq_check --hadoop /usr/hdp/version/hadoop --stdout
+$ hawq check -f hostfile_hawq_check --hadoop /usr/local/hadoop-<version> --stdout
 ```
 
 ## <a id="topic1__section6"></a>See Also


[4/5] incubator-hawq-docs git commit: hawq check - hadoop home is optional

Posted by yo...@apache.org.
hawq check - hadoop home is optional


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/4a617974
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/tree/4a617974
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/diff/4a617974

Branch: refs/heads/develop
Commit: 4a617974cf04d1b1758bdfbc490116b60bdefb79
Parents: 0166301
Author: Lisa Owen <lo...@pivotal.io>
Authored: Thu Sep 15 11:38:36 2016 -0700
Committer: Lisa Owen <lo...@pivotal.io>
Committed: Thu Sep 15 11:38:36 2016 -0700

----------------------------------------------------------------------
 reference/cli/admin_utilities/hawqcheck.html.md.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/4a617974/reference/cli/admin_utilities/hawqcheck.html.md.erb
----------------------------------------------------------------------
diff --git a/reference/cli/admin_utilities/hawqcheck.html.md.erb b/reference/cli/admin_utilities/hawqcheck.html.md.erb
index de67903..23a496d 100644
--- a/reference/cli/admin_utilities/hawqcheck.html.md.erb
+++ b/reference/cli/admin_utilities/hawqcheck.html.md.erb
@@ -8,7 +8,7 @@ Verifies and validates HAWQ platform settings.
 
 ``` pre
 hawq check -f <hostfile_hawq_check> | (-h <hostname> | --host <hostname>)
-    --hadoop <hadoop_home> | --hadoop-home <hadoop_home>
+    [--hadoop <hadoop_home> | --hadoop-home <hadoop_home>]
     [--config <config_file>] 
     [--stdout | --zipout]
     [--kerberos] 


[5/5] incubator-hawq-docs git commit: Merge branch 'feature/hawqcheck-hadoopopt' of https://github.com/lisakowen/incubator-hawq-docs into develop

Posted by yo...@apache.org.
Merge branch 'feature/hawqcheck-hadoopopt' of https://github.com/lisakowen/incubator-hawq-docs into develop


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/ecb0097b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/tree/ecb0097b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/diff/ecb0097b

Branch: refs/heads/develop
Commit: ecb0097bcf5914f5f9754bd51615632a2672992b
Parents: d64c0f9 4a61797
Author: David Yozie <yo...@apache.org>
Authored: Tue Sep 20 15:46:21 2016 -0700
Committer: David Yozie <yo...@apache.org>
Committed: Tue Sep 20 15:46:21 2016 -0700

----------------------------------------------------------------------
 .../cli/admin_utilities/hawqcheck.html.md.erb   | 25 +++++++++++---------
 1 file changed, 14 insertions(+), 11 deletions(-)
----------------------------------------------------------------------



[2/5] incubator-hawq-docs git commit: hawq check --hadoop option - misc cleanup

Posted by yo...@apache.org.
hawq check --hadoop option - misc cleanup


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/6704cc0b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/tree/6704cc0b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/diff/6704cc0b

Branch: refs/heads/develop
Commit: 6704cc0b7a358fafba08b3fd66a5a12b5bb97f85
Parents: 0f642f1
Author: Lisa Owen <lo...@pivotal.io>
Authored: Wed Sep 14 14:21:07 2016 -0700
Committer: Lisa Owen <lo...@pivotal.io>
Committed: Wed Sep 14 14:21:07 2016 -0700

----------------------------------------------------------------------
 reference/cli/admin_utilities/hawqcheck.html.md.erb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/6704cc0b/reference/cli/admin_utilities/hawqcheck.html.md.erb
----------------------------------------------------------------------
diff --git a/reference/cli/admin_utilities/hawqcheck.html.md.erb b/reference/cli/admin_utilities/hawqcheck.html.md.erb
index 517004d..3b31d82 100644
--- a/reference/cli/admin_utilities/hawqcheck.html.md.erb
+++ b/reference/cli/admin_utilities/hawqcheck.html.md.erb
@@ -25,7 +25,7 @@ hawq check -?
 
 ## <a id="topic1__section3"></a>Description
 
-The `hawq check` utility determines the platform on which you are running HAWQ and validates various platform-specific configuration settings as well as HAWQ and HDFS-specific configuration settings. In order to perform HAWQ configuration checks, make sure HAWQ has been already started and `hawq config` works. For HDFS checks, you should either set the HADOOP\_HOME environment variable or provide the hadoop installation location using `--hadoop` option.
+The `hawq check` utility determines the platform on which you are running HAWQ and validates various platform-specific configuration settings as well as HAWQ and HDFS-specific configuration settings. In order to perform HAWQ configuration checks, make sure HAWQ has been already started and `hawq config` works. For HDFS checks, you should either set the `$HADOOP_HOME` environment variable or provide the full path to the hadoop installation location using the `--hadoop` option.
 
 The `hawq check` utility can use a host file or a file previously created with the `--zipout `option to validate platform settings. If `GPCHECK_ERROR` displays, one or more validation checks failed. You can also use `hawq check` to gather and view platform settings on hosts without running validation checks. When running checks, `hawq check` compares your actual configuration setting with an expected value listed in a config file (`$GPHOME/etc/hawq_check.cnf` by default). You must modify your configuration values for "mount.points" and "diskusage.monitor.mounts" to reflect the actual mount points you want to check, as a comma-separated list. Otherwise, the utility only checks the root directory, which may not be helpful.
 
@@ -54,7 +54,7 @@ diskusage.monitor.mounts = /,/data1,/data2
 <dd>The name of a configuration file to use instead of the default file `$GPHOME/etc/hawq_check.cnf`.</dd>
 
 <dt>-\\\-hadoop, -\\\-hadoop-home \<hadoop\_home\>  </dt>
-<dd>Use this option to specify the full path to your hadoop installation location so that `hawq check` can validate HDFS settings. This option is not needed if the `HADOOP_HOME` environment variable is set.</dd>
+<dd>Use this option to specify the full path to your hadoop installation location so that `hawq check` can validate HDFS settings. This option is not needed if the `$HADOOP_HOME` environment variable is set.</dd>
 
 <dt>-\\\-stdout  </dt>
 <dd>Send collected host information from `hawq check` to standard output. No checks or validations are performed.</dd>
@@ -100,7 +100,7 @@ Verify and validate the HAWQ platform settings with HDFS HA enabled, and Kerbero
 $ hawq check -f hostfile_hawq_check --hadoop /usr/hdp/version/hadoop --hdfs-ha --kerberos
 ```
 
-Save HAWQ platform settings to a zip file, when the $HADOOP\_HOME environment variable is set:
+Save HAWQ platform settings to a zip file, when the `$HADOOP_HOME` environment variable is set:
 
 ``` shell
 $ hawq check -f hostfile_hawq_check --zipout