title: Connect to Hive server using SquirrelSQL client
body: <p>I am trying to connect <strong>SquirrelSQL client</strong> to <strong>Hive</strong>.</p>
  
  <p>I am running Hadoop/Hive on a Debian 7.0 VM on virtualbox.</p>
  
  <p>Hive server is online, and when I ping my vm with my laptop client, the vm is responding, it's OK.</p>
  
  <p>Then, I trying to connect to Hive using SquirrelSQL.</p>
  
  <p>I'm using <strong>Amazon JDBC driver</strong>, related to this post : <a href="https://stackoverflow.com/questions/11278040/access-hive-tables-in-sqlclient-but-not-from-the-putty">Access Hive Tables in SQLClient but not from the Putty</a></p>
  
  <p>The connection is ok, but, my unique table (pays) is not visible in the client (there is no tables at all !), and when I'm trying to select my unique by the simple query : <code>SELECT * FROM pays;</code> I'm getting this error : </p>
  
  <pre><code>Error: org.apache.thrift.transport.TTransportException: java.net.SocketException: Connection reset by peer: socket write error
  SQLState:  08S01
  ErrorCode: 0
  </code></pre>
  
  <p>I was looking for an issue on the web, but I haven't found anything.</p>
  
  <p>Thanks  for your help =)</p>
  
  <p>ps: sorry for my poor english...</p>