Secure an HBase cluster in four layers: Kerberos authentication, encryption in transit and at rest, authorization by table and column family, and an audit trail you can read. Confirm each one with a test that should fail, not a settings screenshot.
This checklist builds on the security chapter of the Apache HBase reference guide and on Cloudera's documentation, checked November 27, 2026. Exact property names and defaults differ by release, so use the documentation for your version.
Auth
Authentication proves who is calling. HBase supports Kerberos for clients and for the servers talking to each other, and Cloudera clusters are usually Kerberized as a whole, with service accounts for applications.
- Every client uses a Kerberos principal, not a shared password.
- Application service principals use keytabs held in a secrets store, with owners and a rotation plan.
- Servers authenticate to each other, including ZooKeeper access.
- Simple authentication is off on production clusters.
- Web UIs for the master and region servers require authentication.
Test: run a client with no ticket and confirm it is refused.
Encryption
Two separate questions: in transit and at rest.
- In transit. HBase has a setting for the protection level of remote procedure calls, which can add integrity or full privacy. Set it to privacy where policy requires. Enable TLS for web UIs and for the REST and Thrift gateways if you run them.
- At rest. HDFS encryption zones protect the files, and HBase offers its own transparent encryption for store files and logs. Know which one you use and who holds the keys.
- Check keys: where they live, who can read them, how they rotate and what happens on loss.
Test: capture traffic from a client on a test network and confirm it is not readable, and confirm files cannot be read outside the cluster without keys.
Authorization
Authorization decides what an authenticated user may do.
| Layer | What it controls | Check |
|---|---|---|
| --- | --- | --- |
| Ranger HBase policies | Tables, column families and columns by user or group | Policies exist, are reviewed and are the only mechanism you rely on |
| Native HBase ACLs | Table and namespace permissions stored in HBase | Not in conflict with Ranger; know which wins on your cluster |
| Namespaces | Group tables so rights can be set once | Production and test are in separate namespaces |
| Cell-level labels | Visibility labels on individual cells | Only if you use them; test who can read what |
| Admin rights | Who can create, disable, drop and balance | A short named list |
Rights should go to groups from your directory, not to individuals. Our note on Apache Ranger policy design covers structure, and tag-based access on Cloudera shows a related setup.
Test: pick a user without a grant, try a read and a write, and confirm both fail. Then try again after a legitimate grant.
Audit
- Ranger audit is on for HBase and writes to a store with set retention.
- The audit store is protected from the people it audits.
- A saved query answers: who read this table in the last quarter, who changed a policy, who was denied.
- Denied access events are reviewed, not only successes.
- Clocks are in sync across hosts so events line up.
Evidence to keep
For each layer, keep a short record: the setting or policy, who approved it, the date of the last test and the result. Store it with the change log for the cluster. A reviewer then sees a process, not a screenshot. Re-run the tests after every upgrade, because upgrades can reset configuration, and after any change to Ranger policies or Kerberos realms.
Phoenix and gateways
If you run Phoenix, its tables carry their own indexes and metadata. Cloudera warns against editing Phoenix-managed tables through the native HBase API, which can corrupt data and indexes. If you run REST or Thrift gateways, they are another door: apply the same authentication, encryption and authorization, and restrict network access. See Apache Phoenix on HBase.
Backups
Backup copies carry the same data and need the same protection. Snapshots and exports should land in encrypted, access-controlled storage, and restores should be tested with the permissions intact. See HBase backup and recovery.
How to run the review
- List the clusters, namespaces and tables in scope.
- Walk the four layers above with an engineer from your platform team.
- Run each failing-case test and record the result.
- Rank the gaps by risk and effort.
- Fix the top items and run the tests again.
Working with us
Duczer East reviews HBase security alongside region layout and recovery, and hands back a ranked list. See Cloudera Operational Database and the HBase health check example. For platform-wide access control on Cloudera, see SDX with Ranger and Atlas.



