hbase-5227. [book] book.xml, troubleshooting.xml - added caution about rowlocks.

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1232953 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Doug Meil 2012-01-18 16:55:38 +00:00
parent 22bc7c8231
commit c5cea96fbd
2 changed files with 12 additions and 0 deletions

View File

@ -1406,6 +1406,15 @@ HTable table2 = new HTable(conf2, "myTable");</programlisting>
<para>Information on non-Java clients and custom protocols is covered in <xref linkend="external_apis" /> <para>Information on non-Java clients and custom protocols is covered in <xref linkend="external_apis" />
</para> </para>
</section> </section>
<section xml:id="client.rowlocks"><title>RowLocks</title>
<para><link xlink:href="http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/HTable.html#lockRow%28byte[]%29">RowLocks</link> are still
in the client API <emphasis>however</emphasis> they are discouraged because if not managed properly these can
lock up the RegionServers.
</para>
<para>There is an oustanding ticket <link xlink:href="https://issues.apache.org/jira/browse/HBASE-2332">HBASE-2332</link> to
remove this feature from the client.
</para>
</section>
</section> </section>
<section xml:id="client.filter"><title>Client Request Filters</title> <section xml:id="client.filter"><title>Client Request Filters</title>

View File

@ -761,6 +761,9 @@ java.lang.UnsatisfiedLinkError: no gplcompression in java.library.path
Adding <code>-XX:+UseMembar</code> to the HBase <varname>HBASE_OPTS</varname> in <filename>conf/hbase-env.sh</filename> Adding <code>-XX:+UseMembar</code> to the HBase <varname>HBASE_OPTS</varname> in <filename>conf/hbase-env.sh</filename>
may fix it. may fix it.
</para> </para>
<para>Also, are you using <xref linkend="client.rowlocks"/>? These are discouraged because they can lock up the
RegionServers if not managed properly.
</para>
</section> </section>
<section xml:id="trouble.rs.runtime.filehandles"> <section xml:id="trouble.rs.runtime.filehandles">
<title>java.io.IOException...(Too many open files)</title> <title>java.io.IOException...(Too many open files)</title>