Author: stack
Date: Wed Jun 22 05:29:10 2011
New Revision: 1138307
URL: http://svn.apache.org/viewvc?rev=1138307&view=rev
Log:
HBASE-3990 troubleshooting.xml - adding section for NameNode with hadoop shell
cmds for disk utilization
Modified:
hbase/trunk/src/docbkx/troubleshooting.xml
Modified: hbase/trunk/src/docbkx/troubleshooting.xml
URL:
http://svn.apache.org/viewvc/hbase/trunk/src/docbkx/troubleshooting.xml?rev=1138307&r1=1138306&r2=1138307&view=diff
==============================================================================
--- hbase/trunk/src/docbkx/troubleshooting.xml (original)
+++ hbase/trunk/src/docbkx/troubleshooting.xml Wed Jun 22 05:29:10 2011
@@ -458,7 +458,18 @@ hadoop 17789 155 35.2 9067824 8604364
</section>
- </section>
+ </section>
+ <section xml:id="trouble.namenode">
+ <title>NameNode</title>
+ <section xml:id="trouble.namenode.disk">
+ <title>HDFS Utilization of Tables and Regions</title>
+ <para>To determine how much space HBase is using on HDFS use the
<code>hadoop</code> shell commands from the NameNode. For example... </para>
+ <para><programlisting>hadoop fs -dus /hbase/</programlisting>
...returns the summarized disk utilization for all HBase objects. </para>
+ <para><programlisting>hadoop fs -dus
/hbase/myTable</programlisting> ...returns the summarized disk utilization for
the HBase table 'myTable'. </para>
+ <para><programlisting>hadoop fs -du
/hbase/myTable</programlisting> ...returns a list of the regions under the
HBase table 'myTable' and their disk utilization. </para>
+ </section>
+ </section>
+
<section xml:id="trouble.rs">
<title>RegionServer</title>
<section xml:id="trouble.rs.startup">