Re: create db command through hs2 makes a directory owned by hive

2015-07-29 Thread Takahiko Saito
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)

create db command through hs2 makes a directory owned by hive

2015-07-28 Thread Han-Cheol Cho
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