This commit is contained in:
colben
2026-03-26 16:33:35 +08:00
parent 977fa433ce
commit 91cb719b93

View File

@@ -1,7 +1,7 @@
---
title: "hive2 部署"
date: 2023-05-23T11:00:00+08:00
lastmod: 2023-05-23T11:00:00+08:00
lastmod: 2024-05-23T11:00:00+08:00
keywords: []
tags: ["hadoop", "hive"]
categories: ["storage"]
@@ -51,11 +51,11 @@ Rocky9 | hive-ms21 | 192.168.8.21/24 | Hive Metastore, MySQL8.0
## 部署 hive 环境
- 在**全部主机**上执行如下操作
- 下载 hive 2.3.9 部署包,解压
- 下载 hive 2.3.10 部署包,解压
```bash
curl -LO https://archive.apache.org/dist/hive/hive-2.3.9/apache-hive-2.3.9-bin.tar.gz
tar zxf apache-hive-2.3.9-bin.tar.gz
mv apache-hive-2.3.9-bin /opt/hive
curl -LO https://archive.apache.org/dist/hive/hive-2.3.10/apache-hive-2.3.10-bin.tar.gz
tar zxf apache-hive-2.3.10-bin.tar.gz
mv apache-hive-2.3.10-bin /opt/hive
```
- 下载 mysql 连接库,解压到 hive 库目录下