You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2011/08/10 18:41:45 UTC

svn commit: r1156257 - in /hbase/trunk/src/docbkx: book.xml configuration.xml

Author: stack
Date: Wed Aug 10 16:41:45 2011
New Revision: 1156257

URL: http://svn.apache.org/viewvc?rev=1156257&view=rev
Log:
Change the namenode port we use to be 8020 instead of 9000 -- from BenoƮt

Modified:
    hbase/trunk/src/docbkx/book.xml
    hbase/trunk/src/docbkx/configuration.xml

Modified: hbase/trunk/src/docbkx/book.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/src/docbkx/book.xml?rev=1156257&r1=1156256&r2=1156257&view=diff
==============================================================================
--- hbase/trunk/src/docbkx/book.xml (original)
+++ hbase/trunk/src/docbkx/book.xml Wed Aug 10 16:41:45 2011
@@ -1060,8 +1060,8 @@ HTable table2 = new HTable(conf2, "myTab
         the <classname>org.apache.hadoop.hbase.io.hfile.HFile
         </classname>tool. Type the following to see usage:<programlisting><code>$ ${HBASE_HOME}/bin/hbase org.apache.hadoop.hbase.io.hfile.HFile </code> </programlisting>For
         example, to view the content of the file
-        <filename>hdfs://10.81.47.41:9000/hbase/TEST/1418428042/DSMP/4759508618286845475</filename>,
-        type the following:<programlisting> <code>$ ${HBASE_HOME}/bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v -f hdfs://10.81.47.41:9000/hbase/TEST/1418428042/DSMP/4759508618286845475 </code> </programlisting>If
+        <filename>hdfs://10.81.47.41:8020/hbase/TEST/1418428042/DSMP/4759508618286845475</filename>,
+        type the following:<programlisting> <code>$ ${HBASE_HOME}/bin/hbase org.apache.hadoop.hbase.io.hfile.HFile -v -f hdfs://10.81.47.41:8020/hbase/TEST/1418428042/DSMP/4759508618286845475 </code> </programlisting>If
         you leave off the option -v to see just a summary on the hfile. See
         usage for other things to do with the <classname>HFile</classname>
         tool.</para>
@@ -1320,13 +1320,13 @@ HTable table2 = new HTable(conf2, "myTab
         content of the <filename>recovered.edits</filename>. directory.</para>
 
         <para>You can get a textual dump of a WAL file content by doing the
-        following:<programlisting> <code>$ ./bin/hbase org.apache.hadoop.hbase.regionserver.wal.HLog --dump hdfs://example.org:9000/hbase/.logs/example.org,60020,1283516293161/10.10.21.10%3A60020.1283973724012</code> </programlisting>The
+        following:<programlisting> <code>$ ./bin/hbase org.apache.hadoop.hbase.regionserver.wal.HLog --dump hdfs://example.org:8020/hbase/.logs/example.org,60020,1283516293161/10.10.21.10%3A60020.1283973724012</code> </programlisting>The
         return code will be non-zero if issues with the file so you can test
         wholesomeness of file by redirecting <varname>STDOUT</varname> to
         <code>/dev/null</code> and testing the program return.</para>
 
         <para>Similarily you can force a split of a log file directory by
-        doing:<programlisting> $ ./<code>bin/hbase org.apache.hadoop.hbase.regionserver.wal.HLog --split hdfs://example.org:9000/hbase/.logs/example.org,60020,1283516293161/</code></programlisting></para>
+        doing:<programlisting> $ ./<code>bin/hbase org.apache.hadoop.hbase.regionserver.wal.HLog --split hdfs://example.org:8020/hbase/.logs/example.org,60020,1283516293161/</code></programlisting></para>
       </section>
     </section>
     <section xml:id="compression.tool"><title>Compression Tool</title>

Modified: hbase/trunk/src/docbkx/configuration.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/src/docbkx/configuration.xml?rev=1156257&r1=1156256&r2=1156257&view=diff
==============================================================================
--- hbase/trunk/src/docbkx/configuration.xml (original)
+++ hbase/trunk/src/docbkx/configuration.xml Wed Aug 10 16:41:45 2011
@@ -341,7 +341,7 @@ to ensure well-formedness of your docume
           For example, adding the properties below to your
           <filename>hbase-site.xml</filename> says that HBase should use the
           <filename>/hbase</filename> directory in the HDFS whose namenode is
-          at port 9000 on your local machine, and that it should run with one
+          at port 8020 on your local machine, and that it should run with one
           replica only (recommended for pseudo-distributed mode):</para>
 
           <programlisting>
@@ -349,7 +349,7 @@ to ensure well-formedness of your docume
   ...
   &lt;property&gt;
     &lt;name&gt;hbase.rootdir&lt;/name&gt;
-    &lt;value&gt;hdfs://localhost:9000/hbase&lt;/value&gt;
+    &lt;value&gt;hdfs://localhost:8020/hbase&lt;/value&gt;
     &lt;description&gt;The directory shared by RegionServers.
     &lt;/description&gt;
   &lt;/property&gt;
@@ -396,7 +396,7 @@ to ensure well-formedness of your docume
           <varname>hbase.rootdir</varname> at the appropriate HDFS NameNode
           and location in HDFS where you would like HBase to write data. For
           example, if you namenode were running at namenode.example.org on
-          port 9000 and you wanted to home your HBase in HDFS at
+          port 8020 and you wanted to home your HBase in HDFS at
           <filename>/hbase</filename>, make the following
           configuration.</para>
 
@@ -405,7 +405,7 @@ to ensure well-formedness of your docume
   ...
   &lt;property&gt;
     &lt;name&gt;hbase.rootdir&lt;/name&gt;
-    &lt;value&gt;hdfs://namenode.example.org:9000/hbase&lt;/value&gt;
+    &lt;value&gt;hdfs://namenode.example.org:8020/hbase&lt;/value&gt;
     &lt;description&gt;The directory shared by RegionServers.
     &lt;/description&gt;
   &lt;/property&gt;
@@ -856,7 +856,7 @@ config.set("hbase.zookeeper.quorum", "lo
   &lt;/property&gt;
   &lt;property&gt;
     &lt;name&gt;hbase.rootdir&lt;/name&gt;
-    &lt;value&gt;hdfs://example0:9000/hbase&lt;/value&gt;
+    &lt;value&gt;hdfs://example0:8020/hbase&lt;/value&gt;
     &lt;description&gt;The directory shared by RegionServers.
     &lt;/description&gt;
   &lt;/property&gt;