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 2013/05/30 02:34:44 UTC

svn commit: r1487690 [29/38] - in /incubator/ambari/site/1.2.3: ./ installing-hadoop-using-ambari/ installing-hadoop-using-ambari/common/ installing-hadoop-using-ambari/common/css/ installing-hadoop-using-ambari/common/images/ installing-hadoop-using-a...

Added: incubator/ambari/site/1.2.3/installing-hadoop-using-ambari/content/ambari-chap9-3.html
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.3/installing-hadoop-using-ambari/content/ambari-chap9-3.html?rev=1487690&view=auto
==============================================================================
--- incubator/ambari/site/1.2.3/installing-hadoop-using-ambari/content/ambari-chap9-3.html (added)
+++ incubator/ambari/site/1.2.3/installing-hadoop-using-ambari/content/ambari-chap9-3.html Thu May 30 00:34:39 2013
@@ -0,0 +1,522 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE html
+  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:exsl="http://exslt.org/common" xmlns:ng="http://docbook.org/docbook-ng"
+      xmlns:fb="http://ogp.me/ns/fb#">
+<head>
+  <meta http-equiv="X-UA-Compatible" content="IE=7"/>
+  <title>3. Upgrading Ambari Server and Agents - Apache Ambari
+  </title>
+  <meta name="generator" content="DocBook XSL-NS Stylesheets V1.76.1"/>
+  <meta name="mavenGroupId" content="ambari"/>
+  <meta name="mavenArtifactId" content="ambari"/>
+  <meta name="mavenVersionId" content="1.3.0"/>
+  <link rel="home" href="index.html" title="Apache Ambari"/>
+  <link rel="up" href="ambari-chap9.html"
+        title="Chapter 9. Appendix: Upgrading the HDP Stack from 1.2.0/1.2.1 to 1.3.0"/>
+  <link rel="prev" href="ambari-chap9-2.html" title="2.  Setting Up the Ambari Repository"/>
+  <link rel="next" href="ambari-chap9-4.html" title="4. Upgrading the Stack"/>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+  <script type="text/javascript">
+    //The id for tree cookie
+    var treeCookieId = "treeview-4022";
+    var language = "en";
+    var w = new Object();
+    //Localization
+    txt_filesfound = 'Results';
+    txt_enter_at_least_1_char = "You must enter at least one character.";
+    txt_browser_not_supported = "Your browser is not supported. Use of Mozilla Firefox is recommended.";
+    txt_please_wait = "Please wait. Search in progress...";
+    txt_results_for = "Results for: ";
+  </script>
+  <style type="text/css">
+    input {
+      margin-bottom: 5px;
+      margin-top: 2px;
+    }
+
+    .folder {
+      display: block;
+      height: 22px;
+      padding-left: 20px;
+      background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat;
+    }
+
+  </style>
+  <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"/>
+  <link rel="stylesheet" type="text/css" href="../common/css/positioning.css"/>
+  <link rel="stylesheet" type="text/css" href="../common/css/custom.css"/>
+  <!--[if IE]>
+  <link rel="stylesheet" type="text/css" href="../common/css/ie.css"/>
+  <![endif]-->
+  <link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"/>
+  <link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"/>
+  <script type="text/javascript" src="../common/jquery/jquery-1.4.3.min.js"><!----></script>
+  <script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"><!----></script>
+  <script type="text/javascript" src="../common/jquery/jquery.cookie.js"><!----></script>
+  <script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"><!----></script>
+  <script type="text/javascript"
+          src="../common/jquery/jquery.qtip-1.0.0-rc3/jquery.qtip-1.0.0-rc3.min.js"><!--jQuery plugin for glossary popups. --></script>
+  <script type="text/javascript" src="search/htmlFileList.js"><!----></script>
+  <script type="text/javascript" src="search/htmlFileInfoList.js"><!----></script>
+  <script type="text/javascript" src="search/nwSearchFnt.js"><!----></script>
+  <script type="text/javascript" src="search/stemmers/en_stemmer.js"><
+  !--//make this scalable to other languages as well.--></script>
+  <script type="text/javascript" src="search/index-1.js"><!----></script>
+  <script type="text/javascript" src="search/index-2.js"><!----></script>
+  <script type="text/javascript" src="search/index-3.js"><!----></script>
+</head>
+<body>
+<div id="header"><a onclick="_gaq.push(['_trackEvent', 'Header', 'logo', 'click', 1]);" target="_blank"
+                    href="http://incubator.apache.org/ambari"><img src="../common/images/ambari-logo.png"
+                                                           alt="Apache Ambari Project Website" width="60" height="60"/></a>
+
+  <h1>3. Upgrading Ambari Server and Agents</h1>
+
+  <div id="navheader" align="right"><!---->
+    <table class="navLinks">
+      <tr>
+        <td><a id="showHideButton"
+               onclick="showHideToc(); _gaq.push(['_trackEvent', 'Header', 'show/hide', 'click', 1]);" class="pointLeft"
+               title="Hide TOC tree">Sidebar
+        </a></td>
+        <td><a accesskey="p" class="navLinkPrevious"
+               onclick="_gaq.push(['_trackEvent', 'Header', 'prevLink', 'click', 1]);" tabindex="5"
+               href="ambari-chap9-2.html">Prev</a>
+          |
+          <a accesskey="u" class="navLinkUp" onclick="_gaq.push(['_trackEvent', 'Header', 'upLink', 'click', 1]);"
+             tabindex="5" href="ambari-chap9.html">Up</a>
+          |
+          <a accesskey="n" class="navLinkNext" onclick="_gaq.push(['_trackEvent', 'Header', 'nextLink', 'click', 1]);"
+             tabindex="5" href="ambari-chap9-4.html">Next</a></td>
+      </tr>
+    </table>
+  </div>
+</div>
+<div id="toolbar" class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
+  <div id="toolbar-left"><p class="breadcrumbs"><a href="http://incubator.apache.org/ambari"> Apache Ambari Project Website</a><a href="index.html">Ambari User Guide</a></p></div>
+</div>
+<div id="content">
+  <div class="statustext"> </div>
+  <div class="section">
+    <div xmlns="" class="titlepage">
+      <div>
+        <div><h2 xmlns="http://www.w3.org/1999/xhtml" class="title" style="clear: both"><a id="ambari-chap9-3"> </a>3. Upgrading
+          Ambari Server and Agents</h2></div>
+      </div>
+    </div>
+    <div class="orderedlist">
+      <ol class="orderedlist" type="1">
+        <li class="listitem"><p><a id="ambariupdate-step1"> </a><span class="bold"><strong>Local repository installs
+          only</strong></span>: Copy the old stacks
+          definition file
+          (<code class="filename">/var/lib/ambari-server/resources/stacks/HDPLocal/[1.2.0 or
+            1.2.1]/repos/repoinfo.xml</code> to a safe place. You will be using it
+          in Step 7.</p></li>
+        <li class="listitem"><p>Upgrade the Server:</p>
+
+          <div class="itemizedlist">
+            <ul class="itemizedlist" type="disc">
+              <li class="listitem"><p>For RHEL/CentOS</p><pre class="screen">yum clean all
+yum upgrade ambari-server ambari-log4j</pre>
+              </li>
+              <li class="listitem"><p>For SLES</p><pre class="screen">zypper clean
+zypper up ambari-server ambari-log4j</pre>
+              </li>
+            </ul>
+          </div>
+        </li>
+        <li class="listitem"><p>Check for upgrade success:</p>
+
+          <div class="itemizedlist">
+            <ul class="itemizedlist" type="disc">
+              <li class="listitem"><p>As the process runs, the console should produce output similar, although not
+                identical, to
+                this:</p><pre class="screen">Setting up Upgrade Process
+Resolving Dependencies
+--&gt; Running transaction check
+---&gt; Package ambari-agent.x86_64 0:1.2.2.3-1 will be updated
+---&gt; Package ambari-agent.x86_64 0:1.2.2.4-1 will be an update ...</pre>
+                <p>Once the process is complete, check each host to make sure the new files have
+                  been installed:</p>
+                <pre class="screen">rpm -qa | grep ambari</pre>
+              </li>
+              <li class="listitem"><p>If the upgrade fails, the console should produce output similar to this:</p><pre
+                class="screen">Setting up Upgrade Process
+No Packages marked for Update</pre>
+              </li>
+            </ul>
+          </div>
+        </li>
+        <li class="listitem"><p>Check to see if you have a folder named <code class="literal">/etc/ambari-server/conf.save</code>.
+          If
+          you do, rename it back: </p>
+          <pre class="screen">mv /etc/ambari-server/conf.save /etc/ambari-server/conf</pre>
+        </li>
+        <li class="listitem"><p>Copy the following properties from the old properties file version named
+          <code class="literal">/etc/ambari-server/conf/ambari.properties.rpmsave</code> to the new
+          properties file version named
+          <code class="literal">/etc/ambari-server//conf/ambari.properties</code></p>
+
+          <div class="itemizedlist">
+            <ul class="itemizedlist" type="disc">
+              <li class="listitem"><p><code class="literal">server.jdbc.user.name</code></p></li>
+              <li class="listitem"><p><code class="literal">server.jdbc.user.passwd</code></p></li>
+              <li class="listitem"><p><code class="literal">java.home</code></p></li>
+              <li class="listitem"><p><code class="literal">server.os_type</code></p></li>
+            </ul>
+          </div>
+        </li>
+        <li class="listitem"><p>Upgrade the schema for Ambari Server:</p>
+          <pre class="screen">ambari-server upgrade</pre>
+        </li>
+        <li class="listitem"><p><span class="bold"><strong>Local repository installs only</strong></span>: Take the
+          version of the
+          <code class="literal">repoinfo.xml</code> file you copied in <a class="link"
+                                                                          href="ambari-chap9-3.html#ambariupdate-step1">Step
+            1</a>, and copy it back to
+          <code class="literal">/var/lib/ambari-server/resources/stacks/HDPLocal/[1.2.0 or
+            1.2.1]/repos/repoinfo.xml</code>.</p></li>
+        <li class="listitem"><p>Upgrade the Agent on all hosts:</p>
+
+          <div class="itemizedlist">
+            <ul class="itemizedlist" type="disc">
+              <li class="listitem"><p>For RHEL/CentOS</p>
+                <pre class="screen">yum upgrade ambari-agent ambari-log4j</pre>
+              </li>
+              <li class="listitem"><p>For SLES</p>
+                <pre class="screen">zypper up ambari-agent ambari-log4j</pre>
+              </li>
+            </ul>
+          </div>
+        </li>
+        <li class="listitem"><p>Check to see if you have a folder named <code class="literal">/etc/ambari-agent/conf.save</code>
+          on each Agent host. If you do, rename it back:</p>
+          <pre class="screen">mv /etc/ambari-agent/conf.save /etc/ambari-agent/conf</pre>
+        </li>
+        <li class="listitem"><p>Check to see if you have a file named <code class="filename">ambari-agent.ini</code>
+          file. If you do,
+          rename it back. </p>
+
+          <p>On each Agent host:</p>
+          <pre
+            class="screen">mv /etc/ambari-agent/conf/ambari-agent.ini.rpmsave /etc/ambari-agent/conf/ambari-agent.ini</pre>
+        </li>
+        <li class="listitem"><p>Update the stack version in the Server database, depending on if you are using a local
+          repository:
+        </p>
+          <pre class="screen">ambari-server upgradestack HDP-1.3.0</pre>
+          <p>
+            OR
+          </p><pre class="screen">
+ambari-server upgradestack HDPLocal-1.3.0</pre>
+        </li>
+      </ol>
+    </div>
+  </div>
+  <script type="text/javascript" src="../common/main.js"><!----></script>
+  <hr/>
+  <div class="legal"><a href="index.html">Index</a></div>
+</div>
+<div>
+  <div id="leftnavigation" style="padding-top:3px; background-color:white;">
+    <div id="tabs">
+      <ul>
+        <li><a href="#treeDiv" tabindex="1"><span class="contentsTab">Contents</span></a></li>
+        <li><a href="#searchDiv" tabindex="1"><span class="searchTab">Search</span></a></li>
+      </ul>
+      <div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading"
+                             style="display:block;"/>
+
+        <div id="ulTreeDiv" style="display:none" class="thisisthat">
+          <ul id="tree" class="filetree">
+            <li tabindex="2"><span class="file"><a href="ambari-chap1.html">1. Getting Ready to Install</a></span>
+              <ul>
+                <li tabindex="2"><span class="file"><a href="ambari-chap1-1.html">1. Understand the Basics</a></span>
+                </li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap1-2.html">2. Meet Minimum System
+                  Requirements</a></span>
+                  <ul>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-2.html#ambari-chap1-2-1">2.1. Hardware
+                      Recommendations</a></span></li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-2.html#ambari-chap1-2-2">2.2. Operating
+                      Systems Requirements</a></span></li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-2.html#ambari-chap1-2-3">2.3. Browser
+                      Requirements</a></span></li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-2.html#ambari-chap1-2-4">2.4. Software
+                      Requirements</a></span></li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-2.html#ambari-chap1-2-5">2.5. Database
+                      Requirements</a></span></li>
+                  </ul>
+                </li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap1-3.html">3. Decide on Deployment
+                  Type</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap1-4.html">4. Collect Information</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap1-5.html">5. Prepare the Environment</a></span>
+                  <ul>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-5-1.html">5.1. Check Existing Installs</a></span>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-5-2.html">5.2. Set Up Password-less
+                      SSH</a></span></li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-5-3.html">5.3. Enable NTP on the Cluster
+                      and on the Browser Host</a></span></li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-5-4.html">5.4. Check DNS</a></span></li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-5-5.html">5.5. Disable SELinux</a></span>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-5-6.html">5.6. Disable iptables</a></span>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-5-7.html">5.7. Disable
+                      PackageKit</a></span></li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-5-8.html">5.8. Check umask
+                      Value</a></span></li>
+                  </ul>
+                </li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap1-6.html">6. Optional: Configure the Local
+                  Repositories</a></span></li>
+              </ul>
+            </li>
+            <li tabindex="2"><span class="file"><a href="ambari-chap2.html">2. Running the Installer</a></span>
+              <ul>
+                <li tabindex="2"><span class="file"><a href="ambari-chap2-1.html">1. Set Up the Bits</a></span>
+                  <ul>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap2.1.1.html">1.1. RHEL/CentOS 5.x</a></span>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap2.1.2.html">1.2. RHEL/CentOS 6.x</a></span>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap2.1.3.html">1.3. SLES 11</a></span></li>
+                  </ul>
+                </li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap2-2.html">2. Set Up the Server</a></span>
+                  <ul>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap2-2-1.html">2.1. Setup Options</a></span>
+                    </li>
+                  </ul>
+                </li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap2-4.html">3. Optional: Set Up LDAP or Active
+                  Directory Authentication</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap2-2a.html">4. Optional: Change the Ambari Server
+                  Port</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap2-3.html">5. Start the Ambari Server</a></span>
+                </li>
+              </ul>
+            </li>
+            <li tabindex="2"><span class="file"><a href="ambari-chap3.html">3. Installing, Configuring, and Deploying
+              the Cluster</a></span>
+              <ul>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-1.html">1. Log into Apache Ambari</a></span>
+                </li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-2.html">2. Welcome</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-3.html">3. Install Options</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-4.html">4. Confirm Hosts</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ch03s05.html">5. Choose Services</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-5.html">6. Assign Masters</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-6.html">7. Assign Slaves and
+                  Clients</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-7.html">8. Customize Services</a></span>
+                  <ul>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap3-7-9a.html">8.1. Recommended Memory
+                      Configurations for the MapReduce Service</a></span></li>
+                  </ul>
+                </li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-8.html">9. Review</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-9.html">10. Install, Start and Test</a></span>
+                </li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-10.html">11. Summary</a></span></li>
+              </ul>
+            </li>
+            <li tabindex="2"><span class="file"><a href="ambari-chap5.html">4. Troubleshooting Ambari
+              Deployments</a></span>
+              <ul>
+                <li tabindex="2"><span class="file"><a href="ambari-chap5-1.html">1. Getting the Logs</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap5-2.html">2. Quick Checks</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap5-3.html">3. Specific Issues</a></span>
+                  <ul>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-a.html">3.1. Problem: Browser crashed
+                      before Install Wizard completed</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-a.html#ambari-chap5-3-a-1">3.1.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-b.html">3.2. Problem: Install Wizard
+                      reports that the cluster install has failed</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-b.html#ambari-chap5-3-b-1">3.2.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-1.html">3.3. Problem: “Unable to create
+                      new native thread” exceptions in HDFS DataNode logs or those of any system daemon</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-1.html#ambari-chap5-3-1-1">3.3.1.
+                          Solution:</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-2.html">3.4. Problem: The “yum install
+                      ambari-server” Command Fails</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-2.html#ambari-chap5-3-2-1">3.4.1.
+                          Solution:</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-3.html">3.5. Problem: HDFS Smoke Test
+                      Fails</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-3.html#ambari-chap5-3-3-1">3.5.1.
+                          Solution:</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="chap5-3-4.html">3.6. Problem: The HCatalog Daemon
+                      Metastore Smoke Test Fails</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="chap5-3-4.html#chap5-3-4-1">3.6.1.
+                          Solution:</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-5.html">3.7. Problem: MySQL and Nagios
+                      fail to install on RightScale CentOS 5 images on EC2 </a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-5.html#ambari-chap5.3.5.1">3.7.1.
+                          Solution:</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-7.html">3.8. Problem: Trouble starting
+                      Ambari on system reboot</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-7.html#ambari-chap5-3-7-1">3.8.1.
+                          Solution:</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-8.html">3.9. Problem: Metrics and Host
+                      information display incorrectly in Ambari Web</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-8.html#ambari-chap5-3-8-1">3.9.1.
+                          Solution:</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-9.html">3.10. Problem: On SUSE 11 Ambari
+                      Agent crashes within the first 24 hours</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-9.html#ambari-chap5-3-9-1">3.10.1.
+                          Solution:</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-10.html">3.11. Problem: Attempting to
+                      Start HBase REST server causes either REST server or Ambari Web to fail</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-10.html#ambari-chap5-3-10-1">3.11.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-11.html">3.12. Problem: Multiple Ambari
+                      Agent processes are running, causing re-register</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-11.html#ambari-chap5-3-11-1">3.12.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-12.html">3.13. Problem: Some graphs do
+                      not show a complete hour of data until the cluster has been running
+                      for an hour</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-12.html#ambari-chap5-3-12-1">3.13.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-13.html">3.14. Problem: After performing
+                      a cluster install the Nagios server is not started</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-13.html#ambari-chap5-3-13-1">3.14.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-14.html">3.15. Problem: A service with a
+                      customized service user is not appearing properly in Ambari
+                      Web</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-14.html#ambari-chap5-3-14-1">3.15.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-15.html">3.16. Problem: Updated
+                      configuration changes are not pushed to client/gateway nodes</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-15.html#ambari-chap5-3-15-1">3.16.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-16.html">3.17. Problem: Trying to
+                      upgrade Ambari Server on SLES produces error</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-16.html#ambari-chap5-3-16-1">3.17.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li tabindex="2"><span class="file"><a href="ambari-chap6.html">5. Appendix: Installing Ambari Agents
+              Manually</a></span>
+              <ul>
+                <li tabindex="2"><span class="file"><a href="ambari-chap6-1.html">1. RHEL/CentOS v. 5.x and
+                  6.x</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap6-2.html">2. SLES</a></span></li>
+              </ul>
+            </li>
+            <li tabindex="2"><span class="file"><a href="ambari-chap7a.html">6. Appendix: Using Custom
+              Hostnames</a></span></li>
+            <li tabindex="2"><span class="file"><a href="ambari-chap8.html">7. Appendix: Upgrading Operating Systems on
+              an Ambari-based Hadoop Installation</a></span></li>
+            <li tabindex="2"><span class="file"><a href="ambari-chap7.html">8. Appendix: Upgrading Ambari Server from
+              1.2.0/1.2.1/1.2.2/1.2.2.5 to 1.2.3.7</a></span></li>
+            <li tabindex="2"><span class="file"><a href="ambari-chap9.html">9. Appendix: Upgrading the HDP Stack from
+              1.2.0/1.2.1 to 1.3.0</a></span>
+              <ul>
+                <li tabindex="2"><span class="file"><a href="ambari-chap9-1.html">1. Preparing for the
+                  Upgrade</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap9-2.html">2. Setting Up the Ambari
+                  Repository</a></span></li>
+                <li tabindex="2" id="webhelp-currentid"><span class="file"><a href="ambari-chap9-3.html">3. Upgrading
+                  Ambari Server and Agents</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap9-4.html">4. Upgrading the Stack</a></span></li>
+              </ul>
+            </li>
+            <li tabindex="2"><span class="file"><a href="reference_chap2.html">10. Configuring Ports</a></span>
+              <ul>
+                <li tabindex="2"><span class="file"><a href="reference_chap2_1.html">1. HDFS Ports</a></span></li>
+                <li tabindex="2"><span class="file"><a href="reference_chap2_2.html">2. MapReduce Ports</a></span></li>
+                <li tabindex="2"><span class="file"><a href="reference_chap2_3.html">3. Hive Ports</a></span></li>
+                <li tabindex="2"><span class="file"><a href="reference_chap2_4.html">4. HBase Ports</a></span></li>
+                <li tabindex="2"><span class="file"><a href="reference_chap2_4a.html">5. WebHCat Port</a></span></li>
+                <li tabindex="2"><span class="file"><a href="reference_chap2_5.html">6. Ganglia Ports</a></span></li>
+                <li tabindex="2"><span class="file"><a href="reference_chap2_6.html">7. MySQL Ports</a></span></li>
+              </ul>
+            </li>
+          </ul>
+        </div>
+      </div>
+      <div id="searchDiv">
+        <div id="search">
+          <form onsubmit="Verifie(ditaSearch_Form);return false" name="ditaSearch_Form" class="searchForm">
+            <fieldset class="searchFieldSet">
+              <legend>Search</legend>
+              <center><input id="textToSearch" name="textToSearch" type="text" class="searchText"/> &nbsp; <input
+                onclick="Verifie(ditaSearch_Form)" type="button" class="searchButton" value="Go" id="doSearch"/>
+              </center>
+            </fieldset>
+          </form>
+        </div>
+        <div id="searchResults">
+          <center/>
+        </div>
+        <p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div>
+    </div>
+  </div>
+</div>
+<script type="text/javascript"
+        src="../common/jquery/jquery.qtip-1.0.0-rc3/jquery.qtip-1.0.0-rc3.min.js"><!--jQuery plugin for glossary popups. -->
+$('a[title]').qtip({ style: { name: 'cream', tip: true } })
+</script>
+</body>
+</html>
\ No newline at end of file

Added: incubator/ambari/site/1.2.3/installing-hadoop-using-ambari/content/ambari-chap9-4.html
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.3/installing-hadoop-using-ambari/content/ambari-chap9-4.html?rev=1487690&view=auto
==============================================================================
--- incubator/ambari/site/1.2.3/installing-hadoop-using-ambari/content/ambari-chap9-4.html (added)
+++ incubator/ambari/site/1.2.3/installing-hadoop-using-ambari/content/ambari-chap9-4.html Thu May 30 00:34:39 2013
@@ -0,0 +1,747 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE html
+  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:exsl="http://exslt.org/common" xmlns:ng="http://docbook.org/docbook-ng"
+      xmlns:fb="http://ogp.me/ns/fb#">
+<head>
+  <meta http-equiv="X-UA-Compatible" content="IE=7"/>
+  <title>4. Upgrading the Stack - Apache Ambari
+  </title>
+  <meta name="generator" content="DocBook XSL-NS Stylesheets V1.76.1"/>
+  <meta name="mavenGroupId" content="ambari"/>
+  <meta name="mavenArtifactId" content="ambari"/>
+  <meta name="mavenVersionId" content="1.3.0"/>
+  <link rel="home" href="index.html" title="Apache Ambari"/>
+  <link rel="up" href="ambari-chap9.html"
+        title="Chapter 9. Appendix: Upgrading the HDP Stack from 1.2.0/1.2.1 to 1.3.0"/>
+  <link rel="prev" href="ambari-chap9-3.html" title="3. Upgrading Ambari Server and Agents"/>
+  <link rel="next" href="reference_chap2.html" title="Chapter 10. Configuring Ports"/>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+  <script type="text/javascript">
+    //The id for tree cookie
+    var treeCookieId = "treeview-4022";
+    var language = "en";
+    var w = new Object();
+    //Localization
+    txt_filesfound = 'Results';
+    txt_enter_at_least_1_char = "You must enter at least one character.";
+    txt_browser_not_supported = "Your browser is not supported. Use of Mozilla Firefox is recommended.";
+    txt_please_wait = "Please wait. Search in progress...";
+    txt_results_for = "Results for: ";
+  </script>
+  <style type="text/css">
+    input {
+      margin-bottom: 5px;
+      margin-top: 2px;
+    }
+
+    .folder {
+      display: block;
+      height: 22px;
+      padding-left: 20px;
+      background: transparent url(../common/jquery/treeview/images/folder.gif) 0 0px no-repeat;
+    }
+
+  </style>
+  <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"/>
+  <link rel="stylesheet" type="text/css" href="../common/css/positioning.css"/>
+  <link rel="stylesheet" type="text/css" href="../common/css/custom.css"/>
+  <!--[if IE]>
+  <link rel="stylesheet" type="text/css" href="../common/css/ie.css"/>
+  <![endif]-->
+  <link rel="stylesheet" type="text/css" href="../common/jquery/theme-redmond/jquery-ui-1.8.2.custom.css"/>
+  <link rel="stylesheet" type="text/css" href="../common/jquery/treeview/jquery.treeview.css"/>
+  <script type="text/javascript" src="../common/jquery/jquery-1.4.3.min.js"><!----></script>
+  <script type="text/javascript" src="../common/jquery/jquery-ui-1.8.2.custom.min.js"><!----></script>
+  <script type="text/javascript" src="../common/jquery/jquery.cookie.js"><!----></script>
+  <script type="text/javascript" src="../common/jquery/treeview/jquery.treeview.min.js"><!----></script>
+  <script type="text/javascript"
+          src="../common/jquery/jquery.qtip-1.0.0-rc3/jquery.qtip-1.0.0-rc3.min.js"><!--jQuery plugin for glossary popups. --></script>
+  <script type="text/javascript" src="search/htmlFileList.js"><!----></script>
+  <script type="text/javascript" src="search/htmlFileInfoList.js"><!----></script>
+  <script type="text/javascript" src="search/nwSearchFnt.js"><!----></script>
+  <script type="text/javascript" src="search/stemmers/en_stemmer.js"><
+  !--//make this scalable to other languages as well.--></script>
+  <script type="text/javascript" src="search/index-1.js"><!----></script>
+  <script type="text/javascript" src="search/index-2.js"><!----></script>
+  <script type="text/javascript" src="search/index-3.js"><!----></script>
+</head>
+<body>
+<div id="header"><a onclick="_gaq.push(['_trackEvent', 'Header', 'logo', 'click', 1]);" target="_blank"
+                    href="http://incubator.apache.org/ambari"><img src="../common/images/ambari-logo.png"
+                                                           alt="Apache Ambari Project Website" width="60" height="60"/></a>
+
+  <h1>4. Upgrading the Stack</h1>
+
+  <div id="navheader" align="right"><!---->
+    <table class="navLinks">
+      <tr>
+        <td><a id="showHideButton"
+               onclick="showHideToc(); _gaq.push(['_trackEvent', 'Header', 'show/hide', 'click', 1]);" class="pointLeft"
+               title="Hide TOC tree">Sidebar
+        </a></td>
+        <td><a accesskey="p" class="navLinkPrevious"
+               onclick="_gaq.push(['_trackEvent', 'Header', 'prevLink', 'click', 1]);" tabindex="5"
+               href="ambari-chap9-3.html">Prev</a>
+          |
+          <a accesskey="u" class="navLinkUp" onclick="_gaq.push(['_trackEvent', 'Header', 'upLink', 'click', 1]);"
+             tabindex="5" href="ambari-chap9.html">Up</a>
+          |
+          <a accesskey="n" class="navLinkNext" onclick="_gaq.push(['_trackEvent', 'Header', 'nextLink', 'click', 1]);"
+             tabindex="5" href="reference_chap2.html">Next</a></td>
+      </tr>
+    </table>
+  </div>
+</div>
+<div id="toolbar" class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
+  <div id="toolbar-left"><p class="breadcrumbs"><a href="http://incubator.apache.org/ambari"> Apache Ambari Project Website</a><a href="index.html">Ambari User Guide</a></p></div>
+</div>
+<div id="content">
+  <div class="statustext"> </div>
+  <div class="section">
+    <div xmlns="" class="titlepage">
+      <div>
+        <div><h2 xmlns="http://www.w3.org/1999/xhtml" class="title" style="clear: both"><a id="ambari-chap9-4"> </a>4. Upgrading
+          the Stack</h2></div>
+      </div>
+    </div>
+    <div class="orderedlist">
+      <ol class="orderedlist" type="1">
+        <li class="listitem"><p>Upgrade the HDP repository on all hosts and replace the old repo file with the new
+          file:</p>
+
+          <div class="important" style="margin-left: 0.5in; margin-right: 0.5in;">
+            <table border="0" summary="Important">
+              <tr>
+                <td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]"
+                                                                            src="../common/images/admon/important.png"/>
+                </td>
+                <th align="left">Important</th>
+              </tr>
+              <tr>
+                <td align="left" valign="top"><p>The file you download is named <code class="literal">hdp.repo</code>.
+                  To function properly in the
+                  system, it must be named <code class="literal">HDP.repo</code>. Once you have
+                  completed the "mv" of the new repo file to the repos.d folder, make sure
+                  there is no file named <code class="literal">hdp.repo</code> anywhere in your repos.d
+                  folder.</p></td>
+              </tr>
+            </table>
+          </div>
+          <div class="itemizedlist">
+            <ul class="itemizedlist" type="disc">
+              <li class="listitem"><p>For RHEL/CentOS 5</p><pre class="screen">wget http://public-repo-1.hortonworks.com/HDP/centos5/1.x/GA/1.3.0.0/hdp.repo
+mv hdp.repo /etc/yum.repos.d/HDP.repo</pre>
+              </li>
+              <li class="listitem"><p>For RHEL/CentOS 6</p><pre class="screen">wget http://public-repo-1.hortonworks.com/HDP/centos6/1.x/GA/1.3.0.0/hdp.repo
+mv hdp.repo /etc/yum.repos.d/HDP.repo</pre>
+              </li>
+              <li class="listitem"><p>For SLES 11</p><pre class="screen">wget  http://public-repo-1.hortonworks.com/HDP/suse11/1.x/GA/1.3.0.0/hdp.repo
+mv hdp.repo /etc/zypp/repos.d/HDP.repo</pre>
+              </li>
+            </ul>
+          </div>
+        </li>
+        <li class="listitem"><p>Upgrade the stack on all Agent hosts and restart.:</p>
+
+          <div class="itemizedlist">
+            <ul class="itemizedlist" type="disc">
+              <li class="listitem"><p><span class="bold"><strong>For RHEL/CentOS: </strong></span></p>
+
+                <div class="orderedlist">
+                  <ol class="orderedlist" type="a">
+                    <li class="listitem"><p>Upgrade the following components:
+                    </p>
+                      <pre class="screen">yum upgrade collectd* epel-release* gccxml* pig* hadoop* sqoop* zookeeper* hbase* hive* hcatalog* webhcat-tar* hdp_mon_nagios_addons hdp_mon_ganglia_addons</pre>
+                    </li>
+                    <li class="listitem"><p>Upgrade Oozie:
+                    </p><pre class="screen"> rpm -e --nopostun oozie $old_version_number
+yum install oozie            </pre>
+                      <p>
+                      </p></li>
+                  </ol>
+                </div>
+                <p>
+                </p></li>
+              <li class="listitem"><p><span class="bold"><strong>For SLES: </strong></span></p>
+
+                <div class="orderedlist">
+                  <ol class="orderedlist" type="a">
+                    <li class="listitem"><p>Upgrade the following components:
+                    </p><pre class="screen">zypper up collectd epel-release* gccxml* pig* hadoop* sqoop* hive* hcatalog* webhcat-tar* hdp_mon_nagios_addons* hdp_mon_ganglia_addons
+yast --update hadoop hcatalog hive                        </pre>
+                    </li>
+                    <li class="listitem"><p>Upgrade ZooKeeper and HBase:
+                    </p><pre class="screen">zypper update zookeeper-3.4.5.1.3.0.0
+zypper remove zookeeper
+zypper se -s zookeeper</pre>
+                      <p>
+                        You should see ZooKeeper v3.4.5.1.3.0.0 in the output.
+                        Install ZooKeeper v3.4.5.1.3.0.0:
+                      </p>
+                      <pre class="screen">zypper install zookeeper-3.4.5.1.3.0.0</pre>
+                      <p>This
+                        command also uninstalls HBase. Execute the following command
+                        to install HBase: </p><pre class="screen">zypper install hbase-0.94.6.1.3.0.0
+zypper update hbase</pre>
+                      <p>
+                      </p>
+
+                      <div class="important" style="margin-left: 0.5in; margin-right: 0.5in;">
+                        <table border="0" summary="Important">
+                          <tr>
+                            <td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]"
+                                                                                        src="../common/images/admon/important.png"/>
+                            </td>
+                            <th align="left">Important</th>
+                          </tr>
+                          <tr>
+                            <td align="left" valign="top"><p>When removing and installing packages, rename
+                              those files that have <code class="code">.rpmsave</code>
+                              extension to original to retain the customized
+                              configs. Alternatively, you can also use the
+                              configuration files you backed up before
+                              upgrading.</p></td>
+                          </tr>
+                        </table>
+                      </div>
+                      <p>
+                      </p></li>
+                    <li class="listitem"><p>Upgrade Oozie:
+                    </p><pre class="screen"> rpm -e --nopostun oozie-$old_version_number
+zypper update oozie-3.3.2.1.3.0.0
+zypper remove oozie
+zypper se -s oozie </pre>
+                      <p>You
+                        should see Oozie v3.3.2.1.3.0.0 in the output. Install Oozie
+                        v3.3.2.1.3.0.0: </p>
+                      <pre class="screen">zypper install oozie-3.3.2.1.3.0.0</pre>
+                      <p>
+                      </p>
+
+                      <div class="important" style="margin-left: 0.5in; margin-right: 0.5in;">
+                        <table border="0" summary="Important">
+                          <tr>
+                            <td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]"
+                                                                                        src="../common/images/admon/important.png"/>
+                            </td>
+                            <th align="left">Important</th>
+                          </tr>
+                          <tr>
+                            <td align="left" valign="top"><p>When removing and installing packages, rename
+                              those files that have <code class="code">.rpmsave</code>
+                              extension to original to retain the customized
+                              configs. Alternatively, you can also use the
+                              configuration files you backed up before
+                              upgrading..</p></td>
+                          </tr>
+                        </table>
+                      </div>
+                      <p>
+                      </p></li>
+                    <li class="listitem"><p>Upgrade Flume:
+                    </p><pre class="screen">zypper update flume-1.3.1.1.3.0.0
+zypper remove flume
+zypper se -s flume </pre>
+                      <p>You
+                        should see Flume v1.3.1.1.3.0.0 in the output. Install Flume v1.3.1.1.3.0.0:</p>
+                      <pre class="screen">zypper install flume-1.3.1.1.3.0.0</pre>
+                      <p>
+                      </p>
+
+                      <div class="important" style="margin-left: 0.5in; margin-right: 0.5in;">
+                        <table border="0" summary="Important">
+                          <tr>
+                            <td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]"
+                                                                                        src="../common/images/admon/important.png"/>
+                            </td>
+                            <th align="left">Important</th>
+                          </tr>
+                          <tr>
+                            <td align="left" valign="top"><p>When removing and installing packages, rename
+                              those files that have <code class="code">.rpmsave</code>
+                              extension to original to retain the customized
+                              configs. Alternatively, you can also use the
+                              configuration files you backed up before
+                              upgrading..</p></td>
+                          </tr>
+                        </table>
+                      </div>
+                      <p>
+                      </p></li>
+                    <li class="listitem"><p>Upgrade Mahout:
+                    </p><pre class="screen">zypper remove mahout
+zypper se -s mahout </pre>
+                      <p>You
+                        should see Mahout v0.7.0.1.3.0.0 in the output. Install
+                        Mahout v0.7.0.1.3.0.0:</p>
+                      <pre class="screen">zypper install mahout-0.7.0.1.3.0.0</pre>
+                      <p>
+                      </p>
+
+                      <div class="important" style="margin-left: 0.5in; margin-right: 0.5in;">
+                        <table border="0" summary="Important">
+                          <tr>
+                            <td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]"
+                                                                                        src="../common/images/admon/important.png"/>
+                            </td>
+                            <th align="left">Important</th>
+                          </tr>
+                          <tr>
+                            <td align="left" valign="top"><p>When removing and installing packages, rename
+                              those files that have <code class="code">.rpmsave</code>
+                              extension to original to retain the customized
+                              configs. Alternatively, you can also use the
+                              configuration files you backed up before
+                              upgrading..</p></td>
+                          </tr>
+                        </table>
+                      </div>
+                      <p>
+                      </p></li>
+                  </ol>
+                </div>
+                <p>
+                </p></li>
+            </ul>
+          </div>
+        </li>
+        <li class="listitem"><p>Execute the following command on all the host machines in your cluster:
+        </p>
+
+          <div class="itemizedlist">
+            <ul class="itemizedlist" type="disc">
+              <li class="listitem"><p>For RHEL/CentOS:
+              </p>
+                <pre class="screen">service httpd restart</pre>
+              </li>
+              <li class="listitem"><p>For SLES:
+              </p>
+                <pre class="screen">service apache2 restart</pre>
+              </li>
+            </ul>
+          </div>
+          <p>
+          </p></li>
+        <li class="listitem"><p>Start the Ambari Server. On the Server host:</p>
+          <pre class="screen">ambari-server start</pre>
+        </li>
+        <li class="listitem"><p>Start each Ambari Agent. On all Agent hosts:</p>
+          <pre class="screen">ambari-agent start</pre>
+        </li>
+        <li class="listitem"><p>Because the file system version has now changed you must start the NameNode
+          manually:</p>
+          <pre class="screen">sudo su -l hdfs -c "/usr/lib/hadoop/bin/hadoop-daemon.sh start namenode -upgrade"</pre>
+        </li>
+        <li class="listitem"><p>Track the status of the upgrade:</p>
+          <pre class="screen">hadoop dfsadmin -upgradeProgress status</pre>
+          <p>Continue tracking until you see</p><pre class="screen">Upgrade for version -44 has been completed.
+Upgrade is not finalized.</pre>
+          <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
+            <table border="0" summary="Note">
+              <tr>
+                <td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]"
+                                                                            src="../common/images/admon/note.png"/></td>
+                <th align="left">Note</th>
+              </tr>
+              <tr>
+                <td align="left" valign="top"><p>You finalize the upgrade later.</p></td>
+              </tr>
+            </table>
+          </div>
+        </li>
+        <li class="listitem"><p>Use <span class="bold"><strong>Services View</strong></span> on <span
+          class="bold"><strong>Ambari
+          Web</strong></span> to start the HDFS service. This starts the SecondaryNameNode
+          and the DataNodes. </p></li>
+        <li class="listitem"><p>After the DataNodes are started, HDFS exits safemode. To monitor the status:</p>
+          <pre class="screen">hadoop dfsadmin -safemode get</pre>
+          <p>When HDFS exits safemode, this is displayed</p>
+          <pre class="screen">Safe mode is OFF</pre>
+        </li>
+        <li class="listitem"><p>Make sure that the HDFS upgrade was successful. Go through steps 2 and 3 in <a
+          class="link" href="ambari-chap9-1.html" title="1. Preparing for the Upgrade">Section 9.1</a> to create new
+          versions of the
+          logs and reports. Substitute "<code class="literal">new</code>" for
+          "<code class="literal">old</code>" in the file names as necessary</p></li>
+        <li class="listitem"><p>Compare the old and new versions of the following:</p>
+
+          <div class="itemizedlist">
+            <ul class="itemizedlist" type="disc">
+              <li class="listitem"><p><code class="literal">dfs-old-fsck-1.log</code> versus
+                <code class="literal">dfs-new-fsck-1.log</code>.</p>
+
+                <p> The files should be identical unless the <code class="literal">hadoop
+                  fsck</code> reporting format has changed in the new
+                  version.</p></li>
+              <li class="listitem"><p><code class="literal">dfs-old-lsr-1.log</code> versus
+                <code class="literal">dfs-new-lsr-1.log</code>. </p>
+
+                <p>The files should be identical unless the the format of <code class="literal">hadoop
+                  fs -lsr</code> reporting or the data structures have changed in
+                  the new version.</p></li>
+              <li class="listitem"><p><code class="literal">dfs-old-report-1.log</code> versus
+                <code class="literal">fs-new-report-1.log</code>
+              </p>
+
+                <p>Make sure all DataNodes previously belonging to the cluster are up and
+                  running.</p></li>
+            </ul>
+          </div>
+        </li>
+        <li class="listitem"><p>Use the <span class="bold"><strong>Services View</strong></span> on <span
+          class="bold"><strong>Ambari
+          Web</strong></span> to start all services in the following order:</p>
+
+          <div class="orderedlist">
+            <ol class="orderedlist" type="a">
+              <li class="listitem"><p>HDFS</p></li>
+              <li class="listitem"><p>Ganglia</p></li>
+              <li class="listitem"><p>Nagios</p></li>
+              <li class="listitem"><p>ZooKeeper</p></li>
+              <li class="listitem"><p>MapReduce</p></li>
+              <li class="listitem"><p>HBase</p></li>
+              <li class="listitem"><p>Hive</p></li>
+              <li class="listitem"><p>Oozie</p></li>
+              <li class="listitem"><p>WebHCat</p></li>
+            </ol>
+          </div>
+        </li>
+        <li class="listitem"><p>The upgrade is now fully functional but not yet finalized. Using the
+          <code class="literal">finalize</code> comand removes the previous version of the
+          NameNode and DataNode's storage directories.</p>
+
+          <div class="important" style="margin-left: 0.5in; margin-right: 0.5in;">
+            <table border="0" summary="Important">
+              <tr>
+                <td rowspan="2" align="center" valign="top" width="25"><img alt="[Important]"
+                                                                            src="../common/images/admon/important.png"/>
+                </td>
+                <th align="left">Important</th>
+              </tr>
+              <tr>
+                <td align="left" valign="top"><p>Once the upgrade is finalized, the system cannot be rolled back.
+                  Usually this step is not
+                  taken until a thorough testing of the upgrade has been performed.</p></td>
+              </tr>
+            </table>
+          </div>
+          <p>The upgrade must be finalized, however, before another upgrade can be performed.</p>
+
+          <p>To finalize the upgrade:
+          </p><pre class="screen">su $HDFS_USER
+hadoop dfsadmin -finalizeUpgrade</pre>
+          <p>
+            where <em class="replaceable"><code>$HDFS_USER</code></em> is the HDFS Service user (by default, <code
+            class="code">hdfs</code>).
+          </p></li>
+      </ol>
+    </div>
+  </div>
+  <script type="text/javascript" src="../common/main.js"><!----></script>
+  <hr/>
+  <div class="legal"><a href="index.html">Index</a></div>
+</div>
+<div>
+  <div id="leftnavigation" style="padding-top:3px; background-color:white;">
+    <div id="tabs">
+      <ul>
+        <li><a href="#treeDiv" tabindex="1"><span class="contentsTab">Contents</span></a></li>
+        <li><a href="#searchDiv" tabindex="1"><span class="searchTab">Search</span></a></li>
+      </ul>
+      <div id="treeDiv"><img src="../common/images/loading.gif" alt="loading table of contents..." id="tocLoading"
+                             style="display:block;"/>
+
+        <div id="ulTreeDiv" style="display:none" class="thisisthat">
+          <ul id="tree" class="filetree">
+            <li tabindex="2"><span class="file"><a href="ambari-chap1.html">1. Getting Ready to Install</a></span>
+              <ul>
+                <li tabindex="2"><span class="file"><a href="ambari-chap1-1.html">1. Understand the Basics</a></span>
+                </li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap1-2.html">2. Meet Minimum System
+                  Requirements</a></span>
+                  <ul>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-2.html#ambari-chap1-2-1">2.1. Hardware
+                      Recommendations</a></span></li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-2.html#ambari-chap1-2-2">2.2. Operating
+                      Systems Requirements</a></span></li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-2.html#ambari-chap1-2-3">2.3. Browser
+                      Requirements</a></span></li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-2.html#ambari-chap1-2-4">2.4. Software
+                      Requirements</a></span></li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-2.html#ambari-chap1-2-5">2.5. Database
+                      Requirements</a></span></li>
+                  </ul>
+                </li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap1-3.html">3. Decide on Deployment
+                  Type</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap1-4.html">4. Collect Information</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap1-5.html">5. Prepare the Environment</a></span>
+                  <ul>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-5-1.html">5.1. Check Existing Installs</a></span>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-5-2.html">5.2. Set Up Password-less
+                      SSH</a></span></li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-5-3.html">5.3. Enable NTP on the Cluster
+                      and on the Browser Host</a></span></li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-5-4.html">5.4. Check DNS</a></span></li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-5-5.html">5.5. Disable SELinux</a></span>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-5-6.html">5.6. Disable iptables</a></span>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-5-7.html">5.7. Disable
+                      PackageKit</a></span></li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap1-5-8.html">5.8. Check umask
+                      Value</a></span></li>
+                  </ul>
+                </li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap1-6.html">6. Optional: Configure the Local
+                  Repositories</a></span></li>
+              </ul>
+            </li>
+            <li tabindex="2"><span class="file"><a href="ambari-chap2.html">2. Running the Installer</a></span>
+              <ul>
+                <li tabindex="2"><span class="file"><a href="ambari-chap2-1.html">1. Set Up the Bits</a></span>
+                  <ul>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap2.1.1.html">1.1. RHEL/CentOS 5.x</a></span>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap2.1.2.html">1.2. RHEL/CentOS 6.x</a></span>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap2.1.3.html">1.3. SLES 11</a></span></li>
+                  </ul>
+                </li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap2-2.html">2. Set Up the Server</a></span>
+                  <ul>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap2-2-1.html">2.1. Setup Options</a></span>
+                    </li>
+                  </ul>
+                </li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap2-4.html">3. Optional: Set Up LDAP or Active
+                  Directory Authentication</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap2-2a.html">4. Optional: Change the Ambari Server
+                  Port</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap2-3.html">5. Start the Ambari Server</a></span>
+                </li>
+              </ul>
+            </li>
+            <li tabindex="2"><span class="file"><a href="ambari-chap3.html">3. Installing, Configuring, and Deploying
+              the Cluster</a></span>
+              <ul>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-1.html">1. Log into Apache Ambari</a></span>
+                </li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-2.html">2. Welcome</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-3.html">3. Install Options</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-4.html">4. Confirm Hosts</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ch03s05.html">5. Choose Services</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-5.html">6. Assign Masters</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-6.html">7. Assign Slaves and
+                  Clients</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-7.html">8. Customize Services</a></span>
+                  <ul>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap3-7-9a.html">8.1. Recommended Memory
+                      Configurations for the MapReduce Service</a></span></li>
+                  </ul>
+                </li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-8.html">9. Review</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-9.html">10. Install, Start and Test</a></span>
+                </li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap3-10.html">11. Summary</a></span></li>
+              </ul>
+            </li>
+            <li tabindex="2"><span class="file"><a href="ambari-chap5.html">4. Troubleshooting Ambari
+              Deployments</a></span>
+              <ul>
+                <li tabindex="2"><span class="file"><a href="ambari-chap5-1.html">1. Getting the Logs</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap5-2.html">2. Quick Checks</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap5-3.html">3. Specific Issues</a></span>
+                  <ul>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-a.html">3.1. Problem: Browser crashed
+                      before Install Wizard completed</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-a.html#ambari-chap5-3-a-1">3.1.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-b.html">3.2. Problem: Install Wizard
+                      reports that the cluster install has failed</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-b.html#ambari-chap5-3-b-1">3.2.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-1.html">3.3. Problem: “Unable to create
+                      new native thread” exceptions in HDFS DataNode logs or those of any system daemon</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-1.html#ambari-chap5-3-1-1">3.3.1.
+                          Solution:</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-2.html">3.4. Problem: The “yum install
+                      ambari-server” Command Fails</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-2.html#ambari-chap5-3-2-1">3.4.1.
+                          Solution:</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-3.html">3.5. Problem: HDFS Smoke Test
+                      Fails</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-3.html#ambari-chap5-3-3-1">3.5.1.
+                          Solution:</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="chap5-3-4.html">3.6. Problem: The HCatalog Daemon
+                      Metastore Smoke Test Fails</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="chap5-3-4.html#chap5-3-4-1">3.6.1.
+                          Solution:</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-5.html">3.7. Problem: MySQL and Nagios
+                      fail to install on RightScale CentOS 5 images on EC2 </a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-5.html#ambari-chap5.3.5.1">3.7.1.
+                          Solution:</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-7.html">3.8. Problem: Trouble starting
+                      Ambari on system reboot</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-7.html#ambari-chap5-3-7-1">3.8.1.
+                          Solution:</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-8.html">3.9. Problem: Metrics and Host
+                      information display incorrectly in Ambari Web</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-8.html#ambari-chap5-3-8-1">3.9.1.
+                          Solution:</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-9.html">3.10. Problem: On SUSE 11 Ambari
+                      Agent crashes within the first 24 hours</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-9.html#ambari-chap5-3-9-1">3.10.1.
+                          Solution:</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-10.html">3.11. Problem: Attempting to
+                      Start HBase REST server causes either REST server or Ambari Web to fail</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-10.html#ambari-chap5-3-10-1">3.11.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-11.html">3.12. Problem: Multiple Ambari
+                      Agent processes are running, causing re-register</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-11.html#ambari-chap5-3-11-1">3.12.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-12.html">3.13. Problem: Some graphs do
+                      not show a complete hour of data until the cluster has been running
+                      for an hour</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-12.html#ambari-chap5-3-12-1">3.13.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-13.html">3.14. Problem: After performing
+                      a cluster install the Nagios server is not started</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-13.html#ambari-chap5-3-13-1">3.14.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-14.html">3.15. Problem: A service with a
+                      customized service user is not appearing properly in Ambari
+                      Web</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-14.html#ambari-chap5-3-14-1">3.15.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-15.html">3.16. Problem: Updated
+                      configuration changes are not pushed to client/gateway nodes</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-15.html#ambari-chap5-3-15-1">3.16.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                    <li tabindex="2"><span class="file"><a href="ambari-chap5-3-16.html">3.17. Problem: Trying to
+                      upgrade Ambari Server on SLES produces error</a></span>
+                      <ul>
+                        <li tabindex="2"><span class="file"><a href="ambari-chap5-3-16.html#ambari-chap5-3-16-1">3.17.1.
+                          Solution</a></span></li>
+                      </ul>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
+            </li>
+            <li tabindex="2"><span class="file"><a href="ambari-chap6.html">5. Appendix: Installing Ambari Agents
+              Manually</a></span>
+              <ul>
+                <li tabindex="2"><span class="file"><a href="ambari-chap6-1.html">1. RHEL/CentOS v. 5.x and
+                  6.x</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap6-2.html">2. SLES</a></span></li>
+              </ul>
+            </li>
+            <li tabindex="2"><span class="file"><a href="ambari-chap7a.html">6. Appendix: Using Custom
+              Hostnames</a></span></li>
+            <li tabindex="2"><span class="file"><a href="ambari-chap8.html">7. Appendix: Upgrading Operating Systems on
+              an Ambari-based Hadoop Installation</a></span></li>
+            <li tabindex="2"><span class="file"><a href="ambari-chap7.html">8. Appendix: Upgrading Ambari Server from
+              1.2.0/1.2.1/1.2.2/1.2.2.5 to 1.2.3.7</a></span></li>
+            <li tabindex="2"><span class="file"><a href="ambari-chap9.html">9. Appendix: Upgrading the HDP Stack from
+              1.2.0/1.2.1 to 1.3.0</a></span>
+              <ul>
+                <li tabindex="2"><span class="file"><a href="ambari-chap9-1.html">1. Preparing for the
+                  Upgrade</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap9-2.html">2. Setting Up the Ambari
+                  Repository</a></span></li>
+                <li tabindex="2"><span class="file"><a href="ambari-chap9-3.html">3. Upgrading Ambari Server and
+                  Agents</a></span></li>
+                <li tabindex="2" id="webhelp-currentid"><span class="file"><a href="ambari-chap9-4.html">4. Upgrading
+                  the Stack</a></span></li>
+              </ul>
+            </li>
+            <li tabindex="2"><span class="file"><a href="reference_chap2.html">10. Configuring Ports</a></span>
+              <ul>
+                <li tabindex="2"><span class="file"><a href="reference_chap2_1.html">1. HDFS Ports</a></span></li>
+                <li tabindex="2"><span class="file"><a href="reference_chap2_2.html">2. MapReduce Ports</a></span></li>
+                <li tabindex="2"><span class="file"><a href="reference_chap2_3.html">3. Hive Ports</a></span></li>
+                <li tabindex="2"><span class="file"><a href="reference_chap2_4.html">4. HBase Ports</a></span></li>
+                <li tabindex="2"><span class="file"><a href="reference_chap2_4a.html">5. WebHCat Port</a></span></li>
+                <li tabindex="2"><span class="file"><a href="reference_chap2_5.html">6. Ganglia Ports</a></span></li>
+                <li tabindex="2"><span class="file"><a href="reference_chap2_6.html">7. MySQL Ports</a></span></li>
+              </ul>
+            </li>
+          </ul>
+        </div>
+      </div>
+      <div id="searchDiv">
+        <div id="search">
+          <form onsubmit="Verifie(ditaSearch_Form);return false" name="ditaSearch_Form" class="searchForm">
+            <fieldset class="searchFieldSet">
+              <legend>Search</legend>
+              <center><input id="textToSearch" name="textToSearch" type="text" class="searchText"/> &nbsp; <input
+                onclick="Verifie(ditaSearch_Form)" type="button" class="searchButton" value="Go" id="doSearch"/>
+              </center>
+            </fieldset>
+          </form>
+        </div>
+        <div id="searchResults">
+          <center/>
+        </div>
+        <p class="searchHighlight"><a href="#" onclick="toggleHighlight()">Search Highlighter (On/Off)</a></p></div>
+    </div>
+  </div>
+</div>
+<script type="text/javascript"
+        src="../common/jquery/jquery.qtip-1.0.0-rc3/jquery.qtip-1.0.0-rc3.min.js"><!--jQuery plugin for glossary popups. -->
+$('a[title]').qtip({ style: { name: 'cream', tip: true } })
+</script>
+</body>
+</html>
\ No newline at end of file