报错内容
root@hadoop-master:~/apache-hive-2.3.7-bin/bin# hive
Logging initialized using configuration in jar:file:/root/apache-hive-2.3.7-bin/lib/hive-
common-2.3.7.jar!/hive-log4j2.properties Async: true
Exception in thread "main" java.lang.RuntimeException: java.net.ConnectException: Call Fr
om hadoop-master/172.18.0.4 to hadoop-master:9000 failed on connection exception: java.ne
t.ConnectException: Connection refused; For more details see: http://wiki.apache.org/had
oop/ConnectionRefused
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:610)
at org.apache.hadoop.hive.ql.session.SessionState.beginStart(SessionState.java:55
3)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:750)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:686)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp