Transport exception Transport exception hadoop hadoop

Transport exception


make sure you have thrift server started before you try to connect.

hbase thrift start -threadpool


connection = happybase.Connection('localhost','2181')


The trift server hast to be up and running. Your connection has to be opened as well:

nohup hbase thrift start &

Open connection in python before use:

connection.open()

Example:

#!/usr/bin/pythonimport happybaseconnection = happybase.Connection('localhost', autoconnect=False)connection.open()