Wanted to add that I’ve following settings done.
Custom core-site.xml
hadoop.proxyuser.root.groups=*
hadoop.proxyuser.root.hosts=*
hadoop.proxyuser.ambariusr.groups=*
hadoop.proxyuser.ambariusr.hosts=*
I’ve also set in Custom hive-site
hive.server2.enable.impersonation = true