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/31 00:23:04 UTC

svn commit: r1379191 - in /incubator/ambari/site: install-0.9.html install.html

Author: yusaku
Date: Thu Aug 30 22:23:03 2012
New Revision: 1379191

URL: http://svn.apache.org/viewvc?rev=1379191&view=rev
Log:
AMBARI-690. Monitoring Dashboard - update the RPM version and documentation (Contributed by yusaku)

Modified:
    incubator/ambari/site/install-0.9.html
    incubator/ambari/site/install.html

Modified: incubator/ambari/site/install-0.9.html
URL: http://svn.apache.org/viewvc/incubator/ambari/site/install-0.9.html?rev=1379191&r1=1379190&r2=1379191&view=diff
==============================================================================
--- incubator/ambari/site/install-0.9.html (original)
+++ incubator/ambari/site/install-0.9.html Thu Aug 30 22:23:03 2012
@@ -1,6 +1,6 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
-<!-- Generated by Apache Maven Doxia at Aug 24, 2012 -->
+<!-- Generated by Apache Maven Doxia at Aug 30, 2012 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
@@ -22,7 +22,7 @@
 
     <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
 
-    <meta name="Date-Revision-yyyymmdd" content="20120824" />
+    <meta name="Date-Revision-yyyymmdd" content="20120830" />
 
     <meta http-equiv="Content-Language" content="en" />
 
@@ -71,7 +71,7 @@
 
                 <div class="xleft">
 
-        <span id="publishDate">Last Published: 2012-08-24</span>
+        <span id="publishDate">Last Published: 2012-08-30</span>
 
                   &nbsp;| <span id="projectVersion">Version: 0.9.0</span>
 
@@ -158,7 +158,7 @@ $ cd ambari/hmc/package/rpm
 $ ./create_hmc_rpm.sh
 
 $ cd ambari/mon_dashboard/package/rpm
-$ ./create_dashboard_rpm.sh</pre></div><p>When this succeeds, you will find following RPMs inside the ambari directory:</p><p>1) ambari/hmc/package/rpm/build/rpmbuild/RPMS/noarch/ambari-0.9.0-1[.el6].noarch.rpm</p><p>2) ambari/hmc/package/rpm/build/rpmbuild/RPMS/noarch/ambari-agent-0.9.0-1[.el6].noarch.rpm</p><p>3) ambari/mon_dashboard/package/rpm/build/rpmbuild/RPMS/noarch/hdp_mon_dashboard-0.0.1-2.noarch.rpm</p></div><div class="section"><h2>Installing Ambari<a name="Installing_Ambari"></a></h2><p>We will refer to the node running the Ambari server as <i>Ambari master</i> and the nodes to which Hadoop services will be installed as <i>cluster nodes</i>.</p><p>1) Set up password-less SSH for root on all your cluster nodes.</p><ul><li>Copy root's SSH public key to all the cluster nodes in the .ssh/authorized_keys file.</li><li>Save the corresponding SSH private key file locally. You will be prompted by Ambari UI to upload it during cluster installation.</li></ul><p>2) Install
  ambari-agent on each of the cluster nodes.</p><ul><li>To install ambari-agent, point to the freely accessible HDP repo that contains the required dependencies (e.g., Puppet). Then use yum to install ambari-agent RPM and all of its dependencies.<p>On RHEL/CentOS 5:</p><div class="source"><pre>$ sudo rpm -Uvh http://public-repo-1.hortonworks.com/HDP-1.0.1.14/repos/centos5/hdp-release-1.0.1.14-1.el5.noarch.rpm
+$ ./create_dashboard_rpm.sh</pre></div><p>When this succeeds, you will find following RPMs inside the ambari directory:</p><p>1) ambari/hmc/package/rpm/build/rpmbuild/RPMS/noarch/ambari-0.9.0-1[.el6].noarch.rpm</p><p>2) ambari/hmc/package/rpm/build/rpmbuild/RPMS/noarch/ambari-agent-0.9.0-1[.el6].noarch.rpm</p><p>3) ambari/mon_dashboard/package/rpm/build/rpmbuild/RPMS/noarch/hdp_mon_dashboard-0.0.2.14-1.noarch.rpm</p></div><div class="section"><h2>Installing Ambari<a name="Installing_Ambari"></a></h2><p>We will refer to the node running the Ambari server as <i>Ambari master</i> and the nodes to which Hadoop services will be installed as <i>cluster nodes</i>.</p><p>1) Set up password-less SSH for root on all your cluster nodes.</p><ul><li>Copy root's SSH public key to all the cluster nodes in the .ssh/authorized_keys file.</li><li>Save the corresponding SSH private key file locally. You will be prompted by Ambari UI to upload it during cluster installation.</li></ul><p>2) Inst
 all ambari-agent on each of the cluster nodes.</p><ul><li>To install ambari-agent, point to the freely accessible HDP repo that contains the required dependencies (e.g., Puppet). Then use yum to install ambari-agent RPM and all of its dependencies.<p>On RHEL/CentOS 5:</p><div class="source"><pre>$ sudo rpm -Uvh http://public-repo-1.hortonworks.com/HDP-1.0.1.14/repos/centos5/hdp-release-1.0.1.14-1.el5.noarch.rpm
 $ sudo yum install epel-release
 $ sudo yum install ambari-agent-0.9.0-1.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
@@ -166,12 +166,12 @@ $ sudo yum install ambari-agent-0.9.0-1.
 $ sudo yum install epel-release
 $ sudo yum install php-pecl-json
 $ sudo yum install ambari-0.9.0-1.noarch.rpm --nogpgcheck
-$ 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 hdp_mon_dashboard-0.0.2.14-1.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-0.9.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 following 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)<p>1) jdk-6u26-linux-x64.bin</p><p>2) jdk-6u26-linux-i586.bin</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 compone
 nts 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 Nagios 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.2.14-1.noarch.rpm</pre></div></li><li>Hadoop requires JDK. You can download following 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)<p>1) jdk-6u26-linux-x64.bin</p><p>2) jdk-6u26-linux-i586.bin</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 comp
 onents 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.2.14-1.noarch.rpm and hdp_mon_nagios_addons-0.0.2.14-1.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 Nagios 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>
+$ ./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.2.14-1.noarch.rpm</li><li>mon_dashboard/package/rpm/build/rpmbuild/RPMS/noarch/hdp_mon_nagios_addons-0.0.2.14-1.noarch.rpm</li></ul></div>
 
       </div>
 

Modified: incubator/ambari/site/install.html
URL: http://svn.apache.org/viewvc/incubator/ambari/site/install.html?rev=1379191&r1=1379190&r2=1379191&view=diff
==============================================================================
--- incubator/ambari/site/install.html (original)
+++ incubator/ambari/site/install.html Thu Aug 30 22:23:03 2012
@@ -1,6 +1,6 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
-<!-- Generated by Apache Maven Doxia at Aug 24, 2012 -->
+<!-- Generated by Apache Maven Doxia at Aug 30, 2012 -->
 
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
@@ -22,7 +22,7 @@
 
     <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
 
-    <meta name="Date-Revision-yyyymmdd" content="20120824" />
+    <meta name="Date-Revision-yyyymmdd" content="20120830" />
 
     <meta http-equiv="Content-Language" content="en" />
 
@@ -71,7 +71,7 @@
 
                 <div class="xleft">
 
-        <span id="publishDate">Last Published: 2012-08-24</span>
+        <span id="publishDate">Last Published: 2012-08-30</span>
 
                   &nbsp;| <span id="projectVersion">Version: 1.0.0-SNAPSHOT</span>
 
@@ -158,7 +158,7 @@ $ cd ambari/hmc/package/rpm
 $ ./create_hmc_rpm.sh
 
 $ cd ambari/mon_dashboard/package/rpm
-$ ./create_dashboard_rpm.sh</pre></div><p>When this succeeds, you will find following RPMs inside the ambari directory:</p><p>1) ambari/hmc/package/rpm/build/rpmbuild/RPMS/noarch/ambari-1.0.0-1[.el6].noarch.rpm</p><p>2) ambari/hmc/package/rpm/build/rpmbuild/RPMS/noarch/ambari-agent-1.0.0-1[.el6].noarch.rpm</p><p>3) ambari/mon_dashboard/package/rpm/build/rpmbuild/RPMS/noarch/hdp_mon_dashboard-0.0.1-2.noarch.rpm</p></div><div class="section"><h2>Installing Ambari<a name="Installing_Ambari"></a></h2><p>We will refer to the node running the Ambari server as <i>Ambari master</i> and the nodes to which Hadoop services will be installed as <i>cluster nodes</i>.</p><p>1) Set up password-less SSH for root on all your cluster nodes.</p><ul><li>Copy root's SSH public key to all the cluster nodes in the .ssh/authorized_keys file.</li><li>Save the corresponding SSH private key file locally. You will be prompted by Ambari UI to upload it during cluster installation.</li></ul><p>2) Install
  ambari-agent on each of the cluster nodes.</p><ul><li>To install ambari-agent, point to the freely accessible HDP repo that contains the required dependencies (e.g., Puppet). Then use yum to install ambari-agent RPM and all of its dependencies.<p>On RHEL/CentOS 5:</p><div class="source"><pre>$ sudo rpm -Uvh http://public-repo-1.hortonworks.com/HDP-1.0.1.14/repos/centos5/hdp-release-1.0.1.14-1.el5.noarch.rpm
+$ ./create_dashboard_rpm.sh</pre></div><p>When this succeeds, you will find following RPMs inside the ambari directory:</p><p>1) ambari/hmc/package/rpm/build/rpmbuild/RPMS/noarch/ambari-1.0.0-1[.el6].noarch.rpm</p><p>2) ambari/hmc/package/rpm/build/rpmbuild/RPMS/noarch/ambari-agent-1.0.0-1[.el6].noarch.rpm</p><p>3) ambari/mon_dashboard/package/rpm/build/rpmbuild/RPMS/noarch/hdp_mon_dashboard-0.0.2.14-1.noarch.rpm</p></div><div class="section"><h2>Installing Ambari<a name="Installing_Ambari"></a></h2><p>We will refer to the node running the Ambari server as <i>Ambari master</i> and the nodes to which Hadoop services will be installed as <i>cluster nodes</i>.</p><p>1) Set up password-less SSH for root on all your cluster nodes.</p><ul><li>Copy root's SSH public key to all the cluster nodes in the .ssh/authorized_keys file.</li><li>Save the corresponding SSH private key file locally. You will be prompted by Ambari UI to upload it during cluster installation.</li></ul><p>2) Inst
 all ambari-agent on each of the cluster nodes.</p><ul><li>To install ambari-agent, point to the freely accessible HDP repo that contains the required dependencies (e.g., Puppet). Then use yum to install ambari-agent RPM and all of its dependencies.<p>On RHEL/CentOS 5:</p><div class="source"><pre>$ sudo rpm -Uvh http://public-repo-1.hortonworks.com/HDP-1.0.1.14/repos/centos5/hdp-release-1.0.1.14-1.el5.noarch.rpm
 $ sudo yum install epel-release
 $ sudo yum install ambari-agent-1.0.0-1.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
@@ -166,12 +166,12 @@ $ sudo yum install ambari-agent-1.0.0-1.
 $ sudo yum install epel-release
 $ sudo yum install php-pecl-json
 $ sudo yum install ambari-1.0.0-1.noarch.rpm --nogpgcheck
-$ 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 hdp_mon_dashboard-0.0.2.14-1.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.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
+$ sudo yum install hdp_mon_dashboard-0.0.2.14-1.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.2.14-1.noarch.rpm and hdp_mon_nagios_addons-0.0.2.14-1.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) runn
 ing Nagios 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>
+$ ./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.2.14-1.noarch.rpm</li><li>mon_dashboard/package/rpm/build/rpmbuild/RPMS/noarch/hdp_mon_nagios_addons-0.0.2.14-1.noarch.rpm</li></ul></div>
 
       </div>