You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2012/08/27 21:03:39 UTC

svn commit: r1377795 - /incubator/ambari/site/install.html

Author: yusaku
Date: Mon Aug 27 19:03:38 2012
New Revision: 1377795

URL: http://svn.apache.org/viewvc?rev=1377795&view=rev
Log:
AMBARI-688. Documentation typo: jce_policy-6.zip needs to be uploaded to Ambari master, not jce_policy-6.jar (Contributed by yusaku)

Modified:
    incubator/ambari/site/install.html

Modified: incubator/ambari/site/install.html
URL: http://svn.apache.org/viewvc/incubator/ambari/site/install.html?rev=1377795&r1=1377794&r2=1377795&view=diff
==============================================================================
--- incubator/ambari/site/install.html (original)
+++ incubator/ambari/site/install.html Mon Aug 27 19:03:38 2012
@@ -169,7 +169,7 @@ $ sudo yum install ambari-1.0.0-1.noarch
 $ sudo yum install hdp_mon_dashboard-0.0.1-2.noarch.rpm --nogpgcheck</pre></div><p>On RHEL/CentOS 6:</p><div class="source"><pre>$ sudo rpm -Uvh http://public-repo-1.hortonworks.com/HDP-1.0.1.14/repos/centos6/hdp-release-1.0.1.14-1.el6.noarch.rpm
 $ sudo yum install epel-release
 $ sudo yum install ambari-1.0.0-1.el6.noarch.rpm
-$ sudo yum install hdp_mon_dashboard-0.0.1-2.noarch.rpm</pre></div></li><li>Hadoop requires JDK. You can download the JDK files from the Oracle website: <a class="externalLink" href="http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html"> http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html</a> After accepting the license and downloading the files, copy them to /var/run/hmc/downloads/ directory on the Ambari master (Note: Upon download, these files may have .sh extension, so make sure you remove the .sh extension from the filenames and also set the execute permission on them). Also, JCE Policy Files 6 needs to be downloaded and uploaded to the same directory on the Ambari master server (/var/run/hmc/downloads/). You can download it from <a class="externalLink" href="http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html"> http://www.oracle.com/technetwork/java/javase/downloads/jce-6-
 download-429243.html</a><p>1) jdk-6u26-linux-x64.bin</p><p>2) jdk-6u26-linux-i586.bin</p><p>3) jce_policy-6.jar</p></li></ul></div><div class="section"><h2>How to run Ambari<a name="How_to_run_Ambari"></a></h2><div class="source"><pre>$ sudo service ambari start</pre></div><p>Now that Ambari server is installed and started, you can start installing Apache Hadoop and its ecosystem components on your cluster nodes by visiting:</p><p>http://AMBARIMASTER/hmc/html/</p><p>from your browser.</p></div><div class="section"><h2>Notes for Developers<a name="Notes_for_Developers"></a></h2><p>If you have made any changes to Nagios or Ganglia addons code (mon_dashboard/src/addOns/[ganglia|nagios]), you will also have to install hdp_mon_ganglia_addons-0.0.1-2.noarch.rpm and hdp_mon_nagios_addons-0.0.1-2.noarch.rpm on the hosts running Ganglia and Nagios server, respectively, to make your changes effective. After your Hadoop cluster is installed using Ambari, go to the host(s) running Nagio
 s and Ganglia server, remove these pre-installed addon RPMs for Nagios and Ganglia, and install the new ones built from the source. To build these RPMs from the source, run:</p><div class="source"><pre>$ cd mon_dashboard/package/rpm
+$ sudo yum install hdp_mon_dashboard-0.0.1-2.noarch.rpm</pre></div></li><li>Hadoop requires JDK. You can download the JDK files from the Oracle website: <a class="externalLink" href="http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html"> http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html</a> After accepting the license and downloading the files, copy them to /var/run/hmc/downloads/ directory on the Ambari master (Note: Upon download, these files may have .sh extension, so make sure you remove the .sh extension from the filenames and also set the execute permission on them). Also, JCE Policy Files 6 needs to be downloaded and uploaded to the same directory on the Ambari master server (/var/run/hmc/downloads/). You can download it from <a class="externalLink" href="http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html"> http://www.oracle.com/technetwork/java/javase/downloads/jce-6-
 download-429243.html</a><p>1) jdk-6u26-linux-x64.bin</p><p>2) jdk-6u26-linux-i586.bin</p><p>3) jce_policy-6.zip</p></li></ul></div><div class="section"><h2>How to run Ambari<a name="How_to_run_Ambari"></a></h2><div class="source"><pre>$ sudo service ambari start</pre></div><p>Now that Ambari server is installed and started, you can start installing Apache Hadoop and its ecosystem components on your cluster nodes by visiting:</p><p>http://AMBARIMASTER/hmc/html/</p><p>from your browser.</p></div><div class="section"><h2>Notes for Developers<a name="Notes_for_Developers"></a></h2><p>If you have made any changes to Nagios or Ganglia addons code (mon_dashboard/src/addOns/[ganglia|nagios]), you will also have to install hdp_mon_ganglia_addons-0.0.1-2.noarch.rpm and hdp_mon_nagios_addons-0.0.1-2.noarch.rpm on the hosts running Ganglia and Nagios server, respectively, to make your changes effective. After your Hadoop cluster is installed using Ambari, go to the host(s) running Nagio
 s and Ganglia server, remove these pre-installed addon RPMs for Nagios and Ganglia, and install the new ones built from the source. To build these RPMs from the source, run:</p><div class="source"><pre>$ cd mon_dashboard/package/rpm
 $ ./create_ganglia_addon_rpm.sh
 $ ./create_nagios_addon_rpm.sh</pre></div><p>Running the above creates the following two RPMs:</p><ul><li>mon_dashboard/package/rpm/build/rpmbuild/RPMS/noarch/hdp_mon_ganglia_addons-0.0.1-2.noarch.rpm</li><li>mon_dashboard/package/rpm/build/rpmbuild/RPMS/noarch/hdp_mon_nagios_addons-0.0.1-2.noarch.rpm</li></ul></div>