You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sentry.apache.org by Derek Chen-Becker <dc...@gmail.com> on 2013/12/13 01:01:45 UTC

Hive table creation under user's home directory?

Hi,
    I'm just getting started with Sentry and I noticed something that I
want to clarify. All of the documentation I've read has said that Hive will
create new tables under its warehouse directory ("/user/hive/warehouse" is
what's configured). But with Sentry enabled, it seems to be creating them
in the home directory of the connected user, albeit owned by the hive user.
Is that correct, or have I misconfigured something somewhere?

Thanks,

Derek

Re: Hive table creation under user's home directory?

Posted by Derek Chen-Becker <dc...@gmail.com>.
Here they are (attached). The user creating the table is "cloudera" with
local group "cloudera".


On Thu, Dec 12, 2013 at 5:05 PM, Shreepadma Venugopalan <
shreepadma@apache.org> wrote:

> Hi Derek,
>
> That's doesn't look right. Can you share your hive-site.xml,
> sentry-site.xml and policy files?
>
> Thanks.
> Shreepadma
>
>
>
>
> On Thu, Dec 12, 2013 at 4:01 PM, Derek Chen-Becker <dchenbecker@gmail.com
> >wrote:
>
> > Hi,
> >     I'm just getting started with Sentry and I noticed something that I
> > want to clarify. All of the documentation I've read has said that Hive
> will
> > create new tables under its warehouse directory ("/user/hive/warehouse"
> is
> > what's configured). But with Sentry enabled, it seems to be creating them
> > in the home directory of the connected user, albeit owned by the hive
> user.
> > Is that correct, or have I misconfigured something somewhere?
> >
> > Thanks,
> >
> > Derek
> >
>

Re: Hive table creation under user's home directory?

Posted by Shreepadma Venugopalan <sh...@apache.org>.
Hi Derek,

That's doesn't look right. Can you share your hive-site.xml,
sentry-site.xml and policy files?

Thanks.
Shreepadma




On Thu, Dec 12, 2013 at 4:01 PM, Derek Chen-Becker <dc...@gmail.com>wrote:

> Hi,
>     I'm just getting started with Sentry and I noticed something that I
> want to clarify. All of the documentation I've read has said that Hive will
> create new tables under its warehouse directory ("/user/hive/warehouse" is
> what's configured). But with Sentry enabled, it seems to be creating them
> in the home directory of the connected user, albeit owned by the hive user.
> Is that correct, or have I misconfigured something somewhere?
>
> Thanks,
>
> Derek
>