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
This commit is contained in:
parent
09538d85dc
commit
23e23bf176
|
@ -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
|
HBase. Do not use this configuration for production nor for
|
||||||
evaluating HBase performance.</para>
|
evaluating HBase performance.</para>
|
||||||
|
|
||||||
<para>First, confirm your local HDFS setup. Below is an example <filename>conf/hdfs-site.xml</filename>.
|
<para>First, setup your HDFS in <link xlink:href="http://hadoop.apache.org/docs/r1.0.3/single_node_setup.html">pseudo-distributed mode</link>.
|
||||||
The properties <varname>dfs.name.dir</varname> and <varname>dfs.data.dir</varname> are being set explicitly,
|
|
||||||
the latter being where HDFS data will exist on your machine.
|
|
||||||
</para>
|
</para>
|
||||||
<para>Next, configure HBase for usage. Below is an example <filename>conf/hbase-site.xml</filename>.
|
<para>Next, configure HBase. Below is an example <filename>conf/hbase-site.xml</filename>.
|
||||||
This is the file into
|
This is the file into
|
||||||
which you add local customizations and overrides for
|
which you add local customizations and overrides for
|
||||||
<xref linkend="hbase_default_configurations" /> and <xref linkend="hdfs_client_conf" />.
|
<xref linkend="hbase_default_configurations" /> and <xref linkend="hdfs_client_conf" />.
|
||||||
Note that the <varname>hbase.rootdir</varname> property points to the local HDFS instance.
|
Note that the <varname>hbase.rootdir</varname> property points to the
|
||||||
|
local HDFS instance.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>Now skip to <xref linkend="confirm" /> for how to start and verify your
|
<para>Now skip to <xref linkend="confirm" /> 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).</para>
|
HBase (it'll create them if you let it).</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
<note>
|
|
||||||
<para>Above we bind to <varname>localhost</varname>. This means
|
|
||||||
that a remote client cannot connect.</para>
|
|
||||||
</note>
|
|
||||||
|
|
||||||
|
|
||||||
<section xml:id="pseudo.config">
|
<section xml:id="pseudo.config">
|
||||||
<title>Pseudo-distributed Configuration Files</title>
|
<title>Pseudo-distributed Configuration File</title>
|
||||||
<para>The following are exmaple configuration files from a pseudo-distributed setup.
|
<para>Below is a sample pseudo-distributed file for the node <varname>h-24-30.example.com</varname>.
|
||||||
</para>
|
|
||||||
<filename>hdfs-site.xml</filename>
|
|
||||||
<programlisting>
|
|
||||||
<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>
|
|
||||||
</programlisting>
|
|
||||||
|
|
||||||
<filename>hbase-site.xml</filename>
|
<filename>hbase-site.xml</filename>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<configuration>
|
<configuration>
|
||||||
...
|
...
|
||||||
<property>
|
<property>
|
||||||
<name>hbase.rootdir</name>
|
<name>hbase.rootdir</name>
|
||||||
<value>hdfs://localhost:8020/hbase</value>
|
<value>hdfs://h-24-30.sfo.stumble.net:8020/hbase</value>
|
||||||
</property>
|
</property>
|
||||||
<property>
|
<property>
|
||||||
<name>hbase.cluster.distributed</name>
|
<name>hbase.cluster.distributed</name>
|
||||||
|
@ -482,11 +458,12 @@ to ensure well-formedness of your document after an edit session.
|
||||||
</property>
|
</property>
|
||||||
<property>
|
<property>
|
||||||
<name>hbase.zookeeper.quorum</name>
|
<name>hbase.zookeeper.quorum</name>
|
||||||
<value>localhost</value>
|
<value>h-24-30.sfo.stumble.net</value>
|
||||||
</property>
|
</property>
|
||||||
...
|
...
|
||||||
</configuration>
|
</configuration>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
</para>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue