[ https://issues.apache.org/jira/browse/HAWQ-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15903674#comment-15903674 ]
ASF GitHub Bot commented on HAWQ-1372: -------------------------------------- Github user dyozie commented on a diff in the pull request: https://github.com/apache/incubator-hawq-docs/pull/97#discussion_r105208124 --- Diff: markdown/admin/ambari-admin.html.md.erb --- @@ -182,20 +182,22 @@ First ensure that the new node(s) has been configured per the instructions found 4. Click **Confirm Add** to acknowledge the component to add. Click **OK** when the task completes. 5. In the Components summary, select **Add > PXF**. 6. Click **Confirm Add** to acknowledge the component to add. Click **OK** when the task completes. -17. (Optional) If you are using hash tables, adjust the **Default buckets for Hash Distributed tables** setting (`default_hash_table_bucket_number`) on the HAWQ service's **Configs > Settings** tab. Update this property's value by multiplying the new number of nodes in the cluster by the appropriate number indicated below. - - |Number of Nodes After Expansion|Suggested default\_hash\_table\_bucket\_number value| - |---------------|------------------------------------------| - |<= 85|6 \* \#nodes| - |\> 85 and <= 102|5 \* \#nodes| - |\> 102 and <= 128|4 \* \#nodes| - |\> 128 and <= 170|3 \* \#nodes| - |\> 170 and <= 256|2 \* \#nodes| - |\> 256 and <= 512|1 \* \#nodes| - |\> 512|512| -18. Ambari requires the HAWQ service to be restarted in order to apply the configuration changes. If you need to apply the configuration *without* restarting HAWQ (for dynamic cluster expansion), then you can use the HAWQ CLI commands described in [Manually Updating the HAWQ Configuration](#manual-config-steps) *instead* of following this step. - <br/><br/>Stop and then start the HAWQ service to apply your configuration changes via Ambari. Select **Service Actions > Stop**, followed by **Service Actions > Start** to ensure that the HAWQ Master starts before the newly-added segment. During the HAWQ startup, Ambari exchanges ssh keys for the `gpadmin` user, and applies the new configuration. - >**Note:** Do not use the **Restart All** service action to complete this step. +17. (Optional) If you are using hash tables, adjust the **Default buckets for Hash Distributed tables** setting (`default_hash_table_bucket_number`). + + 1. Open the HAWQ service's **Configs > Settings** tab. Update the `default_hash_table_bucket_number` property's value by multiplying the new number of nodes in the cluster by the appropriate number indicated below. + + |Number of Nodes After Expansion|Suggested default\_hash\_table\_bucket\_number value| + |---------------|------------------------------------------| + |<= 85|6 \* \#nodes| + |\> 85 and <= 102|5 \* \#nodes| + |\> 102 and <= 128|4 \* \#nodes| + |\> 128 and <= 170|3 \* \#nodes| + |\> 170 and <= 256|2 \* \#nodes| + |\> 256 and <= 512|1 \* \#nodes| + |\> 512|512| + 18. Ambari requires that the HAWQ service be restarted in order to apply the configuration changes. If you need to apply the configuration *without* restarting HAWQ (for dynamic cluster expansion), then use the procedure described in [Cluster Expansion Workaround](#manual-config-steps) *instead* of following this step. --- End diff -- Reword this to "Ambari requires you to restart the HAWQ service in order to apply the configuration changes." > doc ambari hawq config change procedure that does not require cluster restart > ----------------------------------------------------------------------------- > > Key: HAWQ-1372 > URL: https://issues.apache.org/jira/browse/HAWQ-1372 > Project: Apache HAWQ > Issue Type: Improvement > Components: Documentation > Reporter: Lisa Owen > Assignee: David Yozie > Priority: Minor > > document the workaround for updating hawq configuration via ambari (for > ambari-managed clusters) in cases where a complete cluster restart cannot be > tolerated: > update config via ambari, do not restart > update config via "hawq config -c xxx -v xxx" > hawq stop cluster --reload -- This message was sent by Atlassian JIRA (v6.3.15#6346)