These could be the reason: useradd: Can't get unique system GID (no more available GIDs) useradd: can't create group
See if http://superuser.com/questions/666505/creating-new-user-using-useradd-but-fails-since-its-unable-to-create-group-in-osolves it? On Thu, Mar 20, 2014 at 4:55 PM, Anfernee Xu <[email protected]> wrote: > Hi, > > I followed the instruction mentioned in > http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.9.1/bk_using_Ambari_book/content/ambari-chap1-1.html, > my goal is evaluating the single host deployment before put it into > production. > > I have got Ambari server/agent running and got some > components(datanode/client) installed without problem, but keep failing at > historyserver installation with below error. > > BTW, because my environment is kind of restricted by my IT, so I used my > local account/group for all service user/group. > > Thanks for your help. > > > stdout: > > notice: Finished catalog run in 0.14 seconds > notice: /Stage[1]/Hdp::Snmp/Exec[snmpd_autostart]/returns: executed > successfully > notice: > /Stage[1]/Hdp::Snappy::Package/Hdp::Snappy::Package::Ln[32]/Hdp::Exec[hdp::snappy::package::ln > 32]/Exec[hdp::snappy::package::ln 32]/returns: executed successfully > err: > /Stage[2]/Hdp-yarn::Initialize/Hdp-yarn::Package[yarn-common]/Hdp::Package[yarn-common]/Hdp::Package::Process_pkg[yarn-common]/Package[hadoop-yarn]/ensure: > change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 > -y install hadoop-yarn' returned 1: Error in PREIN scriptlet in rpm package > hadoop-yarn-2.2.0.2.0.6.0-102.el6.x86_64 > useradd: Can't get unique system GID (no more available GIDs) > useradd: can't create group > error: %pre(hadoop-yarn-2.2.0.2.0.6.0-102.el6.x86_64) scriptlet failed, > exit status 4 > error: install: %pre scriptlet failed (2), skipping > hadoop-yarn-2.2.0.2.0.6.0-102.el6 > > notice: > /Stage[2]/Hdp-yarn::Initialize/Hdp-yarn::Package[yarn-common]/Hdp::Package[yarn-common]/Hdp::Package::Process_pkg[yarn-common]/Anchor[hdp::package::yarn-common::end]: > Dependency Package[hadoop-yarn] has failures: true > notice: > /Stage[2]/Hdp-yarn::Initialize/Hdp-yarn::Package[yarn-common]/Anchor[hdp-yarn::package::yarn-common::end]: > Dependency Package[hadoop-yarn] has failures: true > notice: > /Stage[2]/Hdp-yarn::Initialize/Hdp::Configfile[/etc/security/limits.d/yarn.conf]/File[/etc/security/limits.d/yarn.conf]: > Dependency Package[hadoop-yarn] has failures: true > notice: > /Stage[2]/Hdp-yarn::Initialize/Hdp-yarn::Generate_common_configs[yarn-common-configs]/Hdp::Configfile[/etc/hadoop/conf/hadoop-env.sh]/File[/etc/hadoop/conf/hadoop-env.sh]: > Dependency Package[hadoop-yarn] has failures: true > notice: > /Stage[2]/Hdp-yarn::Initialize/Hdp-yarn::Generate_common_configs[yarn-common-configs]/Hdp::Configfile[/etc/hadoop/conf/yarn-env.sh]/File[/etc/hadoop/conf/yarn-env.sh]: > Dependency Package[hadoop-yarn] has failures: true > notice: > /Stage[2]/Hdp-yarn::Initialize/Hdp-yarn::Generate_common_configs[yarn-common-configs]/Configgenerator::Configfile[capacity-scheduler]/File[/etc/hadoop/conf/capacity-scheduler.xml]: > Dependency Package[hadoop-yarn] has failures: true > notice: > /Stage[2]/Hdp-yarn::Initialize/Hdp-yarn::Generate_common_configs[yarn-common-configs]/Configgenerator::Configfile[core-site]/File[/etc/hadoop/conf/core-site.xml]: > Dependency Package[hadoop-yarn] has failures: true > notice: > /Stage[2]/Hdp-yarn::Initialize/Hdp-yarn::Generate_common_configs[yarn-common-configs]/Configgenerator::Configfile[yarn-site]/File[/etc/hadoop/conf/yarn-site.xml]: > Dependency Package[hadoop-yarn] has failures: true > notice: > /Stage[2]/Hdp-yarn::Initialize/Hdp-yarn::Generate_common_configs[yarn-common-configs]/Configgenerator::Configfile[mapred-site]/File[/etc/hadoop/conf/mapred-site.xml]: > Dependency Package[hadoop-yarn] has failures: true > notice: /Stage[2]/Hdp-yarn::Initialize/Anchor[hdp-yarn::initialize::end]: > Dependency Package[hadoop-yarn] has failures: true > notice: Finished catalog run in 24.29 seconds > -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.
