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 2014/08/26 20:49:10 UTC

svn commit: r1620690 [32/40] - in /hbase/hbase.apache.org/trunk: ./ apidocs/org/apache/hadoop/hbase/client/ apidocs/org/apache/hadoop/hbase/client/class-use/ apidocs/org/apache/hadoop/hbase/coprocessor/ apidocs/org/apache/hadoop/hbase/coprocessor/class...

Added: hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelService.html
URL: http://svn.apache.org/viewvc/hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelService.html?rev=1620690&view=auto
==============================================================================
--- hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelService.html (added)
+++ hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelService.html Tue Aug 26 18:49:07 2014
@@ -0,0 +1,172 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
+<title>Uses of Interface org.apache.hadoop.hbase.security.visibility.VisibilityLabelService (HBase 2.0.0-SNAPSHOT API)</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Interface org.apache.hadoop.hbase.security.visibility.VisibilityLabelService (HBase 2.0.0-SNAPSHOT API)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelService.html" title="interface in org.apache.hadoop.hbase.security.visibility">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../../../index.html?org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelService.html" target="_top">Frames</a></li>
+<li><a href="VisibilityLabelService.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Interface org.apache.hadoop.hbase.security.visibility.VisibilityLabelService" class="title">Uses of Interface<br>org.apache.hadoop.hbase.security.visibility.VisibilityLabelService</h2>
+</div>
+<div class="classUseContainer">
+<ul class="blockList">
+<li class="blockList">
+<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
+<caption><span>Packages that use <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelService.html" title="interface in org.apache.hadoop.hbase.security.visibility">VisibilityLabelService</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Package</th>
+<th class="colLast" scope="col">Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a href="#org.apache.hadoop.hbase.security.visibility">org.apache.hadoop.hbase.security.visibility</a></td>
+<td class="colLast">&nbsp;</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList">
+<ul class="blockList">
+<li class="blockList"><a name="org.apache.hadoop.hbase.security.visibility">
+<!--   -->
+</a>
+<h3>Uses of <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelService.html" title="interface in org.apache.hadoop.hbase.security.visibility">VisibilityLabelService</a> in <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/package-summary.html">org.apache.hadoop.hbase.security.visibility</a></h3>
+<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
+<caption><span>Classes in <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/package-summary.html">org.apache.hadoop.hbase.security.visibility</a> that implement <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelService.html" title="interface in org.apache.hadoop.hbase.security.visibility">VisibilityLabelService</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Class and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>class&nbsp;</code></td>
+<td class="colLast"><code><strong><a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/DefaultVisibilityLabelServiceImpl.html" title="class in org.apache.hadoop.hbase.security.visibility">DefaultVisibilityLabelServiceImpl</a></strong></code>&nbsp;</td>
+</tr>
+</tbody>
+</table>
+<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/package-summary.html">org.apache.hadoop.hbase.security.visibility</a> that return <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelService.html" title="interface in org.apache.hadoop.hbase.security.visibility">VisibilityLabelService</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelService.html" title="interface in org.apache.hadoop.hbase.security.visibility">VisibilityLabelService</a></code></td>
+<td class="colLast"><span class="strong">VisibilityLabelServiceManager.</span><code><strong><a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelServiceManager.html#getVisibilityLabelService()">getVisibilityLabelService</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelService.html" title="interface in org.apache.hadoop.hbase.security.visibility">VisibilityLabelService</a></code></td>
+<td class="colLast"><span class="strong">VisibilityLabelServiceManager.</span><code><strong><a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelServiceManager.html#getVisibilityLabelService(org.apache.hadoop.conf.Configuration)">getVisibilityLabelService</a></strong>(org.apache.hadoop.conf.Configuration&nbsp;conf)</code>&nbsp;</td>
+</tr>
+</tbody>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelService.html" title="interface in org.apache.hadoop.hbase.security.visibility">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../../../index.html?org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelService.html" target="_top">Frames</a></li>
+<li><a href="VisibilityLabelService.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+</body>
+</html>

Added: hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelServiceManager.html
URL: http://svn.apache.org/viewvc/hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelServiceManager.html?rev=1620690&view=auto
==============================================================================
--- hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelServiceManager.html (added)
+++ hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelServiceManager.html Tue Aug 26 18:49:07 2014
@@ -0,0 +1,155 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
+<title>Uses of Class org.apache.hadoop.hbase.security.visibility.VisibilityLabelServiceManager (HBase 2.0.0-SNAPSHOT API)</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Class org.apache.hadoop.hbase.security.visibility.VisibilityLabelServiceManager (HBase 2.0.0-SNAPSHOT API)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelServiceManager.html" title="class in org.apache.hadoop.hbase.security.visibility">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../../../index.html?org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelServiceManager.html" target="_top">Frames</a></li>
+<li><a href="VisibilityLabelServiceManager.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class org.apache.hadoop.hbase.security.visibility.VisibilityLabelServiceManager" class="title">Uses of Class<br>org.apache.hadoop.hbase.security.visibility.VisibilityLabelServiceManager</h2>
+</div>
+<div class="classUseContainer">
+<ul class="blockList">
+<li class="blockList">
+<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
+<caption><span>Packages that use <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelServiceManager.html" title="class in org.apache.hadoop.hbase.security.visibility">VisibilityLabelServiceManager</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Package</th>
+<th class="colLast" scope="col">Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a href="#org.apache.hadoop.hbase.security.visibility">org.apache.hadoop.hbase.security.visibility</a></td>
+<td class="colLast">&nbsp;</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList">
+<ul class="blockList">
+<li class="blockList"><a name="org.apache.hadoop.hbase.security.visibility">
+<!--   -->
+</a>
+<h3>Uses of <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelServiceManager.html" title="class in org.apache.hadoop.hbase.security.visibility">VisibilityLabelServiceManager</a> in <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/package-summary.html">org.apache.hadoop.hbase.security.visibility</a></h3>
+<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/package-summary.html">org.apache.hadoop.hbase.security.visibility</a> that return <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelServiceManager.html" title="class in org.apache.hadoop.hbase.security.visibility">VisibilityLabelServiceManager</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelServiceManager.html" title="class in org.apache.hadoop.hbase.security.visibility">VisibilityLabelServiceManager</a></code></td>
+<td class="colLast"><span class="strong">VisibilityLabelServiceManager.</span><code><strong><a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelServiceManager.html#getInstance()">getInstance</a></strong>()</code>&nbsp;</td>
+</tr>
+</tbody>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelServiceManager.html" title="class in org.apache.hadoop.hbase.security.visibility">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../../../index.html?org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelServiceManager.html" target="_top">Frames</a></li>
+<li><a href="VisibilityLabelServiceManager.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+</body>
+</html>

Added: hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelsCache.html
URL: http://svn.apache.org/viewvc/hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelsCache.html?rev=1620690&view=auto
==============================================================================
--- hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelsCache.html (added)
+++ hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelsCache.html Tue Aug 26 18:49:07 2014
@@ -0,0 +1,175 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
+<title>Uses of Class org.apache.hadoop.hbase.security.visibility.VisibilityLabelsCache (HBase 2.0.0-SNAPSHOT API)</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Class org.apache.hadoop.hbase.security.visibility.VisibilityLabelsCache (HBase 2.0.0-SNAPSHOT API)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelsCache.html" title="class in org.apache.hadoop.hbase.security.visibility">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../../../index.html?org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelsCache.html" target="_top">Frames</a></li>
+<li><a href="VisibilityLabelsCache.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class org.apache.hadoop.hbase.security.visibility.VisibilityLabelsCache" class="title">Uses of Class<br>org.apache.hadoop.hbase.security.visibility.VisibilityLabelsCache</h2>
+</div>
+<div class="classUseContainer">
+<ul class="blockList">
+<li class="blockList">
+<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
+<caption><span>Packages that use <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelsCache.html" title="class in org.apache.hadoop.hbase.security.visibility">VisibilityLabelsCache</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Package</th>
+<th class="colLast" scope="col">Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a href="#org.apache.hadoop.hbase.security.visibility">org.apache.hadoop.hbase.security.visibility</a></td>
+<td class="colLast">&nbsp;</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList">
+<ul class="blockList">
+<li class="blockList"><a name="org.apache.hadoop.hbase.security.visibility">
+<!--   -->
+</a>
+<h3>Uses of <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelsCache.html" title="class in org.apache.hadoop.hbase.security.visibility">VisibilityLabelsCache</a> in <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/package-summary.html">org.apache.hadoop.hbase.security.visibility</a></h3>
+<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/package-summary.html">org.apache.hadoop.hbase.security.visibility</a> that return <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelsCache.html" title="class in org.apache.hadoop.hbase.security.visibility">VisibilityLabelsCache</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelsCache.html" title="class in org.apache.hadoop.hbase.security.visibility">VisibilityLabelsCache</a></code></td>
+<td class="colLast"><span class="strong">VisibilityLabelsCache.</span><code><strong><a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelsCache.html#createAndGet(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher, org.apache.hadoop.conf.Configuration)">createAndGet</a></strong>(<a href="../../../../../../../org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZooKeeperWatcher</a>&nbsp;watcher,
+            org.apache.hadoop.conf.Configuration&nbsp;conf)</code>
+<div class="block">Creates the singleton instance, if not yet present, and returns the same.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelsCache.html" title="class in org.apache.hadoop.hbase.security.visibility">VisibilityLabelsCache</a></code></td>
+<td class="colLast"><span class="strong">VisibilityLabelsCache.</span><code><strong><a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelsCache.html#get()">get</a></strong>()</code>&nbsp;</td>
+</tr>
+</tbody>
+</table>
+<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
+<caption><span>Constructors in <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/package-summary.html">org.apache.hadoop.hbase.security.visibility</a> with parameters of type <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelsCache.html" title="class in org.apache.hadoop.hbase.security.visibility">VisibilityLabelsCache</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colLast"><code><strong><a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/ZKVisibilityLabelWatcher.html#ZKVisibilityLabelWatcher(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher, org.apache.hadoop.hbase.security.visibility.VisibilityLabelsCache, org.apache.hadoop.conf.Configuration)">ZKVisibilityLabelWatcher</a></strong>(<a href="../../../../../../../org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.html" title="class in org.apache.hadoop.hbase.zookeeper">ZooKeeperWatcher</a>&nbsp;watcher,
+                        <a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelsCache.html" title="class in org.apache.hadoop.hbase.security.visibility">VisibilityLabelsCache</a>&nbsp;labelsCache,
+                        org.apache.hadoop.conf.Configuration&nbsp;conf)</code>&nbsp;</td>
+</tr>
+</tbody>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a href="../../../../../../../org/apache/hadoop/hbase/security/visibility/VisibilityLabelsCache.html" title="class in org.apache.hadoop.hbase.security.visibility">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../../../index.html?org/apache/hadoop/hbase/security/visibility/class-use/VisibilityLabelsCache.html" target="_top">Frames</a></li>
+<li><a href="VisibilityLabelsCache.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+</body>
+</html>

Added: hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/util/MultiHConnection.html
URL: http://svn.apache.org/viewvc/hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/util/MultiHConnection.html?rev=1620690&view=auto
==============================================================================
--- hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/util/MultiHConnection.html (added)
+++ hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/util/MultiHConnection.html Tue Aug 26 18:49:07 2014
@@ -0,0 +1,298 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
+<title>MultiHConnection (HBase 2.0.0-SNAPSHOT API)</title>
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="MultiHConnection (HBase 2.0.0-SNAPSHOT API)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/MultiHConnection.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/hadoop/hbase/util/ModifyRegionUtils.RegionFillTask.html" title="interface in org.apache.hadoop.hbase.util"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../../org/apache/hadoop/hbase/util/MunkresAssignment.html" title="class in org.apache.hadoop.hbase.util"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/hadoop/hbase/util/MultiHConnection.html" target="_top">Frames</a></li>
+<li><a href="MultiHConnection.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.hadoop.hbase.util</div>
+<h2 title="Class MultiHConnection" class="title">Class MultiHConnection</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.hadoop.hbase.util.MultiHConnection</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>@InterfaceAudience.Private
+public class <span class="strong">MultiHConnection</span>
+extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
+<div class="block">Provides ability to create multiple HConnection instances and allows to process a batch of
+ actions using HConnection.processBatchCallback()</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../../../../../org/apache/hadoop/hbase/util/MultiHConnection.html#MultiHConnection(org.apache.hadoop.conf.Configuration, int)">MultiHConnection</a></strong>(org.apache.hadoop.conf.Configuration&nbsp;conf,
+                int&nbsp;noOfConnections)</code>
+<div class="block">Create multiple HConnection instances and initialize a thread pool executor</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/util/MultiHConnection.html#close()">close</a></strong>()</code>
+<div class="block">Close the open connections and shutdown the batchpool</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>&lt;R&gt;&nbsp;void</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/util/MultiHConnection.html#processBatchCallback(java.util.List, org.apache.hadoop.hbase.TableName, java.lang.Object[], org.apache.hadoop.hbase.client.coprocessor.Batch.Callback)">processBatchCallback</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>&gt;&nbsp;actions,
+                    <a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;tableName,
+                    <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;results,
+                    <a href="../../../../../org/apache/hadoop/hbase/client/coprocessor/Batch.Callback.html" title="interface in org.apache.hadoop.hbase.client.coprocessor">Batch.Callback</a>&lt;R&gt;&nbsp;callback)</code>
+<div class="block">Randomly pick a connection and process the batch of actions for a given table</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
+<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang
 /Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="MultiHConnection(org.apache.hadoop.conf.Configuration, int)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>MultiHConnection</h4>
+<pre>public&nbsp;MultiHConnection(org.apache.hadoop.conf.Configuration&nbsp;conf,
+                int&nbsp;noOfConnections)
+                 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Create multiple HConnection instances and initialize a thread pool executor</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>conf</code> - configuration</dd><dd><code>noOfConnections</code> - total no of HConnections to create</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="close()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>close</h4>
+<pre>public&nbsp;void&nbsp;close()</pre>
+<div class="block">Close the open connections and shutdown the batchpool</div>
+</li>
+</ul>
+<a name="processBatchCallback(java.util.List, org.apache.hadoop.hbase.TableName, java.lang.Object[], org.apache.hadoop.hbase.client.coprocessor.Batch.Callback)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>processBatchCallback</h4>
+<pre>public&nbsp;&lt;R&gt;&nbsp;void&nbsp;processBatchCallback(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../org/apache/hadoop/hbase/client/Row.html" title="interface in org.apache.hadoop.hbase.client">Row</a>&gt;&nbsp;actions,
+                            <a href="../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a>&nbsp;tableName,
+                            <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;results,
+                            <a href="../../../../../org/apache/hadoop/hbase/client/coprocessor/Batch.Callback.html" title="interface in org.apache.hadoop.hbase.client.coprocessor">Batch.Callback</a>&lt;R&gt;&nbsp;callback)
+                          throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
+<div class="block">Randomly pick a connection and process the batch of actions for a given table</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>actions</code> - the actions</dd><dd><code>tableName</code> - table name</dd><dd><code>results</code> - the results array</dd><dd><code>callback</code> - </dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
+<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></code></dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/MultiHConnection.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../../../../../org/apache/hadoop/hbase/util/ModifyRegionUtils.RegionFillTask.html" title="interface in org.apache.hadoop.hbase.util"><span class="strong">Prev Class</span></a></li>
+<li><a href="../../../../../org/apache/hadoop/hbase/util/MunkresAssignment.html" title="class in org.apache.hadoop.hbase.util"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../index.html?org/apache/hadoop/hbase/util/MultiHConnection.html" target="_top">Frames</a></li>
+<li><a href="MultiHConnection.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+</body>
+</html>

Added: hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/util/class-use/MultiHConnection.html
URL: http://svn.apache.org/viewvc/hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/util/class-use/MultiHConnection.html?rev=1620690&view=auto
==============================================================================
--- hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/util/class-use/MultiHConnection.html (added)
+++ hbase/hbase.apache.org/trunk/devapidocs/org/apache/hadoop/hbase/util/class-use/MultiHConnection.html Tue Aug 26 18:49:07 2014
@@ -0,0 +1,115 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
+<title>Uses of Class org.apache.hadoop.hbase.util.MultiHConnection (HBase 2.0.0-SNAPSHOT API)</title>
+<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Class org.apache.hadoop.hbase.util.MultiHConnection (HBase 2.0.0-SNAPSHOT API)";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a href="../../../../../../org/apache/hadoop/hbase/util/MultiHConnection.html" title="class in org.apache.hadoop.hbase.util">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/util/class-use/MultiHConnection.html" target="_top">Frames</a></li>
+<li><a href="MultiHConnection.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class org.apache.hadoop.hbase.util.MultiHConnection" class="title">Uses of Class<br>org.apache.hadoop.hbase.util.MultiHConnection</h2>
+</div>
+<div class="classUseContainer">No usage of org.apache.hadoop.hbase.util.MultiHConnection</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../../overview-summary.html">Overview</a></li>
+<li><a href="../package-summary.html">Package</a></li>
+<li><a href="../../../../../../org/apache/hadoop/hbase/util/MultiHConnection.html" title="class in org.apache.hadoop.hbase.util">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../../../index.html?org/apache/hadoop/hbase/util/class-use/MultiHConnection.html" target="_top">Frames</a></li>
+<li><a href="MultiHConnection.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
+</body>
+</html>

Added: hbase/hbase.apache.org/trunk/unit_testing.html
URL: http://svn.apache.org/viewvc/hbase/hbase.apache.org/trunk/unit_testing.html?rev=1620690&view=auto
==============================================================================
--- hbase/hbase.apache.org/trunk/unit_testing.html (added)
+++ hbase/hbase.apache.org/trunk/unit_testing.html Tue Aug 26 18:49:07 2014
@@ -0,0 +1,251 @@
+<html><head>
+      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+   <title>Chapter&nbsp;1.&nbsp;Unit Testing HBase Applications</title><link rel="stylesheet" type="text/css" href="${baserdir}/src/main/site/resources/css/freebsd_docbook.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><script type="text/javascript">
+    var disqus_shortname = 'hbase'; // required: replace example with your forum shortname
+    var disqus_url = 'http://hbase.apache.org/book/unit.tests.html';
+    </script><div class="chapter"><div class="titlepage"><div><div><h2 class="title"><a name="unit.tests"></a>Chapter&nbsp;1.&nbsp;Unit Testing HBase Applications</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="section"><a href="#d227e12">1.1. JUnit</a></span></dt><dt><span class="section"><a href="#mockito">1.2. Mockito</a></span></dt><dt><span class="section"><a href="#d227e96">1.3. MRUnit</a></span></dt><dt><span class="section"><a href="#d227e125">1.4. Integration Testing with a HBase Mini-Cluster</a></span></dt></dl></div><p>This chapter discusses unit testing your HBase application using JUnit, Mockito, MRUnit,
+        and HBaseTestingUtility. Much of the information comes from <a class="link" href="http://blog.cloudera.com/blog/2013/09/how-to-test-hbase-applications-using-popular-tools/" target="_top">a community blog post about testing HBase applications</a>. For information on unit
+        tests for HBase itself, see <a class="xref" href="#">???</a>.</p><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d227e12"></a>1.1.&nbsp;JUnit</h2></div></div></div><p>HBase uses <a class="link" href="http://junit.org" target="_top">JUnit</a> 4 for unit tests</p><p>This example will add unit tests to the following example class:</p><pre class="programlisting">
+<strong class="hl-keyword">public</strong> <strong class="hl-keyword">class</strong> MyHBaseDAO {
+
+    <strong class="hl-keyword">public</strong> <strong class="hl-keyword">static</strong> <strong class="hl-keyword">void</strong> insertRecord(HTableInterface table, HBaseTestObj obj)
+    <strong class="hl-keyword">throws</strong> Exception {
+        Put put = createPut(obj);
+        table.put(put);
+    }
+    
+    <strong class="hl-keyword">private</strong> <strong class="hl-keyword">static</strong> Put createPut(HBaseTestObj obj) {
+        Put put = <strong class="hl-keyword">new</strong> Put(Bytes.toBytes(obj.getRowKey()));
+        put.add(Bytes.toBytes(<strong class="hl-string"><em style="color:red">"CF"</em></strong>), Bytes.toBytes(<strong class="hl-string"><em style="color:red">"CQ-1"</em></strong>),
+                    Bytes.toBytes(obj.getData1()));
+        put.add(Bytes.toBytes(<strong class="hl-string"><em style="color:red">"CF"</em></strong>), Bytes.toBytes(<strong class="hl-string"><em style="color:red">"CQ-2"</em></strong>),
+                    Bytes.toBytes(obj.getData2()));
+        <strong class="hl-keyword">return</strong> put;
+    }
+}                
+            </pre><p>The first step is to add JUnit dependencies to your Maven POM file:</p><pre class="programlisting">
+<strong class="hl-tag" style="color: #000096">&lt;dependency&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;groupId&gt;</strong>junit<strong class="hl-tag" style="color: #000096">&lt;/groupId&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;artifactId&gt;</strong>junit<strong class="hl-tag" style="color: #000096">&lt;/artifactId&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;version&gt;</strong>4.11<strong class="hl-tag" style="color: #000096">&lt;/version&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;scope&gt;</strong>test<strong class="hl-tag" style="color: #000096">&lt;/scope&gt;</strong>
+<strong class="hl-tag" style="color: #000096">&lt;/dependency&gt;</strong>                
+                </pre><p>Next, add some unit tests to your code. Tests are annotated with
+                <code class="literal">@Test</code>. Here, the unit tests are in bold.</p><pre class="programlisting">
+<strong class="hl-keyword">public</strong> <strong class="hl-keyword">class</strong> TestMyHbaseDAOData {
+  <em><span class="hl-annotation" style="color: gray">@Test</span></em>
+  <strong class="hl-keyword">public</strong> <strong class="hl-keyword">void</strong> testCreatePut() <strong class="hl-keyword">throws</strong> Exception {
+  HBaseTestObj obj = <strong class="hl-keyword">new</strong> HBaseTestObj();
+  obj.setRowKey(<strong class="hl-string"><em style="color:red">"ROWKEY-1"</em></strong>);
+  obj.setData1(<strong class="hl-string"><em style="color:red">"DATA-1"</em></strong>);
+  obj.setData2(<strong class="hl-string"><em style="color:red">"DATA-2"</em></strong>);
+  Put put = MyHBaseDAO.createPut(obj);
+  <strong class="userinput"><code>assertEquals(obj.getRowKey(), Bytes.toString(put.getRow()));
+  assertEquals(obj.getData1(), Bytes.toString(put.get(Bytes.toBytes("CF"), Bytes.toBytes("CQ-1")).get(0).getValue()));
+  assertEquals(obj.getData2(), Bytes.toString(put.get(Bytes.toBytes("CF"), Bytes.toBytes("CQ-2")).get(0).getValue()));</code></strong>
+  }
+}                
+            </pre><p>These tests ensure that your <code class="code">createPut</code> method creates, populates, and
+            returns a <code class="code">Put</code> object with expected values. Of course, JUnit can do much
+            more than this. For an introduction to JUnit, see <a class="link" href="https://github.com/junit-team/junit/wiki/Getting-started" target="_top">https://github.com/junit-team/junit/wiki/Getting-started</a>. </p></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="mockito"></a>1.2.&nbsp;Mockito</h2></div></div></div><p>Mockito is a mocking framework. It goes further than JUnit by allowing you to test the
+            interactions between objects without having to replicate the entire environment. You can
+            read more about Mockito at its project site, <a class="link" href="https://code.google.com/p/mockito/" target="_top">https://code.google.com/p/mockito/</a>.</p><p>You can use Mockito to do unit testing on smaller units. For instance, you can mock a
+                <code class="classname">org.apache.hadoop.hbase.Server</code> instance or a
+                <code class="classname">org.apache.hadoop.hbase.master.MasterServices</code> interface
+            reference rather than a full-blown
+                <code class="classname">org.apache.hadoop.hbase.master.HMaster</code>.</p><p>This example builds upon the example code in <a class="xref" href="#unit.tests" title="Chapter&nbsp;1.&nbsp;Unit Testing HBase Applications">Chapter&nbsp;1, <i>Unit Testing HBase Applications</i></a>, to test the
+                <code class="code">insertRecord</code> method.</p><p>First, add a dependency for Mockito to your Maven POM file.</p><pre class="programlisting">
+<strong class="hl-tag" style="color: #000096">&lt;dependency&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;groupId&gt;</strong>org.mockito<strong class="hl-tag" style="color: #000096">&lt;/groupId&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;artifactId&gt;</strong>mockito-all<strong class="hl-tag" style="color: #000096">&lt;/artifactId&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;version&gt;</strong>1.9.5<strong class="hl-tag" style="color: #000096">&lt;/version&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;scope&gt;</strong>test<strong class="hl-tag" style="color: #000096">&lt;/scope&gt;</strong>
+<strong class="hl-tag" style="color: #000096">&lt;/dependency&gt;</strong>                   
+                   </pre><p>Next, add a <code class="code">@RunWith</code> annotation to your test class, to direct it to use
+            Mockito.</p><pre class="programlisting">
+<strong class="userinput"><code>@RunWith(MockitoJUnitRunner.class)</code></strong>
+<strong class="hl-keyword">public</strong> <strong class="hl-keyword">class</strong> TestMyHBaseDAO{
+  <em><span class="hl-annotation" style="color: gray">@Mock</span></em> 
+  <strong class="hl-keyword">private</strong> HTableInterface table;
+  <em><span class="hl-annotation" style="color: gray">@Mock</span></em>
+  <strong class="hl-keyword">private</strong> HTablePool hTablePool;
+  <em><span class="hl-annotation" style="color: gray">@Captor</span></em>
+  <strong class="hl-keyword">private</strong> ArgumentCaptor putCaptor;
+
+  <em><span class="hl-annotation" style="color: gray">@Test</span></em>
+  <strong class="hl-keyword">public</strong> <strong class="hl-keyword">void</strong> testInsertRecord() <strong class="hl-keyword">throws</strong> Exception {
+    <em class="hl-comment" style="color: silver">//return mock table when getTable is called</em>
+    when(hTablePool.getTable(<strong class="hl-string"><em style="color:red">"tablename"</em></strong>)).thenReturn(table);
+    <em class="hl-comment" style="color: silver">//create test object and make a call to the DAO that needs testing</em>
+    HBaseTestObj obj = <strong class="hl-keyword">new</strong> HBaseTestObj();
+    obj.setRowKey(<strong class="hl-string"><em style="color:red">"ROWKEY-1"</em></strong>);
+    obj.setData1(<strong class="hl-string"><em style="color:red">"DATA-1"</em></strong>);
+    obj.setData2(<strong class="hl-string"><em style="color:red">"DATA-2"</em></strong>);
+    MyHBaseDAO.insertRecord(table, obj);
+    verify(table).put(putCaptor.capture());
+    Put put = putCaptor.getValue();
+  
+    assertEquals(Bytes.toString(put.getRow()), obj.getRowKey());
+    assert(put.has(Bytes.toBytes(<strong class="hl-string"><em style="color:red">"CF"</em></strong>), Bytes.toBytes(<strong class="hl-string"><em style="color:red">"CQ-1"</em></strong>)));
+    assert(put.has(Bytes.toBytes(<strong class="hl-string"><em style="color:red">"CF"</em></strong>), Bytes.toBytes(<strong class="hl-string"><em style="color:red">"CQ-2"</em></strong>)));
+    assertEquals(Bytes.toString(put.get(Bytes.toBytes(<strong class="hl-string"><em style="color:red">"CF"</em></strong>),Bytes.toBytes(<strong class="hl-string"><em style="color:red">"CQ-1"</em></strong>)).get(<span class="hl-number">0</span>).getValue()), <strong class="hl-string"><em style="color:red">"DATA-1"</em></strong>);
+    assertEquals(Bytes.toString(put.get(Bytes.toBytes(<strong class="hl-string"><em style="color:red">"CF"</em></strong>),Bytes.toBytes(<strong class="hl-string"><em style="color:red">"CQ-2"</em></strong>)).get(<span class="hl-number">0</span>).getValue()), <strong class="hl-string"><em style="color:red">"DATA-2"</em></strong>);
+  }
+}                   
+               </pre><p>This code populates <code class="code">HBaseTestObj</code> with &#8220;ROWKEY-1&#8221;, &#8220;DATA-1&#8221;, &#8220;DATA-2&#8221; as
+            values. It then inserts the record into the mocked table. The Put that the DAO would
+            have inserted is captured, and values are tested to verify that they are what you
+            expected them to be.</p><p>The key here is to manage htable pool and htable instance creation outside the DAO.
+            This allows you to mock them cleanly and test Puts as shown above. Similarly, you can
+            now expand into other operations such as Get, Scan, or Delete.</p></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d227e96"></a>1.3.&nbsp;MRUnit</h2></div></div></div><p><a class="link" href="http://mrunit.apache.org/" target="_top">Apache MRUnit</a> is a library that
+            allows you to unit-test MapReduce jobs. You can use it to test HBase jobs in the same
+            way as other MapReduce jobs.</p><p>Given a MapReduce job that writes to an HBase table called <code class="literal">MyTest</code>,
+            which has one column family called <code class="literal">CF</code>, the reducer of such a job
+            could look like the following:</p><pre class="programlisting">
+<strong class="hl-keyword">public</strong> <strong class="hl-keyword">class</strong> MyReducer <strong class="hl-keyword">extends</strong> TableReducer&lt;Text, Text, ImmutableBytesWritable&gt; {
+   <strong class="hl-keyword">public</strong> <strong class="hl-keyword">static</strong> <strong class="hl-keyword">final</strong> <strong class="hl-keyword">byte</strong>[] CF = <strong class="hl-string"><em style="color:red">"CF"</em></strong>.getBytes();
+   <strong class="hl-keyword">public</strong> <strong class="hl-keyword">static</strong> <strong class="hl-keyword">final</strong> <strong class="hl-keyword">byte</strong>[] QUALIFIER = <strong class="hl-string"><em style="color:red">"CQ-1"</em></strong>.getBytes();
+   <strong class="hl-keyword">public</strong> <strong class="hl-keyword">void</strong> reduce(Text key, Iterable&lt;Text&gt; values, Context context) <strong class="hl-keyword">throws</strong> IOException, InterruptedException {
+     <em class="hl-comment" style="color: silver">//bunch of processing to extract data to be inserted, in our case, lets say we are simply</em>
+     <em class="hl-comment" style="color: silver">//appending all the records we receive from the mapper for this particular</em>
+     <em class="hl-comment" style="color: silver">//key and insert one record into HBase</em>
+     StringBuffer data = <strong class="hl-keyword">new</strong> StringBuffer();
+     Put put = <strong class="hl-keyword">new</strong> Put(Bytes.toBytes(key.toString()));
+     <strong class="hl-keyword">for</strong> (Text val : values) {
+         data = data.append(val);
+     }
+     put.add(CF, QUALIFIER, Bytes.toBytes(data.toString()));
+     <em class="hl-comment" style="color: silver">//write to HBase</em>
+     context.write(<strong class="hl-keyword">new</strong> ImmutableBytesWritable(Bytes.toBytes(key.toString())), put);
+   }
+ }                    
+                </pre><p>To test this code, the first step is to add a dependency to MRUnit to your Maven POM
+            file. </p><pre class="programlisting">
+<strong class="hl-tag" style="color: #000096">&lt;dependency&gt;</strong>
+   <strong class="hl-tag" style="color: #000096">&lt;groupId&gt;</strong>org.apache.mrunit<strong class="hl-tag" style="color: #000096">&lt;/groupId&gt;</strong>
+   <strong class="hl-tag" style="color: #000096">&lt;artifactId&gt;</strong>mrunit<strong class="hl-tag" style="color: #000096">&lt;/artifactId&gt;</strong>
+   <strong class="hl-tag" style="color: #000096">&lt;version&gt;</strong>1.0.0 <strong class="hl-tag" style="color: #000096">&lt;/version&gt;</strong>
+   <strong class="hl-tag" style="color: #000096">&lt;scope&gt;</strong>test<strong class="hl-tag" style="color: #000096">&lt;/scope&gt;</strong>
+<strong class="hl-tag" style="color: #000096">&lt;/dependency&gt;</strong>                    
+                    </pre><p>Next, use the ReducerDriver provided by MRUnit, in your Reducer job.</p><pre class="programlisting">
+<strong class="hl-keyword">public</strong> <strong class="hl-keyword">class</strong> MyReducerTest {
+    ReduceDriver&lt;Text, Text, ImmutableBytesWritable, Writable&gt; reduceDriver;
+    <strong class="hl-keyword">byte</strong>[] CF = <strong class="hl-string"><em style="color:red">"CF"</em></strong>.getBytes();
+    <strong class="hl-keyword">byte</strong>[] QUALIFIER = <strong class="hl-string"><em style="color:red">"CQ-1"</em></strong>.getBytes();
+
+    <em><span class="hl-annotation" style="color: gray">@Before</span></em>
+    <strong class="hl-keyword">public</strong> <strong class="hl-keyword">void</strong> setUp() {
+      MyReducer reducer = <strong class="hl-keyword">new</strong> MyReducer();
+      reduceDriver = ReduceDriver.newReduceDriver(reducer);
+    }
+  
+   <em><span class="hl-annotation" style="color: gray">@Test</span></em>
+   <strong class="hl-keyword">public</strong> <strong class="hl-keyword">void</strong> testHBaseInsert() <strong class="hl-keyword">throws</strong> IOException {
+      String strKey = <strong class="hl-string"><em style="color:red">"RowKey-1"</em></strong>, strValue = <strong class="hl-string"><em style="color:red">"DATA"</em></strong>, strValue1 = <strong class="hl-string"><em style="color:red">"DATA1"</em></strong>, 
+strValue2 = <strong class="hl-string"><em style="color:red">"DATA2"</em></strong>;
+      List&lt;Text&gt; list = <strong class="hl-keyword">new</strong> ArrayList&lt;Text&gt;();
+      list.add(<strong class="hl-keyword">new</strong> Text(strValue));
+      list.add(<strong class="hl-keyword">new</strong> Text(strValue1));
+      list.add(<strong class="hl-keyword">new</strong> Text(strValue2));
+      <em class="hl-comment" style="color: silver">//since in our case all that the reducer is doing is appending the records that the mapper   </em>
+      <em class="hl-comment" style="color: silver">//sends it, we should get the following back</em>
+      String expectedOutput = strValue + strValue1 + strValue2;
+     <em class="hl-comment" style="color: silver">//Setup Input, mimic what mapper would have passed</em>
+      <em class="hl-comment" style="color: silver">//to the reducer and run test</em>
+      reduceDriver.withInput(<strong class="hl-keyword">new</strong> Text(strKey), list);
+      <em class="hl-comment" style="color: silver">//run the reducer and get its output</em>
+      List&lt;Pair&lt;ImmutableBytesWritable, Writable&gt;&gt; result = reduceDriver.run();
+    
+      <em class="hl-comment" style="color: silver">//extract key from result and verify</em>
+      assertEquals(Bytes.toString(result.get(<span class="hl-number">0</span>).getFirst().get()), strKey);
+    
+      <em class="hl-comment" style="color: silver">//extract value for CF/QUALIFIER and verify</em>
+      Put a = (Put)result.get(<span class="hl-number">0</span>).getSecond();
+      String c = Bytes.toString(a.get(CF, QUALIFIER).get(<span class="hl-number">0</span>).getValue());
+      assertEquals(expectedOutput,c );
+   }
+
+}                    
+                    </pre><p>Your MRUnit test verifies that the output is as expected, the Put that is inserted
+            into HBase has the correct value, and the ColumnFamily and ColumnQualifier have the
+            correct values.</p><p>MRUnit includes a MapperDriver to test mapping jobs, and you can use MRUnit to test
+            other operations, including reading from HBase, processing data, or writing to
+            HDFS,</p></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="d227e125"></a>1.4.&nbsp;Integration Testing with a HBase Mini-Cluster</h2></div></div></div><p>HBase ships with HBaseTestingUtility, which makes it easy to write integration tests
+            using a <em class="firstterm">mini-cluster</em>. The first step is to add some dependencies
+            to your Maven POM file. Check the versions to be sure they are appropriate.</p><pre class="programlisting">
+<strong class="hl-tag" style="color: #000096">&lt;dependency&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;groupId&gt;</strong>org.apache.hadoop<strong class="hl-tag" style="color: #000096">&lt;/groupId&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;artifactId&gt;</strong>hadoop-common<strong class="hl-tag" style="color: #000096">&lt;/artifactId&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;version&gt;</strong>2.0.0<strong class="hl-tag" style="color: #000096">&lt;/version&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;type&gt;</strong>test-jar<strong class="hl-tag" style="color: #000096">&lt;/type&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;scope&gt;</strong>test<strong class="hl-tag" style="color: #000096">&lt;/scope&gt;</strong>
+<strong class="hl-tag" style="color: #000096">&lt;/dependency&gt;</strong>
+
+<strong class="hl-tag" style="color: #000096">&lt;dependency&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;groupId&gt;</strong>org.apache.hbase<strong class="hl-tag" style="color: #000096">&lt;/groupId&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;artifactId&gt;</strong>hbase<strong class="hl-tag" style="color: #000096">&lt;/artifactId&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;version&gt;</strong>0.98.3<strong class="hl-tag" style="color: #000096">&lt;/version&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;type&gt;</strong>test-jar<strong class="hl-tag" style="color: #000096">&lt;/type&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;scope&gt;</strong>test<strong class="hl-tag" style="color: #000096">&lt;/scope&gt;</strong>
+<strong class="hl-tag" style="color: #000096">&lt;/dependency&gt;</strong>
+        
+<strong class="hl-tag" style="color: #000096">&lt;dependency&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;groupId&gt;</strong>org.apache.hadoop<strong class="hl-tag" style="color: #000096">&lt;/groupId&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;artifactId&gt;</strong>hadoop-hdfs<strong class="hl-tag" style="color: #000096">&lt;/artifactId&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;version&gt;</strong>2.0.0<strong class="hl-tag" style="color: #000096">&lt;/version&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;type&gt;</strong>test-jar<strong class="hl-tag" style="color: #000096">&lt;/type&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;scope&gt;</strong>test<strong class="hl-tag" style="color: #000096">&lt;/scope&gt;</strong>
+<strong class="hl-tag" style="color: #000096">&lt;/dependency&gt;</strong>
+
+<strong class="hl-tag" style="color: #000096">&lt;dependency&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;groupId&gt;</strong>org.apache.hadoop<strong class="hl-tag" style="color: #000096">&lt;/groupId&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;artifactId&gt;</strong>hadoop-hdfs<strong class="hl-tag" style="color: #000096">&lt;/artifactId&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;version&gt;</strong>2.0.0<strong class="hl-tag" style="color: #000096">&lt;/version&gt;</strong>
+    <strong class="hl-tag" style="color: #000096">&lt;scope&gt;</strong>test<strong class="hl-tag" style="color: #000096">&lt;/scope&gt;</strong>
+<strong class="hl-tag" style="color: #000096">&lt;/dependency&gt;</strong>                    
+                    </pre><p>This code represents an integration test for the MyDAO insert shown in <a class="xref" href="#unit.tests" title="Chapter&nbsp;1.&nbsp;Unit Testing HBase Applications">Chapter&nbsp;1, <i>Unit Testing HBase Applications</i></a>.</p><pre class="programlisting">
+<strong class="hl-keyword">public</strong> <strong class="hl-keyword">class</strong> MyHBaseIntegrationTest {
+    <strong class="hl-keyword">private</strong> <strong class="hl-keyword">static</strong> HBaseTestingUtility utility;
+    <strong class="hl-keyword">byte</strong>[] CF = <strong class="hl-string"><em style="color:red">"CF"</em></strong>.getBytes();
+    <strong class="hl-keyword">byte</strong>[] QUALIFIER = <strong class="hl-string"><em style="color:red">"CQ-1"</em></strong>.getBytes();
+    
+    <em><span class="hl-annotation" style="color: gray">@Before</span></em>
+    <strong class="hl-keyword">public</strong> <strong class="hl-keyword">void</strong> setup() <strong class="hl-keyword">throws</strong> Exception {
+    	utility = <strong class="hl-keyword">new</strong> HBaseTestingUtility();
+    	utility.startMiniCluster();
+    }
+
+    <em><span class="hl-annotation" style="color: gray">@Test</span></em>
+        <strong class="hl-keyword">public</strong> <strong class="hl-keyword">void</strong> testInsert() <strong class="hl-keyword">throws</strong> Exception {
+       	 HTableInterface table = utility.createTable(Bytes.toBytes(<strong class="hl-string"><em style="color:red">"MyTest"</em></strong>),
+       			 Bytes.toBytes(<strong class="hl-string"><em style="color:red">"CF"</em></strong>));
+       	 HBaseTestObj obj = <strong class="hl-keyword">new</strong> HBaseTestObj();
+       	 obj.setRowKey(<strong class="hl-string"><em style="color:red">"ROWKEY-1"</em></strong>);
+       	 obj.setData1(<strong class="hl-string"><em style="color:red">"DATA-1"</em></strong>);
+       	 obj.setData2(<strong class="hl-string"><em style="color:red">"DATA-2"</em></strong>);
+       	 MyHBaseDAO.insertRecord(table, obj);
+       	 Get get1 = <strong class="hl-keyword">new</strong> Get(Bytes.toBytes(obj.getRowKey()));
+       	 get1.addColumn(CF, CQ1);
+       	 Result result1 = table.get(get1);
+       	 assertEquals(Bytes.toString(result1.getRow()), obj.getRowKey());
+       	 assertEquals(Bytes.toString(result1.value()), obj.getData1());
+       	 Get get2 = <strong class="hl-keyword">new</strong> Get(Bytes.toBytes(obj.getRowKey()));
+       	 get2.addColumn(CF, CQ2);
+       	 Result result2 = table.get(get2);
+       	 assertEquals(Bytes.toString(result2.getRow()), obj.getRowKey());
+       	 assertEquals(Bytes.toString(result2.value()), obj.getData2());
+    }
+}                    
+                </pre><p>This code creates an HBase mini-cluster and starts it. Next, it creates a table called
+                <code class="literal">MyTest</code> with one column family, <code class="literal">CF</code>. A record is
+            inserted, a Get is performed from the same table, and the insertion is verified.</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>Starting the mini-cluster takes about 20-30 seconds, but that should be
+                appropriate for integration testing. </p></div><p>To use an HBase mini-cluster on Microsoft Windows, you need to use a Cygwin
+            environment.</p><p>See the paper at <a class="link" href="http://blog.sematext.com/2010/08/30/hbase-case-study-using-hbasetestingutility-for-local-testing-development/" target="_top">HBase Case-Study: Using HBaseTestingUtility for Local Testing and
+                Development</a> (2010) for more information about HBaseTestingUtility.</p></div></div><div id="disqus_thread"></div><script type="text/javascript">
+    /* * * DON'T EDIT BELOW THIS LINE * * */
+    (function() {
+        var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
+        dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
+        (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+    })();
+</script><noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript><a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a></body></html>
\ No newline at end of file