Support Questions

Find answers, ask questions, and share your expertise

Why doesn't proxyuser change prompt HiveServer2 restart?

avatar
Expert Contributor

I'm configuring Ambari Views with Kerberos.

After setting the proxyusers described in the Ambari Security Guide, I'm prompted to restart several services (HDFS, Yarn, Mapreduce, HBase, Oozie I believe).

However, Hive View will not launch, saying that the necessary proxyuser configurations are not present. HiveServer2 apparently looks at core-site.xml on process start and then refers back to that for the proxyuser check.

Restarting HiveServer2 resolves the issue.

Clearly HiveServer2 is sensitive to proxyuser configuration, so I suggest adding it to the list of components that are prompted for restart in Ambari.

I've checked this in Ambari 2.2.2 and 2.4.1.

1 ACCEPTED SOLUTION

avatar

@Rob Ketcherside

I see that there is already an issue reported for the same behaviour with (Fix Version/s: Ambari 3.0.0)

https://issues.apache.org/jira/browse/AMBARI-18373

View solution in original post

3 REPLIES 3

avatar

@Rob Ketcherside

I see that there is already an issue reported for the same behaviour with (Fix Version/s: Ambari 3.0.0)

https://issues.apache.org/jira/browse/AMBARI-18373

avatar
Expert Contributor

Thanks for confirming.

avatar
Expert Contributor
@jss shouldn't that be mentioned in one of the two docs then?

Eg, http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.0.1/bk_ambari-views/content/configuring_your_clu...

That doc specifically says "4. Save the configuration change and restart the required components as indicated by Ambari."

It should say "and HiveServer2 in order to use Hive View".