hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1393667 - /hbase/trunk/src/docbkx/getting_started.xml
Date Wed, 03 Oct 2012 18:48:33 GMT
Author: stack
Date: Wed Oct  3 18:48:33 2012
New Revision: 1393667

URL: http://svn.apache.org/viewvc?rev=1393667&view=rev
Log:
More specific around tmp locations for data on startup

Modified:
    hbase/trunk/src/docbkx/getting_started.xml

Modified: hbase/trunk/src/docbkx/getting_started.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/src/docbkx/getting_started.xml?rev=1393667&r1=1393666&r2=1393667&view=diff
==============================================================================
--- hbase/trunk/src/docbkx/getting_started.xml (original)
+++ hbase/trunk/src/docbkx/getting_started.xml Wed Oct  3 18:48:33 2012
@@ -66,9 +66,11 @@ $ cd hbase-<?eval ${project.version}?>
 </programlisting></para>
 
       <para>At this point, you are ready to start HBase. But before starting
-      it, you might want to edit <filename>conf/hbase-site.xml</filename>, the
-      file you write your site-specific configurations into, and
-      set <varname>hbase.rootdir</varname>, the directory HBase writes data to,
+      it, edit <filename>conf/hbase-site.xml</filename>, the file you write
+      your site-specific configurations into. Set
+      <varname>hbase.rootdir</varname>, the directory HBase writes data to,
+      and <varname>hbase.zookeeper.property.dataDir</varname>, the director
+      ZooKeeper writes its data too:
 <programlisting>&lt;?xml version="1.0"?&gt;
 &lt;?xml-stylesheet type="text/xsl" href="configuration.xsl"?&gt;
 &lt;configuration&gt;
@@ -76,10 +78,14 @@ $ cd hbase-<?eval ${project.version}?>
     &lt;name&gt;hbase.rootdir&lt;/name&gt;
     &lt;value&gt;file:///DIRECTORY/hbase&lt;/value&gt;
   &lt;/property&gt;
+  &lt;property&gt;
+    &lt;name&gt;hbase.zookeeper.property.dataDir&lt;/name&gt;
+    &lt;value&gt;/DIRECTORY/zookeeper&lt;/value&gt;
+  &lt;/property&gt;
 &lt;/configuration&gt;</programlisting> Replace <varname>DIRECTORY</varname>
in the above with the
-      path to the directory where you want HBase to store its data. By default,
-      <varname>hbase.rootdir</varname> is set to
-      <filename>/tmp/hbase-${user.name}</filename> which means you'll lose all
+      path to the directory you would have HBase and ZooKeeper write their data. By default,
+      <varname>hbase.rootdir</varname> is set to <filename>/tmp/hbase-${user.name}</filename>
+      and similarly so for the default ZooKeeper data location which means you'll lose all
       your data whenever your server reboots unless you change it (Most operating systems
clear
       <filename>/tmp</filename> on restart).</para>
     </section>



Mime
View raw message