hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lonikar, Kiran" <>
Subject Hive 0.14: impersonation not working without system property
Date Thu, 04 Jun 2015 05:40:20 GMT

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.


View raw message