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