datagrip出现 java.net.ConnectException: Connection refused: connect.

出现这样的情况要看一下hadoop有没有启动

start-all.sh

nohup /export/server/apache-hive-3.1.2-bin/bin/hive --service hiveserver2 &

scp -r /export/server/apache-hive-3.1.2-bin/ node3:/export/server/

/export/server/apache-hive-3.1.2-bin/bin/hive
show databases;

你可能感兴趣的:(java,开发语言)