HBASE-13062 Add documentation coverage for configuring dns server with thrift and rest gateways

This commit is contained in:
Misty Stanley-Jones 2015-08-11 14:24:28 +10:00
parent 3d5801602d
commit 7d4de20caf
1 changed files with 18 additions and 0 deletions

View File

@ -175,6 +175,15 @@ Add the following to the `hbase-site.xml` file for every Thrift gateway:
You may have to put the concrete full hostname.
-->
</property>
<!-- Add these if you need to configure a different DNS interface from the default -->
<property>
<name>hbase.thrift.dns.interface</name>
<value>default</value>
</property>
<property>
<name>hbase.thrift.dns.nameserver</name>
<value>default</value>
</property>
----
Substitute the appropriate credential and keytab for _$USER_ and _$KEYTAB_ respectively.
@ -308,6 +317,15 @@ To enable REST gateway Kerberos authentication for client access, add the follow
<name>hbase.rest.authentication.kerberos.keytab</name>
<value>$KEYTAB</value>
</property>
<!-- Add these if you need to configure a different DNS interface from the default -->
<property>
<name>hbase.rest.dns.interface</name>
<value>default</value>
</property>
<property>
<name>hbase.rest.dns.nameserver</name>
<value>default</value>
</property>
----
Substitute the keytab for HTTP for _$KEYTAB_.