Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Unable to start Hive-server2 with ranger-hive plugin enabled

Highlighted

Unable to start Hive-server2 with ranger-hive plugin enabled

New Contributor

Getting the below error while trying to start Hive-server2 with ranger-hive plugin enabled.

Tried updating SAME password for admin-password and ranger-admin-password from both the Ranger UI as well as from the Ambari UI but no luck...

2018-09-20 12:07:45,807 - call['ambari-python-wrap /usr/bin/hdp-select status hive-server2'] {'timeout': 20}

2018-09-20 12:07:45,839 - call returned (0, 'hive-server2 - 3.0.0.0-1334')
2018-09-20 12:07:45,840 - RangeradminV2: Skip ranger admin if it's down !
2018-09-20 12:07:50,390 - amb_ranger_admin user already exists.
2018-09-20 12:08:12,311 - Will retry 4 time(s), caught exception: Connection to Ranger Admin failed. Reason - timeout. Sleeping for 8 sec(s)
2018-09-20 12:08:40,347 - Will retry 3 time(s), caught exception: Connection to Ranger Admin failed. Reason - timeout. Sleeping for 8 sec(s)
2018-09-20 12:09:08,375 - Will retry 2 time(s), caught exception: Connection to Ranger Admin failed. Reason - timeout. Sleeping for 8 sec(s)
2018-09-20 12:09:36,403 - Will retry 1 time(s), caught exception: Connection to Ranger Admin failed. Reason - timeout. Sleeping for 8 sec(s)
2018-09-20 12:10:04,429 - Connection to Ranger Admin failed. Reason - timeout
2018-09-20 12:10:04,429 - Retry Repository Creation is being called
5 REPLIES 5

Re: Unable to start Hive-server2 with ranger-hive plugin enabled

New Contributor
2018-09-20 12:53:01,206 - Retry Repository Creation is being called
2018-09-20 12:53:53,139 - Will retry 4 time(s), caught exception: Connection to Ranger Admin failed. Reason - timeout. Sleeping for 8 sec(s)
2018-09-20 12:54:21,160 - Will retry 3 time(s), caught exception: Connection to Ranger Admin failed. Reason - timeout. Sleeping for 8 sec(s)
2018-09-20 12:54:49,188 - Will retry 2 time(s), caught exception: Connection to Ranger Admin failed. Reason - timeout. Sleeping for 8 sec(s)
2018-09-20 12:55:17,209 - Will retry 1 time(s), caught exception: Connection to Ranger Admin failed. Reason - timeout. Sleeping for 8 sec(s)
2018-09-20 12:55:45,230 - Connection to Ranger Admin failed. Reason - timeout
2018-09-20 12:55:45,230 - Retry Repository Creation is being called
2018-09-20 12:56:37,199 - Will retry 4 time(s), caught exception: Connection to Ranger Admin failed. Reason - timeout. Sleeping for 8 sec(s)
2018-09-20 12:57:05,218 - Will retry 3 time(s), caught exception: Connection to Ranger Admin failed. Reason - timeout. Sleeping for 8 sec(s)
2018-09-20 12:57:33,251 - Will retry 2 time(s), caught exception: Connection to Ranger Admin failed. Reason - timeout. Sleeping for 8 sec(s)

Re: Unable to start Hive-server2 with ranger-hive plugin enabled

New Contributor

Name Node is working in HA Mode and Ranger Admin start normal and able to view the UI of ranger.

opened 6080 and able to login in ranger. But no luck with HIVE metastore and Server2

Re: Unable to start Hive-server2 with ranger-hive plugin enabled

This seems to be caused by Ambari script not being able to talk to Ranger. Can you check the external URL defined in Ranger config?

Re: Unable to start Hive-server2 with ranger-hive plugin enabled

New Contributor

Actually the problem is it is not creating 'ambari-qa' user in Ranger at the time of installation resulting in this error.

And this is happening for HDP 3 version.

Re: Unable to start Hive-server2 with ranger-hive plugin enabled

New Contributor

i have same problem but with this error

108743-5-15-19.jpg

this eror happen when hive plugin on ranger is enabled


try to disable it and all work fine