Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Will hive-impersonation works in non-secure hadoop cluster.

avatar

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

1 ACCEPTED SOLUTION

avatar
@rakesh kumar

Hive user impersonation should work irrespective of simple or kerberos hadoop cluster. Please refer to the documenation here.

View solution in original post

3 REPLIES 3

avatar
@rakesh kumar

Hive user impersonation should work irrespective of simple or kerberos hadoop cluster. Please refer to the documenation here.

avatar

avatar
Explorer

@rakesh kumar

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.