Support Questions

Find answers, ask questions, and share your expertise

API for Open connection hiveserver2

Explorer

Hi Team,

 

Is there any API to get the count of open connection from all available hiveserver2 with its private IP.

 

Thanks in advance.

2 REPLIES 2

New Contributor

Using - https://cwiki.apache.org/confluence/display/Hive/Hive+Metrics

 we can get a dump of all the metrics from a HS2 instance using the port 10002 (WebUI port.)

 

HS2 active/open sessions is part of those metrics.

Explorer

Hi Vyanamandra,

 

Thanks for the response

In my case when I click Hiveserver Web UI it will redirect to "Server not found page".

I'm going to write a script for it. So if I had a API that would help me. That script will be in my edgenode. So please suggest any API for it.

 

Thanks,