hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-2032) [EC2] Add support for installation of user packages when instances start up
Date Fri, 18 Dec 2009 23:25:18 GMT

     [ https://issues.apache.org/jira/browse/HBASE-2032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Andrew Purtell resolved HBASE-2032.

    Resolution: Fixed

In ./bin/hbase-ec2-env.sh, there is now a config variable EXTRA_PACKAGES. To use it:

# Set up a YUM repository. See: http://yum.baseurl.org/wiki/RepoCreate
# Host the repository somewhere public. For example, build the repository locally and then
copy it up to an S3 bucket.
# Create a YUM repository descriptor (.repo file). See: http://yum.baseurl.org/wiki/RepoCreate
  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,
# Configure hbase-ec2-env.sh thus:
   {{EXTRA_PACKAGES="http://mybucket.s3.amazonaws.com/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. 

> [EC2] Add support for installation of user packages when instances start up
> ---------------------------------------------------------------------------
>                 Key: HBASE-2032
>                 URL: https://issues.apache.org/jira/browse/HBASE-2032
>             Project: Hadoop HBase
>          Issue Type: Sub-task
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.20.3, 0.21.0
>         Attachments: HBASE-2032.patch
> Support downloading and installation of user packages at instance boot time. Should pass
a list of URLs or a Yum repository URL and list of package names in user data. If given a
list of URLs, download them all and then run 'rpm --install' with all included on the command
line if the URL ends in '.rpm', or untar in / if the URL ends in '.tar.gz' or '.tgz'. If given
a repository and package list, run 'yum install' appropriately. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message