This is a trivial example of connecting to the Apache HBase Thrift1 server using Python.
This was tested using Python 2.7.12 on OSX.
First, set up the virtual environment to install the necessary dependencies
$ ./setup.sh
Modify get_row.py
to point to the location where the HBase Thrift1 server is running.
Ensure you have a Kerberos ticket (hint: kinit
), then execute the script:
$ python get_row.py