Skip to content

필사 모드: Building a Secured (Kerberized) HBase Cluster

English
0%
정확도 0%
💡 왼쪽 원문을 읽으면서 오른쪽에 따라 써보세요. Tab 키로 힌트를 받을 수 있습니다.
원문 렌더가 준비되기 전까지 텍스트 가이드로 표시합니다.

Overview

If you want to manage HBase securely, you need to apply Kerberos authentication. Since applying Kerberos to HBase depends on Hadoop and ZooKeeper components, both Hadoop and ZooKeeper must also be managed securely. For applying Kerberos to Hadoop, refer to [Building a Secured (Kerberized) Hadoop](https://www.youngju.dev/blog/202210/secured_hadoop), and for applying Kerberos to ZooKeeper, refer to [Building a Secured (Kerberized) ZooKeeper](https://www.youngju.dev/blog/202210/secured_zookeeper).

Alternatively, refer to the Security section of the HBase official documentation: [hbase reference book (security)](https://hbase.apache.org/book.html#security).

Creating a Keytab

A principal in the format `hbase/{FQDN}@{realm}` must be registered in Kerberos. Then, place the keytab in an appropriate location (e.g., `/etc/hbase.keytab`). Of course, HMaster and RegionServer must be run with the hbase account.

Changing Configurations

Modify the configuration file as shown below.

Then, create a jaas.conf file under the conf folder as shown below. Make sure to enter the principal matching the current host.

Client {

com.sun.security.auth.module.Krb5LoginModule required

useKeyTab=true

useTicketCache=false

keyTab="/etc/hbase.keytab"

principal="hbase/hadoop1.mysite.com@CHAOS.ORDER.COM";

};

Restarting ZooKeeper and HBase

After restarting ZooKeeper and HBase, you can use HBase securely. Once Kerberos is applied, you can manage ACL (Access Control List) at the Table, Namespace, and in recent HBase versions, even at the row or cell level, enabling fine-grained access control.

Quiz

Q1: What is the main topic covered in "Building a Secured (Kerberized) HBase Cluster"?

Learn how to apply Kerberos security to HBase.

Learn how to apply Kerberos security to HBase.

Consider the practical examples and patterns discussed throughout the post.

현재 단락 (1/17)

If you want to manage HBase securely, you need to apply Kerberos authentication. Since applying Kerb...

작성 글자: 0원문 글자: 1,667작성 단락: 0/17