Return-Path: X-Original-To: apmail-ambari-user-archive@www.apache.org Delivered-To: apmail-ambari-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1C9211B4E for ; Tue, 8 Apr 2014 21:02:48 +0000 (UTC) Received: (qmail 63590 invoked by uid 500); 8 Apr 2014 21:02:48 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 63365 invoked by uid 500); 8 Apr 2014 21:02:46 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 63353 invoked by uid 99); 8 Apr 2014 21:02:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2014 21:02:44 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of orenault@hortonworks.com designates 209.85.128.174 as permitted sender) Received: from [209.85.128.174] (HELO mail-ve0-f174.google.com) (209.85.128.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2014 21:02:40 +0000 Received: by mail-ve0-f174.google.com with SMTP id oz11so1285657veb.5 for ; Tue, 08 Apr 2014 14:02:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=cvy/qvQrNxsL6fGxFvXiN7UOml2hh4pQeMxbpjPmUHg=; b=YgunxuXBl3DAFtr9uJgShx2ZA6+NZd42Oe7WrXPyVG78kLf2xykWvaplJeCS0zuTm5 NPqco1LUILLaXKjdw/1Bkr/veLwadhrvXDFrjz0oPSmsdOn558FzHnf4w7F7WbwJlhhO eFimLp9J3zbAUrXj8dA571Yn4uCYGWG8EZenJ6QyqgQ9NY1tjxB7iw+n1NGAktddHZuI N7xl1X6arElwthHvpH4joNQ1H3E9nDlHLp3y0zD+zPmP4aM8pLhzY+RMWaTZx6VV6kY2 thQh3BntCoMEx5O60GH9UVTewN8Smb0+j6iOkCPVknLmUY+HZ5GLP1cTa8+roxeC9W5C 3AvQ== X-Gm-Message-State: ALoCoQlVhOLRtDBmeBgf4LHR6iMfuB/E43VNuFrP6O2C8pmliF7mg9xNzkZqtCR66Ns2yGLPAFzq2MukGXEjlWp+u0LU/gdOYrcEKNMzyR6h6XHDoYTjI1s= MIME-Version: 1.0 X-Received: by 10.52.12.36 with SMTP id v4mr4352159vdb.20.1396990938866; Tue, 08 Apr 2014 14:02:18 -0700 (PDT) Received: by 10.221.26.132 with HTTP; Tue, 8 Apr 2014 14:02:18 -0700 (PDT) Received: by 10.221.26.132 with HTTP; Tue, 8 Apr 2014 14:02:18 -0700 (PDT) In-Reply-To: <99C8B2929B39C24493377AC7A121E21FC5E4AF45CD@USEA-EXCH8.na.uis.unisys.com> References: <99C8B2929B39C24493377AC7A121E21FC5E4AF45CD@USEA-EXCH8.na.uis.unisys.com> Date: Tue, 8 Apr 2014 23:02:18 +0200 Message-ID: Subject: Re: fail messages from Ambari From: Olivier Renault To: user@ambari.apache.org Content-Type: multipart/alternative; boundary=485b397dd299aa7ac604f68e4c98 X-Virus-Checked: Checked by ClamAV on apache.org --485b397dd299aa7ac604f68e4c98 Content-Type: text/plain; charset=US-ASCII You can run ambari-server setup -j /path/to/your/jdk You should also make sure that you have got it installed on all nodes in your clusters. Kind regards Olivier On 8 Apr 2014 19:38, "Benbenek, Waldyn J" wrote: > I am getting the following message about a failure to load a package. I > can't tell what the package is that it is complaining about. > > Does anyone have a clue. > > > > ^[[1;35merr: > /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://localhost: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://localhost:8080/resources//jdk-6u31-linux-x64.bin -o > /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin returned 7 instead of one of [0] > at > /var/lib/ambari-agent/puppet/modules/hdp/manifests/java/package.pp:49^[[0m > > ^[[0;36mnotice: > /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://localhost:8080/resources//jdk-6u31-linux-x64.bin -o > /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has failures: true^[[0m > > > > I believe I have snmp installed. My local java is 1.7 sdk. Is that the > problem? Do I need to tell is somehow about that? > > > > Thanks, > > > > Wally > -- 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. --485b397dd299aa7ac604f68e4c98 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

You can run ambari-server setup -j /path/to/your/jdk

You should also make sure that you have got it installed on = all nodes in your clusters.

Kind regards
Olivier

On 8 Apr 2014 19:38, "Benbenek, Waldyn J&qu= ot; <Waldyn.Benbenek@unisy= s.com> wrote:

I am getting the following message about a failure to load a package.&n= bsp; I can’t tell what the package is that it is complaining about.

Does anyone have  a clue.

 

^[[1;35me= rr: /Stage[1]/Hdp::Snmp/Hdp::Package[snmp]/Hdp::Package::Process_pkg[snmp]/= Hdp::Java::Package[snmp]/Exec[mkdir -p /tmp/HDP-artifacts/ ; curl -kf --ret= ry 10 http://localhost: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://localhost:8080/resources//jdk-6u31-linux-x64.bin -o /tmp/= HDP-artifacts//jdk-6u31-linux-x64.bin returned 7 instead of one of [0] at /= var/lib/ambari-agent/puppet/modules/hdp/manifests/java/package.pp:49^[[0m

^[[0;36mnotice: /Stage[1]/Hdp::Snmp/Hdp::Package[snm= p]/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/jd= k64 ; 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://localhost:8080/resources//jdk-6u31-l= inux-x64.bin -o /tmp/HDP-artifacts//jdk-6u31-linux-x64.bin snmp] has fa= ilures: true^[[0m

 

I bel= ieve I have snmp installed.  My local java is 1.7 sdk.  Is that t= he problem?  Do I need to tell is somehow about that?

 

Thanks,

 

Wally=


CONFIDENTIALITY NOTICE
NOTICE: This message is = intended for the use of the individual or entity to which it is addressed a= nd 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, dis= semination, distribution, disclosure or forwarding of this communication is= strictly prohibited. If you have received this communication in error, ple= ase contact the sender immediately and delete it from your system. Thank Yo= u. --485b397dd299aa7ac604f68e4c98--