hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiraposter@reviews.apache.org (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4415) Add configuration script for setup HBase (hbase-setup-conf.sh)
Date Fri, 23 Sep 2011 23:17:28 GMT

    [ https://issues.apache.org/jira/browse/HBASE-4415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113828#comment-13113828
] 

jiraposter@reviews.apache.org commented on HBASE-4415:
------------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1925/
-----------------------------------------------------------

(Updated 2011-09-23 23:17:00.742946)


Review request for hbase.


Changes
-------

Patch for finding location of hadoop jar files.


Summary
-------

Create a post installation script to streamline configuration tasks for HBase.

usage: /usr/sbin/hbase-setup-conf.sh <parameters>

  Optional parameters:
    --hadoop-conf=/etc/hadoop                Set Hadoop configuration directory location
    --hadoop-home=/usr                       Set Hadoop directory location
    --hadoop-namenode=localhost              Set Hadoop namenode hostname
    --hadoop-replication=3                   Set HDFS replication
    --hbase-home=/usr                        Set HBase directory location
    --hbase-conf=/etc/hbase                  Set HBase configuration directory location
    --hbase-log=/var/log/hbase               Set HBase log directory location
    --hbase-pid=/var/run/hbase               Set HBase pid directory location
    --hbase-user=hbase                       Set HBase user
    --java-home=/usr/java/default            Set JAVA_HOME directory location
    --kerberos-realm=KERBEROS.EXAMPLE.COM    Set Kerberos realm
    --kerberos-principal-id=_HOST            Set Kerberos principal ID 
    --keytab-dir=/etc/security/keytabs       Set keytab directory
    --regionservers=localhost                Set regionservers hostnames
    --zookeeper-home=/usr                    Set ZooKeeper directory location
    --zookeeper-quorum=localhost             Set ZooKeeper Quorum
    --zookeeper-snapshot=/var/lib/zookeeper  Set ZooKeeper snapshot location


This addresses bug HBASE-4415.
    https://issues.apache.org/jira/browse/HBASE-4415


Diffs (updated)
-----

  /src/assembly/all.xml 1175049 
  /src/docbkx/getting_started.xml 1175049 
  /src/packages/hbase-setup-conf.sh PRE-CREATION 
  /src/packages/templates/conf/hbase-env.sh PRE-CREATION 
  /src/packages/templates/conf/hbase-site.xml PRE-CREATION 

Diff: https://reviews.apache.org/r/1925/diff


Testing
-------


Thanks,

Eric



> Add configuration script for setup HBase (hbase-setup-conf.sh)
> --------------------------------------------------------------
>
>                 Key: HBASE-4415
>                 URL: https://issues.apache.org/jira/browse/HBASE-4415
>             Project: HBase
>          Issue Type: New Feature
>          Components: scripts
>         Environment: Java 6, Linux
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: HBASE-4415-1.patch, HBASE-4415-2.patch, HBASE-4415-3.patch, HBASE-4415-4.patch,
HBASE-4415.patch
>
>
> The goal of this jura is to provide a installation script for configuring HBase environment
and configuration.  By using the same pattern of *-setup-conf.sh for all Hadoop related projects.
 For HBase, the usage of the script looks like this:
> {noformat}
> usage: ./hbase-setup-conf.sh <parameters>
>   Optional parameters:
>     --hadoop-conf=/etc/hadoop            Set Hadoop configuration directory location
>     --hadoop-home=/usr                       Set Hadoop directory location
>     --hadoop-namenode=localhost              Set Hadoop namenode hostname
>     --hadoop-replication=3                   Set HDFS replication
>     --hbase-home=/usr                        Set HBase directory location
>     --hbase-conf=/etc/hbase                  Set HBase configuration directory location
>     --hbase-log=/var/log/hbase               Set HBase log directory location
>     --hbase-pid=/var/run/hbase               Set HBase pid directory location
>     --hbase-user=hbase                       Set HBase user
>     --java-home=/usr/java/default            Set JAVA_HOME directory location
>     --kerberos-realm=KERBEROS.EXAMPLE.COM    Set Kerberos realm
>     --kerberos-principal-id=_HOST            Set Kerberos principal ID 
>     --keytab-dir=/etc/security/keytabs       Set keytab directory
>     --regionservers=localhost                Set regionservers hostnames
>     --zookeeper-home=/usr                    Set ZooKeeper directory location
>     --zookeeper-quorum=localhost             Set ZooKeeper Quorum
>     --zookeeper-snapshot=/var/lib/zookeeper  Set ZooKeeper snapshot location
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message