DEV Community

Inzamam ul Haque
Inzamam ul Haque

Posted on • Originally published at inzamam.dev on

 

Hbase 'No protocol version header error'

Hi there,

Earlier today, I faced a problem: I had a task that needed python happybase to do the operation on Hbase.

Error mesage screenshot: "No protocol version header error"

I received: “No protocol version header error”

Finally, I resolved this problem after digging up Cloudera docs.

First of all, I have to declare this before going further: the Hbase thrift server was opened before the above issue happened.

I searched for this HBase config setting in CM:

hbase.regionserver.thrift.http

It was checked. In /etc/hbase/conf/hbase-sit.xml, It’s value was ’true’

I found a link: https://github.com/wbolster/happybase/issues/161

So, I unchecked it. ( In hbase-sit.xml, it becomes ‘false’ )

Then restarted Hbase service, and problem got solved

I saw a lot of people had this issue, so sharing here in the hope it would be helpful.

Latest comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.