Skip to content

Commit 6acfdaf

Browse files
committed
fix:修复图床问题
1 parent cb49c8f commit 6acfdaf

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

docs/md/bigdata/01-macOS下 Hive 2.x 的安装与配置.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 01-macOS下 Hive 2.x 的安装与配置
22

3-
# 1 简介
3+
## 1 简介
44

55
基于Hadoop的一个数据仓库工具,可将结构化数据文件映射为一张数据库表,并提供简单[SQL]查询,可将SQL语句转换为MapReduce任务进行运行。
66

@@ -197,10 +197,12 @@ FLUSH PRIVILEGES;
197197
将下好的包解压
198198

199199
解压后,将此文件夹下mysql-connector-java-8.0.15.jar
200-
![](https://upload-images.jianshu.io/upload_images/16782311-fbd0d44ece0a36b5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
200+
201+
![](https://codeselect.oss-cn-shanghai.aliyuncs.com/20240310185522954.png)
201202

202203
复制到../hive/lib:
203-
![image.png](https://upload-images.jianshu.io/upload_images/16782311-9336f9b6da0dbb5e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
204+
205+
![](https://codeselect.oss-cn-shanghai.aliyuncs.com/20240310185603573.png)
204206

205207
需要给/tmp文件夹设置写权限,同时确保 hadoop不在安全模式下,可以执行此命令使hadoop退出安全模式:hadoop dfsadmin -safemode leave
206208

@@ -216,7 +218,7 @@ FLUSH PRIVILEGES;
216218
schematool -dbType mysql -initSchema
217219
```
218220

219-
![](https://upload-images.jianshu.io/upload_images/16782311-62391a0223e9c65d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
221+
![](https://codeselect.oss-cn-shanghai.aliyuncs.com/20240310185624312.png)
220222

221223
### 7.2 启动Hive
222224

0 commit comments

Comments
 (0)