Logging initialized using configuration in jar:file:/usr/local/hive-1.1.0-cdh5.4.7/lib/hive-common-1.1.0-cdh5.4.7.jar!/hive-log4j.properties
Exception in thread "main" java.lang.RuntimeException: java.net.ConnectException: Call From localhost/127.0.0.1 to localhost:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:511)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:671)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:615)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
最近配置這個hive,使用的內嵌模式,出現這種問題,新手實在是懵比了,求大神們指導指導
uj5u.com熱心網友回復:
這個錯誤時你把你集群的namenode關閉了 重新開啟在進入hive就可以了轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/102453.html
標籤:數據倉庫
上一篇:資料介面
