ambari-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jayesh Thakrar <>
Subject Re: Amabri - with custom java - version
Date Thu, 09 Jul 2015 18:27:42 GMT
Although not supported with Ambari 2.0, we are using it today.To do so, during Ambari server
s/w install specify custom Java and give its path.Note that Java should be at the same location
on all servers.
Once you do that, the /etc/ambari-server/conf/ properties file will have
that path for the property "java.home".E.g. here's ours -,jdk1.6jdk1.6.desc=Oracle JDK 1.6jdk1.6.dest-file=jdk-6u31-linux-x64.binjdk1.6.home=/usr/jdk64/jdk1.6.jcpol-file=jce_policy-6.zipjdk1.6.jcpol-url=
JDK 1.7jdk1.7.dest-file=jdk-7u67-linux-x64.tar.gzjdk1.7.home=/usr/jdk64/jdk1.7.jcpol-file=UnlimitedJCEPolicyJDK7.zipjdk1.7.jcpol-url=*)/jrejdk1.7.url=
      From: Satyanarayana Jampa <>
 To: "" <> 
 Sent: Thursday, July 9, 2015 1:20 PM
 Subject: Amabri - with custom java - version
 <!--#yiv6939200651 _filtered #yiv6939200651 {font-family:"Cambria Math";panose-1:2 4 5
3 5 4 6 3 2 4;} _filtered #yiv6939200651 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2
4;}#yiv6939200651 #yiv6939200651 p.yiv6939200651MsoNormal, #yiv6939200651 li.yiv6939200651MsoNormal,
#yiv6939200651 div.yiv6939200651MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri",
sans-serif;}#yiv6939200651 a:link, #yiv6939200651 span.yiv6939200651MsoHyperlink {color:#0563C1;text-decoration:underline;}#yiv6939200651
a:visited, #yiv6939200651 span.yiv6939200651MsoHyperlinkFollowed {color:#954F72;text-decoration:underline;}#yiv6939200651
span.yiv6939200651EmailStyle17 {font-family:"Calibri", sans-serif;color:windowtext;}#yiv6939200651
.yiv6939200651MsoChpDefault {font-family:"Calibri", sans-serif;} _filtered #yiv6939200651
{margin:72.0pt 72.0pt 72.0pt 72.0pt;}#yiv6939200651 div.yiv6939200651WordSection1 {}-->Hi,
                I am configuring java-1.8 to be used with Ambari during the
“ambari-server setup” option. Also, I added the java-1.8 on all the nodes manually and
have set the class path and JAVA_HOME.                 While installing Hadoop
components, the Ambari is installing its default java-version, instead of using the existing
java-1.8.                 How can we say Ambari not to install pre-packaged
java and use the one which was manually setup on all the datanodes.    Thanks, Satya.   

View raw message