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/02/11 01:28:33 UTC

svn commit: r1444637 [6/27] - in /incubator/ambari/site/1.2.1: ./ installing-hadoop-using-ambari/ installing-hadoop-using-ambari/common/ installing-hadoop-using-ambari/common/css/ installing-hadoop-using-ambari/common/images/ installing-hadoop-using-am...

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-black-line.gif
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-black-line.gif?rev=1444637&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-black-line.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-black.gif
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-black.gif?rev=1444637&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-black.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-default-line.gif
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-default-line.gif?rev=1444637&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-default-line.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-default.gif
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-default.gif?rev=1444637&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-default.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-famfamfam-line.gif
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-famfamfam-line.gif?rev=1444637&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-famfamfam-line.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-famfamfam.gif
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-famfamfam.gif?rev=1444637&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-famfamfam.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-gray-line.gif
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-gray-line.gif?rev=1444637&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-gray-line.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-gray.gif
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-gray.gif?rev=1444637&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-gray.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-red-line.gif
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-red-line.gif?rev=1444637&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-red-line.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-red.gif
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-red.gif?rev=1444637&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/images/treeview-red.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.async.js
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.async.js?rev=1444637&view=auto
==============================================================================
--- incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.async.js (added)
+++ incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.async.js Mon Feb 11 00:28:28 2013
@@ -0,0 +1,72 @@
+/*
+ * Async Treeview 0.1 - Lazy-loading extension for Treeview
+ * 
+ * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
+ *
+ * Copyright (c) 2007 Jörn Zaefferer
+ *
+ * Dual licensed under the MIT and GPL licenses:
+ *   http://www.opensource.org/licenses/mit-license.php
+ *   http://www.gnu.org/licenses/gpl.html
+ *
+ * Revision: $Id$
+ *
+ */
+
+;(function($) {
+
+function load(settings, root, child, container) {
+	$.getJSON(settings.url, {root: root}, function(response) {
+		function createNode(parent) {
+			var current = $("<li/>").attr("id", this.id || "").html("<span>" + this.text + "</span>").appendTo(parent);
+			if (this.classes) {
+				current.children("span").addClass(this.classes);
+			}
+			if (this.expanded) {
+				current.addClass("open");
+			}
+			if (this.hasChildren || this.children && this.children.length) {
+				var branch = $("<ul/>").appendTo(current);
+				if (this.hasChildren) {
+					current.addClass("hasChildren");
+					createNode.call({
+						text:"placeholder",
+						id:"placeholder",
+						children:[]
+					}, branch);
+				}
+				if (this.children && this.children.length) {
+					$.each(this.children, createNode, [branch])
+				}
+			}
+		}
+		$.each(response, createNode, [child]);
+        $(container).treeview({add: child});
+    });
+}
+
+var proxied = $.fn.treeview;
+$.fn.treeview = function(settings) {
+	if (!settings.url) {
+		return proxied.apply(this, arguments);
+	}
+	var container = this;
+	load(settings, "source", this, container);
+	var userToggle = settings.toggle;
+	return proxied.call(this, $.extend({}, settings, {
+		collapsed: true,
+		toggle: function() {
+			var $this = $(this);
+			if ($this.hasClass("hasChildren")) {
+				var childList = $this.removeClass("hasChildren").find("ul");
+				childList.empty();
+				load(settings, this.id, childList, container);
+			}
+			if (userToggle) {
+				userToggle.apply(this, arguments);
+			}
+		}
+	}));
+};
+
+})(jQuery);
\ No newline at end of file

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.css
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.css?rev=1444637&view=auto
==============================================================================
--- incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.css (added)
+++ incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.css Mon Feb 11 00:28:28 2013
@@ -0,0 +1,90 @@
+.treeview, .treeview ul { 
+	padding: 0;
+	margin: 0;
+	list-style: none;
+}
+
+.treeview ul {
+	margin-top: 4px;
+}
+
+.treeview .hitarea {
+	background: url(images/treeview-default.gif) -64px -25px no-repeat;
+	height: 16px;
+	width: 16px;
+	margin-left: -16px;
+	float: left;
+	cursor: pointer;
+}
+/* fix for IE6 */
+* html .hitarea {
+	display: inline;
+	float:none;
+}
+
+.treeview li { 
+	margin: 0;
+	padding: 3px 0 3px 16px;
+}
+
+.treeview a.selected {
+	background-color: #eee;
+}
+
+#treecontrol { margin: 1em 0; display: none; }
+
+.treeview .hover { color: black; cursor: pointer; }
+
+.treeview li { background: url(images/treeview-default-line.gif) 0 0 no-repeat; }
+.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }
+
+.treeview .expandable-hitarea { background-position: -80px -3px; }
+
+.treeview li.last { background-position: 0 -1766px }
+.treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url(images/treeview-default.gif); }  
+.treeview li.lastCollapsable { background-position: 0 -111px }
+.treeview li.lastExpandable { background-position: -32px -67px }
+
+.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }
+
+.treeview-red li { background-image: url(images/treeview-red-line.gif); }
+.treeview-red .hitarea, .treeview-red li.lastCollapsable, .treeview-red li.lastExpandable { background-image: url(images/treeview-red.gif); } 
+
+.treeview-black li { background-image: url(images/treeview-black-line.gif); }
+.treeview-black .hitarea, .treeview-black li.lastCollapsable, .treeview-black li.lastExpandable { background-image: url(images/treeview-black.gif); }  
+
+.treeview-gray li { background-image: url(images/treeview-gray-line.gif); }
+.treeview-gray .hitarea, .treeview-gray li.lastCollapsable, .treeview-gray li.lastExpandable { background-image: url(images/treeview-gray.gif); } 
+
+.treeview-famfamfam li { background-image: url(images/treeview-famfamfam-line.gif); }
+.treeview-famfamfam .hitarea, .treeview-famfamfam li.lastCollapsable, .treeview-famfamfam li.lastExpandable { background-image: url(images/treeview-famfamfam.gif); } 
+
+
+.filetree li { padding: 3px 0 2px 16px; }
+.filetree span.folder, .filetree span.file { padding: 1px 0 1px 20px; display: block; }
+.filetree span.folder { background: url(images/folder.gif) 0 0 no-repeat; }
+.filetree li.expandable span.folder { background: url(images/folder-closed.gif) 0 0 no-repeat; }
+.filetree span.file { background: url(images/page_white_text.png) 0 0 no-repeat; }
+
+.filetree li span a {
+	text-decoration: none;
+	font-size: 12px;
+	color: #517291;
+}
+
+html, body {height:100%; margin: 0; padding: 0; }
+
+/*
+html>body {
+	font-size: 16px;
+	font-size: 68.75%;
+} Reset Base Font Size */
+  /*
+body {
+	font-family: Verdana, helvetica, arial, sans-serif;
+	font-size: 68.75%;
+	background: #fff;
+	color: #333;
+}   */ 
+
+a img { border: none; }
\ No newline at end of file

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.js
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.js?rev=1444637&view=auto
==============================================================================
--- incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.js (added)
+++ incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.js Mon Feb 11 00:28:28 2013
@@ -0,0 +1,255 @@
+/*
+ * Treeview 1.4 - jQuery plugin to hide and show branches of a tree
+ * 
+ * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
+ * http://docs.jquery.com/Plugins/Treeview
+ *
+ * Copyright (c) 2007 Jörn Zaefferer
+ *
+ * Dual licensed under the MIT and GPL licenses:
+ *   http://www.opensource.org/licenses/mit-license.php
+ *   http://www.gnu.org/licenses/gpl.html
+ *
+ * Revision: $Id: jquery.treeview.js 4684 2008-02-07 19:08:06Z joern.zaefferer $
+ *
+ */
+
+;(function($) {
+
+	$.extend($.fn, {
+		swapClass: function(c1, c2) {
+			var c1Elements = this.filter('.' + c1);
+			this.filter('.' + c2).removeClass(c2).addClass(c1);
+			c1Elements.removeClass(c1).addClass(c2);
+			return this;
+		},
+		replaceClass: function(c1, c2) {
+			return this.filter('.' + c1).removeClass(c1).addClass(c2).end();
+		},
+		hoverClass: function(className) {
+			className = className || "hover";
+			return this.hover(function() {
+				$(this).addClass(className);
+			}, function() {
+				$(this).removeClass(className);
+			});
+		},
+		heightToggle: function(animated, callback) {
+			animated ?
+				this.animate({ height: "toggle" }, animated, callback) :
+				this.each(function(){
+					jQuery(this)[ jQuery(this).is(":hidden") ? "show" : "hide" ]();
+					if(callback)
+						callback.apply(this, arguments);
+				});
+		},
+		heightHide: function(animated, callback) {
+			if (animated) {
+				this.animate({ height: "hide" }, animated, callback);
+			} else {
+				this.hide();
+				if (callback)
+					this.each(callback);				
+			}
+		},
+		prepareBranches: function(settings) {
+			if (!settings.prerendered) {
+				// mark last tree items
+				this.filter(":last-child:not(ul)").addClass(CLASSES.last);
+				// collapse whole tree, or only those marked as closed, anyway except those marked as open
+				this.filter((settings.collapsed ? "" : "." + CLASSES.closed) + ":not(." + CLASSES.open + ")").find(">ul").hide();
+			}
+			// return all items with sublists
+			return this.filter(":has(>ul)");
+		},
+		applyClasses: function(settings, toggler) {
+			this.filter(":has(>ul):not(:has(>a))").find(">span").click(function(event) {
+				toggler.apply($(this).next());
+			}).add( $("a", this) ).hoverClass();
+			
+			if (!settings.prerendered) {
+				// handle closed ones first
+				this.filter(":has(>ul:hidden)")
+						.addClass(CLASSES.expandable)
+						.replaceClass(CLASSES.last, CLASSES.lastExpandable);
+						
+				// handle open ones
+				this.not(":has(>ul:hidden)")
+						.addClass(CLASSES.collapsable)
+						.replaceClass(CLASSES.last, CLASSES.lastCollapsable);
+						
+	            // create hitarea
+				this.prepend("<div class=\"" + CLASSES.hitarea + "\"/>").find("div." + CLASSES.hitarea).each(function() {
+					var classes = "";
+					$.each($(this).parent().attr("class").split(" "), function() {
+						classes += this + "-hitarea ";
+					});
+					$(this).addClass( classes );
+				});
+			}
+			
+			// apply event to hitarea
+			this.find("div." + CLASSES.hitarea).click( toggler );
+		},
+		treeview: function(settings) {
+
+            if(typeof(window.treeCookieId) !== 'undefined' || window.treeCookieId === ""){
+                treeCookieId = "treeview";
+            }
+
+			settings = $.extend({
+				cookieId: treeCookieId
+			}, settings);
+			
+			if (settings.add) {
+				return this.trigger("add", [settings.add]);
+			}
+			
+			if ( settings.toggle ) {
+				var callback = settings.toggle;
+				settings.toggle = function() {
+					return callback.apply($(this).parent()[0], arguments);
+				};
+			}
+		
+			// factory for treecontroller
+			function treeController(tree, control) {
+				// factory for click handlers
+				function handler(filter) {
+					return function() {
+						// reuse toggle event handler, applying the elements to toggle
+						// start searching for all hitareas
+						toggler.apply( $("div." + CLASSES.hitarea, tree).filter(function() {
+							// for plain toggle, no filter is provided, otherwise we need to check the parent element
+							return filter ? $(this).parent("." + filter).length : true;
+						}) );
+						return false;
+					};
+				}
+				// click on first element to collapse tree
+				$("a:eq(0)", control).click( handler(CLASSES.collapsable) );
+				// click on second to expand tree
+				$("a:eq(1)", control).click( handler(CLASSES.expandable) );
+				// click on third to toggle tree
+				$("a:eq(2)", control).click( handler() ); 
+			}
+		
+			// handle toggle event
+			function toggler() {
+				$(this)
+					.parent()
+					// swap classes for hitarea
+					.find(">.hitarea")
+						.swapClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
+						.swapClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea )
+					.end()
+					// swap classes for parent li
+					.swapClass( CLASSES.collapsable, CLASSES.expandable )
+					.swapClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
+					// find child lists
+					.find( ">ul" )
+					// toggle them
+					.heightToggle( settings.animated, settings.toggle );
+				if ( settings.unique ) {
+					$(this).parent()
+						.siblings()
+						// swap classes for hitarea
+						.find(">.hitarea")
+							.replaceClass( CLASSES.collapsableHitarea, CLASSES.expandableHitarea )
+							.replaceClass( CLASSES.lastCollapsableHitarea, CLASSES.lastExpandableHitarea )
+						.end()
+						.replaceClass( CLASSES.collapsable, CLASSES.expandable )
+						.replaceClass( CLASSES.lastCollapsable, CLASSES.lastExpandable )
+						.find( ">ul" )
+						.heightHide( settings.animated, settings.toggle );
+				}
+			}
+			//Cookie Persistence
+			function serialize() {
+				function binary(arg) {
+					return arg ? 1 : 0;
+				}
+				var data = [];
+				branches.each(function(i, e) {
+					data[i] = $(e).is(":has(>ul:visible)") ? 1 : 0;
+				});
+				$.cookie(settings.cookieId, data.join("") );
+			}
+			
+			function deserialize() {
+				var stored = $.cookie(settings.cookieId);
+				if ( stored ) {
+					var data = stored.split("");
+					branches.each(function(i, e) {
+						$(e).find(">ul")[ parseInt(data[i]) ? "show" : "hide" ]();
+					});
+				}
+			}
+			
+			// add treeview class to activate styles
+			this.addClass("treeview");
+			
+			// prepare branches and find all tree items with child lists
+			var branches = this.find("li").prepareBranches(settings);
+			
+			switch(settings.persist) {
+			case "cookie":
+				var toggleCallback = settings.toggle;
+				settings.toggle = function() {
+					serialize();
+					if (toggleCallback) {
+						toggleCallback.apply(this, arguments);
+					}
+				};
+				deserialize();
+				break;
+			case "location":
+				var current = this.find("a").filter(function() { return this.href.toLowerCase() == location.href.toLowerCase(); });
+				if ( current.length ) {
+					current.addClass("selected").parents("ul, li").add( current.next() ).show();
+				}
+				break;
+			}
+			
+			branches.applyClasses(settings, toggler);
+				
+			// if control option is set, create the treecontroller and show it
+			if ( settings.control ) {
+				treeController(this, settings.control);
+				$(settings.control).show();
+			}
+			
+			return this.bind("add", function(event, branches) {
+				$(branches).prev()
+					.removeClass(CLASSES.last)
+					.removeClass(CLASSES.lastCollapsable)
+					.removeClass(CLASSES.lastExpandable)
+				.find(">.hitarea")
+					.removeClass(CLASSES.lastCollapsableHitarea)
+					.removeClass(CLASSES.lastExpandableHitarea);
+				$(branches).find("li").andSelf().prepareBranches(settings).applyClasses(settings, toggler);
+			});
+		}
+	});
+	
+	// classes used by the plugin
+	// need to be styled via external stylesheet, see first example
+	var CLASSES = $.fn.treeview.classes = {
+		open: "open",
+		closed: "closed",
+		expandable: "expandable",
+		expandableHitarea: "expandable-hitarea",
+		lastExpandableHitarea: "lastExpandable-hitarea",
+		collapsable: "collapsable",
+		collapsableHitarea: "collapsable-hitarea",
+		lastCollapsableHitarea: "lastCollapsable-hitarea",
+		lastCollapsable: "lastCollapsable",
+		lastExpandable: "lastExpandable",
+		last: "last",
+		hitarea: "hitarea"
+	};
+	
+	// provide backwards compability
+	$.fn.Treeview = $.fn.treeview;
+	
+})(jQuery);
\ No newline at end of file

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.min.js
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.min.js?rev=1444637&view=auto
==============================================================================
--- incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.min.js (added)
+++ incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.min.js Mon Feb 11 00:28:28 2013
@@ -0,0 +1,16 @@
+/*
+ * Treeview 1.4 - jQuery plugin to hide and show branches of a tree
+ * 
+ * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
+ * http://docs.jquery.com/Plugins/Treeview
+ *
+ * Copyright (c) 2007 Jörn Zaefferer
+ *
+ * Dual licensed under the MIT and GPL licenses:
+ *   http://www.opensource.org/licenses/mit-license.php
+ *   http://www.gnu.org/licenses/gpl.html
+ *
+ * Revision: $Id: jquery.treeview.js 4684 2008-02-07 19:08:06Z joern.zaefferer $
+ * kasunbg: changed the cookieid name
+ *
+ */;(function($){$.extend($.fn,{swapClass:function(c1,c2){var c1Elements=this.filter('.'+c1);this.filter('.'+c2).removeClass(c2).addClass(c1);c1Elements.removeClass(c1).addClass(c2);return this;},replaceClass:function(c1,c2){return this.filter('.'+c1).removeClass(c1).addClass(c2).end();},hoverClass:function(className){className=className||"hover";return this.hover(function(){$(this).addClass(className);},function(){$(this).removeClass(className);});},heightToggle:function(animated,callback){animated?this.animate({height:"toggle"},animated,callback):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();if(callback)callback.apply(this,arguments);});},heightHide:function(animated,callback){if(animated){this.animate({height:"hide"},animated,callback);}else{this.hide();if(callback)this.each(callback);}},prepareBranches:function(settings){if(!settings.prerendered){this.filter(":last-child:not(ul)").addClass(CLASSES.last);this.filter((settings.collapsed?"":"
 ."+CLASSES.closed)+":not(."+CLASSES.open+")").find(">ul").hide();}return this.filter(":has(>ul)");},applyClasses:function(settings,toggler){this.filter(":has(>ul):not(:has(>a))").find(">span").click(function(event){toggler.apply($(this).next());}).add($("a",this)).hoverClass();if(!settings.prerendered){this.filter(":has(>ul:hidden)").addClass(CLASSES.expandable).replaceClass(CLASSES.last,CLASSES.lastExpandable);this.not(":has(>ul:hidden)").addClass(CLASSES.collapsable).replaceClass(CLASSES.last,CLASSES.lastCollapsable);this.prepend("<div class=\""+CLASSES.hitarea+"\"/>").find("div."+CLASSES.hitarea).each(function(){var classes="";$.each($(this).parent().attr("class").split(" "),function(){classes+=this+"-hitarea ";});$(this).addClass(classes);});}this.find("div."+CLASSES.hitarea).click(toggler);},treeview:function(settings){if(typeof(window.treeCookieId) === 'undefined' || window.treeCookieId === ""){treeCookieId = "treeview";} settings=$.extend({cookieId: treeCookieId},sett
 ings);if(settings.add){return this.trigger("add",[settings.add]);}if(settings.toggle){var callback=settings.toggle;settings.toggle=function(){return callback.apply($(this).parent()[0],arguments);};}function treeController(tree,control){function handler(filter){return function(){toggler.apply($("div."+CLASSES.hitarea,tree).filter(function(){return filter?$(this).parent("."+filter).length:true;}));return false;};}$("a:eq(0)",control).click(handler(CLASSES.collapsable));$("a:eq(1)",control).click(handler(CLASSES.expandable));$("a:eq(2)",control).click(handler());}function toggler(){$(this).parent().find(">.hitarea").swapClass(CLASSES.collapsableHitarea,CLASSES.expandableHitarea).swapClass(CLASSES.lastCollapsableHitarea,CLASSES.lastExpandableHitarea).end().swapClass(CLASSES.collapsable,CLASSES.expandable).swapClass(CLASSES.lastCollapsable,CLASSES.lastExpandable).find(">ul").heightToggle(settings.animated,settings.toggle);if(settings.unique){$(this).parent().siblings().find(">.hi
 tarea").replaceClass(CLASSES.collapsableHitarea,CLASSES.expandableHitarea).replaceClass(CLASSES.lastCollapsableHitarea,CLASSES.lastExpandableHitarea).end().replaceClass(CLASSES.collapsable,CLASSES.expandable).replaceClass(CLASSES.lastCollapsable,CLASSES.lastExpandable).find(">ul").heightHide(settings.animated,settings.toggle);}}function serialize(){function binary(arg){return arg?1:0;}var data=[];branches.each(function(i,e){data[i]=$(e).is(":has(>ul:visible)")?1:0;});$.cookie(settings.cookieId,data.join(""));}function deserialize(){var stored=$.cookie(settings.cookieId);if(stored){var data=stored.split("");branches.each(function(i,e){$(e).find(">ul")[parseInt(data[i])?"show":"hide"]();});}}this.addClass("treeview");var branches=this.find("li").prepareBranches(settings);switch(settings.persist){case"cookie":var toggleCallback=settings.toggle;settings.toggle=function(){serialize();if(toggleCallback){toggleCallback.apply(this,arguments);}};deserialize();break;case"location":var
  current=this.find("a").filter(function(){return this.href.toLowerCase()==location.href.toLowerCase();});if(current.length){current.addClass("selected").parents("ul, li").add(current.next()).show();}break;}branches.applyClasses(settings,toggler);if(settings.control){treeController(this,settings.control);$(settings.control).show();}return this.bind("add",function(event,branches){$(branches).prev().removeClass(CLASSES.last).removeClass(CLASSES.lastCollapsable).removeClass(CLASSES.lastExpandable).find(">.hitarea").removeClass(CLASSES.lastCollapsableHitarea).removeClass(CLASSES.lastExpandableHitarea);$(branches).find("li").andSelf().prepareBranches(settings).applyClasses(settings,toggler);});}});var CLASSES=$.fn.treeview.classes={open:"open",closed:"closed",expandable:"expandable",expandableHitarea:"expandable-hitarea",lastExpandableHitarea:"lastExpandable-hitarea",collapsable:"collapsable",collapsableHitarea:"collapsable-hitarea",lastCollapsableHitarea:"lastCollapsable-hitarea"
 ,lastCollapsable:"lastCollapsable",lastExpandable:"lastExpandable",last:"last",hitarea:"hitarea"};$.fn.Treeview=$.fn.treeview;})(jQuery);
\ No newline at end of file

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.pack.js
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.pack.js?rev=1444637&view=auto
==============================================================================
--- incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.pack.js (added)
+++ incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/jquery/treeview/jquery.treeview.pack.js Mon Feb 11 00:28:28 2013
@@ -0,0 +1,16 @@
+/*
+ * Treeview 1.4 - jQuery plugin to hide and show branches of a tree
+ * 
+ * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
+ * http://docs.jquery.com/Plugins/Treeview
+ *
+ * Copyright (c) 2007 Jörn Zaefferer
+ *
+ * Dual licensed under the MIT and GPL licenses:
+ *   http://www.opensource.org/licenses/mit-license.php
+ *   http://www.gnu.org/licenses/gpl.html
+ *
+ * Revision: $Id: jquery.treeview.js 4684 2008-02-07 19:08:06Z joern.zaefferer $
+ *
+ */
+eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}(';(4($){$.1l($.F,{E:4(b,c){l a=3.n(\'.\'+b);3.n(\'.\'+c).o(c).m(b);a.o(b).m(c);8 3},s:4(a,b){8 3.n(\'.\'+a).o(a).m(b).P()},1n:4(a){a=a||"1j";8 3.1j(4(){$(3).m(a)},4(){$(3).o(a)})},1h:4(b,a){b?3.1g({1e:"p"},b,a):3.x(4(){T(3)[T(3).1a(":U")?"H":"D"]();7(a)a.A(3,O)})},12:4(b,a){7(b){3.1g({1e:"D"},b,a)}1L{3.D();7(a)3.x(a)}},11:4(a){7(!a.1k){3.n(":r-1H:G(9)").m(k.r);3.n((a.1F?"":"."+k.X)+":G(."+k.W+")").6(">9").D()}8 3.n(":y(>9)")},S:4(b,c){3.n(":y(>9):G(:y(>a))").6(">1z").C(4(a){c.A($(3).19())}).w($("a",3)).1n();7(!b.1k){3.n(":y(>9:U)").m(k.q).s(k.r,k.t);3.G(":y(>9:U)").m(k.u).s(k.r,k.v);3.1r("<J 14=\\""+k.5+"\\"/>").6("J."+k.5).x(4(){l a="";$.x($(3).B().1o("14
 ").13(" "),4(){a+=3+"-5 "});$(3).m(a)})}3.6("J."+k.5).C(c)},z:4(g){g=$.1l({N:"z"},g);7(g.w){8 3.1K("w",[g.w])}7(g.p){l d=g.p;g.p=4(){8 d.A($(3).B()[0],O)}}4 1m(b,c){4 L(a){8 4(){K.A($("J."+k.5,b).n(4(){8 a?$(3).B("."+a).1i:1I}));8 1G}}$("a:10(0)",c).C(L(k.u));$("a:10(1)",c).C(L(k.q));$("a:10(2)",c).C(L())}4 K(){$(3).B().6(">.5").E(k.Z,k.Y).E(k.I,k.M).P().E(k.u,k.q).E(k.v,k.t).6(">9").1h(g.1f,g.p);7(g.1E){$(3).B().1D().6(">.5").s(k.Z,k.Y).s(k.I,k.M).P().s(k.u,k.q).s(k.v,k.t).6(">9").12(g.1f,g.p)}}4 1d(){4 1C(a){8 a?1:0}l b=[];j.x(4(i,e){b[i]=$(e).1a(":y(>9:1B)")?1:0});$.V(g.N,b.1A(""))}4 1c(){l b=$.V(g.N);7(b){l a=b.13("");j.x(4(i,e){$(e).6(">9")[1y(a[i])?"H":"D"]()})}}3.m("z");l j=3.6("Q").11(g);1x(g.1w){18"V":l h=g.p;g.p=4(){1d();7(h){h.A(3,O)}};1c();17;18"1b":l f=3.6("a").n(4(){8 3.16.15()==1b.16.15()});7(f.1i){f.m("1v").1u("9, Q").w(f.19()).H()}17}j.S(g,K);7(g.R){1m(3,g.R);$(g.R).H()}8 3.1t("w",4(a,b){$(b).1s().o(k.r).o(k.v).o(k.t).6(">.5").o(k.I).o(k.M);$(b).6("Q").1q().
 11(g).S(g,K)})}});l k=$.F.z.1J={W:"W",X:"X",q:"q",Y:"q-5",M:"t-5",u:"u",Z:"u-5",I:"v-5",v:"v",t:"t",r:"r",5:"5"};$.F.1p=$.F.z})(T);',62,110,'|||this|function|hitarea|find|if|return|ul||||||||||||var|addClass|filter|removeClass|toggle|expandable|last|replaceClass|lastExpandable|collapsable|lastCollapsable|add|each|has|treeview|apply|parent|click|hide|swapClass|fn|not|show|lastCollapsableHitarea|div|toggler|handler|lastExpandableHitarea|cookieId|arguments|end|li|control|applyClasses|jQuery|hidden|cookie|open|closed|expandableHitarea|collapsableHitarea|eq|prepareBranches|heightHide|split|class|toLowerCase|href|break|case|next|is|location|deserialize|serialize|height|animated|animate|heightToggle|length|hover|prerendered|extend|treeController|hoverClass|attr|Treeview|andSelf|prepend|prev|bind|parents|selected|persist|switch|parseInt|span|join|visible|binary|siblings|unique|collapsed|false|child|true|classes|trigger|else'.split('|'),0,{}))
\ No newline at end of file

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/main.js
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/main.js?rev=1444637&view=auto
==============================================================================
--- incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/main.js (added)
+++ incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/common/main.js Mon Feb 11 00:28:28 2013
@@ -0,0 +1,209 @@
+/**
+ * Miscellaneous js functions for WebHelp
+ * Kasun Gajasinghe, http://kasunbg.blogspot.com
+ * David Cramer, http://www.thingbag.net
+ *
+ */
+
+$(document).ready(function() {  
+
+
+	// When you click on a link to an anchor, scroll down 
+	// 105 px to cope with the fact that the banner
+	// hides the top 95px or so of the page.
+	// This code deals with the problem when 
+	// you click on a link within a page.
+	$('a[href*=#]').click(function() {
+		if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
+		    && location.hostname == this.hostname) {
+		    var $target = $(this.hash);
+		    $target = $target.length && $target
+			|| $('[name=' + this.hash.slice(1) +']');
+		if (!(this.hash == "#searchDiv" || this.hash == "#treeDiv" || this.hash == "") && $target.length) {
+			var targetOffset = $target.offset().top - 140;
+			$('html,body')
+			    .animate({scrollTop: targetOffset}, 200);
+			return false;
+		    }
+		}
+	    });
+
+
+
+  //  $("#showHideHighlight").button(); //add jquery button styling to 'Go' button
+    //Generate tabs in nav-pane with JQuery
+    $(function() {
+            $("#tabs").tabs({
+                cookie: {
+                    // store cookie for 2 days.
+                    expires: 2
+                }
+            });
+        });
+
+    //Generate the tree
+     $("#ulTreeDiv").attr("style","");
+    $("#tree").treeview({
+        collapsed: true,
+        animated: "medium",
+        control: "#sidetreecontrol",
+        persist: "cookie"
+    });
+
+    //after toc fully styled, display it. Until loading, a 'loading' image will be displayed
+    $("#tocLoading").attr("style","display:none;");
+//    $("#ulTreeDiv").attr("style","display:block;");
+
+    //.searchButton is the css class applied to 'Go' button 
+    $(function() {
+		$("button", ".searchButton").button();
+
+		$("button", ".searchButton").click(function() { return false; });
+	});
+
+    //'ui-tabs-1' is the cookie name which is used for the persistence of the tabs.(Content/Search tab)
+    if ($.cookie('ui-tabs-1') === '1') {    //search tab is visible 
+        if ($.cookie('textToSearch') != undefined && $.cookie('textToSearch').length > 0) {
+            document.getElementById('textToSearch').value = $.cookie('textToSearch');
+            Effectuer_recherche($.cookie('textToSearch'));
+            searchHighlight($.cookie('textToSearch'));
+            $("#showHideHighlight").css("display","block");
+        }
+    }
+
+    syncToc(); //Synchronize the toc tree with the content pane, when loading the page.
+    //$("#doSearch").button(); //add jquery button styling to 'Go' button
+
+    // When you click on a link to an anchor, scroll down 
+    // 105 px to cope with the fact that the banner
+    // hides the top 95px or so of the page.
+    // This code deals with the problem when 
+    // you click on a link from another page. 
+    var hash = window.location.hash;
+    if(hash){ 
+	var targetOffset = $(hash).offset().top - 140;
+	$('html,body').animate({scrollTop: targetOffset}, 200);
+	return false;
+    }
+
+});
+
+/**
+ * Synchronize with the tableOfContents 
+ */
+function syncToc(){
+    var a = document.getElementById("webhelp-currentid");
+    if (a != undefined) {
+        var b = a.getElementsByTagName("a")[0];
+
+        if (b != undefined) {
+            //Setting the background for selected node.
+            var style = a.getAttribute("style", 2);
+            if (style != null && !style.match(/background-color: Background;/)) {
+                a.setAttribute("style", "background-color: #DEE9E9;  " + style);
+                b.setAttribute("style", "color: black;");
+            } else if (style != null) {
+                a.setAttribute("style", "background-color: #DEE9E9;  " + style);
+                b.setAttribute("style", "color: black;");
+            } else {
+                a.setAttribute("style", "background-color: #DEE9E9;  ");
+                b.setAttribute("style", "color: black;");
+            }
+        }
+
+        //shows the node related to current content.
+        //goes a recursive call from current node to ancestor nodes, displaying all of them.
+        while (a.parentNode && a.parentNode.nodeName) {
+            var parentNode = a.parentNode;
+            var nodeName = parentNode.nodeName;
+
+            if (nodeName.toLowerCase() == "ul") {
+                parentNode.setAttribute("style", "display: block;");
+            } else if (nodeName.toLocaleLowerCase() == "li") {
+                parentNode.setAttribute("class", "collapsable");
+                parentNode.firstChild.setAttribute("class", "hitarea collapsable-hitarea ");
+            }
+            a = parentNode;
+        }
+    }
+}
+
+/**
+ * Code for Show/Hide TOC
+ *
+ */
+function showHideToc() {
+    var showHideButton = $("#showHideButton");
+    var leftNavigation = $("#leftnavigation");
+    var content = $("#content");
+
+    if (showHideButton != undefined && showHideButton.hasClass("pointLeft")) {
+        //Hide TOC
+        showHideButton.removeClass('pointLeft').addClass('pointRight');
+        content.css("margin", "125px 0 0 0");
+        leftNavigation.css("display","none");
+        showHideButton.attr("title", "Show the TOC tree");
+	$("body").addClass("sidebar");
+    } else {
+        //Show the TOC
+        showHideButton.removeClass('pointRight').addClass('pointLeft');
+        content.css("margin", "125px 0 0 280px");
+        leftNavigation.css("display","block");
+        showHideButton.attr("title", "Hide the TOC Tree");
+	$("body").removeClass("sidebar");
+    }
+}
+
+/**
+ * Code for search highlighting
+ */
+var highlightOn = true;
+function searchHighlight(searchText) {
+    highlightOn = true;
+    if (searchText != undefined) {
+        var wList;
+        var sList = new Array();    //stem list 
+        //Highlight the search terms
+        searchText = searchText.toLowerCase().replace(/<\//g, "_st_").replace(/\$_/g, "_di_").replace(/\.|%2C|%3B|%21|%3A|@|\/|\*/g, " ").replace(/(%20)+/g, " ").replace(/_st_/g, "</").replace(/_di_/g, "%24_")
+        searchText = searchText.replace(/  +/g, " ");
+        searchText = searchText.replace(/ $/, "").replace(/^ /, "");
+
+        wList = searchText.split(" ");
+        $("#content").highlight(wList); //Highlight the search input
+
+        if(typeof stemmer != "undefined" ){
+            //Highlight the stems
+            for (var i = 0; i < wList.length; i++) {
+                var stemW = stemmer(wList[i]);
+                sList.push(stemW);
+            }
+        } else {
+            sList = wList;
+        }
+        $("#content").highlight(sList); //Highlight the search input's all stems
+    } 
+}
+
+function searchUnhighlight(){
+    highlightOn = false;
+     //unhighlight the search input's all stems
+    $("#content").unhighlight();
+    $("#content").unhighlight();
+}
+
+function toggleHighlight(){
+    if(highlightOn) {
+        searchUnhighlight();
+    } else {
+        searchHighlight($.cookie('textToSearch'));
+    }
+}
+/*
+CSS Browser Selector v0.4.0 (Nov 02, 2010)
+Rafael Lima (http://rafael.adm.br)
+http://rafael.adm.br/css_browser_selector
+License: http://creativecommons.org/licenses/by/2.5/
+Contributors: http://rafael.adm.br/css_browser_selector#contributors
+*/
+function css_browser_selector(u){var ua=u.toLowerCase(),is=function(t){return ua.indexOf(t)>-1},g='gecko',w='webkit',s='safari',o='opera',m='mobile',h=document.documentElement,b=[(!(/opera|webtv/i.test(ua))&&/msie\s(\d)/.test(ua))?('ie ie'+RegExp.$1):is('firefox/2')?g+' ff2':is('firefox/3.5')?g+' ff3 ff3_5':is('firefox/3.6')?g+' ff3 ff3_6':is('firefox/3')?g+' ff3':is('gecko/')?g:is('opera')?o+(/version\/(\d+)/.test(ua)?' '+o+RegExp.$1:(/opera(\s|\/)(\d+)/.test(ua)?' '+o+RegExp.$2:'')):is('konqueror')?'konqueror':is('blackberry')?m+' blackberry':is('android')?m+' android':is('chrome')?w+' chrome':is('iron')?w+' iron':is('applewebkit/')?w+' '+s+(/version\/(\d+)/.test(ua)?' '+s+RegExp.$1:''):is('mozilla/')?g:'',is('j2me')?m+' j2me':is('iphone')?m+' iphone':is('ipod')?m+' ipod':is('ipad')?m+' ipad':is('mac')?'mac':is('darwin')?'mac':is('webtv')?'webtv':is('win')?'win'+(is('windows nt 6.0')?' vista':''):is('freebsd')?'freebsd':(is('x11')||is('linux'))?'linux':'','js']; c = b.join
 (' '); h.className += ' '+c; return c;}; css_browser_selector(navigator.userAgent);
+/* End CSS Browser Selector code */
\ No newline at end of file

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/content/ambari-chap1-1.html
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/content/ambari-chap1-1.html?rev=1444637&view=auto
==============================================================================
--- incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/content/ambari-chap1-1.html (added)
+++ incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/content/ambari-chap1-1.html Mon Feb 11 00:28:28 2013
@@ -0,0 +1,50 @@
+<?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>1. Understand the Basics - Apache Ambari
+    </title><meta name="generator" content="DocBook XSL-NS Stylesheets V1.76.1"/><meta name="mavenGroupId" content="ambari.docs"/><meta name="mavenArtifactId" content="Ambari"/><meta name="mavenVersionId" content="1.2.0"/><link rel="home" href="index.html" title="Apache Ambari"/><link rel="up" href="ambari-chap1.html" title="Chapter 1. Getting Ready to Install"/><link rel="prev" href="ambari-chap1.html" title="Chapter 1. Getting Ready to Install"/><link rel="next" href="ambari-chap1-2.html" title="2. Meet Minimum System Requirements"/><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script type="text/javascript">
+            //The id for tree cookie
+            var treeCookieId = "treeview-3955";
+            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="Ambari" width="60" height="60"/></a><h1>1. Understand the Basics</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-chap1.html">Prev</a>
+				      |
+                                        <a accesskey="u" class="navLinkUp" onclick="_gaq.push(['_trackEvent', 'Header', 'upLink', 'click', 1]);" tabindex="5" href="ambari-chap1.html">Up</a>
+				  |
+                                    <a accesskey="n" class="navLinkNext" onclick="_gaq.push(['_trackEvent', 'Header', 'nextLink', 'click', 1]);" tabindex="5" href="ambari-chap1-2.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">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-chap1-1"> </a>1. Understand the Basics</h2></div></div></div><p>Hadoop components supported by Ambari consists of three layers.</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><span class="bold"><strong>Core Hadoop</strong></span>: The
  basic components of Apache Hadoop.</p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p><span class="bold"><strong>Hadoop Distributed File System (HDFS)</strong></span>: A special purpose file
+system that is designed to work the MapReduce engine. It provides high-throughput access to data in
+a highly distributed environment.</p></li><li class="listitem"><p><span class="bold"><strong>MapReduce</strong></span>: A framework for performing high volume distributed data processing using the MapReduce programming paradigm.</p></li></ul></div></li><li class="listitem"><p><span class="bold"><strong>Essential Hadoop</strong></span>: : A set of Apache components designed to ease working with Core Hadoop.</p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p><span class="bold"><strong>Apache Pig</strong></span> A platform for creating higher level data flow programs that can be compiled into sequences of MapReduce programs, using Pig Latin, the platform’s native language.</p></li><li class="listitem"><p><span class="bold"><strong>Apache Hive</strong></span>: A tool for creating higher level SQL-like queries using HiveQL, the tool’s native language, that can be compiled into sequences of MapReduce programs.</p></li><li class="l
 istitem"><p><span class="bold"><strong>Apache HCatalog</strong></span>: A metadata abstraction layer that insulates
+users and scripts from how and where data is physically stored.</p></li><li class="listitem"><p><span class="bold"><strong>WebHCat</strong></span>: A component that provides a set of REST-like APIs
+for HCatalog and related Hadoop components.  Originally named <span class="bold"><strong>Templeton</strong></span>.</p></li><li class="listitem"><p><span class="bold"><strong>Apache HBase</strong></span>: A distributed, column-oriented database that provides the ability to access and manipulate data randomly in the context of the large blocks that make up HDFS.</p></li><li class="listitem"><p><span class="bold"><strong>Apache ZooKeeper</strong></span>: A centralized tool for providing services to highly distributed systems. ZooKeeper is necessary for HBase installations.</p></li></ul></div></li><li class="listitem"><p><span class="bold"><strong>Hadoop Support</strong></span>: A set of components that allow you to monitor
+your Hadoop installation and to connect Hadoop with your larger compute environment.</p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p><span class="bold"><strong>Apache Oozie</strong></span>: A server based workflow engine optimized for running workflows that execute Hadoop jobs.</p></li><li class="listitem"><p><span class="bold"><strong>Apache Sqoop</strong></span>: A component that provides a mechanism for
+moving data between Hadoop and external structured data stores. Can be integrated with Oozie
+workflows.</p></li><li class="listitem"><p><span class="bold"><strong>Ganglia</strong></span>: An Open Source tool for monitoring high-performance
+computing systems.</p></li><li class="listitem"><p><span class="bold"><strong>Nagios</strong></span>: An Open Source tool for monitoring systems, services,
+and networks.</p></li></ul></div></li></ul></div><p>You must always install HDFS, but you can select the components from the other layers based on
+your needs.</p></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" id="webhelp-currentid"><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 Requiremen
 ts</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 t
 abindex="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></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 U
 p 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 Authentication</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap2-3.html">4. 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-1.html">8.1. HDFS</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-2.html">8.2. MapReduce</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-3.
 html">8.3. Hive/HCat </a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-4.html">8.4. WebHCat</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-5.html">8.5. HBase</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-6.html">8.6. ZooKeeper</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-7.html">8.7. Oozie</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-9.html">8.8. Nagios</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-8.html">8.9. Misc</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-9a.html">8.10. 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></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-chap7.html">7. Appendix: Upgrading Ambari Server from 1.2.0 to 1.2.1</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap8.html">8. Appendix: Upgrading Operating Systems on an Ambari-based Hadoop Installation</a></span></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>

Added: incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/content/ambari-chap1-2.html
URL: http://svn.apache.org/viewvc/incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/content/ambari-chap1-2.html?rev=1444637&view=auto
==============================================================================
--- incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/content/ambari-chap1-2.html (added)
+++ incubator/ambari/site/1.2.1/installing-hadoop-using-ambari/content/ambari-chap1-2.html Mon Feb 11 00:28:28 2013
@@ -0,0 +1,51 @@
+<?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>2. Meet Minimum System Requirements - Apache Ambari
+    </title><meta name="generator" content="DocBook XSL-NS Stylesheets V1.76.1"/><meta name="mavenGroupId" content="ambari.docs"/><meta name="mavenArtifactId" content="Ambari"/><meta name="mavenVersionId" content="1.2.0"/><link rel="home" href="index.html" title="Apache Ambari"/><link rel="up" href="ambari-chap1.html" title="Chapter 1. Getting Ready to Install"/><link rel="prev" href="ambari-chap1-1.html" title="1. Understand the Basics"/><link rel="next" href="ambari-chap1-3.html" title="3. Decide on Deployment Type"/><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><script type="text/javascript">
+            //The id for tree cookie
+            var treeCookieId = "treeview-3955";
+            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="Ambari" width="60" height="60"/></a><h1>2. Meet Minimum System Requirements</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-chap1-1.html">Prev</a>
+				      |
+                                        <a accesskey="u" class="navLinkUp" onclick="_gaq.push(['_trackEvent', 'Header', 'upLink', 'click', 1]);" tabindex="5" href="ambari-chap1.html">Up</a>
+				  |
+                                    <a accesskey="n" class="navLinkNext" onclick="_gaq.push(['_trackEvent', 'Header', 'nextLink', 'click', 1]);" tabindex="5" href="ambari-chap1-3.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">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-chap1-2"> </a>2. Meet Minimum System Requirements</h2></div></div></div><p>To install and manage a Hadoop cluster using Ambari, your system must meet minimum requirements.</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p><a class="link"
  href="ambari-chap1-2.html#ambari-chap1-2-1" title="2.1. Hardware Recommendations">Hardware Recommendations</a></p></li><li class="listitem"><p><a class="link" href="ambari-chap1-2.html#ambari-chap1-2-2" title="2.2. Operating Systems Requirements">Operating Systems Requirements</a></p></li><li class="listitem"><p><a class="link" href="ambari-chap1-2.html#ambari-chap1-2-3" title="2.3. Browser Requirements">Browser Requirements</a></p></li><li class="listitem"><p><a class="link" href="ambari-chap1-2.html#ambari-chap1-2-4" title="2.4. Software Requirements">Software Requirements</a></p></li><li class="listitem"><p><a class="link" href="ambari-chap1-2.html#ambari-chap1-2-5" title="2.5. Database Requirements">Database Requirements</a></p></li></ul></div><div class="section"><div xmlns="" class="titlepage"><div><div><h3 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="ambari-chap1-2-1"> </a>2.1. Hardware Recommendations</h3></div></div></div></div><di
 v class="section"><div xmlns="" class="titlepage"><div><div><h3 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="ambari-chap1-2-2"> </a>2.2. Operating Systems Requirements</h3></div></div></div><p>The following operating systems are supported:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Red Hat Enterprise Linux (RHEL) v5.x or 6.x (64-bit)</p></li><li class="listitem"><p>CentOS v5.x or 6.x (64-bit)</p></li><li class="listitem"><p>SUSE Linux Enterprise Server (SLES) 11, SP1 (64-bit)</p></li></ul></div><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 installer pulls many packages from the base OS repos. If you do not have a complete set of
+base OS repos available to all your machines at the time of installation you may run into
+issues.</p><p>For example, if you are using RHEL 6 your hosts must be able to access the "Red Hat Enterprise
+Linux Server 6 Optional (RPMs)" repo. If this repo is disabled, the installation is unable to access
+the rubygems package, which is necessary for Ambari to operate.</p><p>If you encounter problems with
+base OS repos being unavailable, please contact your system administrator to arrange for these additional repos to 
+be proxied or mirrored. For more information see <a class="link" href="ambari-chap1-6.html" title="6. Optional: Configure the Local Repositories">Optional: Configure the Local Repositories</a>
+</p></td></tr></table></div></div><div class="section"><div xmlns="" class="titlepage"><div><div><h3 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="ambari-chap1-2-3"> </a>2.3. Browser Requirements</h3></div></div></div><p>The Ambari Install Wizard runs as a browser-based Web app. You must have a machine capable of
+running a graphical browser to use this tool. The supported browsers are:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Windows (Vista, 7)</p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p>Internet Explorer 9.0 and higher</p></li><li class="listitem"><p>Firefox latest stable release</p></li><li class="listitem"><p>Safari latest stable release</p></li><li class="listitem"><p>Google Chrome latest stable release</p></li></ul></div></li><li class="listitem"><p>Mac OS X (10.6 or later)</p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p>Firefox latest stable release</p></li><li class="listitem"><p>Safari latest stable release</p></li><li class="listitem"><p>Google Chrome latest stable release</p></li></ul></div></li><li class="listitem"><p>Linux (RHEL, CentOS, SLES)</p><div class="itemizedlist"><ul class="itemizedlist" type="circle"><li class="listitem"><p
 >Firefox latest stable release</p></li><li class="listitem"><p>Google Chrome latest stable release</p></li></ul></div></li></ul></div></div><div class="section"><div xmlns="" class="titlepage"><div><div><h3 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="ambari-chap1-2-4"> </a>2.4. Software Requirements</h3></div></div></div><p>On each of your hosts:</p><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>yum</p></li><li class="listitem"><p>rpm</p></li><li class="listitem"><p>scp</p></li><li class="listitem"><p>curl</p></li><li class="listitem"><p>wget</p></li><li class="listitem"><p>pdsh</p></li></ul></div><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 Python
  version shipped with SUSE 11, 2.6.0-8.12.2, has a critical bug that may cause the Ambari Agent
+to fail with 24 hours.  If you are installing on SUSE 11, please update all your hosts to Python
+version 2.6.8-0.15.1.</p></td></tr></table></div></div><div class="section"><div xmlns="" class="titlepage"><div><div><h3 xmlns="http://www.w3.org/1999/xhtml" class="title"><a id="ambari-chap1-2-5"> </a>2.5. Database Requirements</h3></div></div></div><p>Hive or HCatalog requires a MySQL database for its use. You can choose to use a current
+instance or let the Ambari install wizard create one for you.</p></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" id="webhelp-currentid"><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-chap
 1-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></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 Authentication</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap2-3.html">4. 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 tabin
 dex="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-1.html">8.1. HDFS</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-2.html">8.2. MapReduce</a></span></li><li ta
 bindex="2"><span class="file"><a href="ambari-chap3-7-3.html">8.3. Hive/HCat </a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-4.html">8.4. WebHCat</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-5.html">8.5. HBase</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-6.html">8.6. ZooKeeper</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-7.html">8.7. Oozie</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-9.html">8.8. Nagios</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-8.html">8.9. Misc</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap3-7-9a.html">8.10. 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. Insta
 ll, 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 tabinde
 x="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 tabin
 dex="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 cla
 ss="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></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-chap7.html">7. Appendix: Upgrading Ambari Server from 1.2.0 to 1.2.1</a></span></li><li tabindex="2"><span class="file"><a href="ambari-chap8.html">8. Appendix: Upgrading Operating Systems on an Ambari-based Hadoop Installation</a></span></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>