Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-62

Package install/upgrade may fail if Hadoop users are present in LDAP

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: CDH3b3
    • Fix Version/s: CDH4b1
    • Component/s: Hadoop Common, Packaging
    • Labels:
      None
    • Environment:
      CentOS

      Description

      The preinst script in hadoop-0.20 (+737-1) is not idempotent and leads to issues if yum install hadoop-0.20 is run more than once. We should check if the hadoop -> hdfs / mapred user changes have already been made and trivially succeed.

      Downloading Packages:
      hadoop-0.20-0.20.2+737-1.noarch.rpm | 37 MB 00:36
      Running rpm_check_debug
      Running Transaction Test
      Finished Transaction Test
      Transaction Test Succeeded
      Running Transaction
      usermod: hadoop not found in /etc/passwd
      error: %pre(hadoop-0.20-0.20.2+737-1.noarch) scriptlet failed, exit status 6
      error: install: %pre scriptlet failed (2), skipping hadoop-0.20-0.20.2+737-1

        Attachments

          Activity

            People

            • Assignee:
              plinnell Peter Linnell
              Reporter:
              esammer Eric Sammer
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: