# 安装 hive

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

## 安装

```sh
sudo av install brew:hive
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install hive
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:hive
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/hive>
- **版本:** 4.2.0
- **来源摘要:** Hadoop-based data summarization, query, and analysis
- **主页:** <https://hive.apache.org>
- **上游文档:** <https://hive.apache.org>
- **许可证:** Apache-2.0
- **源码归档:** <https://www.apache.org/dyn/closer.lua?path=hive/hive-4.2.0/apache-hive-4.2.0-bin.tar.gz>
- **更新:** 2025-11-22T15:33:29Z
- **生成来源:** 2026-05-26T17:25:59+00:00

## 可执行文件

- beeline (cli)
- hive (cli)
- hive-config.sh (cli)
- hiveserver2 (cli)
- hplsql (cli)
- init-hive-dfs.sh (cli)
- metatool (cli)
- replstats.sh (cli)
- schematool (cli)
- beeline (别名)
- hive (别名)
- hive-config.sh (别名)
- hiveserver2 (别名)
- hplsql (别名)
- init-hive-dfs.sh (别名)
- metatool (别名)
- replstats.sh (别名)
- schematool (别名)

## 依赖

- hadoop
- openjdk@21

## 安装行为

- post-install 钩子: 未定义
- Caveats: If you want to use HCatalog with Pig, set $HCAT_HOME in your profile: export HCAT_HOME=$HOMEBREW_PREFIX/opt/hive/libexec/hcatalog
- Bottle: 可用 于 all

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 4.2.0
- 管理器更新时间: 2025-11-22
- 本地数据: ok
- 上游仓库: https://hive.apache.org
- notice: The package-manager record has not changed recently.
- info: Release/tag comparison is only available for GitHub repositories.

## 安全说明

broad file, network, media, or database tool signal. generalized runtime or code generation signal.

- **Geiger 风险:** yellow / medium
- broad file, network, media, or database tool signal
- generalized runtime or code generation signal

## 相关链接

- [openjdk@21](https://www.automicvault.com/pkg/brew/openjdk-21/) - Runtime dependency declared by Homebrew.
- [hadoop](https://www.automicvault.com/pkg/brew/hadoop/) - Runtime dependency declared by Homebrew.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/)

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
