hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [8/8] hbase-site git commit: Published site at .
Date Tue, 19 Sep 2017 15:12:58 GMT
Published site at .


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

Branch: refs/heads/asf-site
Commit: f2c435b34bda9dff17f02b2a5438fa1b1ab5ad74
Parents: 2b524c7
Author: jenkins <builds@apache.org>
Authored: Tue Sep 19 15:12:41 2017 +0000
Committer: jenkins <builds@apache.org>
Committed: Tue Sep 19 15:12:41 2017 +0000

----------------------------------------------------------------------
 acid-semantics.html                             |   4 +-
 apache_hbase_reference_guide.pdf                |   6 +-
 .../hbase/mapreduce/TableMapReduceUtil.html     |   6 +-
 .../org/apache/hadoop/hbase/CellUtil.html       |   8 +-
 .../hbase/mapreduce/TableMapReduceUtil.html     | 461 ++++++++++---------
 book.html                                       |   2 +-
 bulk-loads.html                                 |   4 +-
 checkstyle-aggregate.html                       |  20 +-
 coc.html                                        |   4 +-
 cygwin.html                                     |   4 +-
 dependencies.html                               |   4 +-
 dependency-convergence.html                     |   4 +-
 dependency-info.html                            |   4 +-
 dependency-management.html                      |   4 +-
 devapidocs/constant-values.html                 |   6 +-
 .../apache/hadoop/hbase/ByteBufferKeyValue.html |   4 +-
 .../CellUtil.TagRewriteByteBufferCell.html      |   4 +-
 .../hadoop/hbase/CellUtil.TagRewriteCell.html   |   4 +-
 ...llUtil.ValueAndTagRewriteByteBufferCell.html |   4 +-
 .../hbase/CellUtil.ValueAndTagRewriteCell.html  |   4 +-
 .../org/apache/hadoop/hbase/ExtendedCell.html   |   4 +-
 .../hadoop/hbase/IndividualBytesFieldCell.html  |   4 +-
 .../org/apache/hadoop/hbase/KeyValue.html       |   4 +-
 .../hadoop/hbase/NoTagsByteBufferKeyValue.html  |   4 +-
 .../org/apache/hadoop/hbase/NoTagsKeyValue.html |   4 +-
 .../hbase/backup/master/BackupLogCleaner.html   |   6 +-
 .../org/apache/hadoop/hbase/class-use/Cell.html |  50 --
 .../hadoop/hbase/class-use/ExtendedCell.html    |  59 +++
 ...eredDataBlockEncoder.OffheapDecodedCell.html |   4 +-
 ...feredDataBlockEncoder.OnheapDecodedCell.html |   4 +-
 .../hbase/mapreduce/TableMapReduceUtil.html     |  16 +-
 .../apache/hadoop/hbase/ByteBufferKeyValue.html |   2 +-
 .../hbase/CellUtil.EmptyByteBufferCell.html     |   8 +-
 .../apache/hadoop/hbase/CellUtil.EmptyCell.html |   8 +-
 .../CellUtil.FirstOnRowByteBufferCell.html      |   8 +-
 .../hadoop/hbase/CellUtil.FirstOnRowCell.html   |   8 +-
 .../CellUtil.FirstOnRowColByteBufferCell.html   |   8 +-
 .../hbase/CellUtil.FirstOnRowColCell.html       |   8 +-
 .../CellUtil.FirstOnRowColTSByteBufferCell.html |   8 +-
 .../hbase/CellUtil.FirstOnRowColTSCell.html     |   8 +-
 .../CellUtil.FirstOnRowDeleteFamilyCell.html    |   8 +-
 .../hbase/CellUtil.LastOnRowByteBufferCell.html |   8 +-
 .../hadoop/hbase/CellUtil.LastOnRowCell.html    |   8 +-
 .../CellUtil.LastOnRowColByteBufferCell.html    |   8 +-
 .../hadoop/hbase/CellUtil.LastOnRowColCell.html |   8 +-
 .../CellUtil.TagRewriteByteBufferCell.html      |   8 +-
 .../hadoop/hbase/CellUtil.TagRewriteCell.html   |   8 +-
 ...llUtil.ValueAndTagRewriteByteBufferCell.html |   8 +-
 .../hbase/CellUtil.ValueAndTagRewriteCell.html  |   8 +-
 .../org/apache/hadoop/hbase/CellUtil.html       |   8 +-
 .../org/apache/hadoop/hbase/ExtendedCell.html   |   2 +-
 .../hadoop/hbase/IndividualBytesFieldCell.html  |   2 +-
 .../hadoop/hbase/KeyValue.KVComparator.html     |   2 +-
 .../hadoop/hbase/KeyValue.KeyOnlyKeyValue.html  |   2 +-
 .../hadoop/hbase/KeyValue.MetaComparator.html   |   2 +-
 .../hbase/KeyValue.RawBytesComparator.html      |   2 +-
 .../hbase/KeyValue.RowOnlyComparator.html       |   2 +-
 .../hbase/KeyValue.SamePrefixComparator.html    |   2 +-
 .../org/apache/hadoop/hbase/KeyValue.Type.html  |   2 +-
 .../org/apache/hadoop/hbase/KeyValue.html       |   2 +-
 .../hadoop/hbase/NoTagsByteBufferKeyValue.html  |   2 +-
 .../org/apache/hadoop/hbase/NoTagsKeyValue.html |   2 +-
 .../org/apache/hadoop/hbase/Version.html        |   6 +-
 .../hbase/backup/master/BackupLogCleaner.html   | 129 +++---
 .../hadoop/hbase/client/AsyncProcess.html       |   2 +-
 ...kEncoder.BufferedDataBlockEncodingState.html |   4 +-
 ...dDataBlockEncoder.BufferedEncodedSeeker.html |   4 +-
 ...eredDataBlockEncoder.OffheapDecodedCell.html |   4 +-
 ...feredDataBlockEncoder.OnheapDecodedCell.html |   4 +-
 .../BufferedDataBlockEncoder.SeekerState.html   |   4 +-
 .../io/encoding/BufferedDataBlockEncoder.html   |   4 +-
 .../hbase/mapreduce/TableMapReduceUtil.html     | 461 ++++++++++---------
 export_control.html                             |   4 +-
 hbase-annotations/dependencies.html             |   4 +-
 hbase-annotations/dependency-convergence.html   |   4 +-
 hbase-annotations/dependency-info.html          |   4 +-
 hbase-annotations/dependency-management.html    |   4 +-
 hbase-annotations/index.html                    |   4 +-
 hbase-annotations/integration.html              |   4 +-
 hbase-annotations/issue-tracking.html           |   4 +-
 hbase-annotations/license.html                  |   4 +-
 hbase-annotations/mail-lists.html               |   4 +-
 hbase-annotations/plugin-management.html        |   4 +-
 hbase-annotations/plugins.html                  |   4 +-
 hbase-annotations/project-info.html             |   4 +-
 hbase-annotations/project-summary.html          |   4 +-
 hbase-annotations/source-repository.html        |   4 +-
 hbase-annotations/team-list.html                |   4 +-
 hbase-build-configuration/dependencies.html     |   4 +-
 .../dependency-convergence.html                 |   4 +-
 hbase-build-configuration/dependency-info.html  |   4 +-
 .../dependency-management.html                  |   4 +-
 .../hbase-archetypes/dependencies.html          |   4 +-
 .../dependency-convergence.html                 |   4 +-
 .../hbase-archetypes/dependency-info.html       |   4 +-
 .../hbase-archetypes/dependency-management.html |   4 +-
 .../hbase-archetype-builder/dependencies.html   |   4 +-
 .../dependency-convergence.html                 |   4 +-
 .../dependency-info.html                        |   4 +-
 .../dependency-management.html                  |   4 +-
 .../hbase-archetype-builder/index.html          |   4 +-
 .../hbase-archetype-builder/integration.html    |   4 +-
 .../hbase-archetype-builder/issue-tracking.html |   4 +-
 .../hbase-archetype-builder/license.html        |   4 +-
 .../hbase-archetype-builder/mail-lists.html     |   4 +-
 .../plugin-management.html                      |   4 +-
 .../hbase-archetype-builder/plugins.html        |   4 +-
 .../hbase-archetype-builder/project-info.html   |   4 +-
 .../project-summary.html                        |   4 +-
 .../source-repository.html                      |   4 +-
 .../hbase-archetype-builder/team-list.html      |   4 +-
 .../hbase-client-project/checkstyle.html        |   4 +-
 .../hbase-client-project/dependencies.html      |   4 +-
 .../dependency-convergence.html                 |   4 +-
 .../hbase-client-project/dependency-info.html   |   4 +-
 .../dependency-management.html                  |   4 +-
 .../hbase-client-project/index.html             |   4 +-
 .../hbase-client-project/integration.html       |   4 +-
 .../hbase-client-project/issue-tracking.html    |   4 +-
 .../hbase-client-project/license.html           | 208 +--------
 .../hbase-client-project/mail-lists.html        |   4 +-
 .../hbase-client-project/plugin-management.html |   4 +-
 .../hbase-client-project/plugins.html           |   4 +-
 .../hbase-client-project/project-info.html      |   4 +-
 .../hbase-client-project/project-reports.html   |   4 +-
 .../hbase-client-project/project-summary.html   |   4 +-
 .../hbase-client-project/source-repository.html |   4 +-
 .../hbase-client-project/team-list.html         |   4 +-
 .../hbase-shaded-client-project/checkstyle.html |   4 +-
 .../dependencies.html                           |   4 +-
 .../dependency-convergence.html                 |   4 +-
 .../dependency-info.html                        |   4 +-
 .../dependency-management.html                  |   4 +-
 .../hbase-shaded-client-project/index.html      |   4 +-
 .../integration.html                            |   4 +-
 .../issue-tracking.html                         |   4 +-
 .../hbase-shaded-client-project/license.html    |   4 +-
 .../hbase-shaded-client-project/mail-lists.html |   4 +-
 .../plugin-management.html                      |   4 +-
 .../hbase-shaded-client-project/plugins.html    |   4 +-
 .../project-info.html                           |   4 +-
 .../project-reports.html                        |   4 +-
 .../project-summary.html                        |   4 +-
 .../source-repository.html                      |   4 +-
 .../hbase-shaded-client-project/team-list.html  |   4 +-
 .../hbase-archetypes/index.html                 |   4 +-
 .../hbase-archetypes/integration.html           |   4 +-
 .../hbase-archetypes/issue-tracking.html        |   4 +-
 .../hbase-archetypes/license.html               |   4 +-
 .../hbase-archetypes/mail-lists.html            |   4 +-
 .../hbase-archetypes/plugin-management.html     |   4 +-
 .../hbase-archetypes/plugins.html               |   4 +-
 .../hbase-archetypes/project-info.html          |   4 +-
 .../hbase-archetypes/project-summary.html       |   4 +-
 .../hbase-archetypes/source-repository.html     |   4 +-
 .../hbase-archetypes/team-list.html             |   4 +-
 .../hbase-spark/checkstyle.html                 |   4 +-
 .../hbase-spark/dependencies.html               |   4 +-
 .../hbase-spark/dependency-convergence.html     |   4 +-
 .../hbase-spark/dependency-info.html            |   4 +-
 .../hbase-spark/dependency-management.html      |   4 +-
 .../hbase-spark/index.html                      |   4 +-
 .../hbase-spark/integration.html                |   4 +-
 .../hbase-spark/issue-tracking.html             |   4 +-
 .../hbase-spark/license.html                    |   4 +-
 .../hbase-spark/mail-lists.html                 |   4 +-
 .../hbase-spark/plugin-management.html          |   4 +-
 .../hbase-spark/plugins.html                    |   4 +-
 .../hbase-spark/project-info.html               |   4 +-
 .../hbase-spark/project-reports.html            |   4 +-
 .../hbase-spark/project-summary.html            |   4 +-
 .../hbase-spark/source-repository.html          |   4 +-
 .../hbase-spark/team-list.html                  |   4 +-
 hbase-build-configuration/index.html            |   4 +-
 hbase-build-configuration/integration.html      |   4 +-
 hbase-build-configuration/issue-tracking.html   |   4 +-
 hbase-build-configuration/license.html          | 208 ++++++++-
 hbase-build-configuration/mail-lists.html       |   4 +-
 .../plugin-management.html                      |   4 +-
 hbase-build-configuration/plugins.html          |   4 +-
 hbase-build-configuration/project-info.html     |   4 +-
 hbase-build-configuration/project-summary.html  |   4 +-
 .../source-repository.html                      |   4 +-
 hbase-build-configuration/team-list.html        |   4 +-
 hbase-shaded-check-invariants/checkstyle.html   |   4 +-
 hbase-shaded-check-invariants/dependencies.html | 171 +++----
 .../dependency-convergence.html                 |   4 +-
 .../dependency-info.html                        |   4 +-
 .../dependency-management.html                  |   4 +-
 hbase-shaded-check-invariants/index.html        |   4 +-
 hbase-shaded-check-invariants/integration.html  |   4 +-
 .../issue-tracking.html                         |   4 +-
 hbase-shaded-check-invariants/license.html      |   4 +-
 hbase-shaded-check-invariants/mail-lists.html   |   4 +-
 .../plugin-management.html                      |   4 +-
 hbase-shaded-check-invariants/plugins.html      |   4 +-
 hbase-shaded-check-invariants/project-info.html |   4 +-
 .../project-reports.html                        |   4 +-
 .../project-summary.html                        |   4 +-
 .../source-repository.html                      |   4 +-
 hbase-shaded-check-invariants/team-list.html    |   4 +-
 index.html                                      |   4 +-
 integration.html                                |   4 +-
 issue-tracking.html                             |   4 +-
 license.html                                    |   4 +-
 mail-lists.html                                 |   4 +-
 metrics.html                                    |   4 +-
 old_news.html                                   |   4 +-
 plugin-management.html                          |   4 +-
 plugins.html                                    |   4 +-
 poweredbyhbase.html                             |   4 +-
 project-info.html                               |   4 +-
 project-reports.html                            |   4 +-
 project-summary.html                            |   4 +-
 pseudo-distributed.html                         |   4 +-
 replication.html                                |   4 +-
 resources.html                                  |   4 +-
 source-repository.html                          |   4 +-
 sponsors.html                                   |   4 +-
 supportingprojects.html                         |   4 +-
 team-list.html                                  |   4 +-
 .../hbase/util/LoadTestTool.WorkerThread.html   |  66 +--
 .../apache/hadoop/hbase/util/LoadTestTool.html  |  66 +--
 223 files changed, 1401 insertions(+), 1414 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f2c435b3/acid-semantics.html
----------------------------------------------------------------------
diff --git a/acid-semantics.html b/acid-semantics.html
index 13de367..d8d1b34 100644
--- a/acid-semantics.html
+++ b/acid-semantics.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20170918" />
+    <meta name="Date-Revision-yyyymmdd" content="20170919" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013;  
       Apache HBase (TM) ACID Properties
@@ -606,7 +606,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-09-18</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-09-19</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f2c435b3/apache_hbase_reference_guide.pdf
----------------------------------------------------------------------
diff --git a/apache_hbase_reference_guide.pdf b/apache_hbase_reference_guide.pdf
index b5249b3..e806228 100644
--- a/apache_hbase_reference_guide.pdf
+++ b/apache_hbase_reference_guide.pdf
@@ -5,8 +5,8 @@
 /Author (Apache HBase Team)
 /Creator (Asciidoctor PDF 1.5.0.alpha.15, based on Prawn 2.2.2)
 /Producer (Apache HBase Team)
-/ModDate (D:20170918144631+00'00')
-/CreationDate (D:20170918144631+00'00')
+/ModDate (D:20170919144623+00'00')
+/CreationDate (D:20170919144623+00'00')
 >>
 endobj
 2 0 obj
@@ -27334,7 +27334,7 @@ endobj
 endobj
 136 0 obj
 << /Limits [(__anchor-top) (adding.new.node)]
-/Names [(__anchor-top) 25 0 R (__indexterm-6978774) 3266 0 R (__indexterm-6981024) 3268 0 R (__indexterm-6983086) 3269 0 R (__indexterm-6984960) 3270 0 R (acid) 894 0 R (add-metric-name-and-function-to-hadoop-compat-interface) 3365 0 R (add-the-implementation-to-both-hadoop-1-and-hadoop-2-compat-modules) 3366 0 R (add.metrics) 3363 0 R (adding-a-new-chapter-to-the-hbase-reference-guide) 3604 0 R (adding.new.node) 2863 0 R]
+/Names [(__anchor-top) 25 0 R (__indexterm-6978776) 3266 0 R (__indexterm-6981026) 3268 0 R (__indexterm-6983088) 3269 0 R (__indexterm-6984962) 3270 0 R (acid) 894 0 R (add-metric-name-and-function-to-hadoop-compat-interface) 3365 0 R (add-the-implementation-to-both-hadoop-1-and-hadoop-2-compat-modules) 3366 0 R (add.metrics) 3363 0 R (adding-a-new-chapter-to-the-hbase-reference-guide) 3604 0 R (adding.new.node) 2863 0 R]
 >>
 endobj
 137 0 obj

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f2c435b3/apidocs/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html
----------------------------------------------------------------------
diff --git a/apidocs/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html b/apidocs/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html
index 1905a80..ca10d2f 100644
--- a/apidocs/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html
+++ b/apidocs/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html
@@ -1223,7 +1223,7 @@ public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/
 <ul class="blockList">
 <li class="blockList">
 <h4>buildDependencyClasspath</h4>
-<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html#line.808">buildDependencyClasspath</a>(org.apache.hadoop.conf.Configuration&nbsp;conf)</pre>
+<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html#line.809">buildDependencyClasspath</a>(org.apache.hadoop.conf.Configuration&nbsp;conf)</pre>
 <div class="block">Returns a classpath string built from the content of the "tmpjars" value in <code>conf</code>.
  Also exposed to shell scripts via `bin/hbase mapredcp`.</div>
 </li>
@@ -1234,7 +1234,7 @@ public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/
 <ul class="blockList">
 <li class="blockList">
 <h4>addDependencyJars</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html#line.832">addDependencyJars</a>(org.apache.hadoop.mapreduce.Job&nbsp;job)
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html#line.833">addDependencyJars</a>(org.apache.hadoop.mapreduce.Job&nbsp;job)
                               throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block">Add the HBase dependency jars as well as jars for any of the configured
  job classes to the job configuration, so that JobClient will ship them
@@ -1252,7 +1252,7 @@ public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/
 <li class="blockList">
 <h4>addDependencyJars</h4>
 <pre><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
-public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html#line.858">addDependencyJars</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
+public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html#line.859">addDependencyJars</a>(org.apache.hadoop.conf.Configuration&nbsp;conf,
                                                  <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;classes)
                                           throws <a href="http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">rely on <a href="../../../../../org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html#addDependencyJars-org.apache.hadoop.mapreduce.Job-"><code>addDependencyJars(Job)</code></a> instead.</span></div>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f2c435b3/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html b/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html
index ae7c795..26125e3 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html
@@ -665,7 +665,7 @@
 <span class="sourceLineNo">657</span>    }<a name="line.657"></a>
 <span class="sourceLineNo">658</span><a name="line.658"></a>
 <span class="sourceLineNo">659</span>    @Override<a name="line.659"></a>
-<span class="sourceLineNo">660</span>    public Cell deepClone() {<a name="line.660"></a>
+<span class="sourceLineNo">660</span>    public ExtendedCell deepClone() {<a name="line.660"></a>
 <span class="sourceLineNo">661</span>      Cell clonedBaseCell = ((ExtendedCell) this.cell).deepClone();<a name="line.661"></a>
 <span class="sourceLineNo">662</span>      return new TagRewriteCell(clonedBaseCell, this.tags);<a name="line.662"></a>
 <span class="sourceLineNo">663</span>    }<a name="line.663"></a>
@@ -846,7 +846,7 @@
 <span class="sourceLineNo">838</span>    }<a name="line.838"></a>
 <span class="sourceLineNo">839</span><a name="line.839"></a>
 <span class="sourceLineNo">840</span>    @Override<a name="line.840"></a>
-<span class="sourceLineNo">841</span>    public Cell deepClone() {<a name="line.841"></a>
+<span class="sourceLineNo">841</span>    public ExtendedCell deepClone() {<a name="line.841"></a>
 <span class="sourceLineNo">842</span>      Cell clonedBaseCell = ((ExtendedCell) this.cell).deepClone();<a name="line.842"></a>
 <span class="sourceLineNo">843</span>      if (clonedBaseCell instanceof ByteBufferCell) {<a name="line.843"></a>
 <span class="sourceLineNo">844</span>        return new TagRewriteByteBufferCell((ByteBufferCell) clonedBaseCell, this.tags);<a name="line.844"></a>
@@ -989,7 +989,7 @@
 <span class="sourceLineNo">981</span>    }<a name="line.981"></a>
 <span class="sourceLineNo">982</span><a name="line.982"></a>
 <span class="sourceLineNo">983</span>    @Override<a name="line.983"></a>
-<span class="sourceLineNo">984</span>    public Cell deepClone() {<a name="line.984"></a>
+<span class="sourceLineNo">984</span>    public ExtendedCell deepClone() {<a name="line.984"></a>
 <span class="sourceLineNo">985</span>      Cell clonedBaseCell = ((ExtendedCell) this.cell).deepClone();<a name="line.985"></a>
 <span class="sourceLineNo">986</span>      return new ValueAndTagRewriteCell(clonedBaseCell, this.value, this.tags);<a name="line.986"></a>
 <span class="sourceLineNo">987</span>    }<a name="line.987"></a>
@@ -1055,7 +1055,7 @@
 <span class="sourceLineNo">1047</span>    }<a name="line.1047"></a>
 <span class="sourceLineNo">1048</span><a name="line.1048"></a>
 <span class="sourceLineNo">1049</span>    @Override<a name="line.1049"></a>
-<span class="sourceLineNo">1050</span>    public Cell deepClone() {<a name="line.1050"></a>
+<span class="sourceLineNo">1050</span>    public ExtendedCell deepClone() {<a name="line.1050"></a>
 <span class="sourceLineNo">1051</span>      Cell clonedBaseCell = ((ExtendedCell) this.cell).deepClone();<a name="line.1051"></a>
 <span class="sourceLineNo">1052</span>      if (clonedBaseCell instanceof ByteBufferCell) {<a name="line.1052"></a>
 <span class="sourceLineNo">1053</span>        return new ValueAndTagRewriteByteBufferCell((ByteBufferCell) clonedBaseCell, this.value,<a name="line.1053"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f2c435b3/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html
----------------------------------------------------------------------
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html
index c061c8e..b8fea52 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html
@@ -795,7 +795,7 @@
 <span class="sourceLineNo">787</span>      org.apache.hadoop.hbase.ipc.RpcServer.class,                   // hbase-server<a name="line.787"></a>
 <span class="sourceLineNo">788</span>      org.apache.hadoop.hbase.CompatibilityFactory.class,            // hbase-hadoop-compat<a name="line.788"></a>
 <span class="sourceLineNo">789</span>      org.apache.hadoop.hbase.mapreduce.JobUtil.class,               // hbase-hadoop2-compat<a name="line.789"></a>
-<span class="sourceLineNo">790</span>      org.apache.hadoop.hbase.mapreduce.TableMapper.class,           // hbase-server<a name="line.790"></a>
+<span class="sourceLineNo">790</span>      org.apache.hadoop.hbase.mapreduce.TableMapper.class,           // hbase-mapreduce<a name="line.790"></a>
 <span class="sourceLineNo">791</span>      org.apache.hadoop.hbase.metrics.impl.FastLongHistogram.class,  // hbase-metrics<a name="line.791"></a>
 <span class="sourceLineNo">792</span>      org.apache.hadoop.hbase.metrics.Snapshot.class,                // hbase-metrics-api<a name="line.792"></a>
 <span class="sourceLineNo">793</span>      prefixTreeCodecClass, //  hbase-prefix-tree (if null will be skipped)<a name="line.793"></a>
@@ -806,235 +806,236 @@
 <span class="sourceLineNo">798</span>      org.apache.hadoop.hbase.shaded.com.google.protobuf.UnsafeByteOperations.class,<a name="line.798"></a>
 <span class="sourceLineNo">799</span>      org.apache.hadoop.hbase.shaded.com.google.common.collect.Lists.class,<a name="line.799"></a>
 <span class="sourceLineNo">800</span>      org.apache.htrace.Trace.class,<a name="line.800"></a>
-<span class="sourceLineNo">801</span>      com.codahale.metrics.MetricRegistry.class);<a name="line.801"></a>
-<span class="sourceLineNo">802</span>  }<a name="line.802"></a>
-<span class="sourceLineNo">803</span><a name="line.803"></a>
-<span class="sourceLineNo">804</span>  /**<a name="line.804"></a>
-<span class="sourceLineNo">805</span>   * Returns a classpath string built from the content of the "tmpjars" value in {@code conf}.<a name="line.805"></a>
-<span class="sourceLineNo">806</span>   * Also exposed to shell scripts via `bin/hbase mapredcp`.<a name="line.806"></a>
-<span class="sourceLineNo">807</span>   */<a name="line.807"></a>
-<span class="sourceLineNo">808</span>  public static String buildDependencyClasspath(Configuration conf) {<a name="line.808"></a>
-<span class="sourceLineNo">809</span>    if (conf == null) {<a name="line.809"></a>
-<span class="sourceLineNo">810</span>      throw new IllegalArgumentException("Must provide a configuration object.");<a name="line.810"></a>
-<span class="sourceLineNo">811</span>    }<a name="line.811"></a>
-<span class="sourceLineNo">812</span>    Set&lt;String&gt; paths = new HashSet&lt;&gt;(conf.getStringCollection("tmpjars"));<a name="line.812"></a>
-<span class="sourceLineNo">813</span>    if (paths.isEmpty()) {<a name="line.813"></a>
-<span class="sourceLineNo">814</span>      throw new IllegalArgumentException("Configuration contains no tmpjars.");<a name="line.814"></a>
-<span class="sourceLineNo">815</span>    }<a name="line.815"></a>
-<span class="sourceLineNo">816</span>    StringBuilder sb = new StringBuilder();<a name="line.816"></a>
-<span class="sourceLineNo">817</span>    for (String s : paths) {<a name="line.817"></a>
-<span class="sourceLineNo">818</span>      // entries can take the form 'file:/path/to/file.jar'.<a name="line.818"></a>
-<span class="sourceLineNo">819</span>      int idx = s.indexOf(":");<a name="line.819"></a>
-<span class="sourceLineNo">820</span>      if (idx != -1) s = s.substring(idx + 1);<a name="line.820"></a>
-<span class="sourceLineNo">821</span>      if (sb.length() &gt; 0) sb.append(File.pathSeparator);<a name="line.821"></a>
-<span class="sourceLineNo">822</span>      sb.append(s);<a name="line.822"></a>
-<span class="sourceLineNo">823</span>    }<a name="line.823"></a>
-<span class="sourceLineNo">824</span>    return sb.toString();<a name="line.824"></a>
-<span class="sourceLineNo">825</span>  }<a name="line.825"></a>
-<span class="sourceLineNo">826</span><a name="line.826"></a>
-<span class="sourceLineNo">827</span>  /**<a name="line.827"></a>
-<span class="sourceLineNo">828</span>   * Add the HBase dependency jars as well as jars for any of the configured<a name="line.828"></a>
-<span class="sourceLineNo">829</span>   * job classes to the job configuration, so that JobClient will ship them<a name="line.829"></a>
-<span class="sourceLineNo">830</span>   * to the cluster and add them to the DistributedCache.<a name="line.830"></a>
-<span class="sourceLineNo">831</span>   */<a name="line.831"></a>
-<span class="sourceLineNo">832</span>  public static void addDependencyJars(Job job) throws IOException {<a name="line.832"></a>
-<span class="sourceLineNo">833</span>    addHBaseDependencyJars(job.getConfiguration());<a name="line.833"></a>
-<span class="sourceLineNo">834</span>    try {<a name="line.834"></a>
-<span class="sourceLineNo">835</span>      addDependencyJarsForClasses(job.getConfiguration(),<a name="line.835"></a>
-<span class="sourceLineNo">836</span>          // when making changes here, consider also mapred.TableMapReduceUtil<a name="line.836"></a>
-<span class="sourceLineNo">837</span>          // pull job classes<a name="line.837"></a>
-<span class="sourceLineNo">838</span>          job.getMapOutputKeyClass(),<a name="line.838"></a>
-<span class="sourceLineNo">839</span>          job.getMapOutputValueClass(),<a name="line.839"></a>
-<span class="sourceLineNo">840</span>          job.getInputFormatClass(),<a name="line.840"></a>
-<span class="sourceLineNo">841</span>          job.getOutputKeyClass(),<a name="line.841"></a>
-<span class="sourceLineNo">842</span>          job.getOutputValueClass(),<a name="line.842"></a>
-<span class="sourceLineNo">843</span>          job.getOutputFormatClass(),<a name="line.843"></a>
-<span class="sourceLineNo">844</span>          job.getPartitionerClass(),<a name="line.844"></a>
-<span class="sourceLineNo">845</span>          job.getCombinerClass());<a name="line.845"></a>
-<span class="sourceLineNo">846</span>    } catch (ClassNotFoundException e) {<a name="line.846"></a>
-<span class="sourceLineNo">847</span>      throw new IOException(e);<a name="line.847"></a>
-<span class="sourceLineNo">848</span>    }<a name="line.848"></a>
-<span class="sourceLineNo">849</span>  }<a name="line.849"></a>
-<span class="sourceLineNo">850</span><a name="line.850"></a>
-<span class="sourceLineNo">851</span>  /**<a name="line.851"></a>
-<span class="sourceLineNo">852</span>   * Add the jars containing the given classes to the job's configuration<a name="line.852"></a>
-<span class="sourceLineNo">853</span>   * such that JobClient will ship them to the cluster and add them to<a name="line.853"></a>
-<span class="sourceLineNo">854</span>   * the DistributedCache.<a name="line.854"></a>
-<span class="sourceLineNo">855</span>   * @deprecated rely on {@link #addDependencyJars(Job)} instead.<a name="line.855"></a>
-<span class="sourceLineNo">856</span>   */<a name="line.856"></a>
-<span class="sourceLineNo">857</span>  @Deprecated<a name="line.857"></a>
-<span class="sourceLineNo">858</span>  public static void addDependencyJars(Configuration conf,<a name="line.858"></a>
-<span class="sourceLineNo">859</span>      Class&lt;?&gt;... classes) throws IOException {<a name="line.859"></a>
-<span class="sourceLineNo">860</span>    LOG.warn("The addDependencyJars(Configuration, Class&lt;?&gt;...) method has been deprecated since it"<a name="line.860"></a>
-<span class="sourceLineNo">861</span>             + " is easy to use incorrectly. Most users should rely on addDependencyJars(Job) " +<a name="line.861"></a>
-<span class="sourceLineNo">862</span>             "instead. See HBASE-8386 for more details.");<a name="line.862"></a>
-<span class="sourceLineNo">863</span>    addDependencyJarsForClasses(conf, classes);<a name="line.863"></a>
-<span class="sourceLineNo">864</span>  }<a name="line.864"></a>
-<span class="sourceLineNo">865</span><a name="line.865"></a>
-<span class="sourceLineNo">866</span>  /**<a name="line.866"></a>
-<span class="sourceLineNo">867</span>   * Add the jars containing the given classes to the job's configuration<a name="line.867"></a>
-<span class="sourceLineNo">868</span>   * such that JobClient will ship them to the cluster and add them to<a name="line.868"></a>
-<span class="sourceLineNo">869</span>   * the DistributedCache.<a name="line.869"></a>
-<span class="sourceLineNo">870</span>   *<a name="line.870"></a>
-<span class="sourceLineNo">871</span>   * N.B. that this method at most adds one jar per class given. If there is more than one<a name="line.871"></a>
-<span class="sourceLineNo">872</span>   * jar available containing a class with the same name as a given class, we don't define<a name="line.872"></a>
-<span class="sourceLineNo">873</span>   * which of those jars might be chosen.<a name="line.873"></a>
-<span class="sourceLineNo">874</span>   *<a name="line.874"></a>
-<span class="sourceLineNo">875</span>   * @param conf The Hadoop Configuration to modify<a name="line.875"></a>
-<span class="sourceLineNo">876</span>   * @param classes will add just those dependencies needed to find the given classes<a name="line.876"></a>
-<span class="sourceLineNo">877</span>   * @throws IOException if an underlying library call fails.<a name="line.877"></a>
-<span class="sourceLineNo">878</span>   */<a name="line.878"></a>
-<span class="sourceLineNo">879</span>  @InterfaceAudience.Private<a name="line.879"></a>
-<span class="sourceLineNo">880</span>  public static void addDependencyJarsForClasses(Configuration conf,<a name="line.880"></a>
-<span class="sourceLineNo">881</span>      Class&lt;?&gt;... classes) throws IOException {<a name="line.881"></a>
-<span class="sourceLineNo">882</span><a name="line.882"></a>
-<span class="sourceLineNo">883</span>    FileSystem localFs = FileSystem.getLocal(conf);<a name="line.883"></a>
-<span class="sourceLineNo">884</span>    Set&lt;String&gt; jars = new HashSet&lt;&gt;();<a name="line.884"></a>
-<span class="sourceLineNo">885</span>    // Add jars that are already in the tmpjars variable<a name="line.885"></a>
-<span class="sourceLineNo">886</span>    jars.addAll(conf.getStringCollection("tmpjars"));<a name="line.886"></a>
-<span class="sourceLineNo">887</span><a name="line.887"></a>
-<span class="sourceLineNo">888</span>    // add jars as we find them to a map of contents jar name so that we can avoid<a name="line.888"></a>
-<span class="sourceLineNo">889</span>    // creating new jars for classes that have already been packaged.<a name="line.889"></a>
-<span class="sourceLineNo">890</span>    Map&lt;String, String&gt; packagedClasses = new HashMap&lt;&gt;();<a name="line.890"></a>
-<span class="sourceLineNo">891</span><a name="line.891"></a>
-<span class="sourceLineNo">892</span>    // Add jars containing the specified classes<a name="line.892"></a>
-<span class="sourceLineNo">893</span>    for (Class&lt;?&gt; clazz : classes) {<a name="line.893"></a>
-<span class="sourceLineNo">894</span>      if (clazz == null) continue;<a name="line.894"></a>
-<span class="sourceLineNo">895</span><a name="line.895"></a>
-<span class="sourceLineNo">896</span>      Path path = findOrCreateJar(clazz, localFs, packagedClasses);<a name="line.896"></a>
-<span class="sourceLineNo">897</span>      if (path == null) {<a name="line.897"></a>
-<span class="sourceLineNo">898</span>        LOG.warn("Could not find jar for class " + clazz +<a name="line.898"></a>
-<span class="sourceLineNo">899</span>                 " in order to ship it to the cluster.");<a name="line.899"></a>
-<span class="sourceLineNo">900</span>        continue;<a name="line.900"></a>
-<span class="sourceLineNo">901</span>      }<a name="line.901"></a>
-<span class="sourceLineNo">902</span>      if (!localFs.exists(path)) {<a name="line.902"></a>
-<span class="sourceLineNo">903</span>        LOG.warn("Could not validate jar file " + path + " for class "<a name="line.903"></a>
-<span class="sourceLineNo">904</span>                 + clazz);<a name="line.904"></a>
-<span class="sourceLineNo">905</span>        continue;<a name="line.905"></a>
-<span class="sourceLineNo">906</span>      }<a name="line.906"></a>
-<span class="sourceLineNo">907</span>      jars.add(path.toString());<a name="line.907"></a>
-<span class="sourceLineNo">908</span>    }<a name="line.908"></a>
-<span class="sourceLineNo">909</span>    if (jars.isEmpty()) return;<a name="line.909"></a>
-<span class="sourceLineNo">910</span><a name="line.910"></a>
-<span class="sourceLineNo">911</span>    conf.set("tmpjars", StringUtils.arrayToString(jars.toArray(new String[jars.size()])));<a name="line.911"></a>
-<span class="sourceLineNo">912</span>  }<a name="line.912"></a>
-<span class="sourceLineNo">913</span><a name="line.913"></a>
-<span class="sourceLineNo">914</span>  /**<a name="line.914"></a>
-<span class="sourceLineNo">915</span>   * Finds the Jar for a class or creates it if it doesn't exist. If the class is in<a name="line.915"></a>
-<span class="sourceLineNo">916</span>   * a directory in the classpath, it creates a Jar on the fly with the<a name="line.916"></a>
-<span class="sourceLineNo">917</span>   * contents of the directory and returns the path to that Jar. If a Jar is<a name="line.917"></a>
-<span class="sourceLineNo">918</span>   * created, it is created in the system temporary directory. Otherwise,<a name="line.918"></a>
-<span class="sourceLineNo">919</span>   * returns an existing jar that contains a class of the same name. Maintains<a name="line.919"></a>
-<span class="sourceLineNo">920</span>   * a mapping from jar contents to the tmp jar created.<a name="line.920"></a>
-<span class="sourceLineNo">921</span>   * @param my_class the class to find.<a name="line.921"></a>
-<span class="sourceLineNo">922</span>   * @param fs the FileSystem with which to qualify the returned path.<a name="line.922"></a>
-<span class="sourceLineNo">923</span>   * @param packagedClasses a map of class name to path.<a name="line.923"></a>
-<span class="sourceLineNo">924</span>   * @return a jar file that contains the class.<a name="line.924"></a>
-<span class="sourceLineNo">925</span>   * @throws IOException<a name="line.925"></a>
-<span class="sourceLineNo">926</span>   */<a name="line.926"></a>
-<span class="sourceLineNo">927</span>  private static Path findOrCreateJar(Class&lt;?&gt; my_class, FileSystem fs,<a name="line.927"></a>
-<span class="sourceLineNo">928</span>      Map&lt;String, String&gt; packagedClasses)<a name="line.928"></a>
-<span class="sourceLineNo">929</span>  throws IOException {<a name="line.929"></a>
-<span class="sourceLineNo">930</span>    // attempt to locate an existing jar for the class.<a name="line.930"></a>
-<span class="sourceLineNo">931</span>    String jar = findContainingJar(my_class, packagedClasses);<a name="line.931"></a>
-<span class="sourceLineNo">932</span>    if (null == jar || jar.isEmpty()) {<a name="line.932"></a>
-<span class="sourceLineNo">933</span>      jar = getJar(my_class);<a name="line.933"></a>
-<span class="sourceLineNo">934</span>      updateMap(jar, packagedClasses);<a name="line.934"></a>
-<span class="sourceLineNo">935</span>    }<a name="line.935"></a>
-<span class="sourceLineNo">936</span><a name="line.936"></a>
-<span class="sourceLineNo">937</span>    if (null == jar || jar.isEmpty()) {<a name="line.937"></a>
-<span class="sourceLineNo">938</span>      return null;<a name="line.938"></a>
-<span class="sourceLineNo">939</span>    }<a name="line.939"></a>
-<span class="sourceLineNo">940</span><a name="line.940"></a>
-<span class="sourceLineNo">941</span>    LOG.debug(String.format("For class %s, using jar %s", my_class.getName(), jar));<a name="line.941"></a>
-<span class="sourceLineNo">942</span>    return new Path(jar).makeQualified(fs);<a name="line.942"></a>
-<span class="sourceLineNo">943</span>  }<a name="line.943"></a>
-<span class="sourceLineNo">944</span><a name="line.944"></a>
-<span class="sourceLineNo">945</span>  /**<a name="line.945"></a>
-<span class="sourceLineNo">946</span>   * Add entries to &lt;code&gt;packagedClasses&lt;/code&gt; corresponding to class files<a name="line.946"></a>
-<span class="sourceLineNo">947</span>   * contained in &lt;code&gt;jar&lt;/code&gt;.<a name="line.947"></a>
-<span class="sourceLineNo">948</span>   * @param jar The jar who's content to list.<a name="line.948"></a>
-<span class="sourceLineNo">949</span>   * @param packagedClasses map[class -&gt; jar]<a name="line.949"></a>
-<span class="sourceLineNo">950</span>   */<a name="line.950"></a>
-<span class="sourceLineNo">951</span>  private static void updateMap(String jar, Map&lt;String, String&gt; packagedClasses) throws IOException {<a name="line.951"></a>
-<span class="sourceLineNo">952</span>    if (null == jar || jar.isEmpty()) {<a name="line.952"></a>
-<span class="sourceLineNo">953</span>      return;<a name="line.953"></a>
-<span class="sourceLineNo">954</span>    }<a name="line.954"></a>
-<span class="sourceLineNo">955</span>    ZipFile zip = null;<a name="line.955"></a>
-<span class="sourceLineNo">956</span>    try {<a name="line.956"></a>
-<span class="sourceLineNo">957</span>      zip = new ZipFile(jar);<a name="line.957"></a>
-<span class="sourceLineNo">958</span>      for (Enumeration&lt;? extends ZipEntry&gt; iter = zip.entries(); iter.hasMoreElements();) {<a name="line.958"></a>
-<span class="sourceLineNo">959</span>        ZipEntry entry = iter.nextElement();<a name="line.959"></a>
-<span class="sourceLineNo">960</span>        if (entry.getName().endsWith("class")) {<a name="line.960"></a>
-<span class="sourceLineNo">961</span>          packagedClasses.put(entry.getName(), jar);<a name="line.961"></a>
-<span class="sourceLineNo">962</span>        }<a name="line.962"></a>
-<span class="sourceLineNo">963</span>      }<a name="line.963"></a>
-<span class="sourceLineNo">964</span>    } finally {<a name="line.964"></a>
-<span class="sourceLineNo">965</span>      if (null != zip) zip.close();<a name="line.965"></a>
-<span class="sourceLineNo">966</span>    }<a name="line.966"></a>
-<span class="sourceLineNo">967</span>  }<a name="line.967"></a>
-<span class="sourceLineNo">968</span><a name="line.968"></a>
-<span class="sourceLineNo">969</span>  /**<a name="line.969"></a>
-<span class="sourceLineNo">970</span>   * Find a jar that contains a class of the same name, if any. It will return<a name="line.970"></a>
-<span class="sourceLineNo">971</span>   * a jar file, even if that is not the first thing on the class path that<a name="line.971"></a>
-<span class="sourceLineNo">972</span>   * has a class with the same name. Looks first on the classpath and then in<a name="line.972"></a>
-<span class="sourceLineNo">973</span>   * the &lt;code&gt;packagedClasses&lt;/code&gt; map.<a name="line.973"></a>
-<span class="sourceLineNo">974</span>   * @param my_class the class to find.<a name="line.974"></a>
-<span class="sourceLineNo">975</span>   * @return a jar file that contains the class, or null.<a name="line.975"></a>
-<span class="sourceLineNo">976</span>   * @throws IOException<a name="line.976"></a>
-<span class="sourceLineNo">977</span>   */<a name="line.977"></a>
-<span class="sourceLineNo">978</span>  private static String findContainingJar(Class&lt;?&gt; my_class, Map&lt;String, String&gt; packagedClasses)<a name="line.978"></a>
-<span class="sourceLineNo">979</span>      throws IOException {<a name="line.979"></a>
-<span class="sourceLineNo">980</span>    ClassLoader loader = my_class.getClassLoader();<a name="line.980"></a>
-<span class="sourceLineNo">981</span><a name="line.981"></a>
-<span class="sourceLineNo">982</span>    String class_file = my_class.getName().replaceAll("\\.", "/") + ".class";<a name="line.982"></a>
-<span class="sourceLineNo">983</span><a name="line.983"></a>
-<span class="sourceLineNo">984</span>    if (loader != null) {<a name="line.984"></a>
-<span class="sourceLineNo">985</span>      // first search the classpath<a name="line.985"></a>
-<span class="sourceLineNo">986</span>      for (Enumeration&lt;URL&gt; itr = loader.getResources(class_file); itr.hasMoreElements();) {<a name="line.986"></a>
-<span class="sourceLineNo">987</span>        URL url = itr.nextElement();<a name="line.987"></a>
-<span class="sourceLineNo">988</span>        if ("jar".equals(url.getProtocol())) {<a name="line.988"></a>
-<span class="sourceLineNo">989</span>          String toReturn = url.getPath();<a name="line.989"></a>
-<span class="sourceLineNo">990</span>          if (toReturn.startsWith("file:")) {<a name="line.990"></a>
-<span class="sourceLineNo">991</span>            toReturn = toReturn.substring("file:".length());<a name="line.991"></a>
-<span class="sourceLineNo">992</span>          }<a name="line.992"></a>
-<span class="sourceLineNo">993</span>          // URLDecoder is a misnamed class, since it actually decodes<a name="line.993"></a>
-<span class="sourceLineNo">994</span>          // x-www-form-urlencoded MIME type rather than actual<a name="line.994"></a>
-<span class="sourceLineNo">995</span>          // URL encoding (which the file path has). Therefore it would<a name="line.995"></a>
-<span class="sourceLineNo">996</span>          // decode +s to ' 's which is incorrect (spaces are actually<a name="line.996"></a>
-<span class="sourceLineNo">997</span>          // either unencoded or encoded as "%20"). Replace +s first, so<a name="line.997"></a>
-<span class="sourceLineNo">998</span>          // that they are kept sacred during the decoding process.<a name="line.998"></a>
-<span class="sourceLineNo">999</span>          toReturn = toReturn.replaceAll("\\+", "%2B");<a name="line.999"></a>
-<span class="sourceLineNo">1000</span>          toReturn = URLDecoder.decode(toReturn, "UTF-8");<a name="line.1000"></a>
-<span class="sourceLineNo">1001</span>          return toReturn.replaceAll("!.*$", "");<a name="line.1001"></a>
-<span class="sourceLineNo">1002</span>        }<a name="line.1002"></a>
-<span class="sourceLineNo">1003</span>      }<a name="line.1003"></a>
-<span class="sourceLineNo">1004</span>    }<a name="line.1004"></a>
-<span class="sourceLineNo">1005</span><a name="line.1005"></a>
-<span class="sourceLineNo">1006</span>    // now look in any jars we've packaged using JarFinder. Returns null when<a name="line.1006"></a>
-<span class="sourceLineNo">1007</span>    // no jar is found.<a name="line.1007"></a>
-<span class="sourceLineNo">1008</span>    return packagedClasses.get(class_file);<a name="line.1008"></a>
-<span class="sourceLineNo">1009</span>  }<a name="line.1009"></a>
-<span class="sourceLineNo">1010</span><a name="line.1010"></a>
-<span class="sourceLineNo">1011</span>  /**<a name="line.1011"></a>
-<span class="sourceLineNo">1012</span>   * Invoke 'getJar' on a custom JarFinder implementation. Useful for some job<a name="line.1012"></a>
-<span class="sourceLineNo">1013</span>   * configuration contexts (HBASE-8140) and also for testing on MRv2.<a name="line.1013"></a>
-<span class="sourceLineNo">1014</span>   * check if we have HADOOP-9426.<a name="line.1014"></a>
-<span class="sourceLineNo">1015</span>   * @param my_class the class to find.<a name="line.1015"></a>
-<span class="sourceLineNo">1016</span>   * @return a jar file that contains the class, or null.<a name="line.1016"></a>
-<span class="sourceLineNo">1017</span>   */<a name="line.1017"></a>
-<span class="sourceLineNo">1018</span>  private static String getJar(Class&lt;?&gt; my_class) {<a name="line.1018"></a>
-<span class="sourceLineNo">1019</span>    String ret = null;<a name="line.1019"></a>
-<span class="sourceLineNo">1020</span>    try {<a name="line.1020"></a>
-<span class="sourceLineNo">1021</span>      ret = JarFinder.getJar(my_class);<a name="line.1021"></a>
-<span class="sourceLineNo">1022</span>    } catch (Exception e) {<a name="line.1022"></a>
-<span class="sourceLineNo">1023</span>      // toss all other exceptions, related to reflection failure<a name="line.1023"></a>
-<span class="sourceLineNo">1024</span>      throw new RuntimeException("getJar invocation failed.", e);<a name="line.1024"></a>
-<span class="sourceLineNo">1025</span>    }<a name="line.1025"></a>
-<span class="sourceLineNo">1026</span><a name="line.1026"></a>
-<span class="sourceLineNo">1027</span>    return ret;<a name="line.1027"></a>
-<span class="sourceLineNo">1028</span>  }<a name="line.1028"></a>
-<span class="sourceLineNo">1029</span>}<a name="line.1029"></a>
+<span class="sourceLineNo">801</span>      com.codahale.metrics.MetricRegistry.class,<a name="line.801"></a>
+<span class="sourceLineNo">802</span>      org.apache.commons.lang3.ArrayUtils.class);<a name="line.802"></a>
+<span class="sourceLineNo">803</span>  }<a name="line.803"></a>
+<span class="sourceLineNo">804</span><a name="line.804"></a>
+<span class="sourceLineNo">805</span>  /**<a name="line.805"></a>
+<span class="sourceLineNo">806</span>   * Returns a classpath string built from the content of the "tmpjars" value in {@code conf}.<a name="line.806"></a>
+<span class="sourceLineNo">807</span>   * Also exposed to shell scripts via `bin/hbase mapredcp`.<a name="line.807"></a>
+<span class="sourceLineNo">808</span>   */<a name="line.808"></a>
+<span class="sourceLineNo">809</span>  public static String buildDependencyClasspath(Configuration conf) {<a name="line.809"></a>
+<span class="sourceLineNo">810</span>    if (conf == null) {<a name="line.810"></a>
+<span class="sourceLineNo">811</span>      throw new IllegalArgumentException("Must provide a configuration object.");<a name="line.811"></a>
+<span class="sourceLineNo">812</span>    }<a name="line.812"></a>
+<span class="sourceLineNo">813</span>    Set&lt;String&gt; paths = new HashSet&lt;&gt;(conf.getStringCollection("tmpjars"));<a name="line.813"></a>
+<span class="sourceLineNo">814</span>    if (paths.isEmpty()) {<a name="line.814"></a>
+<span class="sourceLineNo">815</span>      throw new IllegalArgumentException("Configuration contains no tmpjars.");<a name="line.815"></a>
+<span class="sourceLineNo">816</span>    }<a name="line.816"></a>
+<span class="sourceLineNo">817</span>    StringBuilder sb = new StringBuilder();<a name="line.817"></a>
+<span class="sourceLineNo">818</span>    for (String s : paths) {<a name="line.818"></a>
+<span class="sourceLineNo">819</span>      // entries can take the form 'file:/path/to/file.jar'.<a name="line.819"></a>
+<span class="sourceLineNo">820</span>      int idx = s.indexOf(":");<a name="line.820"></a>
+<span class="sourceLineNo">821</span>      if (idx != -1) s = s.substring(idx + 1);<a name="line.821"></a>
+<span class="sourceLineNo">822</span>      if (sb.length() &gt; 0) sb.append(File.pathSeparator);<a name="line.822"></a>
+<span class="sourceLineNo">823</span>      sb.append(s);<a name="line.823"></a>
+<span class="sourceLineNo">824</span>    }<a name="line.824"></a>
+<span class="sourceLineNo">825</span>    return sb.toString();<a name="line.825"></a>
+<span class="sourceLineNo">826</span>  }<a name="line.826"></a>
+<span class="sourceLineNo">827</span><a name="line.827"></a>
+<span class="sourceLineNo">828</span>  /**<a name="line.828"></a>
+<span class="sourceLineNo">829</span>   * Add the HBase dependency jars as well as jars for any of the configured<a name="line.829"></a>
+<span class="sourceLineNo">830</span>   * job classes to the job configuration, so that JobClient will ship them<a name="line.830"></a>
+<span class="sourceLineNo">831</span>   * to the cluster and add them to the DistributedCache.<a name="line.831"></a>
+<span class="sourceLineNo">832</span>   */<a name="line.832"></a>
+<span class="sourceLineNo">833</span>  public static void addDependencyJars(Job job) throws IOException {<a name="line.833"></a>
+<span class="sourceLineNo">834</span>    addHBaseDependencyJars(job.getConfiguration());<a name="line.834"></a>
+<span class="sourceLineNo">835</span>    try {<a name="line.835"></a>
+<span class="sourceLineNo">836</span>      addDependencyJarsForClasses(job.getConfiguration(),<a name="line.836"></a>
+<span class="sourceLineNo">837</span>          // when making changes here, consider also mapred.TableMapReduceUtil<a name="line.837"></a>
+<span class="sourceLineNo">838</span>          // pull job classes<a name="line.838"></a>
+<span class="sourceLineNo">839</span>          job.getMapOutputKeyClass(),<a name="line.839"></a>
+<span class="sourceLineNo">840</span>          job.getMapOutputValueClass(),<a name="line.840"></a>
+<span class="sourceLineNo">841</span>          job.getInputFormatClass(),<a name="line.841"></a>
+<span class="sourceLineNo">842</span>          job.getOutputKeyClass(),<a name="line.842"></a>
+<span class="sourceLineNo">843</span>          job.getOutputValueClass(),<a name="line.843"></a>
+<span class="sourceLineNo">844</span>          job.getOutputFormatClass(),<a name="line.844"></a>
+<span class="sourceLineNo">845</span>          job.getPartitionerClass(),<a name="line.845"></a>
+<span class="sourceLineNo">846</span>          job.getCombinerClass());<a name="line.846"></a>
+<span class="sourceLineNo">847</span>    } catch (ClassNotFoundException e) {<a name="line.847"></a>
+<span class="sourceLineNo">848</span>      throw new IOException(e);<a name="line.848"></a>
+<span class="sourceLineNo">849</span>    }<a name="line.849"></a>
+<span class="sourceLineNo">850</span>  }<a name="line.850"></a>
+<span class="sourceLineNo">851</span><a name="line.851"></a>
+<span class="sourceLineNo">852</span>  /**<a name="line.852"></a>
+<span class="sourceLineNo">853</span>   * Add the jars containing the given classes to the job's configuration<a name="line.853"></a>
+<span class="sourceLineNo">854</span>   * such that JobClient will ship them to the cluster and add them to<a name="line.854"></a>
+<span class="sourceLineNo">855</span>   * the DistributedCache.<a name="line.855"></a>
+<span class="sourceLineNo">856</span>   * @deprecated rely on {@link #addDependencyJars(Job)} instead.<a name="line.856"></a>
+<span class="sourceLineNo">857</span>   */<a name="line.857"></a>
+<span class="sourceLineNo">858</span>  @Deprecated<a name="line.858"></a>
+<span class="sourceLineNo">859</span>  public static void addDependencyJars(Configuration conf,<a name="line.859"></a>
+<span class="sourceLineNo">860</span>      Class&lt;?&gt;... classes) throws IOException {<a name="line.860"></a>
+<span class="sourceLineNo">861</span>    LOG.warn("The addDependencyJars(Configuration, Class&lt;?&gt;...) method has been deprecated since it"<a name="line.861"></a>
+<span class="sourceLineNo">862</span>             + " is easy to use incorrectly. Most users should rely on addDependencyJars(Job) " +<a name="line.862"></a>
+<span class="sourceLineNo">863</span>             "instead. See HBASE-8386 for more details.");<a name="line.863"></a>
+<span class="sourceLineNo">864</span>    addDependencyJarsForClasses(conf, classes);<a name="line.864"></a>
+<span class="sourceLineNo">865</span>  }<a name="line.865"></a>
+<span class="sourceLineNo">866</span><a name="line.866"></a>
+<span class="sourceLineNo">867</span>  /**<a name="line.867"></a>
+<span class="sourceLineNo">868</span>   * Add the jars containing the given classes to the job's configuration<a name="line.868"></a>
+<span class="sourceLineNo">869</span>   * such that JobClient will ship them to the cluster and add them to<a name="line.869"></a>
+<span class="sourceLineNo">870</span>   * the DistributedCache.<a name="line.870"></a>
+<span class="sourceLineNo">871</span>   *<a name="line.871"></a>
+<span class="sourceLineNo">872</span>   * N.B. that this method at most adds one jar per class given. If there is more than one<a name="line.872"></a>
+<span class="sourceLineNo">873</span>   * jar available containing a class with the same name as a given class, we don't define<a name="line.873"></a>
+<span class="sourceLineNo">874</span>   * which of those jars might be chosen.<a name="line.874"></a>
+<span class="sourceLineNo">875</span>   *<a name="line.875"></a>
+<span class="sourceLineNo">876</span>   * @param conf The Hadoop Configuration to modify<a name="line.876"></a>
+<span class="sourceLineNo">877</span>   * @param classes will add just those dependencies needed to find the given classes<a name="line.877"></a>
+<span class="sourceLineNo">878</span>   * @throws IOException if an underlying library call fails.<a name="line.878"></a>
+<span class="sourceLineNo">879</span>   */<a name="line.879"></a>
+<span class="sourceLineNo">880</span>  @InterfaceAudience.Private<a name="line.880"></a>
+<span class="sourceLineNo">881</span>  public static void addDependencyJarsForClasses(Configuration conf,<a name="line.881"></a>
+<span class="sourceLineNo">882</span>      Class&lt;?&gt;... classes) throws IOException {<a name="line.882"></a>
+<span class="sourceLineNo">883</span><a name="line.883"></a>
+<span class="sourceLineNo">884</span>    FileSystem localFs = FileSystem.getLocal(conf);<a name="line.884"></a>
+<span class="sourceLineNo">885</span>    Set&lt;String&gt; jars = new HashSet&lt;&gt;();<a name="line.885"></a>
+<span class="sourceLineNo">886</span>    // Add jars that are already in the tmpjars variable<a name="line.886"></a>
+<span class="sourceLineNo">887</span>    jars.addAll(conf.getStringCollection("tmpjars"));<a name="line.887"></a>
+<span class="sourceLineNo">888</span><a name="line.888"></a>
+<span class="sourceLineNo">889</span>    // add jars as we find them to a map of contents jar name so that we can avoid<a name="line.889"></a>
+<span class="sourceLineNo">890</span>    // creating new jars for classes that have already been packaged.<a name="line.890"></a>
+<span class="sourceLineNo">891</span>    Map&lt;String, String&gt; packagedClasses = new HashMap&lt;&gt;();<a name="line.891"></a>
+<span class="sourceLineNo">892</span><a name="line.892"></a>
+<span class="sourceLineNo">893</span>    // Add jars containing the specified classes<a name="line.893"></a>
+<span class="sourceLineNo">894</span>    for (Class&lt;?&gt; clazz : classes) {<a name="line.894"></a>
+<span class="sourceLineNo">895</span>      if (clazz == null) continue;<a name="line.895"></a>
+<span class="sourceLineNo">896</span><a name="line.896"></a>
+<span class="sourceLineNo">897</span>      Path path = findOrCreateJar(clazz, localFs, packagedClasses);<a name="line.897"></a>
+<span class="sourceLineNo">898</span>      if (path == null) {<a name="line.898"></a>
+<span class="sourceLineNo">899</span>        LOG.warn("Could not find jar for class " + clazz +<a name="line.899"></a>
+<span class="sourceLineNo">900</span>                 " in order to ship it to the cluster.");<a name="line.900"></a>
+<span class="sourceLineNo">901</span>        continue;<a name="line.901"></a>
+<span class="sourceLineNo">902</span>      }<a name="line.902"></a>
+<span class="sourceLineNo">903</span>      if (!localFs.exists(path)) {<a name="line.903"></a>
+<span class="sourceLineNo">904</span>        LOG.warn("Could not validate jar file " + path + " for class "<a name="line.904"></a>
+<span class="sourceLineNo">905</span>                 + clazz);<a name="line.905"></a>
+<span class="sourceLineNo">906</span>        continue;<a name="line.906"></a>
+<span class="sourceLineNo">907</span>      }<a name="line.907"></a>
+<span class="sourceLineNo">908</span>      jars.add(path.toString());<a name="line.908"></a>
+<span class="sourceLineNo">909</span>    }<a name="line.909"></a>
+<span class="sourceLineNo">910</span>    if (jars.isEmpty()) return;<a name="line.910"></a>
+<span class="sourceLineNo">911</span><a name="line.911"></a>
+<span class="sourceLineNo">912</span>    conf.set("tmpjars", StringUtils.arrayToString(jars.toArray(new String[jars.size()])));<a name="line.912"></a>
+<span class="sourceLineNo">913</span>  }<a name="line.913"></a>
+<span class="sourceLineNo">914</span><a name="line.914"></a>
+<span class="sourceLineNo">915</span>  /**<a name="line.915"></a>
+<span class="sourceLineNo">916</span>   * Finds the Jar for a class or creates it if it doesn't exist. If the class is in<a name="line.916"></a>
+<span class="sourceLineNo">917</span>   * a directory in the classpath, it creates a Jar on the fly with the<a name="line.917"></a>
+<span class="sourceLineNo">918</span>   * contents of the directory and returns the path to that Jar. If a Jar is<a name="line.918"></a>
+<span class="sourceLineNo">919</span>   * created, it is created in the system temporary directory. Otherwise,<a name="line.919"></a>
+<span class="sourceLineNo">920</span>   * returns an existing jar that contains a class of the same name. Maintains<a name="line.920"></a>
+<span class="sourceLineNo">921</span>   * a mapping from jar contents to the tmp jar created.<a name="line.921"></a>
+<span class="sourceLineNo">922</span>   * @param my_class the class to find.<a name="line.922"></a>
+<span class="sourceLineNo">923</span>   * @param fs the FileSystem with which to qualify the returned path.<a name="line.923"></a>
+<span class="sourceLineNo">924</span>   * @param packagedClasses a map of class name to path.<a name="line.924"></a>
+<span class="sourceLineNo">925</span>   * @return a jar file that contains the class.<a name="line.925"></a>
+<span class="sourceLineNo">926</span>   * @throws IOException<a name="line.926"></a>
+<span class="sourceLineNo">927</span>   */<a name="line.927"></a>
+<span class="sourceLineNo">928</span>  private static Path findOrCreateJar(Class&lt;?&gt; my_class, FileSystem fs,<a name="line.928"></a>
+<span class="sourceLineNo">929</span>      Map&lt;String, String&gt; packagedClasses)<a name="line.929"></a>
+<span class="sourceLineNo">930</span>  throws IOException {<a name="line.930"></a>
+<span class="sourceLineNo">931</span>    // attempt to locate an existing jar for the class.<a name="line.931"></a>
+<span class="sourceLineNo">932</span>    String jar = findContainingJar(my_class, packagedClasses);<a name="line.932"></a>
+<span class="sourceLineNo">933</span>    if (null == jar || jar.isEmpty()) {<a name="line.933"></a>
+<span class="sourceLineNo">934</span>      jar = getJar(my_class);<a name="line.934"></a>
+<span class="sourceLineNo">935</span>      updateMap(jar, packagedClasses);<a name="line.935"></a>
+<span class="sourceLineNo">936</span>    }<a name="line.936"></a>
+<span class="sourceLineNo">937</span><a name="line.937"></a>
+<span class="sourceLineNo">938</span>    if (null == jar || jar.isEmpty()) {<a name="line.938"></a>
+<span class="sourceLineNo">939</span>      return null;<a name="line.939"></a>
+<span class="sourceLineNo">940</span>    }<a name="line.940"></a>
+<span class="sourceLineNo">941</span><a name="line.941"></a>
+<span class="sourceLineNo">942</span>    LOG.debug(String.format("For class %s, using jar %s", my_class.getName(), jar));<a name="line.942"></a>
+<span class="sourceLineNo">943</span>    return new Path(jar).makeQualified(fs);<a name="line.943"></a>
+<span class="sourceLineNo">944</span>  }<a name="line.944"></a>
+<span class="sourceLineNo">945</span><a name="line.945"></a>
+<span class="sourceLineNo">946</span>  /**<a name="line.946"></a>
+<span class="sourceLineNo">947</span>   * Add entries to &lt;code&gt;packagedClasses&lt;/code&gt; corresponding to class files<a name="line.947"></a>
+<span class="sourceLineNo">948</span>   * contained in &lt;code&gt;jar&lt;/code&gt;.<a name="line.948"></a>
+<span class="sourceLineNo">949</span>   * @param jar The jar who's content to list.<a name="line.949"></a>
+<span class="sourceLineNo">950</span>   * @param packagedClasses map[class -&gt; jar]<a name="line.950"></a>
+<span class="sourceLineNo">951</span>   */<a name="line.951"></a>
+<span class="sourceLineNo">952</span>  private static void updateMap(String jar, Map&lt;String, String&gt; packagedClasses) throws IOException {<a name="line.952"></a>
+<span class="sourceLineNo">953</span>    if (null == jar || jar.isEmpty()) {<a name="line.953"></a>
+<span class="sourceLineNo">954</span>      return;<a name="line.954"></a>
+<span class="sourceLineNo">955</span>    }<a name="line.955"></a>
+<span class="sourceLineNo">956</span>    ZipFile zip = null;<a name="line.956"></a>
+<span class="sourceLineNo">957</span>    try {<a name="line.957"></a>
+<span class="sourceLineNo">958</span>      zip = new ZipFile(jar);<a name="line.958"></a>
+<span class="sourceLineNo">959</span>      for (Enumeration&lt;? extends ZipEntry&gt; iter = zip.entries(); iter.hasMoreElements();) {<a name="line.959"></a>
+<span class="sourceLineNo">960</span>        ZipEntry entry = iter.nextElement();<a name="line.960"></a>
+<span class="sourceLineNo">961</span>        if (entry.getName().endsWith("class")) {<a name="line.961"></a>
+<span class="sourceLineNo">962</span>          packagedClasses.put(entry.getName(), jar);<a name="line.962"></a>
+<span class="sourceLineNo">963</span>        }<a name="line.963"></a>
+<span class="sourceLineNo">964</span>      }<a name="line.964"></a>
+<span class="sourceLineNo">965</span>    } finally {<a name="line.965"></a>
+<span class="sourceLineNo">966</span>      if (null != zip) zip.close();<a name="line.966"></a>
+<span class="sourceLineNo">967</span>    }<a name="line.967"></a>
+<span class="sourceLineNo">968</span>  }<a name="line.968"></a>
+<span class="sourceLineNo">969</span><a name="line.969"></a>
+<span class="sourceLineNo">970</span>  /**<a name="line.970"></a>
+<span class="sourceLineNo">971</span>   * Find a jar that contains a class of the same name, if any. It will return<a name="line.971"></a>
+<span class="sourceLineNo">972</span>   * a jar file, even if that is not the first thing on the class path that<a name="line.972"></a>
+<span class="sourceLineNo">973</span>   * has a class with the same name. Looks first on the classpath and then in<a name="line.973"></a>
+<span class="sourceLineNo">974</span>   * the &lt;code&gt;packagedClasses&lt;/code&gt; map.<a name="line.974"></a>
+<span class="sourceLineNo">975</span>   * @param my_class the class to find.<a name="line.975"></a>
+<span class="sourceLineNo">976</span>   * @return a jar file that contains the class, or null.<a name="line.976"></a>
+<span class="sourceLineNo">977</span>   * @throws IOException<a name="line.977"></a>
+<span class="sourceLineNo">978</span>   */<a name="line.978"></a>
+<span class="sourceLineNo">979</span>  private static String findContainingJar(Class&lt;?&gt; my_class, Map&lt;String, String&gt; packagedClasses)<a name="line.979"></a>
+<span class="sourceLineNo">980</span>      throws IOException {<a name="line.980"></a>
+<span class="sourceLineNo">981</span>    ClassLoader loader = my_class.getClassLoader();<a name="line.981"></a>
+<span class="sourceLineNo">982</span><a name="line.982"></a>
+<span class="sourceLineNo">983</span>    String class_file = my_class.getName().replaceAll("\\.", "/") + ".class";<a name="line.983"></a>
+<span class="sourceLineNo">984</span><a name="line.984"></a>
+<span class="sourceLineNo">985</span>    if (loader != null) {<a name="line.985"></a>
+<span class="sourceLineNo">986</span>      // first search the classpath<a name="line.986"></a>
+<span class="sourceLineNo">987</span>      for (Enumeration&lt;URL&gt; itr = loader.getResources(class_file); itr.hasMoreElements();) {<a name="line.987"></a>
+<span class="sourceLineNo">988</span>        URL url = itr.nextElement();<a name="line.988"></a>
+<span class="sourceLineNo">989</span>        if ("jar".equals(url.getProtocol())) {<a name="line.989"></a>
+<span class="sourceLineNo">990</span>          String toReturn = url.getPath();<a name="line.990"></a>
+<span class="sourceLineNo">991</span>          if (toReturn.startsWith("file:")) {<a name="line.991"></a>
+<span class="sourceLineNo">992</span>            toReturn = toReturn.substring("file:".length());<a name="line.992"></a>
+<span class="sourceLineNo">993</span>          }<a name="line.993"></a>
+<span class="sourceLineNo">994</span>          // URLDecoder is a misnamed class, since it actually decodes<a name="line.994"></a>
+<span class="sourceLineNo">995</span>          // x-www-form-urlencoded MIME type rather than actual<a name="line.995"></a>
+<span class="sourceLineNo">996</span>          // URL encoding (which the file path has). Therefore it would<a name="line.996"></a>
+<span class="sourceLineNo">997</span>          // decode +s to ' 's which is incorrect (spaces are actually<a name="line.997"></a>
+<span class="sourceLineNo">998</span>          // either unencoded or encoded as "%20"). Replace +s first, so<a name="line.998"></a>
+<span class="sourceLineNo">999</span>          // that they are kept sacred during the decoding process.<a name="line.999"></a>
+<span class="sourceLineNo">1000</span>          toReturn = toReturn.replaceAll("\\+", "%2B");<a name="line.1000"></a>
+<span class="sourceLineNo">1001</span>          toReturn = URLDecoder.decode(toReturn, "UTF-8");<a name="line.1001"></a>
+<span class="sourceLineNo">1002</span>          return toReturn.replaceAll("!.*$", "");<a name="line.1002"></a>
+<span class="sourceLineNo">1003</span>        }<a name="line.1003"></a>
+<span class="sourceLineNo">1004</span>      }<a name="line.1004"></a>
+<span class="sourceLineNo">1005</span>    }<a name="line.1005"></a>
+<span class="sourceLineNo">1006</span><a name="line.1006"></a>
+<span class="sourceLineNo">1007</span>    // now look in any jars we've packaged using JarFinder. Returns null when<a name="line.1007"></a>
+<span class="sourceLineNo">1008</span>    // no jar is found.<a name="line.1008"></a>
+<span class="sourceLineNo">1009</span>    return packagedClasses.get(class_file);<a name="line.1009"></a>
+<span class="sourceLineNo">1010</span>  }<a name="line.1010"></a>
+<span class="sourceLineNo">1011</span><a name="line.1011"></a>
+<span class="sourceLineNo">1012</span>  /**<a name="line.1012"></a>
+<span class="sourceLineNo">1013</span>   * Invoke 'getJar' on a custom JarFinder implementation. Useful for some job<a name="line.1013"></a>
+<span class="sourceLineNo">1014</span>   * configuration contexts (HBASE-8140) and also for testing on MRv2.<a name="line.1014"></a>
+<span class="sourceLineNo">1015</span>   * check if we have HADOOP-9426.<a name="line.1015"></a>
+<span class="sourceLineNo">1016</span>   * @param my_class the class to find.<a name="line.1016"></a>
+<span class="sourceLineNo">1017</span>   * @return a jar file that contains the class, or null.<a name="line.1017"></a>
+<span class="sourceLineNo">1018</span>   */<a name="line.1018"></a>
+<span class="sourceLineNo">1019</span>  private static String getJar(Class&lt;?&gt; my_class) {<a name="line.1019"></a>
+<span class="sourceLineNo">1020</span>    String ret = null;<a name="line.1020"></a>
+<span class="sourceLineNo">1021</span>    try {<a name="line.1021"></a>
+<span class="sourceLineNo">1022</span>      ret = JarFinder.getJar(my_class);<a name="line.1022"></a>
+<span class="sourceLineNo">1023</span>    } catch (Exception e) {<a name="line.1023"></a>
+<span class="sourceLineNo">1024</span>      // toss all other exceptions, related to reflection failure<a name="line.1024"></a>
+<span class="sourceLineNo">1025</span>      throw new RuntimeException("getJar invocation failed.", e);<a name="line.1025"></a>
+<span class="sourceLineNo">1026</span>    }<a name="line.1026"></a>
+<span class="sourceLineNo">1027</span><a name="line.1027"></a>
+<span class="sourceLineNo">1028</span>    return ret;<a name="line.1028"></a>
+<span class="sourceLineNo">1029</span>  }<a name="line.1029"></a>
+<span class="sourceLineNo">1030</span>}<a name="line.1030"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f2c435b3/book.html
----------------------------------------------------------------------
diff --git a/book.html b/book.html
index 95861d3..7511192 100644
--- a/book.html
+++ b/book.html
@@ -35195,7 +35195,7 @@ The server will return cellblocks compressed using this same compressor as long
 <div id="footer">
 <div id="footer-text">
 Version 3.0.0-SNAPSHOT<br>
-Last updated 2017-09-18 14:29:35 UTC
+Last updated 2017-09-19 14:29:34 UTC
 </div>
 </div>
 </body>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f2c435b3/bulk-loads.html
----------------------------------------------------------------------
diff --git a/bulk-loads.html b/bulk-loads.html
index 20ad721..7147789 100644
--- a/bulk-loads.html
+++ b/bulk-loads.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20170918" />
+    <meta name="Date-Revision-yyyymmdd" content="20170919" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013;  
       Bulk Loads in Apache HBase (TM)
@@ -311,7 +311,7 @@ under the License. -->
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-09-18</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-09-19</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f2c435b3/checkstyle-aggregate.html
----------------------------------------------------------------------
diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html
index c98024d..cbbdcfb 100644
--- a/checkstyle-aggregate.html
+++ b/checkstyle-aggregate.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20170918" />
+    <meta name="Date-Revision-yyyymmdd" content="20170919" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Checkstyle Results</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -45282,49 +45282,49 @@
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>820</td></tr>
+<td>821</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>821</td></tr>
+<td>822</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>894</td></tr>
+<td>895</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>909</td></tr>
+<td>910</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>925</td></tr>
+<td>926</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 101).</td>
-<td>951</td></tr>
+<td>952</td></tr>
 <tr class="a">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>965</td></tr>
+<td>966</td></tr>
 <tr class="b">
 <td><img src="images/icon_error_sml.gif" alt="" />&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
-<td>976</td></tr></table></div>
+<td>977</td></tr></table></div>
 <div class="section">
 <h3 id="org.apache.hadoop.hbase.mapreduce.TableMapper.java">org/apache/hadoop/hbase/mapreduce/TableMapper.java</h3>
 <table border="0" class="table table-striped">
@@ -106879,7 +106879,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-09-18</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-09-19</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f2c435b3/coc.html
----------------------------------------------------------------------
diff --git a/coc.html b/coc.html
index 55aab73..cdbb677 100644
--- a/coc.html
+++ b/coc.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20170918" />
+    <meta name="Date-Revision-yyyymmdd" content="20170919" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; 
       Code of Conduct Policy
@@ -380,7 +380,7 @@ email to <a class="externalLink" href="mailto:private@hbase.apache.org">the priv
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-09-18</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-09-19</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f2c435b3/cygwin.html
----------------------------------------------------------------------
diff --git a/cygwin.html b/cygwin.html
index f762af4..906fae0 100644
--- a/cygwin.html
+++ b/cygwin.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20170918" />
+    <meta name="Date-Revision-yyyymmdd" content="20170919" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Installing Apache HBase (TM) on Windows using Cygwin</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -679,7 +679,7 @@ Now your <b>HBase </b>server is running, <b>start coding</b> and build that next
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-09-18</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-09-19</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f2c435b3/dependencies.html
----------------------------------------------------------------------
diff --git a/dependencies.html b/dependencies.html
index fbdcd6f..7c79be4 100644
--- a/dependencies.html
+++ b/dependencies.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20170918" />
+    <meta name="Date-Revision-yyyymmdd" content="20170919" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Dependencies</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -445,7 +445,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-09-18</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-09-19</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f2c435b3/dependency-convergence.html
----------------------------------------------------------------------
diff --git a/dependency-convergence.html b/dependency-convergence.html
index 58a87af..43efb13 100644
--- a/dependency-convergence.html
+++ b/dependency-convergence.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20170918" />
+    <meta name="Date-Revision-yyyymmdd" content="20170919" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Reactor Dependency Convergence</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -820,7 +820,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-09-18</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-09-19</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f2c435b3/dependency-info.html
----------------------------------------------------------------------
diff --git a/dependency-info.html b/dependency-info.html
index b5247e2..e5b2d9d 100644
--- a/dependency-info.html
+++ b/dependency-info.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20170918" />
+    <meta name="Date-Revision-yyyymmdd" content="20170919" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Dependency Information</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -318,7 +318,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-09-18</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-09-19</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f2c435b3/dependency-management.html
----------------------------------------------------------------------
diff --git a/dependency-management.html b/dependency-management.html
index b4e72a8..3b3fead 100644
--- a/dependency-management.html
+++ b/dependency-management.html
@@ -7,7 +7,7 @@
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20170918" />
+    <meta name="Date-Revision-yyyymmdd" content="20170919" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Apache HBase &#x2013; Project Dependency Management</title>
     <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" />
@@ -942,7 +942,7 @@
                         <a href="https://www.apache.org/">The Apache Software Foundation</a>.
             All rights reserved.      
                     
-                  <li id="publishDate" class="pull-right">Last Published: 2017-09-18</li>
+                  <li id="publishDate" class="pull-right">Last Published: 2017-09-19</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f2c435b3/devapidocs/constant-values.html
----------------------------------------------------------------------
diff --git a/devapidocs/constant-values.html b/devapidocs/constant-values.html
index 82cdeb2..f0fe344 100644
--- a/devapidocs/constant-values.html
+++ b/devapidocs/constant-values.html
@@ -3731,21 +3731,21 @@
 <!--   -->
 </a><code>public&nbsp;static&nbsp;final&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td><code><a href="org/apache/hadoop/hbase/Version.html#date">date</a></code></td>
-<td class="colLast"><code>"Mon Sep 18 14:41:42 UTC 2017"</code></td>
+<td class="colLast"><code>"Tue Sep 19 14:41:37 UTC 2017"</code></td>
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><a name="org.apache.hadoop.hbase.Version.revision">
 <!--   -->
 </a><code>public&nbsp;static&nbsp;final&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td><code><a href="org/apache/hadoop/hbase/Version.html#revision">revision</a></code></td>
-<td class="colLast"><code>"efb95a17945cc91aa639396f6f6c528b52c71fcb"</code></td>
+<td class="colLast"><code>"b56760c732f4f72fcc3734cb0133262198d0889c"</code></td>
 </tr>
 <tr class="altColor">
 <td class="colFirst"><a name="org.apache.hadoop.hbase.Version.srcChecksum">
 <!--   -->
 </a><code>public&nbsp;static&nbsp;final&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
 <td><code><a href="org/apache/hadoop/hbase/Version.html#srcChecksum">srcChecksum</a></code></td>
-<td class="colLast"><code>"fcb83aae1cc0d99891c52f37883052a5"</code></td>
+<td class="colLast"><code>"fd93a24ace7c98b60b7908dc68547986"</code></td>
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><a name="org.apache.hadoop.hbase.Version.url">

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f2c435b3/devapidocs/org/apache/hadoop/hbase/ByteBufferKeyValue.html
----------------------------------------------------------------------
diff --git a/devapidocs/org/apache/hadoop/hbase/ByteBufferKeyValue.html b/devapidocs/org/apache/hadoop/hbase/ByteBufferKeyValue.html
index 0e08635..6b2166e 100644
--- a/devapidocs/org/apache/hadoop/hbase/ByteBufferKeyValue.html
+++ b/devapidocs/org/apache/hadoop/hbase/ByteBufferKeyValue.html
@@ -218,7 +218,7 @@ implements <a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html" title
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#calculateHashForKey-org.apache.hadoop.hbase.ByteBufferCell-">calculateHashForKey</a></span>(<a href="../../../../org/apache/hadoop/hbase/ByteBufferCell.html" title="class in org.apache.hadoop.hbase">ByteBufferCell</a>&nbsp;cell)</code>&nbsp;</td>
 </tr>
 <tr id="i1" class="rowColor">
-<td class="colFirst"><code><a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td>
+<td class="colFirst"><code><a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/hadoop/hbase/ByteBufferKeyValue.html#deepClone--">deepClone</a></span>()</code>
 <div class="block">Does a deep copy of the contents to a new memory area and returns it as a new cell.</div>
 </td>
@@ -1244,7 +1244,7 @@ implements <a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html" title
 <ul class="blockList">
 <li class="blockList">
 <h4>deepClone</h4>
-<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.305">deepClone</a>()</pre>
+<pre>public&nbsp;<a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html" title="interface in org.apache.hadoop.hbase">ExtendedCell</a>&nbsp;<a href="../../../../src-html/org/apache/hadoop/hbase/ByteBufferKeyValue.html#line.305">deepClone</a>()</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../org/apache/hadoop/hbase/ExtendedCell.html#deepClone--">ExtendedCell</a></code></span></div>
 <div class="block">Does a deep copy of the contents to a new memory area and returns it as a new cell.</div>
 <dl>


Mime
View raw message