Return-Path: Delivered-To: apmail-hadoop-hbase-commits-archive@minotaur.apache.org Received: (qmail 36758 invoked from network); 19 Dec 2009 07:49:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Dec 2009 07:49:58 -0000 Received: (qmail 69042 invoked by uid 500); 19 Dec 2009 07:49:58 -0000 Delivered-To: apmail-hadoop-hbase-commits-archive@hadoop.apache.org Received: (qmail 68997 invoked by uid 500); 19 Dec 2009 07:49:58 -0000 Mailing-List: contact hbase-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-commits@hadoop.apache.org Received: (qmail 68988 invoked by uid 99); 19 Dec 2009 07:49:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Dec 2009 07:49:57 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 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, 19 Dec 2009 07:49:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 165C62388A1A; Sat, 19 Dec 2009 07:49:28 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r892445 - /hadoop/hbase/branches/0.20_on_hadoop-0.18.3/src/contrib/ec2/README.txt Date: Sat, 19 Dec 2009 07:49:28 -0000 To: hbase-commits@hadoop.apache.org From: apurtell@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091219074928.165C62388A1A@eris.apache.org> Author: apurtell Date: Sat Dec 19 07:49:27 2009 New Revision: 892445 URL: http://svn.apache.org/viewvc?rev=892445&view=rev Log: HBASE-2032 [EC2] Add support for installation of user packages; update readme Modified: hadoop/hbase/branches/0.20_on_hadoop-0.18.3/src/contrib/ec2/README.txt Modified: hadoop/hbase/branches/0.20_on_hadoop-0.18.3/src/contrib/ec2/README.txt URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20_on_hadoop-0.18.3/src/contrib/ec2/README.txt?rev=892445&r1=892444&r2=892445&view=diff ============================================================================== --- hadoop/hbase/branches/0.20_on_hadoop-0.18.3/src/contrib/ec2/README.txt (original) +++ hadoop/hbase/branches/0.20_on_hadoop-0.18.3/src/contrib/ec2/README.txt Sat Dec 19 07:49:27 2009 @@ -70,3 +70,35 @@ domU-12-31-39-01-B0-91.compute-1.internal:60020 1258653706411 requests=0, regions=0, usedHeap=27, maxHeap=987 0 dead servers + + +Extra Packages: + +It is possible to specify that extra packages be downloaded and installed on +demand when the master and slave instances start. + + 1. Set up a YUM repository. See: http://yum.baseurl.org/wiki/RepoCreate + + 2. Host the repository somewhere public. For example, build the + repository locally and then copy it up to an S3 bucket. + + 3. Create a YUM repository descriptor (.repo file). See: + http://yum.baseurl.org/wiki/RepoCreate + + [myrepo] + name = MyRepo + baseurl = http://mybucket.s3.amazonaws.com/myrepo + enabled = 1 + + Upload the .repo file somewhere public, for example, in the root + directory of the repository, + mybucket.s3.amazonaws.com/myrepo/myrepo.repo + + 4. Configure hbase-ec2-env.sh thus: + + EXTRA_PACKAGES="http://mybucket.s3.amazonaws.com/myrepo/myrepo.repo \ + pkg1 pkg2 pkg3" + +When the master and slave instances start, the .repo file will be added to +the Yum repository list and then Yum will be invoked to pull the packages +listed after the URL.