The Exception in the 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. The SessionState. Start (SessionState. Java: 511)
At org, apache hadoop. Hive. Cli. CliDriver. Run (671) CliDriver. Java:
At org, apache hadoop. Hive. Cli. CliDriver. Main (615) CliDriver. Java:
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (498) Method. The Java:
At org, apache hadoop. Util. RunJar. Run (221) RunJar. Java:
At org, apache hadoop. Util. RunJar. Main (136) RunJar. Java:
Recently configuration the hive, using embedded mode, appear this kind of problem, novice is meng than, for guidance from god
CodePudding user response:
This error when you put your cluster namenode closed reopened in into the hive