文章参考地址:hadoop3.3.4集群安装部署_hwbays的博客-优快云博客
启动的时候namenode没启动成功,原因是需要格式化
找到路径:
/home/servers/hadoop-3.3.4/bin
执行
./hdfs namenode format
下载地址
链接:https://pan.baidu.com/s/11vwGlR3I3lQuzVRqfuUFfg
提取码:7oyc
--来自百度网盘超级会员V4的分享
hive源码mvn不通过,上传到linux服务器,使用mvn3.8,通过编译,本地机器编译一直不通过
部署hive
hive 启动报错 Exception in thread “main“ java.lang.RuntimeException: com.ctc.wstx.exc.WstxIOException: I
文件格式不是utf-8,修改为utf-8 解决了上面中文问题。
hive-site.xml报错,不识别#密码,新增mysql hive用户解决问题。
create user 'hive' identified by 'hive';
select user,host from mysql.user
GRANT ALL PRIVILEGES ON `hive`.* TO 'hive'@'%';
show grants for 'hive'@'%';