[
https://issues.apache.org/jira/browse/HBASE-4415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13113742#comment-13113742
]
[email protected] commented on HBASE-4415:
------------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1925/
-----------------------------------------------------------
(Updated 2011-09-23 20:22:38.162933)
Review request for hbase.
Changes
-------
Updated the ability to use different keytab for HBase master and region server.
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 1172936
/src/docbkx/getting_started.xml 1172936
/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.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