Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Commit a04f8ca

Browse files
Lisa Owendyozie
Lisa Owen
authored andcommitted
server_ticket_renew_interval guc, YARN HA props (closes #133) (closes #131)
1 parent 501b7d5 commit a04f8ca

File tree

4 files changed

+52
-1
lines changed

4 files changed

+52
-1
lines changed

book/master_middleman/source/subnavs/apache-hawq-nav.erb

+1
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,7 @@
800800
<li><a href="/docs/userguide/2.2.0.0-incubating/reference/guc/parameter_definitions.html#seg_max_connections">seg_max_connections</a></li>
801801
<li><a href="/docs/userguide/2.2.0.0-incubating/reference/guc/parameter_definitions.html#seq_page_cost">seq_page_cost</a></li>
802802
<li><a href="/docs/userguide/2.2.0.0-incubating/reference/guc/parameter_definitions.html#server_encoding">server_encoding</a></li>
803+
<li><a href="/docs/userguide/2.2.0.0-incubating/reference/guc/parameter_definitions.html#server_ticket_renew_interval">server_ticket_renew_interval</a></li>
803804
<li><a href="/docs/userguide/2.2.0.0-incubating/reference/guc/parameter_definitions.html#server_version">server_version</a></li>
804805
<li><a href="/docs/userguide/2.2.0.0-incubating/reference/guc/parameter_definitions.html#server_version_num">server_version_num</a></li>
805806
<li><a href="/docs/userguide/2.2.0.0-incubating/reference/guc/parameter_definitions.html#shared_buffers">shared_buffers</a></li>

markdown/clientaccess/kerberos-securehdfs.html.md.erb

+36
Original file line numberDiff line numberDiff line change
@@ -217,3 +217,39 @@ Perform the following steps to configure HAWQ and PXF for a secure HDFS. You wil
217217
``` shell
218218
gpadmin@master$ hawq restart cluster -a -M fast
219219
```
220+
221+
## <a id="server_ticket_renew"></a>Setting the HAWQ Kerberos Ticket Renewal Interval
222+
223+
The HAWQ [`server_ticket_renew_interval`](../reference/guc/parameter_definitions.html#server_ticket_renew_interval) server configuration parameter governs the HAWQ HDFS client Kerberos ticket renewal interval. The default ticket renewal interval is 12 hours.
224+
225+
You configure the lifetime of a Kerberos ticket when you set up your KDC. To avoid ticket expiration, set the `server_ticket_renew_interval` to a value that is less than the lifetime of the ticket.
226+
227+
#### <a id="task_kerbhdfs_ticket_renew"></a>Procedure
228+
229+
You will perform different procedures to set the ticket renewal interval if you manage your cluster from the command line or use Ambari to manage your cluster.
230+
231+
1. If you manage your cluster using Ambari:
232+
233+
1. Login in to the Ambari UI from a supported web browser.
234+
235+
2. Navigate to the **HAWQ** service, **Configs > Advanced** tab and expand the **Custom hawq-site** drop down.
236+
237+
3. Set the `server_ticket_renew_interval` value to the desired ticket renewal interval in milliseconds.
238+
239+
4. **Save** this configuration change and then select the now orange **Restart > Restart All Affected** menu button to restart your HAWQ cluster.
240+
241+
5. Exit the Ambari UI.
242+
243+
2. If you manage your cluster from the command line:
244+
245+
1. Use the `hawq config` command to update the `server_ticket_renew_interval` configuration parameter. For example:
246+
247+
``` shell
248+
gpadmin@master$ hawq config -c server_ticket_renew_interval -v 86400000
249+
```
250+
251+
2. Restart your HAWQ cluster:
252+
253+
``` shell
254+
gpadmin@master$ hawq restart cluster
255+
```

markdown/reference/guc/parameter_definitions.html.md.erb

+13-1
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,8 @@ Descriptions of the HAWQ server configuration parameters listed alphabetically.
478478

479479
- **[server\_encoding](../../reference/guc/parameter_definitions.html#server_encoding)**
480480

481+
- **[server\_ticket\_renew\_interval](../../reference/guc/parameter_definitions.html#server_ticket_renew_interval)**
482+
481483
- **[server\_version](../../reference/guc/parameter_definitions.html#server_version)**
482484

483485
- **[server\_version\_num](../../reference/guc/parameter_definitions.html#server_version_num)**
@@ -1805,7 +1807,7 @@ Adds a checksum value to each block of a work file (or spill file) used by `Hash
18051807

18061808
## <a name="gp_workfile_compress_algorithm"></a>gp\_workfile\_compress\_algorithm
18071809

1808-
When a hash aggregation or hash join operation spills to disk during query processing, specifies the compression algorithm to use on the spill files.
1810+
When a hash aggregation or hash join operation spills to disk during query processing, specifies the compression algorithm to use on the spill files.
18091811

18101812
If your HAWQ database installation uses serial ATA (SATA) disk drives, setting the value of this parameter to `zlib` might help to avoid overloading the disk subsystem with IO operations.
18111813

@@ -3007,6 +3009,16 @@ Reports the database encoding (character set). It is determined when the HAWQ ar
30073009
|--------------------------|---------|---------------------|
30083010
| &lt;system dependent&gt; | UTF8 | read only |
30093011

3012+
3013+
## <a name="server_ticket_renew_interval"></a>server\_ticket\_renew\_interval
3014+
3015+
Sets the HAWQ HDFS client Kerberos ticket renewal interval in milliseconds.
3016+
3017+
| Value Range | Default | Set Classifications |
3018+
|--------------------------|---------|---------------------|
3019+
| 0-INT\_MAX | 43200000 | master, system, restart |
3020+
3021+
30103022
## <a name="server_version"></a>server\_version
30113023

30123024
Reports the version of PostgreSQL that this release of HAWQ is based on.

markdown/resourcemgmt/YARNIntegration.html.md.erb

+2
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ If you have enabled high-availability for your YARN resource managers, then spec
254254

255255
where {0} and {1} are substituted with the fully qualified hostnames of the YARN resource manager host machines.
256256

257+
To reduce connection time between HAWQ and YARN, be sure to specify the YARN master hostname first in the `yarn.resourcemanager.*` property lists, and the YARN standby resource manager hostname second in the lists.
258+
257259
## <a id="topic_wp3_4bx_15"></a>Tune HAWQ Resource Negotiations with YARN
258260

259261
To ensure efficient management of resources and highest performance, you can configure some aspects of how HAWQ's resource manager negotiate resources from YARN.

0 commit comments

Comments
 (0)