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


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=/usr/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

        

Reply via email to