From 23e23bf176e216ecc7cd8c31bdd931c73bfb9a28 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Wed, 26 Sep 2012 00:47:53 +0000 Subject: [PATCH] More around how to set up pseudo-distributed... point at hdfs pseudo-distribute doc for setting it up first git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1390241 13f79535-47bb-0310-9956-ffa450edef68 --- src/docbkx/configuration.xml | 41 ++++++++---------------------------- 1 file changed, 9 insertions(+), 32 deletions(-) diff --git a/src/docbkx/configuration.xml b/src/docbkx/configuration.xml index 1a0228e1c3f..b08b677a873 100644 --- a/src/docbkx/configuration.xml +++ b/src/docbkx/configuration.xml @@ -417,15 +417,14 @@ to ensure well-formedness of your document after an edit session. HBase. Do not use this configuration for production nor for evaluating HBase performance. - First, confirm your local HDFS setup. Below is an example conf/hdfs-site.xml. - The properties dfs.name.dir and dfs.data.dir are being set explicitly, - the latter being where HDFS data will exist on your machine. + First, setup your HDFS in pseudo-distributed mode. - Next, configure HBase for usage. Below is an example conf/hbase-site.xml. + Next, configure HBase. Below is an example conf/hbase-site.xml. This is the file into which you add local customizations and overrides for and . - Note that the hbase.rootdir property points to the local HDFS instance. + Note that the hbase.rootdir property points to the + local HDFS instance. Now skip to for how to start and verify your @@ -442,39 +441,16 @@ to ensure well-formedness of your document after an edit session. HBase (it'll create them if you let it). - - Above we bind to localhost. This means - that a remote client cannot connect. - - -
- Pseudo-distributed Configuration Files - The following are exmaple configuration files from a pseudo-distributed setup. - -hdfs-site.xml - -<configuration> - ... - <property> - <name>dfs.name.dir</name> - <value>/Users/local/user.name/hdfs-data-name</value> - </property> - <property> - <name>dfs.data.dir</name> - <value>/Users/local/user.name/hdfs-data</value> - </property> - ... -</configuration> - - + Pseudo-distributed Configuration File + Below is a sample pseudo-distributed file for the node h-24-30.example.com. hbase-site.xml <configuration> ... <property> <name>hbase.rootdir</name> - <value>hdfs://localhost:8020/hbase</value> + <value>hdfs://h-24-30.sfo.stumble.net:8020/hbase</value> </property> <property> <name>hbase.cluster.distributed</name> @@ -482,11 +458,12 @@ to ensure well-formedness of your document after an edit session. </property> <property> <name>hbase.zookeeper.quorum</name> - <value>localhost</value> + <value>h-24-30.sfo.stumble.net</value> </property> ... </configuration> +