java.net.ConnectException: Connection refused error when running Hive

ouonomos

I'm trying work through a hive tutorial in which I enter the following:

load data local inpath '/usr/local/Cellar/hive/0.11.0/libexec/examples/files/kv1.txt' overwrite into table pokes;

Thits results in the following error:

FAILED: RuntimeException java.net.ConnectException: Call to localhost/127.0.0.1:9000 failed on connection exception: java.net.ConnectException: Connection refused

I see that there are some replies on SA having to do with configuring my ip address and local host, but I'm not familiar with the concepts in the answers. I'd appreciate anything you can tell me about the fundamentals of what causes this kind of answer and how to fix it. Thanks!

vishnu viswanath

This is because hive is not able to contact your namenode

Check if your hadoop services has started properly.

Run the command jps to see what all services are running.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Hadoop standalone installation - java.net.ConnectException: Connection refused error while running jar

From Dev

Authentication error and java.net.ConnectException: Connection refused

From Dev

Hadoop: java.net.ConnectException: Connection refused

From Dev

java.net.ConnectException: Connection refused TCP

From Dev

Hadoop: java.net.ConnectException: Connection refused

From Dev

java.net.ConnectException: Connection refused: connect

From Dev

Hadoop "failed on connection exception: java.net.ConnectException: Connection refused"

From Dev

java.net.ConnectException: Connection refused: connect for HTTPS connections

From Dev

Tomcat exception - java.net.ConnectException: Connection refused: connect

From Dev

java.net.ConnectException: Connection refused: connect: localhost

From Dev

Jetty 9.0.6 - java.net.ConnectException: Connection refused: connect

From Dev

Unable to open debugger port : java.net.ConnectException "Connection refused"

From Dev

java.net.ConnectException: Connection refused apache mysql

From Dev

Caused by: java.net.ConnectException: Connection refused: no further information

From Dev

java.net.ConnectException: Connection refused: connect,Launch canceled

From Dev

java.net.ConnectException: Connection refused apache mysql

From Dev

Spring boot inside docker container throws java.net.ConnectException: Connection refused (Connection refused)

From Dev

Storm UI getting Internal Server Error :org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused

From Dev

ConnectException: Connection refused when run mapreduce in Hadoop

From Dev

How to resolve java net ConnectException Connection refused connect even server is up

From Dev

com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused: connect

From Dev

IOException java.net.ConnectException: failed to connect to /127.0.0.1(port 5000):connect failed:ECONNREFUSED(Connection Refused)

From Dev

java.net.ConnectException: failed to connect to /192.168.253.3 (port 2468): connect failed: ECONNREFUSED (Connection refused)

From Dev

NIO client giving exception : java.net.ConnectException: Connection refused: no further information

From Dev

com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: connect in Spring Boot

From Dev

java.rmi.ConnectException: Connection refused to host: 127.0.0.1

From Dev

java.rmi.ConnectException: Connection refused to host: <public IP>

From Dev

Zookeeper -Kafka: ConnectException - Connection refused

From Dev

Neo4j 1.9 throws "java.net.ConnectException: Connection refused" with multi-threaded neocons client

Related Related

  1. 1

    Hadoop standalone installation - java.net.ConnectException: Connection refused error while running jar

  2. 2

    Authentication error and java.net.ConnectException: Connection refused

  3. 3

    Hadoop: java.net.ConnectException: Connection refused

  4. 4

    java.net.ConnectException: Connection refused TCP

  5. 5

    Hadoop: java.net.ConnectException: Connection refused

  6. 6

    java.net.ConnectException: Connection refused: connect

  7. 7

    Hadoop "failed on connection exception: java.net.ConnectException: Connection refused"

  8. 8

    java.net.ConnectException: Connection refused: connect for HTTPS connections

  9. 9

    Tomcat exception - java.net.ConnectException: Connection refused: connect

  10. 10

    java.net.ConnectException: Connection refused: connect: localhost

  11. 11

    Jetty 9.0.6 - java.net.ConnectException: Connection refused: connect

  12. 12

    Unable to open debugger port : java.net.ConnectException "Connection refused"

  13. 13

    java.net.ConnectException: Connection refused apache mysql

  14. 14

    Caused by: java.net.ConnectException: Connection refused: no further information

  15. 15

    java.net.ConnectException: Connection refused: connect,Launch canceled

  16. 16

    java.net.ConnectException: Connection refused apache mysql

  17. 17

    Spring boot inside docker container throws java.net.ConnectException: Connection refused (Connection refused)

  18. 18

    Storm UI getting Internal Server Error :org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused

  19. 19

    ConnectException: Connection refused when run mapreduce in Hadoop

  20. 20

    How to resolve java net ConnectException Connection refused connect even server is up

  21. 21

    com.jcraft.jsch.JSchException: java.net.ConnectException: Connection refused: connect

  22. 22

    IOException java.net.ConnectException: failed to connect to /127.0.0.1(port 5000):connect failed:ECONNREFUSED(Connection Refused)

  23. 23

    java.net.ConnectException: failed to connect to /192.168.253.3 (port 2468): connect failed: ECONNREFUSED (Connection refused)

  24. 24

    NIO client giving exception : java.net.ConnectException: Connection refused: no further information

  25. 25

    com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: connect in Spring Boot

  26. 26

    java.rmi.ConnectException: Connection refused to host: 127.0.0.1

  27. 27

    java.rmi.ConnectException: Connection refused to host: <public IP>

  28. 28

    Zookeeper -Kafka: ConnectException - Connection refused

  29. 29

    Neo4j 1.9 throws "java.net.ConnectException: Connection refused" with multi-threaded neocons client

HotTag

Archive