AnsweredAssumed Answered

Mapr 6.0.1 HbaseThriftServer Happybase issues

Question asked by ani.desh1512 on Apr 10, 2018
Latest reply on May 9, 2018 by maprcommunity

Hello,

We recently migrated from MapR 5.2.2 to Mapr 6.0.1. We use the python library happybase (v1.1.0) to access mapr db entries via python (on a mapr client). After the upgrade, we noticed that the happybase library is not working as expected. Heres the scenario:

 

Sample code block:

import happybase
connection = happybase.Connection(<host>, 9090)
table = connection.table(<table_name>)
table.scan().next()

Old cluster that works:

Mapr Version: 5.2.2

python: 2.7.13

happybase: 1.1.0

mapr-client: 5.2.2.44680.GA-1

mapr-hbase: 1.1.8.201711091319-1

 

New cluster that does NOT work:

Mapr Version: 6.0.1

python: 2.7.13

happybase: 1.1.0

mapr-client: 6.0.1.20180404222005.GA-1

mapr-hbase: 1.1.8.201711121504

 

So, as I said after the upgrade, on the new cluster, the above code block just waits for eternity after the "table.scan().next()" command. On the old cluster, the same code block retrieves a row from the table specified. 

This kind of behavior is also observed for "table.row()" and similar commands. The hbase thrift logs on the hbase thrift server do not contain any errors whatsoever.  I do however see the following entry in the log:

INFO  [thrift-worker-10] client.ConnectionFactory: ConnectionFactory receives mapr.hbase.default.db(maprdb), set clusterType(MAPR_ONLY), user(mapr), hbase_admin_connect_at_construction(false)

 

Also, another thing I tried out was that the hbase shell commands like "scan" and "get" works with the new version without any issues.

 

So, my question is, did we miss any steps in the upgrade? What seems to have cause this issue?

Outcomes