Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-674

Installing hadoop-mapreduce package uses 'hadoop' group before creation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None
    • Debian 12.04, probably other DEB and RPM-based distros

    Description

      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.

      Attachments

        1. BIGTOP-674.patch
          1 kB
          Sean Mackrory

        Activity

          People

            bmahe Bruno Mahé
            mackrorysd Sean Mackrory
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: