Can anyone confirm and provide more details on hive-impersonation in hadoop.For, hive-impersonation i believe below 'do.as' property needs to be set to true and does hive-impersonation works on non-secure cluster or it will work only on secure(kerberos) hadoop cluster. hive.server2.enable.do=true
Kerberos is for authentication purpose while doAs is for authorization. When doAs is set to true, the queries against Metastore and jobs executed on HADOOP cluster run as the end user as opposed to user "hive". For example, the HDFS permission checks during job executions will be against the end user.