Reply
New Contributor
Posts: 3
Registered: ‎01-06-2016

Python code to connect to kerberos security enabled HBase cluster

Hello,

 

Can you please share sample python code to connect to a Kerberos security enabled HBase cluster from Windows OS?

 

Recently, Kerberos security has been enabled in our organization and that has impacted us from using the

'happybase' python library.

 

Will be very helpful if you can enhance the happybase library with the option of connecting to a secured HBase cluster as the library implements many other useful functions.

 

Also, can you share details on how to do 'kinit' from Windows OS to run the python code?

 

Looking for a solution at the earliest.

 

Thanks,

Guru 

New Contributor
Posts: 2
Registered: ‎11-29-2017

Re: Python code to connect to kerberos security enabled HBase cluster

We're also stuck with it. Had been happily using 'happybase' in non-kerberized environment, but this happybase thing doesn't support kerberized env. 1 person has added the security patch to happybase0.0.9 but that also doesn't work inside conda environment.

https://github.com/QwertyManiac/happybase/blob/0.9-security/happybase/connection.py

 

Have struggled a lot. Now, finding alternatives..

New Contributor
Posts: 3
Registered: ‎01-06-2016

Re: Python code to connect to kerberos security enabled HBase cluster

Thanks for the update.
Please keep us informed on any alternative you find it useful.
New Contributor
Posts: 2
Registered: ‎11-29-2017

Re: Python code to connect to kerberos security enabled HBase cluster

Thanks for your response Guru. Did you find any happybase alternatives. or you've disabled Kerberos with HBase. 

Highlighted
New Contributor
Posts: 3
Registered: ‎01-06-2016

Re: Python code to connect to kerberos security enabled HBase cluster

No, I havn't found any alternatives yet.
Announcements