title: NodeJS Hive connection
body: <p>I have a problem with fetching data from Hive with NodeJS. There is an <a href="https://github.com/forward/node-hive/blob/master/examples/test.js" rel="nofollow">example for hive module</a> in NodeJS. Here is the code what I'm running (with real ip adress :) ): </p>
  
  <pre><code>hive = require('node-hive').for({server:"server.ip.address", timeout:10000});
  
  console.log("before fetch..");
  
  hive.fetch("select * from table", function(err, data) {
    console.log("select * from table");
    data.each(function(record) {
      console.log(record);
    });
  });
  </code></pre>
  
  <p>but it doesn't work. In log I got just <em>before fetch..</em> so <code>hive.fetch()</code> function don't perform. </p>
  
  <p>Does anybody knows what's missing here? I've tried with Hive Query Editor same query and it's work fine. </p>