赞
踩
1.Ubuntu上的配置:Hadoop3.1.3 Hive3.1.3 JDK1.0.8_401 本地Mysql8.0.36
2.DataGrip无法连接Hive:报错无法连接hadoop102:10000 connection refused
1.排除DataGrip中驱动问题;
2.关闭安全模式(如果是):
hdfs dfsadmin -safemode leave
3. 开启mysql服务 && 开启hadoop集群:
- systemctl start mysql;
- myhadoop.sh start;
4.开启hiveservice2和metastore:
- hive --service hiveserver2 &
- hive --service metastore &
5.此时DataGrip就可以连接了:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。