Hi Akshatha,

The command that is failing by looking at the log:

mkdir -p /tmp/HDP-artifacts/ ; curl -kf --retry 10
http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin
-o /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin

Can you verify that the /tmp directory has correct permissions "0777" ?

You should be able to execute this on the host yourself to find out the
exact behavior.

Best Regards,
Sid



On Fri, Feb 21, 2014 at 1:57 AM, AKSHATHA SATHYANARAYAN <
[email protected]> wrote:

>
>
> Hello,
>
>
>
> I am trying to install Hadoop cluster using Ambari and I am getting hte
> following error for Ganglia. There are two cluster nodes, which are
> installed manually. Please help resolve this issue.
>
>
> stderr:
>
> none
>
> stdout:
>
> notice: Finished catalog run in 0.04 seconds
> notice: 
> /Stage[1]/Hdp::Snmp/Hdp::Package[snmp]/Hdp::Package::Process_pkg[snmp]/Hdp::Java::Package[snmp]/Exec[mkdir
>  -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp]/returns:
> notice: 
> /Stage[1]/Hdp::Snmp/Hdp::Package[snmp]/Hdp::Package::Process_pkg[snmp]/Hdp::Java::Package[snmp]/Exec[mkdir
>  -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp]/returns: curl: (6) Couldn't 
> resolve host 'host-ambari.uisp-hadoop.com'
> err: 
> /Stage[1]/Hdp::Snmp/Hdp::Package[snmp]/Hdp::Package::Process_pkg[snmp]/Hdp::Java::Package[snmp]/Exec[mkdir
>  -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp]/returns: change from notrun 
> to 0 failed: mkdir -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin returned 6 instead of one of [0] 
> at /var/lib/ambari-agent/puppet/modules/hdp/manifests/java/package.pp:49
> notice: 
> /Stage[1]/Hdp::Snmp/Hdp::Package[snmp]/Hdp::Package::Process_pkg[snmp]/Hdp::Java::Package[snmp]/Exec[mkdir
>  -p /usr/jdk64 ; chmod +x /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin; cd 
> /usr/jdk64 ; echo A | /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin -noregister 
> > /dev/null 2>&1 snmp]: Dependency Exec[mkdir -p /tmp/HDP-artifacts/ ; curl 
> -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has failures: true
> notice: 
> /Stage[1]/Hdp::Snmp/Hdp::Package[snmp]/Hdp::Package::Process_pkg[snmp]/Hdp::Java::Package[snmp]/File[/usr/jdk64/jdk1.6.0_31/bin/java
>  snmp]: Dependency Exec[mkdir -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has failures: true
> notice: 
> /Stage[1]/Hdp::Snmp/Hdp::Package[snmp]/Hdp::Package::Process_pkg[snmp]/Hdp::Java::Package[snmp]/Anchor[hdp::java::package::snmp::end]:
>  Dependency Exec[mkdir -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has failures: true
> notice: 
> /Stage[1]/Hdp::Snmp/Hdp::Package[snmp]/Hdp::Package::Process_pkg[snmp]/Anchor[hdp::package::snmp::end]:
>  Dependency Exec[mkdir -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has failures: true
> notice: 
> /Stage[1]/Hdp::Snmp/Hdp::Snmp-configfile[snmpd.conf]/Hdp::Configfile[/etc/snmp//snmpd.conf]/File[/etc/snmp//snmpd.conf]:
>  Dependency Exec[mkdir -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has failures: true
> notice: /Stage[1]/Hdp::Snmp/Service[snmpd]: Dependency Exec[mkdir -p 
> /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has failures: true
> notice: /Stage[1]/Hdp::Snmp/Exec[snmpd_autostart]: Dependency Exec[mkdir -p 
> /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has failures: true
> notice: /Stage[1]/Hdp::Snmp/Anchor[hdp::snmp::end]: Dependency Exec[mkdir -p 
> /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has failures: true
> 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-ganglia/Anchor[hdp-ganglia::begin]: Dependency 
> Exec[mkdir -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has failures: true
> notice: /Stage[2]/Hdp-ganglia/Hdp::Group[gmetad_group]/Group[gmetad_group]: 
> Dependency Exec[mkdir -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has failures: true
> notice: /Stage[2]/Hdp-ganglia/Hdp::User[gmond_user]/User[nobody]: Dependency 
> Exec[mkdir -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has failures: true
> notice: /Stage[2]/Hdp-ganglia/Anchor[hdp-ganglia::end]: Dependency Exec[mkdir 
> -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has failures: true
> notice: 
> /Stage[2]/Hdp-ganglia::Monitor/Hdp::Package[ganglia-monitor]/Hdp::Package::Process_pkg[ganglia-monitor]/Anchor[hdp::package::ganglia-monitor::begin]:
>  Dependency Exec[mkdir -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has failures: true
> notice: 
> /Stage[2]/Hdp-ganglia::Monitor/Hdp::Package[ganglia-monitor]/Hdp::Package::Process_pkg[ganglia-monitor]/Hdp::Java::Package[ganglia-monitor]/Anchor[hdp::java::package::ganglia-monitor::begin]:
>  Dependency Exec[mkdir -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has failures: true
> notice: 
> /Stage[2]/Hdp-ganglia::Monitor/Hdp::Package[ganglia-monitor]/Hdp::Package::Process_pkg[ganglia-monitor]/Hdp::Java::Package[ganglia-monitor]/Exec[mkdir
>  -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin ganglia-monitor]: Dependency 
> Exec[mkdir -p /tmp/HDP-artifacts/ ; curl -kf --retry 10 
> http://host-ambari.uisp-hadoop.com:8080/resources//jdk-6u31-linux-x64.bin -o 
> /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has failures: true
>
>
>
>
>
> Thanks,
>
> Akshata
>
>

-- 
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.

<<inline: 201402211900619_QKNMBDIF.gif>>

Reply via email to