You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Bruno Mahé (JIRA)" <ji...@apache.org> on 2012/07/15 00:22:34 UTC

[jira] [Commented] (BIGTOP-674) Installing hadoop-mapreduce package uses 'hadoop' group before creation

    [ https://issues.apache.org/jira/browse/BIGTOP-674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13414529#comment-13414529 ] 

Bruno Mahé commented on BIGTOP-674:
-----------------------------------

How did you install hadoop-mapreduce package?
What error do you see?
What steps have you been through?

The group hadoop is created as part of the package hadoop and therefore will be created before hadoop-mapreduce gets installed.
See https://github.com/apache/bigtop/blob/trunk/bigtop-packages/src/deb/hadoop/hadoop.preinst#L35
                
> Installing hadoop-mapreduce package uses 'hadoop' group before creation
> -----------------------------------------------------------------------
>
>                 Key: BIGTOP-674
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-674
>             Project: Bigtop
>          Issue Type: Bug
>         Environment: Debian 12.04, probably other DEB and RPM-based distros
>            Reporter: Sean Mackrory
>         Attachments: BIGTOP-674.patch
>
>
> When installing the hadoop-mapreduce package, users and files are assigned to the 'hadoop' group before that group has been created.
> I'm still working on verifying all the details for RPMs, but I will attached a patch that fixes this for DEBs (and quite possibly for RPMs too). It doesn't make sense to me why the group has not been added earlier. The hadoop group is added in the hadoop.spec file on line 510, and in the hadoop.preinst script - and I think both of these are supposed to execute before the lines where I've added the group in the attached patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira