title: java.net.ConnectException: Connection refused error when running Hive
body: <p>I'm trying work through a hive tutorial in which I enter the following:</p>
  
  <pre><code>load data local inpath '/usr/local/Cellar/hive/0.11.0/libexec/examples/files/kv1.txt' overwrite into table pokes;
  </code></pre>
  
  <p>Thits results in the following error:</p>
  
  <pre><code>FAILED: RuntimeException java.net.ConnectException: Call to localhost/127.0.0.1:9000 failed on connection exception: java.net.ConnectException: Connection refused
  </code></pre>
  
  <p>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!</p>