Database Reference
In-Depth Information
Coniguring REST clients
The following are the steps for the coniguration of the REST-based clients:
1.
Add the following to the hbase-site.xml ile for every REST gateway
server:
<property>
<name>hbase.rest.keytab.file</name>
<value><KEYTAB></value>
</property>
<property>
<name>hbase.rest.kerberos.principal</name>
<value><user>/HOST@HADOOP.LOCALDOMAIN</value>
</property>
2.
Place the value for <KEYTAB> and <user> . Also, provide the REST API
principal, rest_server , the administrative level of access as follows:
hbase> grant 'rest_server', 'RWCA'
3. Also, add the following conigurations to the base-site.xml ile for
every HBase server as follows:
<property>
<name>hadoop.security.authorization</name>
<value>true</value>
</property>
<property>
<name>hadoop.proxyuser.<USER>.groups</name>
<value><GROUPS></value>
</property>
<property>
<name>hadoop.proxyuser.<USER>.hosts</name>
<value><GROUPS></value>
</property>
4.
Place the values for <users> and <groups> and add the following
conigurations to the base-site.xml ile for every REST gateway
server as follows:
<property>
<name>hbase.rest.authentication.type</name>
<value>kerberos</value>
</property>
<property>
 
Search WWH ::




Custom Search