You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by "Lonikar, Kiran" <kl...@informatica.com> on 2015/06/04 07:40:20 UTC

Hive 0.14: impersonation not working without system property

Hi,

While executing hive queries through CliDriver, we are getting permission denied error on scratch dir when executing with impersonation. The error goes away when the system property HADOOP_PROXY_USER is set to the the proxy/impersonated user name.

Attaching the sample program to reproduce the issue. This happens on HDP 2.2 (did not try on CDH 5u4 which also has hive 0.14).

The sample program when executed without any cmd line parameters reproduces this issue. When a cmd line arg is provided, it sets the system property and the queries are executed without an error.

Has anyone seen this? Seems like a possible regression from 0.13 to 0.14. It does not happen on CDH 5u2 which has hive 0.13.

Kiran