DEV Community

Inzamam ul Haque
Inzamam ul Haque

Posted on • Originally published at inzamam.dev on

1

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.

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (1)

Collapse
 
hardika_bhate_2bee4beedfc profile image
Hardika Bhate

Even after mentioned change am getting same error.

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More