From hbase-commits-return-2436-apmail-hadoop-hbase-commits-archive=hadoop.apache.org@hadoop.apache.org Sat Dec 19 07:49:30 2009 Return-Path: Delivered-To: apmail-hadoop-hbase-commits-archive@minotaur.apache.org Received: (qmail 36704 invoked from network); 19 Dec 2009 07:49:30 -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:30 -0000 Received: (qmail 68875 invoked by uid 500); 19 Dec 2009 07:49:30 -0000 Delivered-To: apmail-hadoop-hbase-commits-archive@hadoop.apache.org Received: (qmail 68819 invoked by uid 500); 19 Dec 2009 07:49:29 -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 68809 invoked by uid 99); 19 Dec 2009 07:49:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Dec 2009 07:49:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.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, 19 Dec 2009 07:49:20 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2AA8F23889BB; Sat, 19 Dec 2009 07:48:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r892443 - /hadoop/hbase/trunk/src/contrib/ec2/README.txt Date: Sat, 19 Dec 2009 07:48:59 -0000 To: hbase-commits@hadoop.apache.org From: apurtell@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091219074859.2AA8F23889BB@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: apurtell Date: Sat Dec 19 07:48:58 2009 New Revision: 892443 URL: http://svn.apache.org/viewvc?rev=892443&view=rev Log: HBASE-2032 [EC2] Add support for installation of user packages; update readme Modified: hadoop/hbase/trunk/src/contrib/ec2/README.txt Modified: hadoop/hbase/trunk/src/contrib/ec2/README.txt URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/contrib/ec2/README.txt?rev=892443&r1=892442&r2=892443&view=diff ============================================================================== --- hadoop/hbase/trunk/src/contrib/ec2/README.txt (original) +++ hadoop/hbase/trunk/src/contrib/ec2/README.txt Sat Dec 19 07:48:58 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.