hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Starry SHI <starr...@gmail.com>
Subject Re: how to assign each hadoop user to different group?
Date Fri, 18 Dec 2009 06:13:44 GMT
Thank you Allen.

After I format the filesystem and restart hadoop, the permission control is
enabled. I think it was caused by inconsistent state in HDFS.

Thank you very much!
Starry

/* Tomorrow is another day. So is today. */


On Fri, Dec 18, 2009 at 03:37, Allen Wittenauer <awittenauer@linkedin.com>wrote:

> Group permissions come from id/whoami/etc. So define them that way in UNIX
> and it should get carried over to Hadoop.
>
> That said, it is probably the wrong behavior to have the default when group
> resolution fails to be supergroup.
>
>
> On 12/17/09 4:11 AM, "Starry SHI" <starrysl@gmail.com> wrote:
>
> > Hi.
> >
> > My Hadoop cluster (0.20.1) has multiple users. When I use different
> user's
> > account to create a file in HDFS, I find that no matter what group the
> user
> > belonging to in Linux, the files in HDFS indicate that they belongs to
> > userX, supergroup. I wonder why all users are belonging to group
> > "supergroup"? Is there any way that the users can be assigned to
> different
> > groups in HDFS? I want to have them belong to different groups, so that
> the
> > user belongs to group A (say, oridinary user) cannot access to group B
> (e.g.
> > administrator group)?
> >
> > Hope to hear from your solutions soon!
> >
> > Starry
> >
> > /* Tomorrow is another day. So is today. */
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message