You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by Amirdha Gopal R <am...@thoughtworks.com> on 2017/09/30 20:08:40 UTC

Group permissions for files written using Crunch

Dear community,

The reducer part files that are written using Crunch pipelines has the
correct username but the groupname is marked as '*supergroup*', to which
the user does not belong to.

How does group membership is derived by Crunch? Also, is there a way to
specify the group information to be used for those part files in Crunch
configuration?

Thanks,
Amirdha Gopal R

Re: Group permissions for files written using Crunch

Posted by Josh Wills <jo...@gmail.com>.
It works the same way it does for MapReduce- the group is derived from the
group of the parent directory. If you need to change the group permissions
prior to writing the output, you can do something like this:

https://community.hortonworks.com/questions/224/inherit-group-ownership-from-user-not-directory.html

On Sat, Sep 30, 2017 at 4:15 PM Amirdha Gopal R <am...@thoughtworks.com>
wrote:

> Dear community,
>
> The reducer part files that are written using Crunch pipelines has the
> correct username but the groupname is marked as '*supergroup*', to which
> the user does not belong to.
>
> How does group membership is derived by Crunch? Also, is there a way to
> specify the group information to be used for those part files in Crunch
> configuration?
>
> Thanks,
> Amirdha Gopal R
>