Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DE9BC92CF for ; Fri, 17 Feb 2012 17:48:22 +0000 (UTC) Received: (qmail 58603 invoked by uid 500); 17 Feb 2012 17:48:22 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 58573 invoked by uid 500); 17 Feb 2012 17:48:22 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 58564 invoked by uid 99); 17 Feb 2012 17:48:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2012 17:48:22 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2012 17:48:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5E5C11A7D62 for ; Fri, 17 Feb 2012 17:47:59 +0000 (UTC) Date: Fri, 17 Feb 2012 17:47:59 +0000 (UTC) From: "Doug Meil (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <1209457857.51410.1329500879387.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1776703999.51312.1329499199604.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5426) How to Set Up a Pseudo-Distributed Mode for HBase MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-5426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210409#comment-13210409 ] Doug Meil commented on HBASE-5426: ---------------------------------- no problem. > 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 > Assignee: Doug Meil > Labels: documentation > Fix For: 0.92.0 > > Original Estimate: 48h > Remaining Estimate: 48h > > 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. > > > > > hbase.rootdir > hdfs://localhost:9000/hbase > > > dfs.replication > 1 > > > hbase.cluster.distributed > true > > > 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