Return-Path: X-Original-To: apmail-incubator-ambari-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E544ADC47 for ; Sat, 12 Jan 2013 03:37:48 +0000 (UTC) Received: (qmail 30950 invoked by uid 500); 12 Jan 2013 03:37:48 -0000 Delivered-To: apmail-incubator-ambari-commits-archive@incubator.apache.org Received: (qmail 30896 invoked by uid 500); 12 Jan 2013 03:37:48 -0000 Mailing-List: contact ambari-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-commits@incubator.apache.org Received: (qmail 30862 invoked by uid 99); 12 Jan 2013 03:37:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jan 2013 03:37:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jan 2013 03:37:36 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 7DF342388AC8; Sat, 12 Jan 2013 03:36:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1432371 [8/24] - in /incubator/ambari/site: ./ installing-hadoop-using-ambari/ installing-hadoop-using-ambari/common/ installing-hadoop-using-ambari/common/css/ installing-hadoop-using-ambari/common/images/ installing-hadoop-using-ambari/c... Date: Sat, 12 Jan 2013 03:36:42 -0000 To: ambari-commits@incubator.apache.org From: yusaku@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130112033650.7DF342388AC8@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-5-4.html URL: http://svn.apache.org/viewvc/incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-5-4.html?rev=1432371&view=auto ============================================================================== --- incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-5-4.html (added) +++ incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-5-4.html Sat Jan 12 03:36:38 2013 @@ -0,0 +1,42 @@ + + + + +5.4. Check DNS  +
 

 5.4. Check DNS

All hosts in your system must be configured for DNS and Reverse DNS.

[Note]Note

If you are unable to configure DNS and Reverse DNS, you must edit the hosts file on every host +in your cluster to contain the address of each of your hosts.


loading table of contents...
\ No newline at end of file Added: incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-5-5.html URL: http://svn.apache.org/viewvc/incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-5-5.html?rev=1432371&view=auto ============================================================================== --- incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-5-5.html (added) +++ incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-5-5.html Sat Jan 12 03:36:38 2013 @@ -0,0 +1,53 @@ + + + + +5.5. Disable SELinux  +
 

 5.5. Disable SELinux

SELinux must be disabled for Ambari to function. To temporarily disable SELinux, run the +following command on each host in your cluster:

setenforce 0

Permanently disabling SELinux so that on system reboot it does not restart is strongly +recommended. To do this, edit the SELinux config and set SELINUX to disabled. On each host:

vi /etc/selinux/config
+# This file controls the state of SELinux on the system.
+# SELINUX= can take one of these three values:
+#       enforcing - SELinux security policy is enforced.
+#       permissive - SELinux prints warnings instead of enforcing.
+#       disabled - SELinux is fully disabled.
+SELINUX=disabled 
+# SELINUXTYPE= type of policy in use. Possible values are:
+#       targeted - Only targeted network daemons are protected.
+#       strict - Full SELinux protection.
+SELINUXTYPE=targeted

loading table of contents...
\ No newline at end of file Added: incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-5-6.html URL: http://svn.apache.org/viewvc/incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-5-6.html?rev=1432371&view=auto ============================================================================== --- incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-5-6.html (added) +++ incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-5-6.html Sat Jan 12 03:36:38 2013 @@ -0,0 +1,42 @@ + + + + +5.6. Disable iptables  +
 

 5.6. Disable iptables

chkconfig iptables off
+/etc/init.d/iptables stop

loading table of contents...
\ No newline at end of file Added: incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-5.html URL: http://svn.apache.org/viewvc/incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-5.html?rev=1432371&view=auto ============================================================================== --- incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-5.html (added) +++ incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-5.html Sat Jan 12 03:36:38 2013 @@ -0,0 +1,41 @@ + + + + +5. Prepare the Environment  +
 

 5. Prepare the Environment

To deploy your Hadoop instance, you need to prepare your deploy environment:


loading table of contents...
\ No newline at end of file Added: incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-6.html URL: http://svn.apache.org/viewvc/incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-6.html?rev=1432371&view=auto ============================================================================== --- incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-6.html (added) +++ incubator/ambari/site/installing-hadoop-using-ambari/content/ambari-chap1-6.html Sat Jan 12 03:36:38 2013 @@ -0,0 +1,71 @@ + + + + +6. Optional: Configure the Local Repositories  +
 

 6. Optional: Configure the Local Repositories

If your cluster does not have access to the Internet, or you are creating a large +cluster and you want to conserve bandwidth, you need to provide access to the bits using an alternative method. +

  1. Set up the local mirror repositories as +needed for HDP, HDP Utils and EPEL.

  2. From the Ambari Server host, fetch the Ambari repository file or RPM package as described in +Set Up the Bits. You need a connection to the Internet for +this step.

  3. Configure Ambari Server so that it knows to connect to the mirrored repositories during +installation.

    1. On Ambari Server, browse to the stacks definitions directory

      cd /var/lib/ambari-server/resources/stacks

      There are two stack definitions in this directory: HDP and +HDPLocal. The HDP definition points to the publicly hosted HDP software +packages. You must modify the HDPLocal definition to point to the local +repositories you have set up.

    2. Browse to the stack HDPLocal 1.2.0 repos directory.

      cd HDPLocal/1.2.0/repos
    3. Edit the repo info file:

      vi repoinfo.xml
    4. You must update the <baseurl> value to point to your local repositories +for each operating system that your cluster includes. So, for example, if your system includes hosts +running CentOS 6, to point to the HDP and HDP-EPEL repositories, you would update stanzas to look +something like this:

        <os type="centos6">
      +     <repo>       
      +        <baseurl>http://{your.hosted.local.repository}/HDP-1.2.0/repos/centos6</baseurl>       
      +        <repoid>HDP-1.2.0</repoid>
      +       <reponame>HDP</reponame>
      +     </repo>
      +     <repo>
      +       <baseurl>http://{your.hosted.local.repository}/HDP-1.2.0/repos/centos6</baseurl>
      +       <repoid>HDP-epel</repoid>
      +       <reponame>HDP-epel</reponame>
      +       <mirrorslist><![CDATA[http://mirrors.fedoraproject.org/mirrorlist?repo=epel-6&arch=$basearch]]></mirrorslist>
      +     </repo>
      +   </os>  

      The appropriate relative path depends on how you have set up your local repos.

      [Important]Important

      If you have mixed operating systems in your cluster (for example, CentOS 6 and RHEL 6), you +must configure the repositories and have properly edited <os type> stanzas for both OSes - +centos6 and redhat6. If you do not, some hosts in your cluster will not be able to retrieve the +software packages for their operating system.

    5. Save this file.

    6. If you have not already installed the JDK on all hosts, download jdk-6u31-linux-x64.bin to /var/lib/ambari-server/resources.

    7. If you have already installed the JDK on all hosts, you must +use the option -j flag when running Ambari Server setup.

      ambari-server setup –j /my/jdk/home

      You must also provide the appropriate JDK path when running the Ambari install wizard. See +Installing, Configuring and Deploying the Cluster: Install +Options


loading table of contents...
\ No newline at end of file