Created 03-04-2016 12:47 PM
I need to apply authorization using Sentry. I need to create the local groups on the host on which HiveServer2 is running. How to know on which host HiveServer2 running ??
Created 03-04-2016 01:00 PM
Hi Nirvana,
If you are using Ambari, then you can drill into hive. You will see the components for Hive here > Metastore, Hiveserver2, Webhcat. You can click on Hiveserver2 and this will take you to the hosts page for the host running hiveserver2.
Otherwise you can check in zookeeper. Open the zookeeper cli (/usr/hdp/current/zookeeper-server/bin/zkCli.sh) and run ls /hiveserver2 - this will output something along the lines of:
[zk: localhost:2181(CONNECTED) 1] ls /hiveserver2 [serverUri=sandbox.hortonworks.com:10000;version=1.2.1.2.3.2.0-2950;sequence=0000000023]
However HS2 must be running.
Thanks
Dave
Created 03-04-2016 01:00 PM
Hi Nirvana,
If you are using Ambari, then you can drill into hive. You will see the components for Hive here > Metastore, Hiveserver2, Webhcat. You can click on Hiveserver2 and this will take you to the hosts page for the host running hiveserver2.
Otherwise you can check in zookeeper. Open the zookeeper cli (/usr/hdp/current/zookeeper-server/bin/zkCli.sh) and run ls /hiveserver2 - this will output something along the lines of:
[zk: localhost:2181(CONNECTED) 1] ls /hiveserver2 [serverUri=sandbox.hortonworks.com:10000;version=1.2.1.2.3.2.0-2950;sequence=0000000023]
However HS2 must be running.
Thanks
Dave
Created 03-05-2016 03:44 AM