title: thriftpy.transport.TTransportException: TTransportException(type=1, message="Could not connect to ('localhost', 9090)")
body: <p>I'm facing Thrift error while connecting to HBase through Python. Please find the error trace below- </p>
  
  <pre><code>File "/usr/local/lib/python3.6/dist-packages/happybase/pool.py", line 147, in connection
  connection.open()
  File "/usr/local/lib/python3.6/dist- packages/happybase/connection.py", line 176, in open
  self.transport.open()
  File "thriftpy/transport/framed/cyframed.pyx", line 113, in thriftpy.transport.framed.cyframed.TCyFramedTransport.open (thriftpy/transport/framed/cyframed.c:2476)
  File "/usr/local/lib/python3.6/dist- packages/thriftpy/transport/socket.py", line 104, in open message="Could not connect to %s" % str(addr))
  thriftpy.transport.TTransportException: TTransportException(type=1, message="Could not connect to ('localhost', 9090)")
  </code></pre>
  
  <p>How can I solve this error?</p>
  
  <p>My Hbase configuration looks like this</p>
  
  <blockquote>
    <ul>
    <li><strong>Python</strong> - 3.6.7</li>
    <li><strong>HBase version</strong> - 2.1.2</li>
    <li><strong>Happybase version</strong> - 1.1.0</li>
    <li><strong>transport</strong> - framed</li>
    <li><strong>protocol</strong> - compact</li>
    <li><strong>Thrift start command</strong> - ./hbase-daemon.sh start thrift -hsha</li>
    </ul>
  </blockquote>
  
  <p>Before, I have worked with Hbase versions <strong>1.4.6</strong> and <strong>2.0.1</strong> with same config. I did not face any Thrift error while using <strong>1.4.6</strong>. Can anyone pls guide me to overcome this error in HBase latest version?</p>