# 使用 Homebrew, Nix 安装 hbase

查看 hbase 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:hbase
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hbase
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#hbase
```

  证据: nixpkgs package indexes: hbase from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## 软件包事实

- **软件包键:** brew:hbase
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/hbase>
- **版本:** 2.6.6
- **来源摘要:** Hadoop database: a distributed, scalable, big data store
- **主页:** <https://hbase.apache.org>
- **上游文档:** <https://hbase.apache.org>
- **许可证:** Apache-2.0
- **源码归档:** <https://www.apache.org/dyn/closer.lua?path=hbase/2.6.6/hbase-2.6.6-bin.tar.gz>
- **最后更新:** 2026-07-10T14:07:28Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- hbase (cli)
- start-hbase.sh (cli)
- stop-hbase.sh (cli)
- hbase (别名)
- start-hbase.sh (别名)
- stop-hbase.sh (别名)

## 依赖

- openjdk@17

## 构建依赖

- ant

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.6.6
- 管理器更新时间: 2026-07-10
- 本地数据: OK
- 上游仓库: https://hbase.apache.org
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Apache HBase is a distributed, scalable, Bigtable-like data store built on Hadoop and HDFS for random, real-time read/write access to very large sparse tables. In package-manager terms it is a heavyweight data-system package: a CLI, daemons, configuration directory, Java/Hadoop dependency stack, and operational database all in one.

### 项目历史

The official reference guide's history appendix begins with Google's 2006 Bigtable paper, then places the start of HBase development at the end of 2006. The project was designed to bring Bigtable-like capabilities to the Hadoop ecosystem rather than to be a standalone relational database.

HBase became a Hadoop sub-project in 2008 and an Apache top-level project in 2010. That transition matters historically because it moved HBase from an add-on in the Hadoop orbit to an Apache project with its own project management committee, release process, community, and operational identity.

The HBase website describes the system as a distributed, scalable big-data store for random, real-time read/write access. It emphasizes billions of rows, millions of columns, consistent operations, automatic failover and sharding on Hadoop/HDFS, and APIs including Java, REST, Thrift, filters, and Bloom filters.

The reference guide is unusually central to the project history: it covers standalone quick starts, distributed modes, configuration files, shell usage, schema design, MapReduce integration, security, architecture, backup/restore, replication, APIs, performance tuning, operations, and development. That breadth reflects HBase's evolution from a storage engine into a production database system with a large operator surface.

### 采用历史

The official Powered by Apache HBase page lists user-submitted deployments across companies, institutions, and projects. It includes early production or large-scale use cases from Adobe, Facebook Messages, Flurry, HubSpot, OCLC WorldCat, OpenLogic, Trend Micro, Twitter, WorldLingo, Yahoo, and others.

The adoption examples show why HBase became important in the Hadoop era: teams needed low-latency reads and updates, wide sparse rows, time-series or event data, search and analytics backends, and MapReduce/Spark-adjacent processing without abandoning the commodity-cluster model.

HBase's adoption was also ecosystem-driven. Its value came not only from the database itself, but from living near HDFS, Hadoop MapReduce, ZooKeeper, Java clients, REST/Thrift gateways, and later higher-level systems such as Trafodion or Spark integrations.

### 使用方式

The quick start uses a standalone instance where the Master, RegionServer, and ZooKeeper daemon run in one JVM, then connects through the hbase shell to create, list, describe, put, and scan a table. Production usage moves the same model into distributed deployments with separate daemons and HDFS storage.

Administrators configure HBase through files such as conf/hbase-site.xml and conf/hbase-env.sh, start and stop services with scripts such as start-hbase.sh and stop-hbase.sh, and use the shell, Java API, REST, Thrift, MapReduce jobs, and operational tools to manage data and clusters.

### 为什么软件包爱好者会关心

HBase is a classic package-manager stress test because installing the package is only the beginning. The formula has to deliver shell commands and scripts, but the real system depends on Java compatibility, Hadoop/HDFS behavior, ZooKeeper coordination, configuration files, daemon management, and careful version matching.

For package nerds, HBase also represents the Hadoop-era pattern where a local package can be used for development or a single-node quick start, while production meaning lives in clusters, configuration, and service orchestration. That makes its package metadata deceptively small compared with its operational footprint.

### 时间线

- 2006: Google publishes the Bigtable paper.
- 2006: HBase development starts near the end of the year.
- 2008: HBase becomes a Hadoop sub-project.
- 2010: HBase becomes an Apache top-level project.
- 2020s: The official site continues to present HBase as a top-level Apache project and Bigtable-like Hadoop database.

### Related projects

- Google Bigtable is the direct design reference named by the HBase documentation.
- Apache Hadoop, HDFS, ZooKeeper, MapReduce, Spark, REST, Thrift, and Apache Trafodion are related technologies in the official documentation and adoption pages.
- HBase's source repository is managed by Apache through Git/GitBox.

### 来源

- <https://hbase.apache.org/>
- <https://hbase.apache.org/book.html>
- <https://hbase.apache.org/powered-by-hbase/>
- <https://hbase.apache.org/source-repository.html>


## 安全说明

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- broad file, network, media, or database tool signal
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: conf/hbase-site.xml, conf/hbase-env.sh
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** hbase
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Nix - hbase: normalized package name match | nixpkgs package indexes: hbase from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [openjdk@17](https://pkg.so/zh-hans/brew/openjdk-17/) - Runtime dependency declared by Homebrew.
- [ant](https://pkg.so/zh-hans/brew/ant/) - Build dependency declared by Homebrew.
- [opentsdb](https://pkg.so/zh-hans/brew/opentsdb/) - Popular package that depends on this formula.
- [neo4j](https://pkg.so/zh-hans/brew/neo4j/) - Shares pkgdb curated category or tags: cli, data, database, java, nosql.
- [orientdb](https://pkg.so/zh-hans/brew/orientdb/) - Shares pkgdb curated category or tags: cli, data, database, java, nosql.
- [cassandra](https://pkg.so/zh-hans/brew/cassandra/) - Shares pkgdb curated category or tags: cli, data, database, nosql.
- [rqlite](https://pkg.so/zh-hans/brew/rqlite/) - Shares pkgdb curated category or tags: cli, data, database, distributed-database.
- [couchdb](https://pkg.so/zh-hans/brew/couchdb/) - Shares pkgdb curated category or tags: cli, data, database, nosql.
- [h2](https://pkg.so/zh-hans/brew/h2/) - Shares pkgdb curated category or tags: cli, data, database, java.
- [hive](https://pkg.so/zh-hans/brew/hive/) - Shares pkgdb curated category or tags: big-data, cli, data, hadoop.
- [pig](https://pkg.so/zh-hans/brew/pig/) - Shares pkgdb curated category or tags: big-data, cli, data, hadoop.
- [hadoop](https://pkg.so/zh-hans/brew/hadoop/) - Local package facts share a topical domain. Shared terms: big, big-data, cli, data, distributed.
- [prestodb](https://pkg.so/zh-hans/brew/prestodb/) - Local package facts share a topical domain. Shared terms: big, big-data, cli, data, distributed.

## Combined YAML source

View the package source record on GitHub. [combined/hbase.yml](https://github.com/mxcl/pkgdb/blob/main/combined/hbase.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
