You should set hive.server2.enable.doAs to 'true' in hive-site.xml and
change hadoop.proxyuser.hive.hosts in core-site.xml.
On Tue, Jul 28, 2015 at 1:51 AM, Han-Cheol Cho wrote:
> Hi, all
>
>
>
> Even I user impersonation, running "create database test01" in beeline
>
> (and hue that uses hs2)
Hi, all
Even I user impersonation, running "create database test01" in beeline
(and hue that uses hs2) makes a directory in HDFS owned by *hive* user.
However, table directories and files under it are all correctly owned by a
user.
For user impersonation, I followed the cloudera documentatio