Book Image

Learning HBase

By : Shashwat Shriparv
Book Image

Learning HBase

By: Shashwat Shriparv

Overview of this book

Table of Contents (18 chapters)
Learning HBase
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Implementing security


Let's discuss various security implementations provided by HBase. Here, we will consider that Kerberos is set up and Hadoop is secured using this type of authentication. Now, let's see the security aspects in HBase.

Secure access

With a new version of HBase after Version 0.92, we get an option of enabling ACL-based protection on column families or table levels, and an optional SASL authentication of clients.

Now, let's see how to configure HBase and the client for connecting to secure HBase resources.

Requirement

First, let's see the Hadoop requirement. We must set the following parameters to true as we need good user authentication for Hadoop too:

hbase.security.authentication
hadoop.security.authentication

So, securing HBase is not enough, we need to secure Hadoop too.

Kerberos KDC

We need to have a Kerberos Key Distribution Centre (Kerberos KDC) configured. A Hadoop setup should be secured for an HBase, which is configured to handle requests from a secure client. HBase...