Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-02-2016 10:06 PM
what is the difference between hive.server2.enable.do='true' and hive.server.enabler.impersnation='true'?
Created 08-02-2016 10:47 PM
hive.server2.enable.do= True --> Run hive scripts as end user instead of Hive user.
= False --> All the jobs will run as hive user.
hive.server2.enable.impersnation --It's old property and no longer in use.
for more info on Hive impersnation:
http://hortonworks.com/blog/best-practices-for-hive-authorization-using-apache-ranger-in-hdp-2-2/
Created 08-02-2016 10:40 PM
https://cwiki.apache.org/confluence/display/Hive/Setting+Up+HiveServer2
This is the new standard to impersonate (doAs)
hive.server2.enable.doAs – Impersonate the connected user, default true.
The most recent documentation doesn't seem to discuss "hive.server2.enable.impersonation", therefore, I'd stick with doAs
Created 08-03-2016 02:50 PM
thank you very much Ryan
Created 08-02-2016 10:41 PM
I think they are both same and hive community may have changed to the newer "doAs". Try setting hive.server.enable.impersonation to false. I don't think it will make a difference. The property used is hive.server2.enable.doAs
Created 08-03-2016 02:49 PM
thank you very much
Created 08-02-2016 10:47 PM
hive.server2.enable.do= True --> Run hive scripts as end user instead of Hive user.
= False --> All the jobs will run as hive user.
hive.server2.enable.impersnation --It's old property and no longer in use.
for more info on Hive impersnation:
http://hortonworks.com/blog/best-practices-for-hive-authorization-using-apache-ranger-in-hdp-2-2/
Created 08-03-2016 02:49 PM
thank you very much Divakar