Overview
- Full name
docker.io/apache/hive- Registry
- docker.io
- Namespace
- apache
- Repository
- hive
- Cached tags
- 12
- Last synced
- 07/05/2026, 05:18 AM
- Topics
Introduction
Apache Hive 数据仓库 SQL 引擎镜像,HiveServer2 提供 JDBC/Thrift 查询接口,HDFS/S3 上大规模 batch SQL 分析。
Details
apache/hive 运行 Apache Hive 数据仓库,HiveServer2 提供 JDBC/Thrift SQL 查询接口,将 SQL 编译为 MapReduce/Tez/Spark 作业。定位为数据仓库查询服务,需 Metastore DB 与 HDFS/S3 存储;K8s Deployment 大数据 SQL 分析后端。
快速启动
docker run -d --name hive \
-p 10000:10000 \
-e SERVICE_NAME=hiveserver2 \
docker.io/apache/hive:latest
推荐实践
docker run -d --name hive \
--restart unless-stopped \
-p 10000:10000 \
-e SERVICE_NAME=hiveserver2 \
-e HIVE_METASTORE_URI=thrift://metastore:9083 \
docker.io/apache/hive:4.0.0
核心参数说明
-p 10000:10000— HiveServer2 JDBC/Thrift-e HIVE_METASTORE_URI— Metastore 地址-e SERVICE_NAME— hiveserver2/metastore- 存储 — HDFS/S3 表数据
Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
name: hive-server2
spec:
replicas: 2
selector:
matchLabels:
app: hive
template:
metadata:
labels:
app: hive
spec:
containers:
- name: hive
image: docker.io/apache/hive:4.0.0
ports:
- containerPort: 10000
env:
- name: SERVICE_NAME
value: hiveserver2
- name: HIVE_METASTORE_URI
value: thrift://hive-metastore:9083
---
apiVersion: v1
kind: Service
metadata:
name: hive-server2
spec:
selector:
app: hive
ports:
- port: 10000
targetPort: 10000
Metastore 与 HDFS 独立部署;Spark/Tez 执行引擎外置。
Latest tags (20)
View all 12 tags →| Tag | Arch | Pushed At | Size | Digest | Sync | Wish | Action |
|---|---|---|---|---|---|---|---|
docker.io/apache/hive :standalone-metastore-nightly | linux/amd64linux/arm64 | 2026/07/04 15:29 | 464.4 MB | sha256:2ffd413d5a61… | |||
docker.io/apache/hive :nightly | linux/amd64linux/arm64 | 2026/07/04 15:14 | 1.6 GB | sha256:6d528009d611… | |||
docker.io/apache/hive :standalone-metastore-4.2.0 | linux/arm64linux/amd64 | 2025/11/28 22:56 | 440.7 MB | sha256:53bc207fa3d8… | |||
docker.io/apache/hive :4.2.0 | linux/amd64linux/arm64 | 2025/11/28 21:26 | 1.4 GB | sha256:2a33b8fcd12f… | |||
docker.io/apache/hive :standalone-metastore-4.1.0 | linux/amd64linux/arm64 | 2025/07/30 13:38 | 1.2 GB | sha256:ffb37d77f821… | |||
docker.io/apache/hive :4.1.0 | linux/amd64linux/arm64 | 2025/07/30 13:22 | 1.5 GB | sha256:f6860e7e1191… | |||
docker.io/apache/hive :4.0.1 | linux/amd64linux/arm64 | 2024/10/02 16:56 | 1.1 GB | sha256:848e58e8bd76… | |||
docker.io/apache/hive :4.0.0 | linux/amd64linux/arm64 | 2024/03/29 19:01 | 1.1 GB | sha256:bd3570dfbc0a… | |||
docker.io/apache/hive :3.1.3 | linux/amd64 | 2023/09/05 18:09 | 611.1 MB | sha256:d102ba29ad07… | |||
docker.io/apache/hive :4.0.0-beta-1 | linux/amd64linux/arm64 | 2023/08/25 20:46 | 968.3 MB | sha256:889c4ae2e73d… | |||
docker.io/apache/hive :4.0.0-alpha-1 | linux/amd64 | 2023/05/03 12:20 | 668.2 MB | sha256:b06cfa5eb6e7… | |||
docker.io/apache/hive :4.0.0-alpha-2 | linux/amd64 | 2023/05/03 03:03 | 915.4 MB | sha256:69e482fdcebb… |