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" <[email protected]> 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.
