You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2014/09/05 23:16:37 UTC

git commit: HBASE-11786 Document web UI for tracking time spent in coprocessors (Misty Stanley-Jones)

Repository: hbase
Updated Branches:
  refs/heads/master edac84567 -> cf69a13f4


HBASE-11786 Document web UI for tracking time spent in coprocessors (Misty Stanley-Jones)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/cf69a13f
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/cf69a13f
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/cf69a13f

Branch: refs/heads/master
Commit: cf69a13f427dcfaa4baa815a0687590e0d90ba91
Parents: edac845
Author: Ted Yu <te...@apache.org>
Authored: Fri Sep 5 21:16:24 2014 +0000
Committer: Ted Yu <te...@apache.org>
Committed: Fri Sep 5 21:16:24 2014 +0000

----------------------------------------------------------------------
 src/main/docbkx/cp.xml                          |  24 +++++++++++++++++++
 .../site/resources/images/coprocessor_stats.png | Bin 0 -> 297809 bytes
 2 files changed, 24 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/cf69a13f/src/main/docbkx/cp.xml
----------------------------------------------------------------------
diff --git a/src/main/docbkx/cp.xml b/src/main/docbkx/cp.xml
index 7062d7d..4ddc8c1 100644
--- a/src/main/docbkx/cp.xml
+++ b/src/main/docbkx/cp.xml
@@ -402,6 +402,30 @@ coprocessors=[AggregateImplementation]
     </screen>
   </section>
   <section>
+    <title>Monitor Time Spent in Coprocessors</title>
+    <para>HBase 0.98.5 introduced the ability to monitor some statistics relating to the amount of
+      time spent executing a given coprocessor. You can see these statistics via the HBase Metrics
+      framework (see <xref linkend="hbase_metrics"/> or the Web UI for a given Region Server, via
+      the <guilabel>Coprocessor Metrics</guilabel> tab. These statistics are valuable for debugging
+      and benchmarking the performance impact of a given coprocessor on your cluster. Tracked
+      statistics include min, max, average, and 90th, 95th, and 99th percentile. All times are shown
+      in milliseconds. The statistics are calculated over coprocessor
+      execution samples recorded during the reporting interval, which is 10 seconds by default. The
+      metrics sampling rate as described in <xref linkend="hbase_metrics" />.</para>
+    <figure>
+      <title>Coprocessor Metrics UI</title>
+      <mediaobject>
+        <imageobject>
+          <imagedata fileref="coprocessor_stats.png" width="100%"/>
+        </imageobject>
+        <textobject>
+          <para>The Coprocessor Metrics UI shows statistics about time spent executing a given
+            coprocessor, including min, max, average, and 90th, 95th, and 99th percentile.</para>
+        </textobject>
+      </mediaobject>
+    </figure>
+  </section>
+  <section>
     <title>Status of Coprocessors in HBase</title>
     <para> Coprocessors and the coprocessor framework are evolving rapidly and work is ongoing on
       several different JIRAs. </para>

http://git-wip-us.apache.org/repos/asf/hbase/blob/cf69a13f/src/main/site/resources/images/coprocessor_stats.png
----------------------------------------------------------------------
diff --git a/src/main/site/resources/images/coprocessor_stats.png b/src/main/site/resources/images/coprocessor_stats.png
new file mode 100644
index 0000000..2fc8703
Binary files /dev/null and b/src/main/site/resources/images/coprocessor_stats.png differ