Hmm, strange then. I was installing the client on the same box as the secondary namenode (don't ask why). I tried 3 times, all with the same error.
I've since moved from Ambari 1.2.4 to 1.2.5 and don't see the issue any more. -Christian On Wed, Oct 2, 2013 at 8:34 PM, Mahadev Konar <[email protected]>wrote: > Hi Chris, > Not really. The rpm oozie when installed will create a oozie user unless > a local user creation is prohibited in your settings. Is that thecase? > > > mahadev > > On Tue, Oct 1, 2013 at 12:35 PM, Christian Smith < > [email protected]> wrote: > >> Hi, >> >> I'm installing clusters via the API and the Oozie client is failing to >> install because it cannot find a user 'oozie'. Is there a prerequisite to >> install the oozie client on a node? >> >> (Error below) >> >> Thanks, >> Christian >> >> >> >> - exit_code: 6, >> - stdout: "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 >> notice: >> >> /Stage[2]/Hdp-oozie/Hdp::Package[oozie-client]/Hdp::Package::Process_pkg[oozie-client]/Package[oozie-client.noarch]/ensure: >> created notice: >> >> /Stage[2]/Hdp-oozie/Hdp::Package[oozie-client]/Hdp::Package::Process_pkg[oozie-client]/Hdp::Java::Package[oozie-client]/File[/opt/jdk/bin/java >> oozie-client]/ensure: created err: >> /Stage[2]/Hdp-oozie/Hdp::Directory[/etc/oozie/conf]/File[/etc/oozie/conf]: >> Could not evaluate: Could not find user oozie notice: >> >> /Stage[2]/Hdp-oozie/Hdp-oozie::Configfile[oozie-log4j.properties]/Hdp::Configfile[/etc/oozie/conf/oozie-log4j.properties]/File[/etc/oozie/conf/oozie-log4j.properties]: >> Dependency File[/etc/oozie/conf] has failures: true warning: >> >> /Stage[2]/Hdp-oozie/Hdp-oozie::Configfile[oozie-log4j.properties]/Hdp::Configfile[/etc/oozie/conf/oozie-log4j.properties]/File[/etc/oozie/conf/oozie-log4j.properties]: >> Skipping because of failed dependencies notice: >> >> /Stage[2]/Hdp-oozie/Hdp-oozie::Configfile[oozie-env.sh]/Hdp::Configfile[/etc/oozie/conf/oozie-env.sh]/File[/etc/oozie/conf/oozie-env.sh]: >> Dependency File[/etc/oozie/conf] has failures: true warning: >> >> /Stage[2]/Hdp-oozie/Hdp-oozie::Configfile[oozie-env.sh]/Hdp::Configfile[/etc/oozie/conf/oozie-env.sh]/File[/etc/oozie/conf/oozie-env.sh]: >> Skipping because of failed dependencies notice: >> >> /Stage[2]/Hdp-oozie/Hdp-oozie::Ownership[ownership]/File[/etc/oozie/conf/action-conf]: >> Dependency File[/etc/oozie/conf] has failures: true warning: >> >> /Stage[2]/Hdp-oozie/Hdp-oozie::Ownership[ownership]/File[/etc/oozie/conf/action-conf]: >> Skipping because of failed dependencies notice: >> >> /Stage[2]/Hdp-oozie/Hdp-oozie::Ownership[ownership]/File[/etc/oozie/conf/hadoop-config.xml]: >> Dependency File[/etc/oozie/conf] has failures: true warning: >> >> /Stage[2]/Hdp-oozie/Hdp-oozie::Ownership[ownership]/File[/etc/oozie/conf/hadoop-config.xml]: >> Skipping because of failed dependencies notice: >> >> /Stage[2]/Hdp-oozie/Hdp-oozie::Ownership[ownership]/File[/etc/oozie/conf/action-conf/hive.xml]: >> Dependency File[/etc/oozie/conf] has failures: true warning: >> >> /Stage[2]/Hdp-oozie/Hdp-oozie::Ownership[ownership]/File[/etc/oozie/conf/action-conf/hive.xml]: >> Skipping because of failed dependencies notice: >> >> /Stage[2]/Hdp-oozie/Hdp-oozie::Ownership[ownership]/File[/etc/oozie/conf/adminusers.txt]: >> Dependency File[/etc/oozie/conf] has failures: true warning: >> >> /Stage[2]/Hdp-oozie/Hdp-oozie::Ownership[ownership]/File[/etc/oozie/conf/adminusers.txt]: >> Skipping because of failed dependencies notice: >> >> /Stage[2]/Hdp-oozie/Hdp-oozie::Ownership[ownership]/File[/etc/oozie/conf/oozie-default.xml]: >> Dependency File[/etc/oozie/conf] has failures: true warning: >> >> /Stage[2]/Hdp-oozie/Hdp-oozie::Ownership[ownership]/File[/etc/oozie/conf/oozie-default.xml]: >> Skipping because of failed dependencies notice: >> /Stage[2]/Hdp-oozie/Anchor[hdp-oozie::end]: Dependency >> File[/etc/oozie/conf] has failures: true warning: >> /Stage[2]/Hdp-oozie/Anchor[hdp-oozie::end]: Skipping because of failed >> dependencies notice: >> >> /Stage[2]/Hdp-oozie/Configgenerator::Configfile[oozie-site]/File[/etc/oozie/conf/oozie-site.xml]: >> Dependency File[/etc/oozie/conf] has failures: true warning: >> >> /Stage[2]/Hdp-oozie/Configgenerator::Configfile[oozie-site]/File[/etc/oozie/conf/oozie-site.xml]: >> Skipping because of failed dependencies notice: Finished catalog run in >> 31.76 seconds", >> - status: "FAILED", >> - stderr: "None", >> - host_name: "base-hadoop-cluster-1-1-10617547.greenbutton.local", >> - id: 35, >> - cluster_name: "base-hadoop-cluster-1", >> - attempt_cnt: 1, >> - request_id: 1, >> - command: "INSTALL", >> - role: "OOZIE_CLIENT", >> - start_time: 1380655545088, >> - stage_id: 1 >> >> > > 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.
