Home > database >  Novice distress, hive starts, a failed on connection exception, connection refused
Novice distress, hive starts, a failed on connection exception, connection refused

Time:10-01

Logging the initialized using the configuration in the jar file:/usr/local/hive - 1.1.0 - cdh5.4.7/lib/hive - common - 1.1.0 - cdh5.4.7. Jar! ./hive - log4j properties
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
  • Related