Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Who agreed with this solution

avatar
Contributor

I guess I did my trick to get the zookeeper_namespace . I wrote a small piece of code to connect zookeeper and get the childrens from zookeeper then match with hive server with port number . Ex : 

 

from the below output , I have 2 namespace for hive , but my server match with the 1st one. That I need 🙂

 

{:req_id=>3,
:rc=>0,
:children=>
["serverUri=lnxcdh23.testme.org:10000;version=1.1.0-cdh5.4.4;sequence=0000000001"],

 

{:req_id=>2,
:rc=>0,
:children=>[],

 

 

Thanks,

Khirod

View solution in original post

Who agreed with this solution