hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bing Li (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-5426) How to Set Up a Pseudo-Distributed Mode for HBase
Date Fri, 17 Feb 2012 17:19:59 GMT
How to Set Up a Pseudo-Distributed Mode for HBase
-------------------------------------------------

                 Key: HBASE-5426
                 URL: https://issues.apache.org/jira/browse/HBASE-5426
             Project: HBase
          Issue Type: Improvement
          Components: documentation
    Affects Versions: 0.92.0
         Environment: RedHat 7, Ubuntu 10
            Reporter: Bing Li
             Fix For: 0.92.0


Hi, all,

I just made a summary about the experiences to set up a pseudo-distributed mode HBase.

1) RedHat 9 is not suitable for running HBase and Hadoop. I don't know the reasons. Now Ubuntu
is my choice.

2) After the pseudo-distributed mode of HDFS is configured, it is required to configure the
hbase-env.sh and hbase-site.xml. The book, HBase the Definitive Guide, does not mentions hbase.env.xml.

3) It should set up JAVA_HOME, HBASE_CLASSPATH and HBASE_MANAGES_ZK. My hbase-env.sh is as
follows.

     export JAVA_HOME=/opt/jdk1.6.1/
     export HBASE_CLASSPATH=/opt/hbase-0.92.0/conf
     export HBASE_OPTS="-XX:+UseConcMarkSweepGC"
     export HBASE_MANAGES_ZK=true

4) When configuring hbase-site.xml, the property, hbase.cluster.distributed, must be set also.
The book, HBase the Definitive Guide, does not do that either. My hbase-site.xml is as follows.

     <?xml version="1.0"?>
     <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
     <configuration>
        <property>
           <name>hbase.rootdir</name>
           <value>hdfs://localhost:9000/hbase</value>
        </property>
        <property>
           <name>dfs.replication</name>
           <value>1</value>
        </property>
        <property>
           <name>hbase.cluster.distributed</name>
           <value>true</value>
        </property>
     </configuration>

I am a new user of HBase. Your suggestions are highly appreciated.

Best regards,
Bing

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message