转载2019级崔相元同学(数据科学与大数据技术专业)的blog:
https://blog.csdn.net/qq_46013938/article/details/121512388
其中有两点需要注意:
- 启动mysql出问题
参考:https://blog.csdn.net/sea_snow/article/details/82498791 - 最后一步有修改:
schematool -dbType mysql -initSchema
如果出现以下错误:

则需要将链接MySQL的驱动jar包拷贝到hive的lib文件夹下:
cd Downloads
sudo tar -zxvf mysql-connector-java-5.1.40.tar.gz -C /usr/local
cd /usr/local
cp mysql-connector-java-5.1.40/mysql-connector-java-5.1.40-bin.jar /usr/local/hive/lib
如还有其他错误,可以参考:
https://blog.csdn.net/Elimeny/article/details/90764915
https://blog.csdn.net/Maishuchongji/article/details/120923403
关于hive shell 中夹杂大量日志信息的问题:
https://blog.csdn.net/weixin_46584887/article/details/121457877
http://www.xueai8.com/blog/10
253

被折叠的 条评论
为什么被折叠?



