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/b9722a17
Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/b9722a17
Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/b9722a17

Branch: refs/heads/asf-site
Commit: b9722a17b358503ee42f082e83b5f48e2fe5a588
Parents: 9f95f79
Author: jenkins <[email protected]>
Authored: Tue Nov 28 15:17:24 2017 +0000
Committer: jenkins <[email protected]>
Committed: Tue Nov 28 15:17:24 2017 +0000

----------------------------------------------------------------------
 acid-semantics.html                             |     4 +-
 apache_hbase_reference_guide.pdf                |     4 +-
 .../hbase/mapreduce/TableMapReduceUtil.html     |     6 +-
 .../hbase/mapreduce/TableMapReduceUtil.html     |   459 +-
 book.html                                       |     2 +-
 bulk-loads.html                                 |     4 +-
 checkstyle-aggregate.html                       | 41576 +++++++++--------
 checkstyle.rss                                  |    32 +-
 coc.html                                        |     4 +-
 cygwin.html                                     |     4 +-
 dependencies.html                               |     4 +-
 dependency-convergence.html                     |    12 +-
 dependency-info.html                            |     4 +-
 dependency-management.html                      |     4 +-
 devapidocs/constant-values.html                 |     6 +-
 devapidocs/index-all.html                       |    77 +-
 .../hadoop/hbase/backup/package-tree.html       |     6 +-
 .../hadoop/hbase/class-use/ServerName.html      |    26 +
 .../hadoop/hbase/client/class-use/Result.html   |     2 +-
 .../hadoop/hbase/client/package-tree.html       |    26 +-
 .../hbase/coprocessor/MasterObserver.html       |    22 +-
 .../class-use/MasterCoprocessor.html            |    17 +
 .../class-use/MasterCoprocessorEnvironment.html |     4 +-
 .../coprocessor/class-use/ObserverContext.html  |     4 +-
 .../ExampleMasterObserverWithMetrics.html       |     2 +-
 .../hadoop/hbase/executor/package-tree.html     |     2 +-
 .../hadoop/hbase/filter/package-tree.html       |    10 +-
 .../hadoop/hbase/io/hfile/package-tree.html     |     6 +-
 .../apache/hadoop/hbase/ipc/package-tree.html   |     2 +-
 .../hbase/mapreduce/TableMapReduceUtil.html     |    16 +-
 .../hadoop/hbase/mapreduce/package-tree.html    |     4 +-
 .../hbase/master/MasterCoprocessorHost.html     |    20 +-
 .../MasterRpcServices.BalanceSwitchMode.html    |     6 +-
 .../hadoop/hbase/master/MasterRpcServices.html  |   428 +-
 ...signmentManager.RegionInTransitionChore.html |     6 +-
 ...ssignmentManager.RegionInTransitionStat.html |    40 +-
 .../master/assignment/AssignmentManager.html    |   188 +-
 .../RegionStateStore.RegionStateVisitor.html    |     4 +-
 .../master/assignment/RegionStateStore.html     |    60 +-
 .../RegionStates.AssignmentProcedureEvent.html  |     2 +-
 .../RegionStates.ServerReportEvent.html         |     2 +-
 .../hbase/master/balancer/package-tree.html     |     2 +-
 .../master/class-use/MasterCoprocessorHost.html |    23 +
 .../master/class-use/RegionState.State.html     |     2 +-
 .../hadoop/hbase/master/package-tree.html       |     6 +-
 .../procedure/MasterProcedureScheduler.html     |     2 +-
 .../hadoop/hbase/monitoring/package-tree.html   |     2 +-
 .../org/apache/hadoop/hbase/package-tree.html   |    16 +-
 .../procedure2/AbstractProcedureScheduler.html  |   225 +-
 .../hadoop/hbase/procedure2/ProcedureEvent.html |   144 +-
 .../hbase/procedure2/ProcedureScheduler.html    |   162 +-
 .../procedure2/SimpleProcedureScheduler.html    |     2 +-
 .../class-use/AbstractProcedureScheduler.html   |    30 +
 .../hbase/procedure2/class-use/Procedure.html   |    38 +-
 .../procedure2/class-use/ProcedureDeque.html    |     5 +-
 .../procedure2/class-use/ProcedureEvent.html    |    47 +-
 .../hadoop/hbase/procedure2/package-tree.html   |     4 +-
 .../hbase/quotas/MasterSpaceQuotaObserver.html  |     2 +-
 .../hadoop/hbase/quotas/package-tree.html       |     6 +-
 .../HRegion.BatchOperation.Visitor.html         |     4 +-
 .../regionserver/HRegion.BatchOperation.html    |    78 +-
 .../regionserver/HRegion.BulkLoadListener.html  |     8 +-
 .../HRegion.FlushResult.Result.html             |    10 +-
 .../hbase/regionserver/HRegion.FlushResult.html |     8 +-
 .../HRegion.MutationBatchOperation.html         |    44 +-
 .../regionserver/HRegion.RegionScannerImpl.html |    90 +-
 .../HRegion.ReplayBatchOperation.html           |    32 +-
 .../regionserver/HRegion.RowLockContext.html    |    28 +-
 .../hbase/regionserver/HRegion.RowLockImpl.html |    16 +-
 .../hadoop/hbase/regionserver/HRegion.html      |   468 +-
 .../hadoop/hbase/regionserver/package-tree.html |    18 +-
 .../regionserver/querymatcher/package-tree.html |     2 +-
 ...ourceManager.AdoptAbandonedQueuesWorker.html |     6 +-
 ...icationSourceManager.NodeFailoverWorker.html |    16 +-
 .../regionserver/ReplicationSourceManager.html  |   165 +-
 .../hbase/rsgroup/RSGroupAdminEndpoint.html     |     2 +-
 .../access/AccessController.OpType.html         |    30 +-
 .../hbase/security/access/AccessController.html |   278 +-
 .../CoprocessorWhitelistMasterObserver.html     |     2 +-
 .../hbase/security/access/package-tree.html     |     2 +-
 .../hadoop/hbase/security/package-tree.html     |     4 +-
 .../visibility/VisibilityController.html        |     2 +-
 .../security/visibility/VisibilityUtils.html    |    46 +-
 .../hadoop/hbase/thrift/package-tree.html       |     2 +-
 .../apache/hadoop/hbase/util/package-tree.html  |     8 +-
 .../apache/hadoop/hbase/wal/package-tree.html   |     2 +-
 .../org/apache/hadoop/hbase/Version.html        |     6 +-
 .../hbase/coprocessor/MasterObserver.html       |    79 +-
 .../hbase/mapreduce/TableMapReduceUtil.html     |   459 +-
 ...MasterCoprocessorHost.MasterEnvironment.html |   131 +-
 ...st.MasterEnvironmentForCoreCoprocessors.html |   131 +-
 ...CoprocessorHost.MasterObserverOperation.html |   131 +-
 .../hbase/master/MasterCoprocessorHost.html     |   131 +-
 .../MasterRpcServices.BalanceSwitchMode.html    |  4258 +-
 .../hadoop/hbase/master/MasterRpcServices.html  |  4258 +-
 ...signmentManager.RegionInTransitionChore.html |  2897 +-
 ...ssignmentManager.RegionInTransitionStat.html |  2897 +-
 .../master/assignment/AssignmentManager.html    |  2897 +-
 .../RegionStateStore.RegionStateVisitor.html    |   571 +-
 .../master/assignment/RegionStateStore.html     |   571 +-
 .../assignment/RegionTransitionProcedure.html   |    10 +-
 .../locking/LockProcedure.LockInterface.html    |     8 +-
 .../LockProcedure.NamespaceExclusiveLock.html   |     8 +-
 .../LockProcedure.RegionExclusiveLock.html      |     8 +-
 .../LockProcedure.TableExclusiveLock.html       |     8 +-
 .../locking/LockProcedure.TableSharedLock.html  |     8 +-
 .../hbase/master/locking/LockProcedure.html     |     8 +-
 ...ocedureEnv.MasterProcedureStoreListener.html |    10 +-
 ...asterProcedureEnv.WALStoreLeaseRecovery.html |    10 +-
 .../master/procedure/MasterProcedureEnv.html    |    10 +-
 .../procedure2/AbstractProcedureScheduler.html  |   561 +-
 .../hadoop/hbase/procedure2/ProcedureEvent.html |   141 +-
 .../hbase/procedure2/ProcedureScheduler.html    |   224 +-
 .../quotas/RegionServerRpcQuotaManager.html     |    66 +-
 .../HRegion.BatchOperation.Visitor.html         | 13911 +++---
 .../regionserver/HRegion.BatchOperation.html    | 13911 +++---
 .../regionserver/HRegion.BulkLoadListener.html  | 13911 +++---
 .../HRegion.FlushResult.Result.html             | 13911 +++---
 .../hbase/regionserver/HRegion.FlushResult.html | 13911 +++---
 .../regionserver/HRegion.FlushResultImpl.html   | 13911 +++---
 .../HRegion.MutationBatchOperation.html         | 13911 +++---
 .../HRegion.ObservedExceptionsInBatch.html      | 13911 +++---
 .../HRegion.PrepareFlushResult.html             | 13911 +++---
 .../regionserver/HRegion.RegionScannerImpl.html | 13911 +++---
 .../HRegion.ReplayBatchOperation.html           | 13911 +++---
 .../regionserver/HRegion.RowLockContext.html    | 13911 +++---
 .../hbase/regionserver/HRegion.RowLockImpl.html | 13911 +++---
 .../hbase/regionserver/HRegion.WriteState.html  | 13911 +++---
 .../hadoop/hbase/regionserver/HRegion.html      | 13911 +++---
 ...ourceManager.AdoptAbandonedQueuesWorker.html |  1822 +-
 ...icationSourceManager.NodeFailoverWorker.html |  1822 +-
 .../regionserver/ReplicationSourceManager.html  |  1822 +-
 .../access/AccessController.OpType.html         |  4585 +-
 .../hbase/security/access/AccessController.html |  4585 +-
 .../security/visibility/VisibilityUtils.html    |   731 +-
 export_control.html                             |     4 +-
 hbase-annotations/checkstyle.html               |     4 +-
 hbase-annotations/dependencies.html             |     4 +-
 hbase-annotations/dependency-convergence.html   |    12 +-
 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-reports.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                 |    12 +-
 hbase-build-configuration/dependency-info.html  |     4 +-
 .../dependency-management.html                  |     4 +-
 .../hbase-archetypes/dependencies.html          |     4 +-
 .../dependency-convergence.html                 |    12 +-
 .../hbase-archetypes/dependency-info.html       |     4 +-
 .../hbase-archetypes/dependency-management.html |     4 +-
 .../hbase-archetype-builder/dependencies.html   |     4 +-
 .../dependency-convergence.html                 |    12 +-
 .../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      |     6 +-
 .../dependency-convergence.html                 |    12 +-
 .../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           |     4 +-
 .../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                           |     6 +-
 .../dependency-convergence.html                 |    12 +-
 .../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               |     6 +-
 .../hbase-spark/dependency-convergence.html     |    12 +-
 .../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          |     4 +-
 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 |    36 +-
 .../dependency-convergence.html                 |    12 +-
 .../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 +-
 testapidocs/index-all.html                      |     2 +
 .../hadoop/hbase/HBaseTestingUtility.html       |   470 +-
 .../apache/hadoop/hbase/MiniHBaseCluster.html   |   224 +-
 .../hadoop/hbase/HBaseTestingUtility.html       |  8367 ++--
 .../apache/hadoop/hbase/MiniHBaseCluster.html   |  1622 +-
 testdevapidocs/allclasses-frame.html            |     3 +
 testdevapidocs/allclasses-noframe.html          |     3 +
 testdevapidocs/index-all.html                   |    96 +-
 ...ter.ServerNameIgnoreStartCodeComparator.html |     6 +-
 .../hadoop/hbase/DistributedHBaseCluster.html   |   186 +-
 .../org/apache/hadoop/hbase/HBaseCluster.html   |   135 +-
 ...lity.PortAllocator.AvailablePortChecker.html |     4 +-
 .../HBaseTestingUtility.PortAllocator.html      |    20 +-
 .../HBaseTestingUtility.SeenRowTracker.html     |    20 +-
 .../hadoop/hbase/HBaseTestingUtility.html       |   546 +-
 ...aseCluster.MiniHBaseClusterRegionServer.html |    44 +-
 ...eCluster.SingleFileSystemShutdownThread.html |     8 +-
 .../apache/hadoop/hbase/MiniHBaseCluster.html   |   230 +-
 .../TestLocalHBaseCluster.MyHRegionServer.html  |    11 +-
 ...ovedRegionsCleaner.TestMockRegionServer.html |    11 +-
 ...gionObserverInterface.EvenOnlyCompactor.html |    16 +-
 .../TestRegionObserverInterface.html            |    69 +-
 .../master/TestMasterBalanceThrottling.html     |     4 +-
 ...oprocessorServices.MockAccessController.html |   426 +
 ...cessorServices.MockVisibilityController.html |   447 +
 .../master/TestMasterCoprocessorServices.html   |   359 +
 .../hadoop/hbase/master/TestMasterFailover.html |     4 +-
 ...oprocessorServices.MockAccessController.html |   125 +
 ...cessorServices.MockVisibilityController.html |   125 +
 .../TestMasterCoprocessorServices.html          |   125 +
 .../hadoop/hbase/master/package-frame.html      |     3 +
 .../hadoop/hbase/master/package-summary.html    |    69 +-
 .../hadoop/hbase/master/package-tree.html       |     3 +
 .../org/apache/hadoop/hbase/package-tree.html   |    12 +-
 .../TestProcedureEvents.TestProcEnv.html        |     6 +-
 ...ocedureEvents.TestTimeoutEventProcedure.html |    41 +-
 .../hbase/procedure2/TestProcedureEvents.html   |    38 +-
 .../TestYieldProcedures.TestScheduler.html      |     2 +-
 .../ProcedureTestingUtility.NoopProcedure.html  |     8 +-
 .../hbase/procedure2/package-summary.html       |     8 +-
 .../hadoop/hbase/procedure2/package-tree.html   |     2 +-
 ...egionMergeTransactionOnCluster.MyMaster.html |     6 +-
 ...ransactionOnCluster.MyMasterRpcServices.html |    10 +-
 .../TestRegionMergeTransactionOnCluster.html    |     6 +-
 .../hadoop/hbase/regionserver/package-tree.html |     4 +-
 .../replication/ReplicationSourceDummy.html     |    68 +-
 ...onSourceManager.DummyNodeFailoverWorker.html |    16 +-
 ...estReplicationSourceManager.DummyServer.html |    38 +-
 ...er.FailInitializeDummyReplicationSource.html |     8 +-
 .../TestReplicationSourceManager.html           |   196 +-
 .../TestReplicationSourceManagerZkImpl.html     |     2 +-
 ...tTableBasedReplicationSourceManagerImpl.html |     8 +-
 .../apache/hadoop/hbase/test/package-tree.html  |     4 +-
 .../hadoop/hbase/trace/TestHTraceHooks.html     |    31 +-
 .../hbase/trace/TraceTree.SpansByParent.html    |    33 +-
 .../hbase/trace/TraceTree.SpansByProcessId.html |    29 +-
 .../apache/hadoop/hbase/trace/TraceTree.html    |    12 +-
 .../apache/hadoop/hbase/wal/package-tree.html   |     2 +-
 testdevapidocs/overview-tree.html               |     3 +
 ...ter.ServerNameIgnoreStartCodeComparator.html |   947 +-
 .../hadoop/hbase/DistributedHBaseCluster.html   |   947 +-
 .../org/apache/hadoop/hbase/HBaseCluster.html   |   469 +-
 ...lity.PortAllocator.AvailablePortChecker.html |  8367 ++--
 .../HBaseTestingUtility.PortAllocator.html      |  8367 ++--
 .../HBaseTestingUtility.SeenRowTracker.html     |  8367 ++--
 .../hadoop/hbase/HBaseTestingUtility.html       |  8367 ++--
 ...aseCluster.MiniHBaseClusterRegionServer.html |  1622 +-
 ...eCluster.SingleFileSystemShutdownThread.html |  1622 +-
 .../apache/hadoop/hbase/MiniHBaseCluster.html   |  1622 +-
 ...gionObserverInterface.EvenOnlyCompactor.html |  1301 +-
 .../TestRegionObserverInterface.html            |  1301 +-
 ...oprocessorServices.MockAccessController.html |   242 +
 ...cessorServices.MockVisibilityController.html |   242 +
 .../master/TestMasterCoprocessorServices.html   |   242 +
 .../procedure/TestMasterProcedureEvents.html    |     2 +-
 ...ocedureScheduler.TestNamespaceProcedure.html |     4 +-
 ...rProcedureScheduler.TestRegionProcedure.html |     4 +-
 ...erProcedureScheduler.TestTableProcedure.html |     4 +-
 ...reScheduler.TestTableProcedureWithEvent.html |     4 +-
 .../procedure/TestMasterProcedureScheduler.html |     4 +-
 .../TestProcedureEvents.TestProcEnv.html        |   326 +-
 ...ocedureEvents.TestTimeoutEventProcedure.html |   326 +-
 .../hbase/procedure2/TestProcedureEvents.html   |   326 +-
 ...dulerConcurrency.TestProcedureWithEvent.html |     8 +-
 .../TestProcedureSchedulerConcurrency.html      |     8 +-
 ...egionMergeTransactionOnCluster.MyMaster.html |   163 +-
 ...ransactionOnCluster.MyMasterRpcServices.html |   163 +-
 .../TestRegionMergeTransactionOnCluster.html    |   163 +-
 .../replication/ReplicationSourceDummy.html     |   150 +-
 ...onSourceManager.DummyNodeFailoverWorker.html |  1357 +-
 ...estReplicationSourceManager.DummyServer.html |  1357 +-
 ...er.FailInitializeDummyReplicationSource.html |  1357 +-
 .../TestReplicationSourceManager.html           |  1357 +-
 ...tTableBasedReplicationSourceManagerImpl.html |    75 +-
 .../hadoop/hbase/trace/TestHTraceHooks.html     |   180 +-
 .../hbase/trace/TraceTree.SpansByParent.html    |   212 +-
 .../hbase/trace/TraceTree.SpansByProcessId.html |   212 +-
 .../apache/hadoop/hbase/trace/TraceTree.html    |   212 +-
 384 files changed, 180157 insertions(+), 176649 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b9722a17/acid-semantics.html
----------------------------------------------------------------------
diff --git a/acid-semantics.html b/acid-semantics.html
index eb60ebe..fe92a2e 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="20171125" />
+    <meta name="Date-Revision-yyyymmdd" content="20171128" />
     <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-11-25</li>
+                  <li id="publishDate" class="pull-right">Last Published: 
2017-11-28</li>
             </p>
                 </div>
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b9722a17/apache_hbase_reference_guide.pdf
----------------------------------------------------------------------
diff --git a/apache_hbase_reference_guide.pdf b/apache_hbase_reference_guide.pdf
index 56109d0..8cd70d7 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:20171125144729+00'00')
-/CreationDate (D:20171125144729+00'00')
+/ModDate (D:20171128144743+00'00')
+/CreationDate (D:20171128144743+00'00')
 >>
 endobj
 2 0 obj

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

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b9722a17/book.html
----------------------------------------------------------------------
diff --git a/book.html b/book.html
index 7a70e52..3fe4c25 100644
--- a/book.html
+++ b/book.html
@@ -36739,7 +36739,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-11-25 14:29:35 UTC
+Last updated 2017-11-28 14:29:39 UTC
 </div>
 </div>
 </body>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/b9722a17/bulk-loads.html
----------------------------------------------------------------------
diff --git a/bulk-loads.html b/bulk-loads.html
index 45de9ba..8763e22 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="20171125" />
+    <meta name="Date-Revision-yyyymmdd" content="20171128" />
     <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-11-25</li>
+                  <li id="publishDate" class="pull-right">Last Published: 
2017-11-28</li>
             </p>
                 </div>
 

Reply via email to