客戶端安全訪問Apache HBase

2018-04-16 11:04 更新

客戶端安全訪問Apache HBase

較新版本的 Apache HBase(> = 0.92)支持客戶端的可選 SASL 身份驗(yàn)證。另請(qǐng)參閱 Matteo Bertozzi 關(guān)于了解 Apache HBase 中的用戶身份驗(yàn)證和授權(quán)的文章。

本小章介紹如何設(shè)置 Apache HBase 和客戶端以連接到安全 HBase 資源。

Hadoop 認(rèn)證配置

要使用強(qiáng)身份驗(yàn)證運(yùn)行 HBase RPC,您必須設(shè)置hbase.security.authenticationkerberos。在這種情況下,您還必須在 core-site.xml 中設(shè)置hadoop.security.authenticationkerberos。否則,您將對(duì) HBase 使用強(qiáng)身份驗(yàn)證,但不會(huì)對(duì)基礎(chǔ) HDFS 使用強(qiáng)身份驗(yàn)證,否則會(huì)取消任何收益。

Kerberos KDC

您需要有一個(gè)可用的 Kerberos KDC。

以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)