<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Ambari blueprints deployment and wrong JDK being installed in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-deployment-and-wrong-JDK-being-installed/m-p/204903#M59713</link>
    <description>&lt;P&gt;ok, here's what the problem was.... in the bootstrap process there are some rpm packages being installed that depend on the package 'java'... as I was installing from source no package could provide java and yum would resolve to openjdk...&lt;/P&gt;&lt;P&gt;here's a little chef snipplet that installs the rpm from oracle (you can grab the url from their official distribution):&lt;/P&gt;&lt;PRE&gt;execute 'downloading java' do
  command &amp;lt;&amp;lt;-EOF
  cd /root &amp;amp;&amp;amp; \
  wget --no-cookies --no-check-certificate --header \
  \"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie\" \
  \"#{node['java']['pkg_url']}\"
  EOF
  creates "/root/#{node['java']['pkg_name']}"
end
yum_package 'java' do
  source "/root/#{node['java']['pkg_name']}"
end

&lt;/PRE&gt;</description>
    <pubDate>Thu, 20 Apr 2017 04:29:09 GMT</pubDate>
    <dc:creator>raulvc</dc:creator>
    <dc:date>2017-04-20T04:29:09Z</dc:date>
    <item>
      <title>Ambari blueprints deployment and wrong JDK being installed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-deployment-and-wrong-JDK-being-installed/m-p/204902#M59712</link>
      <description>&lt;P&gt;I'm trying to use a custom JDK with ambari, so I setup the server with ambari-server setup -j &amp;lt;custom_java_home&amp;gt;.&lt;/P&gt;&lt;P&gt;So nothing wrong at that point, the server runs flawlessly.&lt;/P&gt;&lt;P&gt;However, if I try to provision a cluster using blueprints (which doesn't give me a JDK option unlike the manual process), during bootstrap on the agents, a yum install java-openjdk-* is executed at some unknown point...&lt;/P&gt;&lt;P&gt;*Nothing* related is printed to stdout/stderr of the components installation...&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 02:38:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-deployment-and-wrong-JDK-being-installed/m-p/204902#M59712</guid>
      <dc:creator>raulvc</dc:creator>
      <dc:date>2017-04-20T02:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari blueprints deployment and wrong JDK being installed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-deployment-and-wrong-JDK-being-installed/m-p/204903#M59713</link>
      <description>&lt;P&gt;ok, here's what the problem was.... in the bootstrap process there are some rpm packages being installed that depend on the package 'java'... as I was installing from source no package could provide java and yum would resolve to openjdk...&lt;/P&gt;&lt;P&gt;here's a little chef snipplet that installs the rpm from oracle (you can grab the url from their official distribution):&lt;/P&gt;&lt;PRE&gt;execute 'downloading java' do
  command &amp;lt;&amp;lt;-EOF
  cd /root &amp;amp;&amp;amp; \
  wget --no-cookies --no-check-certificate --header \
  \"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie\" \
  \"#{node['java']['pkg_url']}\"
  EOF
  creates "/root/#{node['java']['pkg_name']}"
end
yum_package 'java' do
  source "/root/#{node['java']['pkg_name']}"
end

&lt;/PRE&gt;</description>
      <pubDate>Thu, 20 Apr 2017 04:29:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-deployment-and-wrong-JDK-being-installed/m-p/204903#M59713</guid>
      <dc:creator>raulvc</dc:creator>
      <dc:date>2017-04-20T04:29:09Z</dc:date>
    </item>
  </channel>
</rss>

