Preparing a thrift server and client
Learn how to prepare a Thrift server and client before using a Thrift Proxy API.
Ensure that the thrift server is configured and running.
As a result, the HBase thrift Python bindings appears as
follows:
HbaseThrift/ |-- hbased | |-- constants.py | |-- Hbase.py | |-- Hbase-remote | |-- __init__.py | `-- ttypes.py |-- __init__.py `-- thrift |-- compat.py |-- ext | |-- binary.cpp | |-- binary.h | |-- compact.cpp | |-- compact.h | |-- endian.h | |-- module.cpp | |-- protocol.h | |-- protocol.tcc | |-- types.cpp | `-- types.h |-- __init__.py |-- protocol | |-- __init__.py | |-- TBase.py | |-- TBinaryProtocol.py | |-- TCompactProtocol.py | |-- THeaderProtocol.py | |-- TJSONProtocol.py | |-- TMultiplexedProtocol.py | |-- TProtocolDecorator.py | `-- TProtocol.py |-- server | |-- __init__.py | |-- THttpServer.py | |-- TNonblockingServer.py | |-- TProcessPoolServer.py | `-- TServer.py |-- Thrift.py |-- TMultiplexedProcessor.py |-- transport | |-- __init__.py | |-- sslcompat.py | |-- THeaderTransport.py | |-- THttpClient.py | |-- TSocket.py | |-- TSSLSocket.py | |-- TTransport.py | |-- TTwisted.py | `-- TZlibTransport.py |-- TRecursive.py |-- TSCons.py |-- TSerialization.py `-- TTornado.py