You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by gi...@apache.org on 2024/06/21 14:45:54 UTC

(hbase-site) branch asf-site updated: Published site at f8aa3e23126c3ed0fd2558ecf1cec205d8edc928.

This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hbase-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new fc1336e0e9f Published site at f8aa3e23126c3ed0fd2558ecf1cec205d8edc928.
fc1336e0e9f is described below

commit fc1336e0e9f0c279b702f2b33da41fe4151854cf
Author: jenkins <bu...@apache.org>
AuthorDate: Fri Jun 21 14:45:29 2024 +0000

    Published site at f8aa3e23126c3ed0fd2558ecf1cec205d8edc928.
---
 acid-semantics.html                                |     2 +-
 apache_hbase_reference_guide.pdf                   |     4 +-
 apidocs/index-all.html                             |    10 +-
 .../org/apache/hadoop/hbase/class-use/Cell.html    |    12 +-
 apidocs/org/apache/hadoop/hbase/client/Result.html |    16 +-
 .../hadoop/hbase/client/class-use/Result.html      |     8 +-
 .../hbase/filter/ColumnPaginationFilter.html       |     4 +-
 .../hadoop/hbase/filter/ColumnPrefixFilter.html    |     4 +-
 .../hadoop/hbase/filter/ColumnRangeFilter.html     |     4 +-
 .../hadoop/hbase/filter/Filter.ReturnCode.html     |    16 +-
 apidocs/org/apache/hadoop/hbase/filter/Filter.html |    37 +-
 .../org/apache/hadoop/hbase/filter/FilterList.html |    17 +-
 .../apache/hadoop/hbase/filter/FuzzyRowFilter.html |     4 +-
 .../apache/hadoop/hbase/filter/KeyOnlyFilter.html  |    35 +-
 .../hadoop/hbase/filter/MultiRowRangeFilter.html   |     4 +-
 .../hbase/filter/MultipleColumnPrefixFilter.html   |     4 +-
 .../org/apache/hadoop/hbase/filter/SkipFilter.html |    13 +-
 .../hadoop/hbase/filter/WhileMatchFilter.html      |    13 +-
 .../hadoop/hbase/mapreduce/HFileOutputFormat2.html |    38 +-
 .../apache/hadoop/hbase/mapreduce/PutCombiner.html |     6 +-
 .../hadoop/hbase/mapreduce/PutSortReducer.html     |     8 +-
 .../src-html/org/apache/hadoop/hbase/CellUtil.html |     8 +-
 .../org/apache/hadoop/hbase/client/Result.html     |     8 +-
 .../hadoop/hbase/filter/Filter.ReturnCode.html     |   287 +-
 .../org/apache/hadoop/hbase/filter/Filter.html     |   287 +-
 .../apache/hadoop/hbase/filter/KeyOnlyFilter.html  |   889 +-
 .../hadoop/hbase/mapreduce/HFileOutputFormat2.html |  1875 +-
 .../apache/hadoop/hbase/mapreduce/PutCombiner.html |   141 +-
 .../hadoop/hbase/mapreduce/PutSortReducer.html     |   221 +-
 .../hadoop/hbase/mapreduce/TextSortReducer.html    |    12 +-
 book.html                                          |     2 +-
 bulk-loads.html                                    |     2 +-
 checkstyle-aggregate.html                          |  3634 ++--
 checkstyle.rss                                     |    12 +-
 coc.html                                           |     2 +-
 dependencies.html                                  |     2 +-
 dependency-convergence.html                        |     2 +-
 dependency-info.html                               |     2 +-
 dependency-management.html                         |     2 +-
 devapidocs/constant-values.html                    |     2 +-
 devapidocs/deprecated-list.html                    |     2 +-
 devapidocs/index-all.html                          |   748 +-
 .../apache/hadoop/hbase/ClusterMetrics.Option.html |     4 +-
 .../org/apache/hadoop/hbase/ExtendedCell.html      |     2 +-
 .../org/apache/hadoop/hbase/KeyValueUtil.html      |    28 +-
 ...eCellUtil.TagRewriteByteBufferExtendedCell.html |    82 +-
 .../hbase/PrivateCellUtil.TagRewriteCell.html      |    62 +-
 ...l.ValueAndTagRewriteByteBufferExtendedCell.html |    26 +-
 .../PrivateCellUtil.ValueAndTagRewriteCell.html    |    38 +-
 .../org/apache/hadoop/hbase/PrivateCellUtil.html   |   248 +-
 devapidocs/org/apache/hadoop/hbase/RawCell.html    |     2 +-
 .../hbase/backup/master/BackupLogCleaner.html      |    68 +-
 .../apache/hadoop/hbase/backup/package-tree.html   |     2 +-
 .../hbase/class-use/ByteBufferExtendedCell.html    |     6 +-
 .../org/apache/hadoop/hbase/class-use/Cell.html    |  4381 +----
 .../hadoop/hbase/class-use/CellComparator.html     |    46 +-
 .../hadoop/hbase/class-use/ExtendedCell.html       |  3363 +++-
 .../hadoop/hbase/class-use/KeyValue.Type.html      |     2 +-
 .../apache/hadoop/hbase/class-use/KeyValue.html    |     4 +-
 .../org/apache/hadoop/hbase/class-use/RawCell.html |     4 +
 .../org/apache/hadoop/hbase/class-use/Tag.html     |    18 +-
 .../org/apache/hadoop/hbase/client/Result.html     |    16 +-
 .../hadoop/hbase/client/class-use/Mutation.html    |    30 +-
 .../hadoop/hbase/client/class-use/Result.html      |     8 +-
 .../apache/hadoop/hbase/client/class-use/Scan.html |     2 +-
 .../apache/hadoop/hbase/client/package-tree.html   |    24 +-
 .../hadoop/hbase/coprocessor/package-tree.html     |     2 +-
 .../hbase/filter/ColumnPaginationFilter.html       |     4 +-
 .../hadoop/hbase/filter/ColumnPrefixFilter.html    |     4 +-
 .../hadoop/hbase/filter/ColumnRangeFilter.html     |     4 +-
 .../hadoop/hbase/filter/Filter.ReturnCode.html     |    16 +-
 .../org/apache/hadoop/hbase/filter/Filter.html     |    39 +-
 .../org/apache/hadoop/hbase/filter/FilterBase.html |    17 +-
 .../org/apache/hadoop/hbase/filter/FilterList.html |    17 +-
 .../hadoop/hbase/filter/FilterListWithAND.html     |     4 +-
 .../hadoop/hbase/filter/FilterListWithOR.html      |     4 +-
 .../apache/hadoop/hbase/filter/FilterWrapper.html  |    17 +-
 .../apache/hadoop/hbase/filter/FuzzyRowFilter.html |     4 +-
 ...eyOnlyFilter.KeyOnlyByteBufferExtendedCell.html |    80 +-
 .../hbase/filter/KeyOnlyFilter.KeyOnlyCell.html    |   202 +-
 .../apache/hadoop/hbase/filter/KeyOnlyFilter.html  |    41 +-
 .../hadoop/hbase/filter/MultiRowRangeFilter.html   |     4 +-
 .../hbase/filter/MultipleColumnPrefixFilter.html   |     4 +-
 .../org/apache/hadoop/hbase/filter/SkipFilter.html |    13 +-
 .../hadoop/hbase/filter/WhileMatchFilter.html      |    13 +-
 .../hbase/filter/class-use/Filter.ReturnCode.html  |     2 +-
 .../apache/hadoop/hbase/filter/package-tree.html   |    10 +-
 .../hadoop/hbase/hbtop/field/package-tree.html     |     2 +-
 .../hadoop/hbase/io/HalfStoreFileReader.html       |    30 +-
 .../hbase/io/class-use/TagCompressionContext.html  |     4 +-
 .../hadoop/hbase/io/crypto/tls/package-tree.html   |     2 +-
 ...ractDataBlockEncoder.AbstractEncodedSeeker.html |     2 +-
 .../io/encoding/AbstractDataBlockEncoder.html      |     8 +-
 ...eredDataBlockEncoder.BufferedEncodedSeeker.html |    36 +-
 .../BufferedDataBlockEncoder.SeekerState.html      |    20 +-
 .../io/encoding/BufferedDataBlockEncoder.html      |    20 +-
 ...ckEncoder.SeekerStateBufferedEncodedSeeker.html |     2 +-
 .../hbase/io/encoding/CopyKeyDataBlockEncoder.html |    14 +-
 .../encoding/DataBlockEncoder.EncodedSeeker.html   |    22 +-
 .../hadoop/hbase/io/encoding/DataBlockEncoder.html |    10 +-
 ...coder.DiffSeekerStateBufferedEncodedSeeker.html |     2 +-
 .../hbase/io/encoding/DiffKeyDeltaEncoder.html     |    26 +-
 .../hadoop/hbase/io/encoding/EncodingState.html    |     4 +-
 ...r.FastDiffSeekerStateBufferedEncodedSeeker.html |     2 +-
 .../hbase/io/encoding/FastDiffDeltaEncoder.html    |    26 +-
 ...taEncoder.SeekerStateBufferedEncodedSeeker.html |     2 +-
 .../hbase/io/encoding/PrefixKeyDeltaEncoder.html   |    20 +-
 .../hadoop/hbase/io/encoding/RowIndexCodecV1.html  |    12 +-
 .../hbase/io/encoding/RowIndexEncoderV1.html       |    16 +-
 .../io/encoding/RowIndexSeekerV1.SeekerState.html  |    42 +-
 .../hadoop/hbase/io/encoding/RowIndexSeekerV1.html |    68 +-
 .../io/encoding/class-use/DataBlockEncoding.html   |    14 +-
 .../HFileBlockDefaultEncodingContext.html          |    12 +-
 .../class-use/HFileBlockEncodingContext.html       |    12 +-
 .../hadoop/hbase/io/hfile/BlockWithScanInfo.html   |    16 +-
 .../CompoundBloomFilterWriter.MetaWriter.html      |     8 +-
 .../CompoundBloomFilterWriter.ReadyChunk.html      |    10 +-
 .../hbase/io/hfile/CompoundBloomFilterWriter.html  |    62 +-
 .../apache/hadoop/hbase/io/hfile/HFile.Reader.html |    14 +-
 .../apache/hadoop/hbase/io/hfile/HFile.Writer.html |     2 +-
 .../hadoop/hbase/io/hfile/HFileBlock.Writer.html   |     6 +-
 .../hfile/HFileBlockIndex.BlockIndexChunkImpl.html |    48 +-
 .../io/hfile/HFileBlockIndex.BlockIndexReader.html |    68 +-
 .../io/hfile/HFileBlockIndex.BlockIndexWriter.html |    68 +-
 ...ileBlockIndex.ByteArrayKeyBlockIndexReader.html |    36 +-
 ...ileBlockIndex.CellBasedKeyBlockIndexReader.html |    50 +-
 ...eBlockIndex.CellBasedKeyBlockIndexReaderV2.html |    44 +-
 .../hadoop/hbase/io/hfile/HFileBlockIndex.html     |    24 +-
 .../hbase/io/hfile/HFileDataBlockEncoder.html      |     6 +-
 .../hbase/io/hfile/HFileDataBlockEncoderImpl.html  |    10 +-
 .../HFileIndexBlockEncoder.EncodedSeeker.html      |    26 +-
 .../hbase/io/hfile/HFileIndexBlockEncoder.html     |    12 +-
 .../apache/hadoop/hbase/io/hfile/HFileInfo.html    |   156 +-
 ...ileReaderImpl.BlockIndexNotLoadedException.html |     4 +-
 .../io/hfile/HFileReaderImpl.EncodedScanner.html   |    85 +-
 .../io/hfile/HFileReaderImpl.HFileScannerImpl.html |   203 +-
 .../hfile/HFileReaderImpl.NotSeekedException.html  |     4 +-
 .../hadoop/hbase/io/hfile/HFileReaderImpl.html     |   166 +-
 .../apache/hadoop/hbase/io/hfile/HFileScanner.html |    55 +-
 .../hadoop/hbase/io/hfile/HFileWriterImpl.html     |   166 +-
 .../hbase/io/hfile/NoOpDataBlockEncoder.html       |    10 +-
 .../NoOpIndexBlockEncoder.NoOpEncodedSeeker.html   |    68 +-
 .../hbase/io/hfile/NoOpIndexBlockEncoder.html      |    20 +-
 .../io/hfile/class-use/BlockWithScanInfo.html      |    12 +-
 .../hfile/class-use/HFile.CachingBlockReader.html  |    22 +-
 .../hbase/io/hfile/class-use/HFileBlock.html       |    36 +-
 .../hbase/io/hfile/class-use/HFileScanner.html     |     8 +-
 .../apache/hadoop/hbase/io/hfile/package-tree.html |     6 +-
 .../org/apache/hadoop/hbase/io/package-tree.html   |     2 +-
 .../org/apache/hadoop/hbase/ipc/package-tree.html  |     4 +-
 .../mapreduce/HFileOutputFormat2.TableInfo.html    |    12 +-
 .../mapreduce/HFileOutputFormat2.WriterLength.html |     8 +-
 .../hadoop/hbase/mapreduce/HFileOutputFormat2.html |    98 +-
 .../apache/hadoop/hbase/mapreduce/PutCombiner.html |     8 +-
 .../hadoop/hbase/mapreduce/PutSortReducer.html     |    10 +-
 .../hadoop/hbase/mapreduce/package-tree.html       |     4 +-
 .../hbase/master/assignment/package-tree.html      |     2 +-
 .../hadoop/hbase/master/balancer/package-tree.html |     4 +-
 .../apache/hadoop/hbase/master/package-tree.html   |     8 +-
 .../hbase/master/procedure/package-tree.html       |     4 +-
 .../org/apache/hadoop/hbase/mob/CachedMobFile.html |     2 +-
 .../hadoop/hbase/mob/DefaultMobStoreCompactor.html |    14 +-
 .../org/apache/hadoop/hbase/mob/MobCell.html       |    26 +-
 .../org/apache/hadoop/hbase/mob/MobFile.html       |    20 +-
 .../org/apache/hadoop/hbase/mob/MobUtils.html      |   108 +-
 .../apache/hadoop/hbase/mob/class-use/MobCell.html |    14 +-
 .../hadoop/hbase/monitoring/package-tree.html      |     2 +-
 .../apache/hadoop/hbase/net/class-use/Address.html |    14 +
 .../hadoop/hbase/nio/class-use/ByteBuff.html       |    12 +-
 .../org/apache/hadoop/hbase/package-tree.html      |    24 +-
 .../org/apache/hadoop/hbase/package-use.html       |    55 +-
 .../hadoop/hbase/procedure2/package-tree.html      |     4 +-
 .../store/region/WALProcedurePrettyPrinter.html    |    22 +-
 .../hbase/procedure2/store/wal/package-tree.html   |     2 +-
 .../apache/hadoop/hbase/quotas/package-tree.html   |     6 +-
 .../hbase/regionserver/AbstractMemStore.html       |   202 +-
 .../regionserver/AbstractMultiFileWriter.html      |     2 +-
 .../hbase/regionserver/CSLMImmutableSegment.html   |     2 +-
 .../regionserver/CellArrayImmutableSegment.html    |    20 +-
 .../hadoop/hbase/regionserver/CellArrayMap.html    |    44 +-
 .../regionserver/CellChunkImmutableSegment.html    |    48 +-
 .../hadoop/hbase/regionserver/CellChunkMap.html    |    34 +-
 .../CellFlatMap.CellFlatMapCollection.html         |    72 +-
 .../regionserver/CellFlatMap.CellFlatMapEntry.html |    48 +-
 .../CellFlatMap.CellFlatMapIterator.html           |    26 +-
 .../hadoop/hbase/regionserver/CellFlatMap.html     |   363 +-
 .../apache/hadoop/hbase/regionserver/CellSet.html  |   254 +-
 .../apache/hadoop/hbase/regionserver/CellSink.html |    10 +-
 ...pactingMemStore.InMemoryCompactionRunnable.html |     6 +-
 .../regionserver/CompactingMemStore.IndexType.html |     8 +-
 .../hbase/regionserver/CompactingMemStore.html     |   154 +-
 .../regionserver/CompositeImmutableSegment.html    |   118 +-
 .../regionserver/DateTieredMultiFileWriter.html    |     8 +-
 .../hadoop/hbase/regionserver/DefaultMemStore.html |    66 +-
 .../hadoop/hbase/regionserver/HMobStore.html       |    28 +-
 .../HRegion.BatchOperation.Visitor.html            |     4 +-
 .../hbase/regionserver/HRegion.BatchOperation.html |   104 +-
 .../regionserver/HRegion.BulkLoadListener.html     |     8 +-
 .../regionserver/HRegion.FlushResult.Result.html   |    10 +-
 .../hbase/regionserver/HRegion.FlushResult.html    |     8 +-
 .../regionserver/HRegion.FlushResultImpl.html      |    24 +-
 .../HRegion.MutationBatchOperation.html            |   126 +-
 .../HRegion.ObservedExceptionsInBatch.html         |    22 +-
 .../regionserver/HRegion.PrepareFlushResult.html   |    26 +-
 .../regionserver/HRegion.ReplayBatchOperation.html |    38 +-
 .../hbase/regionserver/HRegion.RowLockContext.html |    28 +-
 .../hbase/regionserver/HRegion.RowLockImpl.html    |    16 +-
 .../hbase/regionserver/HRegion.WriteState.html     |    26 +-
 .../apache/hadoop/hbase/regionserver/HRegion.html  |   852 +-
 .../hbase/regionserver/HRegionFileSystem.html      |   150 +-
 .../HStore.StoreFileWriterCreationTracker.html     |    10 +-
 .../regionserver/HStore.StoreFlusherImpl.html      |    36 +-
 .../apache/hadoop/hbase/regionserver/HStore.html   |   398 +-
 .../hadoop/hbase/regionserver/HStoreFile.html      |    16 +-
 .../hbase/regionserver/ImmutableMemStoreLAB.html   |    24 +-
 .../hbase/regionserver/ImmutableSegment.html       |     2 +-
 .../KeyValueHeap.KVScannerComparator.html          |    12 +-
 .../hadoop/hbase/regionserver/KeyValueHeap.html    |   101 +-
 .../hadoop/hbase/regionserver/KeyValueScanner.html |    52 +-
 .../apache/hadoop/hbase/regionserver/MemStore.html |    40 +-
 .../MemStoreCompactorSegmentsIterator.html         |    21 +-
 .../hadoop/hbase/regionserver/MemStoreLAB.html     |    20 +-
 .../hadoop/hbase/regionserver/MemStoreLABImpl.html |   140 +-
 .../MemStoreMergerSegmentsIterator.html            |     6 +-
 .../regionserver/MemStoreSegmentsIterator.html     |     4 +-
 .../hadoop/hbase/regionserver/MobStoreScanner.html |    32 +-
 .../hadoop/hbase/regionserver/MutableSegment.html  |    26 +-
 .../hbase/regionserver/NonLazyKeyValueScanner.html |    44 +-
 .../NonReversedNonLazyKeyValueScanner.html         |    20 +-
 .../hbase/regionserver/RegionScannerImpl.html      |   110 +-
 ...edKeyValueHeap.ReversedKVScannerComparator.html |     8 +-
 .../hbase/regionserver/ReversedKeyValueHeap.html   |    89 +-
 .../regionserver/ReversedMobStoreScanner.html      |    32 +-
 .../hbase/regionserver/ReversedStoreScanner.html   |    94 +-
 .../apache/hadoop/hbase/regionserver/Segment.html  |   164 +-
 .../hadoop/hbase/regionserver/SegmentFactory.html  |    28 +-
 .../hadoop/hbase/regionserver/SegmentScanner.html  |   132 +-
 .../hbase/regionserver/SnapshotSegmentScanner.html |    40 +-
 .../hadoop/hbase/regionserver/StoreFile.html       |     8 +-
 .../hadoop/hbase/regionserver/StoreFileReader.html |   152 +-
 .../hbase/regionserver/StoreFileScanner.html       |   218 +-
 .../regionserver/StoreFileWriter.Builder.html      |    72 +-
 .../StoreFileWriter.SingleStoreFileWriter.html     |    84 +-
 .../hadoop/hbase/regionserver/StoreFileWriter.html |   152 +-
 .../hadoop/hbase/regionserver/StoreScanner.html    |   260 +-
 .../hadoop/hbase/regionserver/StoreUtils.html      |    36 +-
 .../StripeMultiFileWriter.BoundaryMultiWriter.html |    38 +-
 .../StripeMultiFileWriter.SizeMultiWriter.html     |    34 +-
 .../hbase/regionserver/StripeMultiFileWriter.html  |    30 +-
 .../TimeRangeTracker.NonSyncTimeRangeTracker.html  |     2 +-
 .../TimeRangeTracker.SyncTimeRangeTracker.html     |     2 +-
 .../hbase/regionserver/TimeRangeTracker.html       |     6 +-
 .../hbase/regionserver/class-use/CellFlatMap.html  |    10 +-
 .../hbase/regionserver/class-use/CellSet.html      |    32 +-
 .../hadoop/hbase/regionserver/class-use/Chunk.html |     2 +-
 .../hbase/regionserver/class-use/HStore.html       |    12 +-
 .../regionserver/class-use/KeyValueScanner.html    |    24 +-
 .../MemStoreCompactionStrategy.Action.html         |     4 +-
 .../hbase/regionserver/class-use/MemStoreLAB.html  |     4 +-
 .../regionserver/class-use/MemStoreSizing.html     |    81 +-
 .../class-use/MiniBatchOperationInProgress.html    |    10 +-
 .../regionserver/class-use/MutableSegment.html     |    35 +-
 .../hbase/regionserver/class-use/ScanInfo.html     |     6 +-
 .../hbase/regionserver/class-use/Segment.html      |     6 +-
 .../regionserver/class-use/StoreFileScanner.html   |     2 +-
 .../regionserver/class-use/TimeRangeTracker.html   |     2 +-
 .../compactions/Compactor.CellSinkFactory.html     |     4 +-
 .../compactions/Compactor.FileDetails.html         |    20 +-
 .../Compactor.InternalScannerFactory.html          |     6 +-
 .../hbase/regionserver/compactions/Compactor.html  |    66 +-
 .../regionserver/handler/ParallelSeekHandler.html  |    12 +-
 .../hadoop/hbase/regionserver/package-summary.html |    10 +-
 .../hadoop/hbase/regionserver/package-tree.html    |    30 +-
 .../regionserver/querymatcher/ColumnTracker.html   |    49 +-
 .../querymatcher/CompactionScanQueryMatcher.html   |    30 +-
 .../regionserver/querymatcher/DeleteTracker.html   |    16 +-
 .../DropDeletesCompactionScanQueryMatcher.html     |    10 +-
 .../querymatcher/ExplicitColumnTracker.html        |    55 +-
 .../IncludeAllCompactionQueryMatcher.html          |    14 +-
 .../MajorCompactionScanQueryMatcher.html           |    16 +-
 .../MinorCompactionScanQueryMatcher.html           |    14 +-
 ...wVersionBehaviorTracker.DeleteVersionsNode.html |     6 +-
 .../querymatcher/NewVersionBehaviorTracker.html    |    75 +-
 .../querymatcher/NormalUserScanQueryMatcher.html   |    14 +-
 .../querymatcher/RawScanQueryMatcher.html          |    14 +-
 .../querymatcher/ScanDeleteTracker.html            |    24 +-
 .../querymatcher/ScanQueryMatcher.MatchCode.html   |    28 +-
 .../querymatcher/ScanQueryMatcher.html             |   134 +-
 .../querymatcher/ScanWildcardColumnTracker.html    |    51 +-
 .../StripeCompactionScanQueryMatcher.html          |    16 +-
 .../querymatcher/UserScanQueryMatcher.html         |    76 +-
 .../querymatcher/class-use/ColumnTracker.html      |     2 +-
 .../class-use/DeleteTracker.DeleteResult.html      |    10 +-
 .../querymatcher/class-use/DeleteTracker.html      |     4 +-
 .../class-use/ScanQueryMatcher.MatchCode.html      |    78 +-
 .../regionserver/querymatcher/package-summary.html |     2 +-
 .../regionserver/querymatcher/package-tree.html    |     2 +-
 .../regionserver/querymatcher/package-use.html     |     2 +-
 .../storefiletracker/package-tree.html             |     2 +-
 .../wal/SecureWALCellCodec.EncryptedKvDecoder.html |    12 +-
 .../wal/SecureWALCellCodec.EncryptedKvEncoder.html |    20 +-
 .../hbase/regionserver/wal/SecureWALCellCodec.html |    20 +-
 .../wal/WALCellCodec.BaosAndCompressor.html        |    12 +-
 .../wal/WALCellCodec.ByteStringCompressor.html     |     4 +-
 .../wal/WALCellCodec.ByteStringUncompressor.html   |     4 +-
 .../wal/WALCellCodec.CompressedKvDecoder.html      |    18 +-
 .../wal/WALCellCodec.CompressedKvEncoder.html      |    18 +-
 .../wal/WALCellCodec.EnsureKvEncoder.html          |     6 +-
 .../wal/WALCellCodec.NoneCompressor.html           |     6 +-
 .../wal/WALCellCodec.NoneUncompressor.html         |     6 +-
 .../wal/WALCellCodec.StatelessUncompressor.html    |     8 +-
 .../hbase/regionserver/wal/WALCellCodec.html       |    32 +-
 .../hbase/regionserver/wal/package-tree.html       |     4 +-
 .../hadoop/hbase/replication/package-tree.html     |     4 +-
 .../replication/regionserver/package-tree.html     |     2 +-
 .../hadoop/hbase/rest/model/package-tree.html      |     2 +-
 .../access/AccessControlFilter.Strategy.html       |    10 +-
 .../hbase/security/access/AccessControlFilter.html |    40 +-
 .../security/access/AccessController.OpType.html   |    28 +-
 .../hbase/security/access/AccessController.html    |   382 +-
 .../hadoop/hbase/security/access/package-tree.html |     8 +-
 .../apache/hadoop/hbase/security/package-tree.html |     2 +-
 .../DefaultVisibilityLabelServiceImpl.html         |    74 +-
 ...er.DeleteVersionVisibilityExpressionFilter.html |    16 +-
 .../security/visibility/VisibilityController.html  |   112 +-
 ...isibilityNewVersionBehaivorTracker.TagInfo.html |     6 +-
 ...haivorTracker.VisibilityDeleteVersionsNode.html |     8 +-
 .../VisibilityNewVersionBehaivorTracker.html       |    34 +-
 .../visibility/VisibilityReplicationEndpoint.html  |    40 +-
 .../visibility/VisibilityScanDeleteTracker.html    |    30 +-
 .../hbase/security/visibility/VisibilityUtils.html |    30 +-
 ...isibilityNewVersionBehaivorTracker.TagInfo.html |     2 +-
 .../tool/BulkLoadHFilesTool.BulkHFileVisitor.html  |     6 +-
 .../hadoop/hbase/tool/BulkLoadHFilesTool.html      |   128 +-
 .../apache/hadoop/hbase/trace/package-tree.html    |     2 +-
 .../org/apache/hadoop/hbase/util/BloomContext.html |    30 +-
 .../hadoop/hbase/util/BloomFilterWriter.html       |     2 +-
 .../hadoop/hbase/util/CollectionBackedScanner.html |    64 +-
 .../apache/hadoop/hbase/util/CompressionTest.html  |    20 +-
 .../HBaseFsck.CheckRegionConsistencyWorkItem.html  |    10 +-
 .../hbase/util/HBaseFsck.FileLockCallable.html     |    16 +-
 .../hadoop/hbase/util/HBaseFsck.HBaseFsckTool.html |     6 +-
 .../util/HBaseFsck.PrintingErrorReporter.html      |    42 +-
 .../HBaseFsck.RegionBoundariesInformation.html     |    16 +-
 .../hbase/util/HBaseFsck.WorkItemHdfsDir.html      |    12 +-
 .../util/HBaseFsck.WorkItemHdfsRegionInfo.html     |    12 +-
 .../hbase/util/HBaseFsck.WorkItemOverlapMerge.html |    10 +-
 .../hbase/util/HBaseFsck.WorkItemRegion.html       |    16 +-
 .../org/apache/hadoop/hbase/util/HBaseFsck.html    |   416 +-
 .../apache/hadoop/hbase/util/RowBloomContext.html  |    12 +-
 .../hadoop/hbase/util/RowColBloomContext.html      |    12 +-
 .../util/RowPrefixFixedLengthBloomContext.html     |    26 +-
 .../hadoop/hbase/util/class-use/NonceKey.html      |     6 +-
 .../apache/hadoop/hbase/util/class-use/Pair.html   |    10 +-
 .../org/apache/hadoop/hbase/util/package-tree.html |     8 +-
 .../wal/BoundedRecoveredHFilesOutputSink.html      |    28 +-
 .../org/apache/hadoop/hbase/wal/WALEdit.html       |     4 +-
 .../apache/hadoop/hbase/wal/WALPrettyPrinter.html  |    80 +-
 .../apache/hadoop/hbase/wal/class-use/WALEdit.html |    14 +-
 .../org/apache/hadoop/hbase/wal/package-tree.html  |     2 +-
 devapidocs/overview-tree.html                      |    12 +-
 .../src-html/org/apache/hadoop/hbase/CellUtil.html |     8 +-
 .../org/apache/hadoop/hbase/KeyValueUtil.html      |    14 +-
 ...rivateCellUtil.EmptyByteBufferExtendedCell.html |  2394 +--
 .../hadoop/hbase/PrivateCellUtil.EmptyCell.html    |  2394 +--
 ...eCellUtil.FirstOnRowByteBufferExtendedCell.html |  2394 +--
 .../hbase/PrivateCellUtil.FirstOnRowCell.html      |  2394 +--
 ...llUtil.FirstOnRowColByteBufferExtendedCell.html |  2394 +--
 .../hbase/PrivateCellUtil.FirstOnRowColCell.html   |  2394 +--
 ...Util.FirstOnRowColTSByteBufferExtendedCell.html |  2394 +--
 .../hbase/PrivateCellUtil.FirstOnRowColTSCell.html |  2394 +--
 ...PrivateCellUtil.FirstOnRowDeleteFamilyCell.html |  2394 +--
 ...teCellUtil.LastOnRowByteBufferExtendedCell.html |  2394 +--
 .../hbase/PrivateCellUtil.LastOnRowCell.html       |  2394 +--
 ...ellUtil.LastOnRowColByteBufferExtendedCell.html |  2394 +--
 .../hbase/PrivateCellUtil.LastOnRowColCell.html    |  2394 +--
 ...eCellUtil.TagRewriteByteBufferExtendedCell.html |  2394 +--
 .../hbase/PrivateCellUtil.TagRewriteCell.html      |  2394 +--
 ...l.ValueAndTagRewriteByteBufferExtendedCell.html |  2394 +--
 .../PrivateCellUtil.ValueAndTagRewriteCell.html    |  2394 +--
 .../org/apache/hadoop/hbase/PrivateCellUtil.html   |  2394 +--
 .../src-html/org/apache/hadoop/hbase/RawCell.html  |     8 +-
 .../hbase/backup/master/BackupLogCleaner.html      |   318 +-
 .../org/apache/hadoop/hbase/client/Result.html     |     8 +-
 .../hadoop/hbase/filter/Filter.ReturnCode.html     |   287 +-
 .../org/apache/hadoop/hbase/filter/Filter.html     |   287 +-
 ...eyOnlyFilter.KeyOnlyByteBufferExtendedCell.html |   889 +-
 .../hbase/filter/KeyOnlyFilter.KeyOnlyCell.html    |   889 +-
 .../apache/hadoop/hbase/filter/KeyOnlyFilter.html  |   889 +-
 .../hadoop/hbase/io/HalfStoreFileReader.html       |   531 +-
 ...ractDataBlockEncoder.AbstractEncodedSeeker.html |     4 +-
 .../io/encoding/AbstractDataBlockEncoder.html      |     4 +-
 ...eredDataBlockEncoder.BufferedEncodedSeeker.html |    24 +-
 ...ataBlockEncoder.OffheapDecodedExtendedCell.html |    24 +-
 ...BufferedDataBlockEncoder.OnheapDecodedCell.html |    24 +-
 .../BufferedDataBlockEncoder.SeekerState.html      |    24 +-
 .../io/encoding/BufferedDataBlockEncoder.html      |    24 +-
 ...pyKeyDataBlockEncoder.CopyKeyEncodingState.html |     6 +-
 ...ckEncoder.SeekerStateBufferedEncodedSeeker.html |     6 +-
 .../hbase/io/encoding/CopyKeyDataBlockEncoder.html |     6 +-
 .../encoding/DataBlockEncoder.EncodedSeeker.html   |    16 +-
 .../hadoop/hbase/io/encoding/DataBlockEncoder.html |    16 +-
 .../DiffKeyDeltaEncoder.DiffCompressionState.html  |     8 +-
 .../DiffKeyDeltaEncoder.DiffSeekerState.html       |     8 +-
 ...coder.DiffSeekerStateBufferedEncodedSeeker.html |     8 +-
 .../hbase/io/encoding/DiffKeyDeltaEncoder.html     |     8 +-
 .../hadoop/hbase/io/encoding/EncodingState.html    |     4 +-
 ...tDiffDeltaEncoder.FastDiffCompressionState.html |     8 +-
 .../FastDiffDeltaEncoder.FastDiffSeekerState.html  |     8 +-
 ...r.FastDiffSeekerStateBufferedEncodedSeeker.html |     8 +-
 .../hbase/io/encoding/FastDiffDeltaEncoder.html    |     8 +-
 ...taEncoder.SeekerStateBufferedEncodedSeeker.html |     8 +-
 .../hbase/io/encoding/PrefixKeyDeltaEncoder.html   |     8 +-
 .../RowIndexCodecV1.RowIndexEncodingState.html     |    10 +-
 .../hadoop/hbase/io/encoding/RowIndexCodecV1.html  |    10 +-
 .../hbase/io/encoding/RowIndexEncoderV1.html       |     8 +-
 .../io/encoding/RowIndexSeekerV1.SeekerState.html  |   727 +-
 .../hadoop/hbase/io/encoding/RowIndexSeekerV1.html |   727 +-
 .../hadoop/hbase/io/hfile/BlockWithScanInfo.html   |     8 +-
 .../CompoundBloomFilterWriter.MetaWriter.html      |   511 +-
 .../CompoundBloomFilterWriter.ReadyChunk.html      |   511 +-
 .../hbase/io/hfile/CompoundBloomFilterWriter.html  |   511 +-
 .../hbase/io/hfile/HFile.CachingBlockReader.html   |    10 +-
 .../apache/hadoop/hbase/io/hfile/HFile.Reader.html |    10 +-
 .../apache/hadoop/hbase/io/hfile/HFile.Writer.html |    10 +-
 .../hadoop/hbase/io/hfile/HFile.WriterFactory.html |    10 +-
 .../org/apache/hadoop/hbase/io/hfile/HFile.html    |    10 +-
 .../io/hfile/HFileBlock.BlockDeserializer.html     |     4 +-
 .../hbase/io/hfile/HFileBlock.BlockIterator.html   |     4 +-
 .../hbase/io/hfile/HFileBlock.BlockWritable.html   |     4 +-
 .../hadoop/hbase/io/hfile/HFileBlock.FSReader.html |     4 +-
 .../hbase/io/hfile/HFileBlock.FSReaderImpl.html    |     4 +-
 .../hadoop/hbase/io/hfile/HFileBlock.Header.html   |     4 +-
 .../io/hfile/HFileBlock.PrefetchedHeader.html      |     4 +-
 .../hbase/io/hfile/HFileBlock.Writer.State.html    |     4 +-
 .../hadoop/hbase/io/hfile/HFileBlock.Writer.html   |     4 +-
 .../apache/hadoop/hbase/io/hfile/HFileBlock.html   |     4 +-
 .../hfile/HFileBlockIndex.BlockIndexChunkImpl.html |  3002 ++--
 .../io/hfile/HFileBlockIndex.BlockIndexReader.html |  3002 ++--
 .../io/hfile/HFileBlockIndex.BlockIndexWriter.html |  3002 ++--
 ...ileBlockIndex.ByteArrayKeyBlockIndexReader.html |  3002 ++--
 ...ileBlockIndex.CellBasedKeyBlockIndexReader.html |  3002 ++--
 ...eBlockIndex.CellBasedKeyBlockIndexReaderV2.html |  3002 ++--
 .../hadoop/hbase/io/hfile/HFileBlockIndex.html     |  3002 ++--
 .../hbase/io/hfile/HFileDataBlockEncoder.html      |     4 +-
 .../hbase/io/hfile/HFileDataBlockEncoderImpl.html  |     4 +-
 .../HFileIndexBlockEncoder.EncodedSeeker.html      |   103 +-
 .../hbase/io/hfile/HFileIndexBlockEncoder.html     |   103 +-
 .../apache/hadoop/hbase/io/hfile/HFileInfo.html    |  1007 +-
 ...ileReaderImpl.BlockIndexNotLoadedException.html |  3337 ++--
 .../io/hfile/HFileReaderImpl.EncodedScanner.html   |  3337 ++--
 .../io/hfile/HFileReaderImpl.HFileScannerImpl.html |  3337 ++--
 .../hfile/HFileReaderImpl.NotSeekedException.html  |  3337 ++--
 .../hadoop/hbase/io/hfile/HFileReaderImpl.html     |  3337 ++--
 .../apache/hadoop/hbase/io/hfile/HFileScanner.html |    67 +-
 .../hadoop/hbase/io/hfile/HFileWriterImpl.html     |  1651 +-
 .../NoOpDataBlockEncoder.NoneEncodingState.html    |     4 +-
 .../hbase/io/hfile/NoOpDataBlockEncoder.html       |     4 +-
 .../NoOpIndexBlockEncoder.NoOpEncodedSeeker.html   |   819 +-
 .../hbase/io/hfile/NoOpIndexBlockEncoder.html      |   819 +-
 .../mapreduce/HFileOutputFormat2.TableInfo.html    |  1875 +-
 .../mapreduce/HFileOutputFormat2.WriterLength.html |  1875 +-
 .../hadoop/hbase/mapreduce/HFileOutputFormat2.html |  1875 +-
 .../apache/hadoop/hbase/mapreduce/PutCombiner.html |   141 +-
 .../hadoop/hbase/mapreduce/PutSortReducer.html     |   221 +-
 .../hadoop/hbase/mapreduce/TextSortReducer.html    |    12 +-
 .../hadoop/hbase/mob/DefaultMobStoreCompactor.html |   395 +-
 .../hadoop/hbase/mob/DefaultMobStoreFlusher.html   |    10 +-
 .../org/apache/hadoop/hbase/mob/MobCell.html       |    99 +-
 .../org/apache/hadoop/hbase/mob/MobFile.html       |   133 +-
 .../org/apache/hadoop/hbase/mob/MobUtils.html      |  1579 +-
 .../store/region/WALProcedurePrettyPrinter.html    |   223 +-
 .../hbase/regionserver/AbstractMemStore.html       |   641 +-
 .../regionserver/CellArrayImmutableSegment.html    |   152 +-
 .../hadoop/hbase/regionserver/CellArrayMap.html    |    12 +-
 .../regionserver/CellChunkImmutableSegment.html    |   636 +-
 .../hadoop/hbase/regionserver/CellChunkMap.html    |    19 +-
 .../CellFlatMap.CellFlatMapCollection.html         |   953 +-
 .../regionserver/CellFlatMap.CellFlatMapEntry.html |   953 +-
 .../CellFlatMap.CellFlatMapIterator.html           |   953 +-
 .../hadoop/hbase/regionserver/CellFlatMap.html     |   953 +-
 .../apache/hadoop/hbase/regionserver/CellSet.html  |    56 +-
 .../apache/hadoop/hbase/regionserver/CellSink.html |     8 +-
 ...pactingMemStore.InMemoryCompactionRunnable.html |  1247 +-
 .../regionserver/CompactingMemStore.IndexType.html |  1247 +-
 .../hbase/regionserver/CompactingMemStore.html     |  1247 +-
 .../regionserver/CompositeImmutableSegment.html    |   503 +-
 .../regionserver/DateTieredMultiFileWriter.html    |     4 +-
 .../hadoop/hbase/regionserver/DefaultMemStore.html |   427 +-
 .../hadoop/hbase/regionserver/HMobStore.html       |    20 +-
 .../HRegion.BatchOperation.Visitor.html            | 17423 ++++++++++---------
 .../hbase/regionserver/HRegion.BatchOperation.html | 17423 ++++++++++---------
 .../regionserver/HRegion.BulkLoadListener.html     | 17423 ++++++++++---------
 .../regionserver/HRegion.FlushResult.Result.html   | 17423 ++++++++++---------
 .../hbase/regionserver/HRegion.FlushResult.html    | 17423 ++++++++++---------
 .../regionserver/HRegion.FlushResultImpl.html      | 17423 ++++++++++---------
 .../HRegion.MutationBatchOperation.html            | 17423 ++++++++++---------
 .../HRegion.ObservedExceptionsInBatch.html         | 17423 ++++++++++---------
 .../regionserver/HRegion.PrepareFlushResult.html   | 17423 ++++++++++---------
 .../regionserver/HRegion.ReplayBatchOperation.html | 17423 ++++++++++---------
 .../hbase/regionserver/HRegion.RowLockContext.html | 17423 ++++++++++---------
 .../hbase/regionserver/HRegion.RowLockImpl.html    | 17423 ++++++++++---------
 .../hbase/regionserver/HRegion.WriteState.html     | 17423 ++++++++++---------
 .../apache/hadoop/hbase/regionserver/HRegion.html  | 17423 ++++++++++---------
 .../hbase/regionserver/HRegionFileSystem.html      |  2313 +--
 .../HStore.StoreFileWriterCreationTracker.html     |  4835 ++---
 .../regionserver/HStore.StoreFlusherImpl.html      |  4835 ++---
 .../apache/hadoop/hbase/regionserver/HStore.html   |  4835 ++---
 .../hadoop/hbase/regionserver/HStoreFile.html      |    12 +-
 .../hbase/regionserver/ImmutableMemStoreLAB.html   |     8 +-
 .../KeyValueHeap.KVScannerComparator.html          |   805 +-
 .../hadoop/hbase/regionserver/KeyValueHeap.html    |   805 +-
 .../hadoop/hbase/regionserver/KeyValueScanner.html |    20 +-
 .../apache/hadoop/hbase/regionserver/MemStore.html |   247 +-
 .../MemStoreCompactorSegmentsIterator.html         |    43 +-
 .../hadoop/hbase/regionserver/MemStoreLAB.html     |    10 +-
 .../hadoop/hbase/regionserver/MemStoreLABImpl.html |   775 +-
 .../MemStoreMergerSegmentsIterator.html            |     6 +-
 .../regionserver/MemStoreSegmentsIterator.html     |     4 +-
 .../hadoop/hbase/regionserver/MobStoreScanner.html |   184 +-
 .../hadoop/hbase/regionserver/MutableSegment.html  |   137 +-
 .../hbase/regionserver/NonLazyKeyValueScanner.html |   107 +-
 .../NonReversedNonLazyKeyValueScanner.html         |     6 +-
 .../hbase/regionserver/RegionScannerImpl.html      |  1557 +-
 ...edKeyValueHeap.ReversedKVScannerComparator.html |   312 +-
 .../hbase/regionserver/ReversedKeyValueHeap.html   |   312 +-
 .../regionserver/ReversedMobStoreScanner.html      |   182 +-
 .../hbase/regionserver/ReversedStoreScanner.html   |   201 +-
 .../apache/hadoop/hbase/regionserver/Segment.html  |   808 +-
 .../hadoop/hbase/regionserver/SegmentFactory.html  |   265 +-
 .../hadoop/hbase/regionserver/SegmentScanner.html  |   701 +-
 .../hbase/regionserver/SnapshotSegmentScanner.html |    20 +-
 .../hadoop/hbase/regionserver/StoreFile.html       |     8 +-
 .../hadoop/hbase/regionserver/StoreFileReader.html |  1265 +-
 .../hbase/regionserver/StoreFileScanner.html       |  1396 +-
 .../regionserver/StoreFileWriter.Builder.html      |  1925 +-
 .../StoreFileWriter.SingleStoreFileWriter.html     |  1925 +-
 .../hadoop/hbase/regionserver/StoreFileWriter.html |  1925 +-
 .../hadoop/hbase/regionserver/StoreFlusher.html    |    49 +-
 .../hadoop/hbase/regionserver/StoreScanner.html    |  2483 +--
 .../hadoop/hbase/regionserver/StoreUtils.html      |   349 +-
 .../StripeMultiFileWriter.BoundaryMultiWriter.html |   699 +-
 .../StripeMultiFileWriter.SizeMultiWriter.html     |   699 +-
 .../hbase/regionserver/StripeMultiFileWriter.html  |   699 +-
 .../TimeRangeTracker.NonSyncTimeRangeTracker.html  |     4 +-
 .../TimeRangeTracker.SyncTimeRangeTracker.html     |     4 +-
 .../hbase/regionserver/TimeRangeTracker.Type.html  |     4 +-
 .../hbase/regionserver/TimeRangeTracker.html       |     4 +-
 .../compactions/Compactor.CellSinkFactory.html     |  1096 +-
 .../compactions/Compactor.FileDetails.html         |  1096 +-
 .../Compactor.InternalScannerFactory.html          |  1096 +-
 .../hbase/regionserver/compactions/Compactor.html  |  1096 +-
 .../regionserver/handler/ParallelSeekHandler.html  |     6 +-
 .../regionserver/querymatcher/ColumnTracker.html   |   143 +-
 .../querymatcher/CompactionScanQueryMatcher.html   |     8 +-
 .../querymatcher/DeleteTracker.DeleteResult.html   |     8 +-
 .../regionserver/querymatcher/DeleteTracker.html   |     8 +-
 .../DropDeletesCompactionScanQueryMatcher.html     |     4 +-
 .../querymatcher/ExplicitColumnTracker.html        |    12 +-
 .../IncludeAllCompactionQueryMatcher.html          |     4 +-
 .../MajorCompactionScanQueryMatcher.html           |     4 +-
 .../MinorCompactionScanQueryMatcher.html           |     4 +-
 ...wVersionBehaviorTracker.DeleteVersionsNode.html |    22 +-
 .../querymatcher/NewVersionBehaviorTracker.html    |    22 +-
 .../querymatcher/NormalUserScanQueryMatcher.html   |     4 +-
 .../querymatcher/RawScanQueryMatcher.html          |     4 +-
 .../querymatcher/ScanDeleteTracker.html            |    12 +-
 .../querymatcher/ScanQueryMatcher.MatchCode.html   |   771 +-
 .../querymatcher/ScanQueryMatcher.html             |   771 +-
 .../querymatcher/ScanWildcardColumnTracker.html    |    16 +-
 ...actionScanQueryMatcher.DropDeletesInOutput.html |     4 +-
 .../StripeCompactionScanQueryMatcher.html          |     4 +-
 .../querymatcher/UserScanQueryMatcher.html         |   540 +-
 .../wal/SecureWALCellCodec.EncryptedKvDecoder.html |   438 +-
 .../wal/SecureWALCellCodec.EncryptedKvEncoder.html |   438 +-
 .../hbase/regionserver/wal/SecureWALCellCodec.html |   438 +-
 .../wal/WALCellCodec.BaosAndCompressor.html        |   831 +-
 .../wal/WALCellCodec.ByteStringCompressor.html     |   831 +-
 .../wal/WALCellCodec.ByteStringUncompressor.html   |   831 +-
 .../wal/WALCellCodec.CompressedKvDecoder.html      |   831 +-
 .../wal/WALCellCodec.CompressedKvEncoder.html      |   831 +-
 .../wal/WALCellCodec.EnsureKvEncoder.html          |   831 +-
 .../wal/WALCellCodec.NoneCompressor.html           |   831 +-
 .../wal/WALCellCodec.NoneUncompressor.html         |   831 +-
 .../wal/WALCellCodec.StatelessUncompressor.html    |   831 +-
 .../hbase/regionserver/wal/WALCellCodec.html       |   831 +-
 .../access/AccessControlFilter.Strategy.html       |   341 +-
 .../hbase/security/access/AccessControlFilter.html |   341 +-
 .../security/access/AccessController.OpType.html   |  5096 +++---
 .../hbase/security/access/AccessController.html    |  5096 +++---
 .../DefaultVisibilityLabelServiceImpl.html         |  1386 +-
 ...er.DeleteVersionVisibilityExpressionFilter.html |  1968 +--
 .../security/visibility/VisibilityController.html  |  1968 +--
 ...isibilityNewVersionBehaivorTracker.TagInfo.html |    14 +-
 ...haivorTracker.VisibilityDeleteVersionsNode.html |    14 +-
 .../VisibilityNewVersionBehaivorTracker.html       |    14 +-
 .../visibility/VisibilityReplicationEndpoint.html  |   309 +-
 .../visibility/VisibilityScanDeleteTracker.html    |    14 +-
 .../hbase/security/visibility/VisibilityUtils.html |   325 +-
 .../tool/BulkLoadHFilesTool.BulkHFileVisitor.html  |  2297 +--
 .../hadoop/hbase/tool/BulkLoadHFilesTool.html      |  2297 +--
 .../org/apache/hadoop/hbase/util/BloomContext.html |   107 +-
 .../hadoop/hbase/util/CollectionBackedScanner.html |    34 +-
 .../apache/hadoop/hbase/util/CompressionTest.html  |   281 +-
 .../HBaseFsck.CheckRegionConsistencyWorkItem.html  |  7701 ++++----
 .../hbase/util/HBaseFsck.FileLockCallable.html     |  7701 ++++----
 .../hadoop/hbase/util/HBaseFsck.HBaseFsckTool.html |  7701 ++++----
 .../util/HBaseFsck.PrintingErrorReporter.html      |  7701 ++++----
 .../HBaseFsck.RegionBoundariesInformation.html     |  7701 ++++----
 .../hbase/util/HBaseFsck.WorkItemHdfsDir.html      |  7701 ++++----
 .../util/HBaseFsck.WorkItemHdfsRegionInfo.html     |  7701 ++++----
 .../hbase/util/HBaseFsck.WorkItemOverlapMerge.html |  7701 ++++----
 .../hbase/util/HBaseFsck.WorkItemRegion.html       |  7701 ++++----
 .../org/apache/hadoop/hbase/util/HBaseFsck.html    |  7701 ++++----
 .../apache/hadoop/hbase/util/RowBloomContext.html  |     8 +-
 .../hadoop/hbase/util/RowColBloomContext.html      |    10 +-
 .../util/RowPrefixFixedLengthBloomContext.html     |    64 +-
 .../wal/BoundedRecoveredHFilesOutputSink.html      |   348 +-
 .../org/apache/hadoop/hbase/wal/WALEdit.html       |     2 +-
 .../apache/hadoop/hbase/wal/WALPrettyPrinter.html  |   914 +-
 doap_Hbase.rdf                                     |     2 +-
 downloads.html                                     |     2 +-
 export_control.html                                |     2 +-
 index.html                                         |     2 +-
 issue-management.html                              |     2 +-
 licenses.html                                      |     2 +-
 mailing-lists.html                                 |     2 +-
 metrics.html                                       |     2 +-
 old_news.html                                      |     2 +-
 plugin-management.html                             |     2 +-
 plugins.html                                       |     2 +-
 poweredbyhbase.html                                |     2 +-
 project-info.html                                  |     2 +-
 project-reports.html                               |     2 +-
 pseudo-distributed.html                            |     2 +-
 replication.html                                   |     2 +-
 resources.html                                     |     2 +-
 scm.html                                           |     2 +-
 sponsors.html                                      |     2 +-
 summary.html                                       |     2 +-
 supportingprojects.html                            |     2 +-
 team.html                                          |     2 +-
 testdevapidocs/index-all.html                      |    64 +-
 .../hadoop/hbase/HFilePerformanceEvaluation.html   |    20 +-
 .../hbase/backup/master/TestBackupLogCleaner.html  |    40 +-
 .../hadoop/hbase/io/TestHalfStoreFileReader.html   |    36 +-
 .../hbase/io/encoding/TestDataBlockEncoders.html   |    66 +-
 .../io/encoding/TestSeekToBlockWithEncoders.html   |    52 +-
 .../apache/hadoop/hbase/io/hfile/TestHFile.html    |    62 +-
 .../TestHFileBlockHeaderCorruption.Corrupter.html  |    14 +-
 ...FileBlockHeaderCorruption.CountingConsumer.html |    12 +-
 ...HeaderCorruption.HFileBlockChannelPosition.html |    16 +-
 ...leBlockChannelPositionIterator.CloseMethod.html |     4 +-
 ...rruption.HFileBlockChannelPositionIterator.html |    20 +-
 ...stHFileBlockHeaderCorruption.HFileTestRule.html |    26 +-
 ...eBlockHeaderCorruption.IsThrowableMatching.html |    16 +-
 .../io/hfile/TestHFileBlockHeaderCorruption.html   |    20 +-
 .../hbase/io/hfile/TestHFileDataBlockEncoder.html  |     4 +-
 .../hfile/TestHFileScannerImplReferenceCount.html  |     8 +-
 .../apache/hadoop/hbase/io/hfile/TestReseekTo.html |     2 +-
 .../io/hfile/TestSeekBeforeWithInlineBlocks.html   |    44 +-
 .../apache/hadoop/hbase/io/hfile/TestSeekTo.html   |     2 +-
 .../hadoop/hbase/io/hfile/package-summary.html     |     4 +-
 .../apache/hadoop/hbase/io/hfile/package-tree.html |     2 +-
 .../TestImportExport.MetadataController.html       |     8 +-
 .../TestImportExport.TableWALActionListener.html   |    12 +-
 .../hadoop/hbase/mapreduce/TestImportExport.html   |    94 +-
 .../hadoop/hbase/mob/FaultyMobStoreCompactor.html  |    18 +-
 .../org/apache/hadoop/hbase/package-tree.html      |    16 +-
 .../hadoop/hbase/procedure2/package-tree.html      |     4 +-
 .../regionserver/DelegatingKeyValueScanner.html    |    56 +-
 .../regionserver/EncodedSeekPerformanceTest.html   |    40 +-
 .../hbase/regionserver/KeyValueScanFixture.html    |     8 +-
 .../hadoop/hbase/regionserver/MockHStoreFile.html  |    70 +-
 .../hadoop/hbase/regionserver/TestCellFlatSet.html |    76 +-
 .../hbase/regionserver/TestCellSkipListSet.html    |    22 +-
 ...ingMemStore.EnvironmentEdgeForMemstoreTest.html |     8 +-
 ...estCompactingMemStore.MyCompactingMemStore.html |    10 +-
 .../hbase/regionserver/TestCompactingMemStore.html |    60 +-
 ...ultMemStore.EnvironmentEdgeForMemstoreTest.html |    10 +-
 .../TestDefaultMemStore.ReadOwnWritesTester.html   |    22 +-
 .../hbase/regionserver/TestDefaultMemStore.html    |   104 +-
 .../hadoop/hbase/regionserver/TestHMobStore.html   |   100 +-
 .../TestHStore.CustomDefaultMemStore.html          |     4 +-
 .../TestHStore.MyCompactingMemStore.html           |    14 +-
 .../TestHStore.MyCompactingMemStore2.html          |    30 +-
 .../TestHStore.MyCompactingMemStore3.html          |    28 +-
 .../TestHStore.MyCompactingMemStore4.html          |    32 +-
 .../TestHStore.MyCompactingMemStore5.html          |    38 +-
 .../TestHStore.MyCompactingMemStore6.html          |     8 +-
 ...re.MyCompactingMemStoreWithCustomCompactor.html |    10 +-
 .../regionserver/TestHStore.MyDefaultMemStore.html |    26 +-
 .../TestHStore.MyDefaultMemStore1.html             |     8 +-
 .../TestHStore.MyDefaultStoreFlusher.html          |    12 +-
 .../hbase/regionserver/TestHStore.MyList.html      |    54 +-
 .../hbase/regionserver/TestHStore.MyListHook.html  |     4 +-
 .../TestHStore.MyMemStoreCompactor.html            |    10 +-
 .../hbase/regionserver/TestHStore.MyStore.html     |    10 +-
 .../hbase/regionserver/TestHStore.MyStoreHook.html |     8 +-
 .../hbase/regionserver/TestHStore.MyThread.html    |    12 +-
 .../hadoop/hbase/regionserver/TestHStore.html      |   104 +-
 .../TestKeyValueHeap.SeekTestScanner.html          |    20 +-
 .../regionserver/TestKeyValueHeap.TestScanner.html |    20 +-
 .../hbase/regionserver/TestKeyValueHeap.html       |    86 +-
 .../regionserver/TestMemStoreLAB.AllocRecord.html  |    14 +-
 .../hadoop/hbase/regionserver/TestMemStoreLAB.html |    38 +-
 .../regionserver/TestMemstoreLABWithoutPool.html   |     8 +-
 ...ureBulkLoadManager.MyExceptionToAvoidRetry.html |     6 +-
 .../regionserver/TestSecureBulkLoadManager.html    |    48 +-
 .../TestStoreScanner.CellGridStoreScanner.html     |    28 +-
 ...ner.CellWithVersionsNoOptimizeStoreScanner.html |    16 +-
 ...tStoreScanner.CellWithVersionsStoreScanner.html |    16 +-
 .../TestStoreScanner.KeyValueHeapWithCount.html    |    10 +-
 .../hbase/regionserver/TestStoreScanner.html       |   114 +-
 .../hadoop/hbase/regionserver/package-tree.html    |     6 +-
 ...yMatcher.AlwaysIncludeAndSeekNextRowFilter.html |     6 +-
 ...stUserScanQueryMatcher.AlwaysIncludeFilter.html |     6 +-
 .../querymatcher/TestUserScanQueryMatcher.html     |    24 +-
 .../AbstractTestWALReplay.CustomStoreFlusher.html  |     8 +-
 .../wal/AbstractTestWALReplay.MockWAL.html         |     8 +-
 .../wal/AbstractTestWALReplay.TestFlusher.html     |    18 +-
 .../regionserver/wal/AbstractTestWALReplay.html    |    88 +-
 .../org/apache/hadoop/hbase/test/package-tree.html |     4 +-
 .../apache/hadoop/hbase/util/HFileTestUtil.html    |    22 +-
 .../hadoop/hbase/util/RedundantKVGenerator.html    |     6 +-
 .../org/apache/hadoop/hbase/wal/package-tree.html  |     2 +-
 ...anceEvaluation.GaussianRandomReadBenchmark.html |    10 +-
 .../HFilePerformanceEvaluation.ReadBenchmark.html  |    10 +-
 ...PerformanceEvaluation.RowOrientedBenchmark.html |    10 +-
 ...formanceEvaluation.SequentialReadBenchmark.html |    10 +-
 ...ormanceEvaluation.SequentialWriteBenchmark.html |    10 +-
 ...manceEvaluation.UniformRandomReadBenchmark.html |    10 +-
 ...rformanceEvaluation.UniformRandomSmallScan.html |    10 +-
 .../hadoop/hbase/HFilePerformanceEvaluation.html   |    10 +-
 .../apache/hadoop/hbase/TestTagRewriteCell.html    |     6 +-
 .../hbase/backup/master/TestBackupLogCleaner.html  |   233 +-
 .../TestFromClientSideScanExcpetion.MyHRegion.html |     6 +-
 .../TestFromClientSideScanExcpetion.MyHStore.html  |     6 +-
 ...FromClientSideScanExcpetion.MyStoreScanner.html |     6 +-
 .../client/TestFromClientSideScanExcpetion.html    |     6 +-
 .../hadoop/hbase/io/TestHalfStoreFileReader.html   |   481 +-
 .../hbase/io/encoding/TestDataBlockEncoders.html   |   933 +-
 .../io/encoding/TestSeekToBlockWithEncoders.html   |   570 +-
 .../apache/hadoop/hbase/io/hfile/TestHFile.html    |  1153 +-
 .../TestHFileBlockHeaderCorruption.Corrupter.html  |   966 +-
 ...FileBlockHeaderCorruption.CountingConsumer.html |   966 +-
 ...HeaderCorruption.HFileBlockChannelPosition.html |   966 +-
 ...leBlockChannelPositionIterator.CloseMethod.html |   966 +-
 ...rruption.HFileBlockChannelPositionIterator.html |   966 +-
 ...stHFileBlockHeaderCorruption.HFileTestRule.html |   966 +-
 ...eBlockHeaderCorruption.IsThrowableMatching.html |   966 +-
 .../io/hfile/TestHFileBlockHeaderCorruption.html   |   966 +-
 .../hbase/io/hfile/TestHFileDataBlockEncoder.html  |     8 +-
 .../hfile/TestHFileScannerImplReferenceCount.html  |     6 +-
 .../io/hfile/TestSeekBeforeWithInlineBlocks.html   |   309 +-
 .../TestImportExport.MetadataController.html       |  1807 +-
 .../TestImportExport.TableWALActionListener.html   |  1807 +-
 .../hadoop/hbase/mapreduce/TestImportExport.html   |  1807 +-
 .../hadoop/hbase/mob/FaultyMobStoreCompactor.html  |   723 +-
 .../regionserver/DelegatingKeyValueScanner.html    |   109 +-
 .../regionserver/EncodedSeekPerformanceTest.html   |   313 +-
 .../hbase/regionserver/KeyValueScanFixture.html    |     6 +-
 .../hadoop/hbase/regionserver/MockHStoreFile.html  |   411 +-
 .../hadoop/hbase/regionserver/TestCellFlatSet.html |   692 +-
 .../hbase/regionserver/TestCellSkipListSet.html    |   311 +-
 ...ingMemStore.EnvironmentEdgeForMemstoreTest.html |  1789 +-
 ...estCompactingMemStore.MyCompactingMemStore.html |  1789 +-
 .../hbase/regionserver/TestCompactingMemStore.html |  1789 +-
 ...ultMemStore.EnvironmentEdgeForMemstoreTest.html |  2131 +--
 .../TestDefaultMemStore.ReadOwnWritesTester.html   |  2131 +--
 .../hbase/regionserver/TestDefaultMemStore.html    |  2131 +--
 .../hadoop/hbase/regionserver/TestHMobStore.html   |   987 +-
 .../TestHStore.CustomDefaultMemStore.html          |  4980 +++---
 .../regionserver/TestHStore.DummyStoreEngine.html  |  4980 +++---
 .../regionserver/TestHStore.FaultyFileSystem.html  |  4980 +++---
 .../TestHStore.FaultyOutputStream.html             |  4980 +++---
 .../TestHStore.MyCompactingMemStore.html           |  4980 +++---
 .../TestHStore.MyCompactingMemStore2.html          |  4980 +++---
 .../TestHStore.MyCompactingMemStore3.html          |  4980 +++---
 .../TestHStore.MyCompactingMemStore4.html          |  4980 +++---
 .../TestHStore.MyCompactingMemStore5.html          |  4980 +++---
 .../TestHStore.MyCompactingMemStore6.html          |  4980 +++---
 ...re.MyCompactingMemStoreWithCustomCompactor.html |  4980 +++---
 .../regionserver/TestHStore.MyDefaultMemStore.html |  4980 +++---
 .../TestHStore.MyDefaultMemStore1.html             |  4980 +++---
 .../TestHStore.MyDefaultStoreFlusher.html          |  4980 +++---
 .../hbase/regionserver/TestHStore.MyList.html      |  4980 +++---
 .../hbase/regionserver/TestHStore.MyListHook.html  |  4980 +++---
 .../TestHStore.MyMemStoreCompactor.html            |  4980 +++---
 .../hbase/regionserver/TestHStore.MyStore.html     |  4980 +++---
 .../hbase/regionserver/TestHStore.MyStoreHook.html |  4980 +++---
 .../hbase/regionserver/TestHStore.MyThread.html    |  4980 +++---
 .../hadoop/hbase/regionserver/TestHStore.html      |  4980 +++---
 .../TestKeyValueHeap.SeekTestScanner.html          |   485 +-
 .../regionserver/TestKeyValueHeap.TestScanner.html |   485 +-
 .../hbase/regionserver/TestKeyValueHeap.html       |   485 +-
 .../regionserver/TestMemStoreLAB.AllocRecord.html  |   691 +-
 .../hadoop/hbase/regionserver/TestMemStoreLAB.html |   691 +-
 .../regionserver/TestMemstoreLABWithoutPool.html   |     4 +-
 ...ureBulkLoadManager.MyExceptionToAvoidRetry.html |   465 +-
 .../regionserver/TestSecureBulkLoadManager.html    |   465 +-
 .../TestStoreScanner.CellGridStoreScanner.html     |  2107 +--
 ...ner.CellWithVersionsNoOptimizeStoreScanner.html |  2107 +--
 ...tStoreScanner.CellWithVersionsStoreScanner.html |  2107 +--
 .../TestStoreScanner.KeyValueHeapWithCount.html    |  2107 +--
 .../hbase/regionserver/TestStoreScanner.html       |  2107 +--
 ...yMatcher.AlwaysIncludeAndSeekNextRowFilter.html |   729 +-
 ...stUserScanQueryMatcher.AlwaysIncludeFilter.html |   729 +-
 .../querymatcher/TestUserScanQueryMatcher.html     |   729 +-
 .../AbstractTestWALReplay.CustomStoreFlusher.html  |  2275 +--
 .../wal/AbstractTestWALReplay.MockWAL.html         |  2275 +--
 .../wal/AbstractTestWALReplay.TestFlusher.html     |  2275 +--
 .../regionserver/wal/AbstractTestWALReplay.html    |  2275 +--
 .../apache/hadoop/hbase/util/HFileTestUtil.html    |   251 +-
 ...dundantKVGenerator.ExtendedOffheapKeyValue.html |     8 +-
 .../hadoop/hbase/util/RedundantKVGenerator.html    |     8 +-
 816 files changed, 352177 insertions(+), 351277 deletions(-)

diff --git a/acid-semantics.html b/acid-semantics.html
index eff896d6656..fcdd2801470 100644
--- a/acid-semantics.html
+++ b/acid-semantics.html
@@ -459,7 +459,7 @@
         All other marks mentioned may be trademarks or registered trademarks of their respective owners.
       </div>
       <div style="float: right">
-        Last Published: 2024-06-20
+        Last Published: 2024-06-21
       </div>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/apache_hbase_reference_guide.pdf b/apache_hbase_reference_guide.pdf
index 07f46882e14..e580a9ea628 100644
--- a/apache_hbase_reference_guide.pdf
+++ b/apache_hbase_reference_guide.pdf
@@ -5,8 +5,8 @@
 /Author (Apache HBase Team)
 /Creator (Asciidoctor PDF 2.0.6, based on Prawn 2.4.0)
 /Producer (Apache HBase Team)
-/ModDate (D:20240620143100+00'00')
-/CreationDate (D:20240620144302+00'00')
+/ModDate (D:20240621143052+00'00')
+/CreationDate (D:20240621144259+00'00')
 >>
 endobj
 2 0 obj
diff --git a/apidocs/index-all.html b/apidocs/index-all.html
index af3fb552741..2e0549938a8 100644
--- a/apidocs/index-all.html
+++ b/apidocs/index-all.html
@@ -2612,15 +2612,15 @@
 <dd>
 <div class="block">Constructs a <a href="org/apache/hadoop/hbase/client/RequestController.html" title="interface in org.apache.hadoop.hbase.client"><code>RequestController</code></a>.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/Result.html#create-java.util.List-">create(List&lt;Cell&gt;)</a></span> - Static method in class org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/Result.html#create-java.util.List-">create(List&lt;? extends Cell&gt;)</a></span> - Static method in class org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></dt>
 <dd>
 <div class="block">Instantiate a Result with the specified List of KeyValues.</div>
 </dd>
-<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-">create(List&lt;Cell&gt;, Boolean)</a></span> - Static method in class org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-">create(List&lt;? extends Cell&gt;, Boolean)</a></span> - Static method in class org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></dt>
 <dd>&nbsp;</dd>
-<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-boolean-">create(List&lt;Cell&gt;, Boolean, boolean)</a></span> - Static method in class org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-boolean-">create(List&lt;? extends Cell&gt;, Boolean, boolean)</a></span> - Static method in class org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></dt>
 <dd>&nbsp;</dd>
-<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-boolean-boolean-">create(List&lt;Cell&gt;, Boolean, boolean, boolean)</a></span> - Static method in class org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></dt>
+<dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-boolean-boolean-">create(List&lt;? extends Cell&gt;, Boolean, boolean, boolean)</a></span> - Static method in class org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></dt>
 <dd>&nbsp;</dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/client/Result.html#create-org.apache.hadoop.hbase.Cell:A-">create(Cell[])</a></span> - Static method in class org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></dt>
 <dd>
@@ -19666,7 +19666,7 @@ service.</div>
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/filter/Filter.html#transformCell-org.apache.hadoop.hbase.Cell-">transformCell(Cell)</a></span> - Method in class org.apache.hadoop.hbase.filter.<a href="org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a></dt>
 <dd>
-<div class="block">Give the filter a chance to transform the passed KeyValue.</div>
+<div class="block">Give the filter a chance to transform the passed Cell.</div>
 </dd>
 <dt><span class="memberNameLink"><a href="org/apache/hadoop/hbase/filter/FilterList.html#transformCell-org.apache.hadoop.hbase.Cell-">transformCell(Cell)</a></span> - Method in class org.apache.hadoop.hbase.filter.<a href="org/apache/hadoop/hbase/filter/FilterList.html" title="class in org.apache.hadoop.hbase.filter">FilterList</a></dt>
 <dd>&nbsp;</dd>
diff --git a/apidocs/org/apache/hadoop/hbase/class-use/Cell.html b/apidocs/org/apache/hadoop/hbase/class-use/Cell.html
index 6cd3bc1b8e1..84da955373d 100644
--- a/apidocs/org/apache/hadoop/hbase/class-use/Cell.html
+++ b/apidocs/org/apache/hadoop/hbase/class-use/Cell.html
@@ -772,24 +772,24 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods.</div>
 <tbody>
 <tr class="altColor">
 <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></td>
-<td class="colLast"><span class="typeNameLabel">Result.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;cells)</code>
+<td class="colLast"><span class="typeNameLabel">Result.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;cells)</code>
 <div class="block">Instantiate a Result with the specified List of KeyValues.</div>
 </td>
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></td>
-<td class="colLast"><span class="typeNameLabel">Result.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;cells,
+<td class="colLast"><span class="typeNameLabel">Result.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;& [...]
       <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;exists)</code>&nbsp;</td>
 </tr>
 <tr class="altColor">
 <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></td>
-<td class="colLast"><span class="typeNameLabel">Result.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nb [...]
+<td class="colLast"><span class="typeNameLabel">Result.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell< [...]
       <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;exists,
       boolean&nbsp;stale)</code>&nbsp;</td>
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></td>
-<td class="colLast"><span class="typeNameLabel">Result.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-boolean-boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a [...]
+<td class="colLast"><span class="typeNameLabel">Result.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-boolean-boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbas [...]
       <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;exists,
       boolean&nbsp;stale,
       boolean&nbsp;mayHaveMoreCellsInRow)</code>&nbsp;</td>
@@ -911,7 +911,7 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods.</div>
 <tr class="rowColor">
 <td class="colFirst"><code>abstract <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td>
 <td class="colLast"><span class="typeNameLabel">Filter.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html#transformCell-org.apache.hadoop.hbase.Cell-">transformCell</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;v)</code>
-<div class="block">Give the filter a chance to transform the passed KeyValue.</div>
+<div class="block">Give the filter a chance to transform the passed Cell.</div>
 </td>
 </tr>
 </tbody>
@@ -1203,7 +1203,7 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods.</div>
 <tr class="rowColor">
 <td class="colFirst"><code>abstract <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td>
 <td class="colLast"><span class="typeNameLabel">Filter.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html#transformCell-org.apache.hadoop.hbase.Cell-">transformCell</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;v)</code>
-<div class="block">Give the filter a chance to transform the passed KeyValue.</div>
+<div class="block">Give the filter a chance to transform the passed Cell.</div>
 </td>
 </tr>
 </tbody>
diff --git a/apidocs/org/apache/hadoop/hbase/client/Result.html b/apidocs/org/apache/hadoop/hbase/client/Result.html
index 1678d66b679..e18d627d4e8 100644
--- a/apidocs/org/apache/hadoop/hbase/client/Result.html
+++ b/apidocs/org/apache/hadoop/hbase/client/Result.html
@@ -324,24 +324,24 @@ implements <a href="../../../../../org/apache/hadoop/hbase/CellScannable.html" t
 </tr>
 <tr id="i16" class="altColor">
 <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;cells)</code>
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;cells)</code>
 <div class="block">Instantiate a Result with the specified List of KeyValues.</div>
 </td>
 </tr>
 <tr id="i17" class="rowColor">
 <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;cells,
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;cells,
       <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;exists)</code>&nbsp;</td>
 </tr>
 <tr id="i18" class="altColor">
 <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;cells,
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;cells,
       <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;exists,
       boolean&nbsp;stale)</code>&nbsp;</td>
 </tr>
 <tr id="i19" class="rowColor">
 <td class="colFirst"><code>static <a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></td>
-<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-boolean-boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;cells,
+<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-boolean-boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;cells,
       <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;exists,
       boolean&nbsp;stale,
       boolean&nbsp;mayHaveMoreCellsInRow)</code>&nbsp;</td>
@@ -602,7 +602,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/CellScannable.html" t
 <ul class="blockList">
 <li class="blockList">
 <h4>create</h4>
-<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.128">create</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.h [...]
+<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.128">create</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apach [...]
 <div class="block">Instantiate a Result with the specified List of KeyValues. <br>
  <strong>Note:</strong> You must ensure that the keyvalues are already sorted.</div>
 <dl>
@@ -617,7 +617,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/CellScannable.html" t
 <ul class="blockList">
 <li class="blockList">
 <h4>create</h4>
-<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.132">create</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.h [...]
+<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.132">create</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apach [...]
                             <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;exists)</pre>
 </li>
 </ul>
@@ -627,7 +627,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/CellScannable.html" t
 <ul class="blockList">
 <li class="blockList">
 <h4>create</h4>
-<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.136">create</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.h [...]
+<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.136">create</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apach [...]
                             <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;exists,
                             boolean&nbsp;stale)</pre>
 </li>
@@ -638,7 +638,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/CellScannable.html" t
 <ul class="blockList">
 <li class="blockList">
 <h4>create</h4>
-<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.140">create</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.h [...]
+<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/client/Result.html#line.140">create</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apach [...]
                             <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;exists,
                             boolean&nbsp;stale,
                             boolean&nbsp;mayHaveMoreCellsInRow)</pre>
diff --git a/apidocs/org/apache/hadoop/hbase/client/class-use/Result.html b/apidocs/org/apache/hadoop/hbase/client/class-use/Result.html
index 1b60a2e5e51..d7df9ce7549 100644
--- a/apidocs/org/apache/hadoop/hbase/client/class-use/Result.html
+++ b/apidocs/org/apache/hadoop/hbase/client/class-use/Result.html
@@ -184,24 +184,24 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods.</div>
 </tr>
 <tr class="altColor">
 <td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></td>
-<td class="colLast"><span class="typeNameLabel">Result.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;cells)</code>
+<td class="colLast"><span class="typeNameLabel">Result.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;cells)</code>
 <div class="block">Instantiate a Result with the specified List of KeyValues.</div>
 </td>
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></td>
-<td class="colLast"><span class="typeNameLabel">Result.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;cells,
+<td class="colLast"><span class="typeNameLabel">Result.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a [...]
       <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;exists)</code>&nbsp;</td>
 </tr>
 <tr class="altColor">
 <td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></td>
-<td class="colLast"><span class="typeNameLabel">Result.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>& [...]
+<td class="colLast"><span class="typeNameLabel">Result.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase" [...]
       <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;exists,
       boolean&nbsp;stale)</code>&nbsp;</td>
 </tr>
 <tr class="rowColor">
 <td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/hbase/client/Result.html" title="class in org.apache.hadoop.hbase.client">Result</a></code></td>
-<td class="colLast"><span class="typeNameLabel">Result.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-boolean-boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">C [...]
+<td class="colLast"><span class="typeNameLabel">Result.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/client/Result.html#create-java.util.List-java.lang.Boolean-boolean-boolean-">create</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;? extends <a href="../../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoo [...]
       <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;exists,
       boolean&nbsp;stale,
       boolean&nbsp;mayHaveMoreCellsInRow)</code>&nbsp;</td>
diff --git a/apidocs/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html b/apidocs/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html
index 4e2f789df7c..e8b08165a47 100644
--- a/apidocs/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html
+++ b/apidocs/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html
@@ -450,7 +450,9 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
  that, by default, returns a null Cell. If the filter returns the match code SEEK_NEXT_USING_HINT, then it should also tell which is
  the next key it must seek to. After receiving the match code SEEK_NEXT_USING_HINT, the
  QueryMatcher would call this function to find out which key it must next seek to. Concrete
- implementers can signal a failure condition in their code by throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.</div>
+ implementers can signal a failure condition in their code by throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.
+ <strong>NOTICE:</strong> Filter will be evaluate at server side so the returned <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>
+ must be an <code>ExtendedCell</code>, although it is marked as IA.Private.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code>getNextCellHint</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.filter.FilterBase</code></dd>
diff --git a/apidocs/org/apache/hadoop/hbase/filter/ColumnPrefixFilter.html b/apidocs/org/apache/hadoop/hbase/filter/ColumnPrefixFilter.html
index 869f5790d42..9dd5ca7d542 100644
--- a/apidocs/org/apache/hadoop/hbase/filter/ColumnPrefixFilter.html
+++ b/apidocs/org/apache/hadoop/hbase/filter/ColumnPrefixFilter.html
@@ -463,7 +463,9 @@ implements <a href="../../../../../org/apache/hadoop/hbase/filter/HintingFilter.
  that, by default, returns a null Cell. If the filter returns the match code SEEK_NEXT_USING_HINT, then it should also tell which is
  the next key it must seek to. After receiving the match code SEEK_NEXT_USING_HINT, the
  QueryMatcher would call this function to find out which key it must next seek to. Concrete
- implementers can signal a failure condition in their code by throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.</div>
+ implementers can signal a failure condition in their code by throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.
+ <strong>NOTICE:</strong> Filter will be evaluate at server side so the returned <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>
+ must be an <code>ExtendedCell</code>, although it is marked as IA.Private.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code>getNextCellHint</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.filter.FilterBase</code></dd>
diff --git a/apidocs/org/apache/hadoop/hbase/filter/ColumnRangeFilter.html b/apidocs/org/apache/hadoop/hbase/filter/ColumnRangeFilter.html
index 5b25b7ed549..978eaa626d3 100644
--- a/apidocs/org/apache/hadoop/hbase/filter/ColumnRangeFilter.html
+++ b/apidocs/org/apache/hadoop/hbase/filter/ColumnRangeFilter.html
@@ -591,7 +591,9 @@ implements <a href="../../../../../org/apache/hadoop/hbase/filter/HintingFilter.
  that, by default, returns a null Cell. If the filter returns the match code SEEK_NEXT_USING_HINT, then it should also tell which is
  the next key it must seek to. After receiving the match code SEEK_NEXT_USING_HINT, the
  QueryMatcher would call this function to find out which key it must next seek to. Concrete
- implementers can signal a failure condition in their code by throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.</div>
+ implementers can signal a failure condition in their code by throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.
+ <strong>NOTICE:</strong> Filter will be evaluate at server side so the returned <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>
+ must be an <code>ExtendedCell</code>, although it is marked as IA.Private.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code>getNextCellHint</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.filter.FilterBase</code></dd>
diff --git a/apidocs/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html b/apidocs/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html
index ac14f934219..700fbe51217 100644
--- a/apidocs/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html
+++ b/apidocs/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html
@@ -123,7 +123,7 @@ var activeTableTab = "activeTableTab";
 <hr>
 <br>
 <pre>@InterfaceAudience.Public
-public static enum <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.113">Filter.ReturnCode</a>
+public static enum <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.116">Filter.ReturnCode</a>
 extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a>&gt;</pre>
 <div class="block">Return codes for filterValue().</div>
 </li>
@@ -241,7 +241,7 @@ the order they are declared.</div>
 <ul class="blockList">
 <li class="blockList">
 <h4>INCLUDE</h4>
-<pre>public static final&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.117">INCLUDE</a></pre>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.120">INCLUDE</a></pre>
 <div class="block">Include the Cell</div>
 </li>
 </ul>
@@ -251,7 +251,7 @@ the order they are declared.</div>
 <ul class="blockList">
 <li class="blockList">
 <h4>INCLUDE_AND_NEXT_COL</h4>
-<pre>public static final&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.121">INCLUDE_AND_NEXT_COL</a></pre>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.124">INCLUDE_AND_NEXT_COL</a></pre>
 <div class="block">Include the Cell and seek to the next column skipping older versions.</div>
 </li>
 </ul>
@@ -261,7 +261,7 @@ the order they are declared.</div>
 <ul class="blockList">
 <li class="blockList">
 <h4>SKIP</h4>
-<pre>public static final&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.125">SKIP</a></pre>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.128">SKIP</a></pre>
 <div class="block">Skip this Cell</div>
 </li>
 </ul>
@@ -271,7 +271,7 @@ the order they are declared.</div>
 <ul class="blockList">
 <li class="blockList">
 <h4>NEXT_COL</h4>
-<pre>public static final&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.129">NEXT_COL</a></pre>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.132">NEXT_COL</a></pre>
 <div class="block">Skip this column. Go to the next column in this row.</div>
 </li>
 </ul>
@@ -281,7 +281,7 @@ the order they are declared.</div>
 <ul class="blockList">
 <li class="blockList">
 <h4>NEXT_ROW</h4>
-<pre>public static final&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.138">NEXT_ROW</a></pre>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.141">NEXT_ROW</a></pre>
 <div class="block">Seek to next row in current family. It may still pass a cell whose family is different but
  row is the same as previous cell to <a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html#filterCell-org.apache.hadoop.hbase.Cell-"><code>Filter.filterCell(Cell)</code></a> , even if we get a NEXT_ROW
  returned for previous cell. For more details see HBASE-18368. <br>
@@ -296,7 +296,7 @@ the order they are declared.</div>
 <ul class="blockList">
 <li class="blockList">
 <h4>SEEK_NEXT_USING_HINT</h4>
-<pre>public static final&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.142">SEEK_NEXT_USING_HINT</a></pre>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.145">SEEK_NEXT_USING_HINT</a></pre>
 <div class="block">Seek to next key which is given as hint by the filter.</div>
 </li>
 </ul>
@@ -306,7 +306,7 @@ the order they are declared.</div>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>INCLUDE_AND_SEEK_NEXT_ROW</h4>
-<pre>public static final&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.146">INCLUDE_AND_SEEK_NEXT_ROW</a></pre>
+<pre>public static final&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html#line.149">INCLUDE_AND_SEEK_NEXT_ROW</a></pre>
 <div class="block">Include KeyValue and done with row, seek to next. See NEXT_ROW.</div>
 </li>
 </ul>
diff --git a/apidocs/org/apache/hadoop/hbase/filter/Filter.html b/apidocs/org/apache/hadoop/hbase/filter/Filter.html
index 883980da68f..759392e234a 100644
--- a/apidocs/org/apache/hadoop/hbase/filter/Filter.html
+++ b/apidocs/org/apache/hadoop/hbase/filter/Filter.html
@@ -295,7 +295,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <tr id="i13" class="rowColor">
 <td class="colFirst"><code>abstract <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a></code></td>
 <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html#transformCell-org.apache.hadoop.hbase.Cell-">transformCell</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;v)</code>
-<div class="block">Give the filter a chance to transform the passed KeyValue.</div>
+<div class="block">Give the filter a chance to transform the passed Cell.</div>
 </td>
 </tr>
 </table>
@@ -445,15 +445,18 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>transformCell</h4>
-<pre>public abstract&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/filter/Filter.html#line.107">transformCell</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;v)
+<pre>public abstract&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/filter/Filter.html#line.110">transformCell</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;v)
                             throws <a href="https://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">Give the filter a chance to transform the passed KeyValue. If the Cell is changed a new Cell
- object must be returned.</div>
+<div class="block">Give the filter a chance to transform the passed Cell. If the Cell is changed a new Cell object
+ must be returned.
+ <p/>
+ <strong>NOTICE:</strong> Filter will be evaluate at server side so the returned <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>
+ must be an <code>ExtendedCell</code>, although it is marked as IA.Private.</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>v</code> - the KeyValue in question</dd>
+<dd><code>v</code> - the Cell in question</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
-<dd>the changed KeyValue</dd>
+<dd>the changed Cell</dd>
 <dt><span class="throwsLabel">Throws:</span></dt>
 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - in case an I/O or an filter specific failure needs to be signaled.</dd>
 <dt><span class="seeLabel">See Also:</span></dt>
@@ -471,7 +474,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>filterRowCells</h4>
-<pre>public abstract&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.156">filterRowCells</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;kvs)
+<pre>public abstract&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.159">filterRowCells</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;kvs)
                              throws <a href="https://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">Chance to alter the list of Cells to be submitted. Modifications to the list will carry on
  Concrete implementers can signal a failure condition in their code by throwing an
@@ -490,7 +493,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>hasFilterRow</h4>
-<pre>public abstract&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.163">hasFilterRow</a>()</pre>
+<pre>public abstract&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.166">hasFilterRow</a>()</pre>
 <div class="block">Primarily used to check for conflicts with scans(such as scans that do not read a full row at a
  time).</div>
 <dl>
@@ -505,7 +508,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>filterRow</h4>
-<pre>public abstract&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.173">filterRow</a>()
+<pre>public abstract&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.176">filterRow</a>()
                            throws <a href="https://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">Last chance to veto row based on previous <a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html#filterCell-org.apache.hadoop.hbase.Cell-"><code>filterCell(Cell)</code></a> calls. The filter needs to
  retain state then return a particular value for this call if they wish to exclude a row if a
@@ -525,12 +528,14 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>getNextCellHint</h4>
-<pre>public abstract&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/filter/Filter.html#line.184">getNextCellHint</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;currentCell)
+<pre>public abstract&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/filter/Filter.html#line.189">getNextCellHint</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;currentCell)
                               throws <a href="https://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">If the filter returns the match code SEEK_NEXT_USING_HINT, then it should also tell which is
  the next key it must seek to. After receiving the match code SEEK_NEXT_USING_HINT, the
  QueryMatcher would call this function to find out which key it must next seek to. Concrete
- implementers can signal a failure condition in their code by throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.</div>
+ implementers can signal a failure condition in their code by throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.
+ <strong>NOTICE:</strong> Filter will be evaluate at server side so the returned <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>
+ must be an <code>ExtendedCell</code>, although it is marked as IA.Private.</div>
 <dl>
 <dt><span class="returnLabel">Returns:</span></dt>
 <dd>KeyValue which must be next seeked. return null if the filter is not sure which key to
@@ -546,7 +551,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>isFamilyEssential</h4>
-<pre>public abstract&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.194">isFamilyEssential</a>(byte[]&nbsp;name)
+<pre>public abstract&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.199">isFamilyEssential</a>(byte[]&nbsp;name)
                                    throws <a href="https://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">Check that given column family is essential for filter to check row. Most filters always return
  true here. But some could have more sophisticated logic which could significantly reduce
@@ -565,7 +570,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>toByteArray</h4>
-<pre>public abstract&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.202">toByteArray</a>()
+<pre>public abstract&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.207">toByteArray</a>()
                             throws <a href="https://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">TODO: JAVADOC Concrete implementers can signal a failure condition in their code by throwing an
  <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.</div>
@@ -583,7 +588,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>parseFrom</h4>
-<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.212">parseFrom</a>(byte[]&nbsp;pbBytes)
+<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.217">parseFrom</a>(byte[]&nbsp;pbBytes)
                         throws org.apache.hadoop.hbase.exceptions.DeserializationException</pre>
 <div class="block">Concrete implementers can signal a failure condition in their code by throwing an
  <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.</div>
@@ -605,7 +610,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockList">
 <li class="blockList">
 <h4>setReversed</h4>
-<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.229">setReversed</a>(boolean&nbsp;reversed)</pre>
+<pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.234">setReversed</a>(boolean&nbsp;reversed)</pre>
 <div class="block">alter the reversed scan flag</div>
 <dl>
 <dt><span class="paramLabel">Parameters:</span></dt>
@@ -619,7 +624,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html
 <ul class="blockListLast">
 <li class="blockList">
 <h4>isReversed</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.233">isReversed</a>()</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/Filter.html#line.238">isReversed</a>()</pre>
 </li>
 </ul>
 </li>
diff --git a/apidocs/org/apache/hadoop/hbase/filter/FilterList.html b/apidocs/org/apache/hadoop/hbase/filter/FilterList.html
index 621df7e852d..7fd29a48906 100644
--- a/apidocs/org/apache/hadoop/hbase/filter/FilterList.html
+++ b/apidocs/org/apache/hadoop/hbase/filter/FilterList.html
@@ -357,7 +357,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <tr id="i21" 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="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/filter/FilterList.html#transformCell-org.apache.hadoop.hbase.Cell-">transformCell</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;c)</code>
-<div class="block">By default no transformation takes place Give the filter a chance to transform the passed KeyValue.</div>
+<div class="block">By default no transformation takes place Give the filter a chance to transform the passed Cell.</div>
 </td>
 </tr>
 </table>
@@ -598,15 +598,18 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <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/filter/FilterList.html#line.156">transformCell</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;c)
                    throws <a href="https://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="descfrmTypeLabel">Description copied from class:&nbsp;<code>org.apache.hadoop.hbase.filter.FilterBase</code></span></div>
-<div class="block">By default no transformation takes place Give the filter a chance to transform the passed KeyValue. If the Cell is changed a new Cell
- object must be returned.</div>
+<div class="block">By default no transformation takes place Give the filter a chance to transform the passed Cell. If the Cell is changed a new Cell object
+ must be returned.
+ <p/>
+ <strong>NOTICE:</strong> Filter will be evaluate at server side so the returned <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>
+ must be an <code>ExtendedCell</code>, although it is marked as IA.Private.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code>transformCell</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.filter.FilterBase</code></dd>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>c</code> - the KeyValue in question</dd>
+<dd><code>c</code> - the Cell in question</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
-<dd>the changed KeyValue</dd>
+<dd>the changed Cell</dd>
 <dt><span class="throwsLabel">Throws:</span></dt>
 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - in case an I/O or an filter specific failure needs to be signaled.</dd>
 <dt><span class="seeLabel">See Also:</span></dt>
@@ -769,7 +772,9 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
  that, by default, returns a null Cell. If the filter returns the match code SEEK_NEXT_USING_HINT, then it should also tell which is
  the next key it must seek to. After receiving the match code SEEK_NEXT_USING_HINT, the
  QueryMatcher would call this function to find out which key it must next seek to. Concrete
- implementers can signal a failure condition in their code by throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.</div>
+ implementers can signal a failure condition in their code by throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.
+ <strong>NOTICE:</strong> Filter will be evaluate at server side so the returned <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>
+ must be an <code>ExtendedCell</code>, although it is marked as IA.Private.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code>getNextCellHint</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.filter.FilterBase</code></dd>
diff --git a/apidocs/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html b/apidocs/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html
index 01d62c5c94c..52414a333e9 100644
--- a/apidocs/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html
+++ b/apidocs/org/apache/hadoop/hbase/filter/FuzzyRowFilter.html
@@ -413,7 +413,9 @@ implements <a href="../../../../../org/apache/hadoop/hbase/filter/HintingFilter.
  that, by default, returns a null Cell. If the filter returns the match code SEEK_NEXT_USING_HINT, then it should also tell which is
  the next key it must seek to. After receiving the match code SEEK_NEXT_USING_HINT, the
  QueryMatcher would call this function to find out which key it must next seek to. Concrete
- implementers can signal a failure condition in their code by throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.</div>
+ implementers can signal a failure condition in their code by throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.
+ <strong>NOTICE:</strong> Filter will be evaluate at server side so the returned <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>
+ must be an <code>ExtendedCell</code>, although it is marked as IA.Private.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code>getNextCellHint</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.filter.FilterBase</code></dd>
diff --git a/apidocs/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html b/apidocs/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html
index 02bb5ab6409..8634c218a38 100644
--- a/apidocs/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html
+++ b/apidocs/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html
@@ -120,7 +120,7 @@ var activeTableTab = "activeTableTab";
 <hr>
 <br>
 <pre>@InterfaceAudience.Public
-public class <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.50">KeyOnlyFilter</a>
+public class <a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.52">KeyOnlyFilter</a>
 extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <div class="block">A filter that will only return the key component of each KV (the value will be rewritten as
  empty).
@@ -233,7 +233,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <tr id="i7" 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="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#transformCell-org.apache.hadoop.hbase.Cell-">transformCell</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</code>
-<div class="block">By default no transformation takes place Give the filter a chance to transform the passed KeyValue.</div>
+<div class="block">By default no transformation takes place Give the filter a chance to transform the passed Cell.</div>
 </td>
 </tr>
 </table>
@@ -278,7 +278,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <ul class="blockList">
 <li class="blockList">
 <h4>KeyOnlyFilter</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.54">KeyOnlyFilter</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.56">KeyOnlyFilter</a>()</pre>
 </li>
 </ul>
 <a name="KeyOnlyFilter-boolean-">
@@ -287,7 +287,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>KeyOnlyFilter</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.58">KeyOnlyFilter</a>(boolean&nbsp;lenAsVal)</pre>
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.60">KeyOnlyFilter</a>(boolean&nbsp;lenAsVal)</pre>
 </li>
 </ul>
 </li>
@@ -304,7 +304,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <ul class="blockList">
 <li class="blockList">
 <h4>filterRowKey</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.63">filterRowKey</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;cell)
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.65">filterRowKey</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;cell)
                      throws <a href="https://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="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html#filterRowKey-org.apache.hadoop.hbase.Cell-">Filter</a></code></span></div>
 <div class="block">Filters a row based on the row key. If this returns true, the entire row will be excluded. If
@@ -330,17 +330,20 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <ul class="blockList">
 <li class="blockList">
 <h4>transformCell</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/filter/KeyOnlyFilter.html#line.69">transformCell</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</pre>
+<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/filter/KeyOnlyFilter.html#line.71">transformCell</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;cell)</pre>
 <div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code>org.apache.hadoop.hbase.filter.FilterBase</code></span></div>
-<div class="block">By default no transformation takes place Give the filter a chance to transform the passed KeyValue. If the Cell is changed a new Cell
- object must be returned.</div>
+<div class="block">By default no transformation takes place Give the filter a chance to transform the passed Cell. If the Cell is changed a new Cell object
+ must be returned.
+ <p/>
+ <strong>NOTICE:</strong> Filter will be evaluate at server side so the returned <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>
+ must be an <code>ExtendedCell</code>, although it is marked as IA.Private.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code>transformCell</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.filter.FilterBase</code></dd>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>cell</code> - the KeyValue in question</dd>
+<dd><code>cell</code> - the Cell in question</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
-<dd>the changed KeyValue</dd>
+<dd>the changed Cell</dd>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><code>The transformed KeyValue is what is
       eventually returned to the client. Most filters will return the passed KeyValue unchanged.</code>, 
@@ -356,7 +359,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <ul class="blockList">
 <li class="blockList">
 <h4>filterCell</h4>
-<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.82">filterCell</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;ignored)
+<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter">Filter.ReturnCode</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.84">filterCell</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;ignored)
                              throws <a href="https://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="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html#filterCell-org.apache.hadoop.hbase.Cell-">Filter</a></code></span></div>
 <div class="block">A way to filter based on the column family, column qualifier and/or the column value. Return
@@ -387,7 +390,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <ul class="blockList">
 <li class="blockList">
 <h4>createFilterFromArguments</h4>
-<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.86">createFilterFromArguments</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;byte[]&gt;&nbsp;filterArguments)</pre>
+<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/Filter.html" title="class in org.apache.hadoop.hbase.filter">Filter</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.88">createFilterFromArguments</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;byte[]&gt;&nbsp;filterArguments)</pre>
 </li>
 </ul>
 <a name="toByteArray--">
@@ -396,7 +399,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <ul class="blockList">
 <li class="blockList">
 <h4>toByteArray</h4>
-<pre>public&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.98">toByteArray</a>()</pre>
+<pre>public&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.100">toByteArray</a>()</pre>
 <div class="block">Returns The filter serialized using pb</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
@@ -412,7 +415,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <ul class="blockList">
 <li class="blockList">
 <h4>parseFrom</h4>
-<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/KeyOnlyFilter.html" title="class in org.apache.hadoop.hbase.filter">KeyOnlyFilter</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.111">parseFrom</a>(byte[]&nbsp;pbBytes)
+<pre>public static&nbsp;<a href="../../../../../org/apache/hadoop/hbase/filter/KeyOnlyFilter.html" title="class in org.apache.hadoop.hbase.filter">KeyOnlyFilter</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.113">parseFrom</a>(byte[]&nbsp;pbBytes)
                                throws org.apache.hadoop.hbase.exceptions.DeserializationException</pre>
 <div class="block">Parse a serialized representation of <a href="../../../../../org/apache/hadoop/hbase/filter/KeyOnlyFilter.html" title="class in org.apache.hadoop.hbase.filter"><code>KeyOnlyFilter</code></a></div>
 <dl>
@@ -433,7 +436,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <ul class="blockList">
 <li class="blockList">
 <h4>equals</h4>
-<pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.138">equals</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</pre>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.140">equals</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;obj)</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
@@ -446,7 +449,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <ul class="blockListLast">
 <li class="blockList">
 <h4>hashCode</h4>
-<pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.143">hashCode</a>()</pre>
+<pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html#line.145">hashCode</a>()</pre>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
diff --git a/apidocs/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html b/apidocs/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html
index 5a4698a2642..c52a0297b49 100644
--- a/apidocs/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html
+++ b/apidocs/org/apache/hadoop/hbase/filter/MultiRowRangeFilter.html
@@ -442,7 +442,9 @@ implements <a href="../../../../../org/apache/hadoop/hbase/filter/HintingFilter.
  that, by default, returns a null Cell. If the filter returns the match code SEEK_NEXT_USING_HINT, then it should also tell which is
  the next key it must seek to. After receiving the match code SEEK_NEXT_USING_HINT, the
  QueryMatcher would call this function to find out which key it must next seek to. Concrete
- implementers can signal a failure condition in their code by throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.</div>
+ implementers can signal a failure condition in their code by throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.
+ <strong>NOTICE:</strong> Filter will be evaluate at server side so the returned <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>
+ must be an <code>ExtendedCell</code>, although it is marked as IA.Private.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code>getNextCellHint</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.filter.FilterBase</code></dd>
diff --git a/apidocs/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.html b/apidocs/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.html
index c8ae45d446a..992d8cc322a 100644
--- a/apidocs/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.html
+++ b/apidocs/org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.html
@@ -484,7 +484,9 @@ implements <a href="../../../../../org/apache/hadoop/hbase/filter/HintingFilter.
  that, by default, returns a null Cell. If the filter returns the match code SEEK_NEXT_USING_HINT, then it should also tell which is
  the next key it must seek to. After receiving the match code SEEK_NEXT_USING_HINT, the
  QueryMatcher would call this function to find out which key it must next seek to. Concrete
- implementers can signal a failure condition in their code by throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.</div>
+ implementers can signal a failure condition in their code by throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>.
+ <strong>NOTICE:</strong> Filter will be evaluate at server side so the returned <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>
+ must be an <code>ExtendedCell</code>, although it is marked as IA.Private.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code>getNextCellHint</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.filter.FilterBase</code></dd>
diff --git a/apidocs/org/apache/hadoop/hbase/filter/SkipFilter.html b/apidocs/org/apache/hadoop/hbase/filter/SkipFilter.html
index 43a627edf87..a1749b0c21f 100644
--- a/apidocs/org/apache/hadoop/hbase/filter/SkipFilter.html
+++ b/apidocs/org/apache/hadoop/hbase/filter/SkipFilter.html
@@ -274,7 +274,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <tr id="i12" class="altColor">
 <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="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/filter/SkipFilter.html#transformCell-org.apache.hadoop.hbase.Cell-">transformCell</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;v)</code>
-<div class="block">By default no transformation takes place Give the filter a chance to transform the passed KeyValue.</div>
+<div class="block">By default no transformation takes place Give the filter a chance to transform the passed Cell.</div>
 </td>
 </tr>
 </table>
@@ -425,15 +425,18 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <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/filter/SkipFilter.html#line.85">transformCell</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;v)
                    throws <a href="https://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="descfrmTypeLabel">Description copied from class:&nbsp;<code>org.apache.hadoop.hbase.filter.FilterBase</code></span></div>
-<div class="block">By default no transformation takes place Give the filter a chance to transform the passed KeyValue. If the Cell is changed a new Cell
- object must be returned.</div>
+<div class="block">By default no transformation takes place Give the filter a chance to transform the passed Cell. If the Cell is changed a new Cell object
+ must be returned.
+ <p/>
+ <strong>NOTICE:</strong> Filter will be evaluate at server side so the returned <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>
+ must be an <code>ExtendedCell</code>, although it is marked as IA.Private.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code>transformCell</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.filter.FilterBase</code></dd>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>v</code> - the KeyValue in question</dd>
+<dd><code>v</code> - the Cell in question</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
-<dd>the changed KeyValue</dd>
+<dd>the changed Cell</dd>
 <dt><span class="throwsLabel">Throws:</span></dt>
 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - in case an I/O or an filter specific failure needs to be signaled.</dd>
 <dt><span class="seeLabel">See Also:</span></dt>
diff --git a/apidocs/org/apache/hadoop/hbase/filter/WhileMatchFilter.html b/apidocs/org/apache/hadoop/hbase/filter/WhileMatchFilter.html
index 7014e7e0881..0da65fca9e3 100644
--- a/apidocs/org/apache/hadoop/hbase/filter/WhileMatchFilter.html
+++ b/apidocs/org/apache/hadoop/hbase/filter/WhileMatchFilter.html
@@ -271,7 +271,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <tr id="i13" 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="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/filter/WhileMatchFilter.html#transformCell-org.apache.hadoop.hbase.Cell-">transformCell</a></span>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;v)</code>
-<div class="block">By default no transformation takes place Give the filter a chance to transform the passed KeyValue.</div>
+<div class="block">By default no transformation takes place Give the filter a chance to transform the passed Cell.</div>
 </td>
 </tr>
 </table>
@@ -444,15 +444,18 @@ extends org.apache.hadoop.hbase.filter.FilterBase</pre>
 <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/filter/WhileMatchFilter.html#line.81">transformCell</a>(<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&nbsp;v)
                    throws <a href="https://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="descfrmTypeLabel">Description copied from class:&nbsp;<code>org.apache.hadoop.hbase.filter.FilterBase</code></span></div>
-<div class="block">By default no transformation takes place Give the filter a chance to transform the passed KeyValue. If the Cell is changed a new Cell
- object must be returned.</div>
+<div class="block">By default no transformation takes place Give the filter a chance to transform the passed Cell. If the Cell is changed a new Cell object
+ must be returned.
+ <p/>
+ <strong>NOTICE:</strong> Filter will be evaluate at server side so the returned <a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase"><code>Cell</code></a>
+ must be an <code>ExtendedCell</code>, although it is marked as IA.Private.</div>
 <dl>
 <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
 <dd><code>transformCell</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.filter.FilterBase</code></dd>
 <dt><span class="paramLabel">Parameters:</span></dt>
-<dd><code>v</code> - the KeyValue in question</dd>
+<dd><code>v</code> - the Cell in question</dd>
 <dt><span class="returnLabel">Returns:</span></dt>
-<dd>the changed KeyValue</dd>
+<dd>the changed Cell</dd>
 <dt><span class="throwsLabel">Throws:</span></dt>
 <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - in case an I/O or an filter specific failure needs to be signaled.</dd>
 <dt><span class="seeLabel">See Also:</span></dt>
diff --git a/apidocs/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html b/apidocs/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html
index 0ceb61ac86c..a609bc19163 100644
--- a/apidocs/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html
+++ b/apidocs/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html
@@ -124,7 +124,7 @@ var activeTableTab = "activeTableTab";
 <hr>
 <br>
 <pre>@InterfaceAudience.Public
-public class <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.105">HFileOutputFormat2</a>
+public class <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.106">HFileOutputFormat2</a>
 extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../../../../../org/apache/hadoop/hbase/io/ImmutableBytesWritable.html" title="class in org.apache.hadoop.hbase.io">ImmutableBytesWritable</a>,<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;</pre>
 <div class="block">Writes HFiles. Passed Cells must arrive in order. Writes current time as the sequence id for the
  file. Sets the major compacted attribute on created <code>HFile</code>s. Calling write(null,null) will
@@ -309,7 +309,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockList">
 <li class="blockList">
 <h4>tableSeparator</h4>
-<pre>protected static final&nbsp;byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.126">tableSeparator</a></pre>
+<pre>protected static final&nbsp;byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.127">tableSeparator</a></pre>
 </li>
 </ul>
 <a name="DATABLOCK_ENCODING_OVERRIDE_CONF_KEY">
@@ -318,7 +318,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockList">
 <li class="blockList">
 <h4>DATABLOCK_ENCODING_OVERRIDE_CONF_KEY</h4>
-<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.148">DATABLOCK_ENCODING_OVERRIDE_CONF_KEY</a></pre>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.149">DATABLOCK_ENCODING_OVERRIDE_CONF_KEY</a></pre>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.DATABLOCK_ENCODING_OVERRIDE_CONF_KEY">Constant Field Values</a></dd>
@@ -331,7 +331,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockList">
 <li class="blockList">
 <h4>COMPRESSION_OVERRIDE_CONF_KEY</h4>
-<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.150">COMPRESSION_OVERRIDE_CONF_KEY</a></pre>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.151">COMPRESSION_OVERRIDE_CONF_KEY</a></pre>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.COMPRESSION_OVERRIDE_CONF_KEY">Constant Field Values</a></dd>
@@ -344,7 +344,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockList">
 <li class="blockList">
 <h4>LOCALITY_SENSITIVE_CONF_KEY</h4>
-<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.156">LOCALITY_SENSITIVE_CONF_KEY</a></pre>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.157">LOCALITY_SENSITIVE_CONF_KEY</a></pre>
 <div class="block">Keep locality while generating HFiles for bulkload. See HBASE-12596</div>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
@@ -358,7 +358,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockList">
 <li class="blockList">
 <h4>REMOTE_CLUSTER_CONF_PREFIX</h4>
-<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.172">REMOTE_CLUSTER_CONF_PREFIX</a></pre>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.173">REMOTE_CLUSTER_CONF_PREFIX</a></pre>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.REMOTE_CLUSTER_CONF_PREFIX">Constant Field Values</a></dd>
@@ -371,7 +371,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockList">
 <li class="blockList">
 <h4>REMOTE_CLUSTER_ZOOKEEPER_QUORUM_CONF_KEY</h4>
-<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.173">REMOTE_CLUSTER_ZOOKEEPER_QUORUM_CONF_KEY</a></pre>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.174">REMOTE_CLUSTER_ZOOKEEPER_QUORUM_CONF_KEY</a></pre>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.REMOTE_CLUSTER_ZOOKEEPER_QUORUM_CONF_KEY">Constant Field Values</a></dd>
@@ -384,7 +384,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockList">
 <li class="blockList">
 <h4>REMOTE_CLUSTER_ZOOKEEPER_CLIENT_PORT_CONF_KEY</h4>
-<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.175">REMOTE_CLUSTER_ZOOKEEPER_CLIENT_PORT_CONF_KEY</a></pre>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.176">REMOTE_CLUSTER_ZOOKEEPER_CLIENT_PORT_CONF_KEY</a></pre>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.REMOTE_CLUSTER_ZOOKEEPER_CLIENT_PORT_CONF_KEY">Constant Field Values</a></dd>
@@ -397,7 +397,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockList">
 <li class="blockList">
 <h4>REMOTE_CLUSTER_ZOOKEEPER_ZNODE_PARENT_CONF_KEY</h4>
-<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.177">REMOTE_CLUSTER_ZOOKEEPER_ZNODE_PARENT_CONF_KEY</a></pre>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.178">REMOTE_CLUSTER_ZOOKEEPER_ZNODE_PARENT_CONF_KEY</a></pre>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.REMOTE_CLUSTER_ZOOKEEPER_ZNODE_PARENT_CONF_KEY">Constant Field Values</a></dd>
@@ -410,7 +410,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockList">
 <li class="blockList">
 <h4>STORAGE_POLICY_PROPERTY</h4>
-<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.180">STORAGE_POLICY_PROPERTY</a></pre>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.181">STORAGE_POLICY_PROPERTY</a></pre>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.STORAGE_POLICY_PROPERTY">Constant Field Values</a></dd>
@@ -423,7 +423,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockListLast">
 <li class="blockList">
 <h4>STORAGE_POLICY_PROPERTY_CF_PREFIX</h4>
-<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.181">STORAGE_POLICY_PROPERTY_CF_PREFIX</a></pre>
+<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.182">STORAGE_POLICY_PROPERTY_CF_PREFIX</a></pre>
 <dl>
 <dt><span class="seeLabel">See Also:</span></dt>
 <dd><a href="../../../../../constant-values.html#org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.STORAGE_POLICY_PROPERTY_CF_PREFIX">Constant Field Values</a></dd>
@@ -444,7 +444,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockListLast">
 <li class="blockList">
 <h4>HFileOutputFormat2</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.105">HFileOutputFormat2</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.106">HFileOutputFormat2</a>()</pre>
 </li>
 </ul>
 </li>
@@ -461,7 +461,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockList">
 <li class="blockList">
 <h4>combineTableNameSuffix</h4>
-<pre>protected static&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.128">combineTableNameSuffix</a>(byte[]&nbsp;tableName,
+<pre>protected static&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.129">combineTableNameSuffix</a>(byte[]&nbsp;tableName,
                                                byte[]&nbsp;suffix)</pre>
 </li>
 </ul>
@@ -471,7 +471,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockList">
 <li class="blockList">
 <h4>getRecordWriter</h4>
-<pre>public&nbsp;org.apache.hadoop.mapreduce.RecordWriter&lt;<a href="../../../../../org/apache/hadoop/hbase/io/ImmutableBytesWritable.html" title="class in org.apache.hadoop.hbase.io">ImmutableBytesWritable</a>,<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.185">getRecordWriter</a>(org.apache.hadoop.mapreduce.TaskAttem [...]
+<pre>public&nbsp;org.apache.hadoop.mapreduce.RecordWriter&lt;<a href="../../../../../org/apache/hadoop/hbase/io/ImmutableBytesWritable.html" title="class in org.apache.hadoop.hbase.io">ImmutableBytesWritable</a>,<a href="../../../../../org/apache/hadoop/hbase/Cell.html" title="interface in org.apache.hadoop.hbase">Cell</a>&gt;&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.186">getRecordWriter</a>(org.apache.hadoop.mapreduce.TaskAttem [...]
                                                                                       throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
                                                                                              <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
 <dl>
@@ -489,7 +489,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockList">
 <li class="blockList">
 <h4>getTableNameSuffixedWithFamily</h4>
-<pre>protected static&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.189">getTableNameSuffixedWithFamily</a>(byte[]&nbsp;tableName,
+<pre>protected static&nbsp;byte[]&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.190">getTableNameSuffixedWithFamily</a>(byte[]&nbsp;tableName,
                                                        byte[]&nbsp;family)</pre>
 </li>
 </ul>
@@ -499,7 +499,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockList">
 <li class="blockList">
 <h4>configureIncrementalLoad</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.575">configureIncrementalLoad</a>(org.apache.hadoop.mapreduce.Job&nbsp;job,
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.576">configureIncrementalLoad</a>(org.apache.hadoop.mapreduce.Job&nbsp;job,
                                             <a href="../../../../../org/apache/hadoop/hbase/client/Table.html" title="interface in org.apache.hadoop.hbase.client">Table</a>&nbsp;table,
                                             <a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a>&nbsp;regionLocator)
                                      throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
@@ -527,7 +527,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockList">
 <li class="blockList">
 <h4>configureIncrementalLoad</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.594">configureIncrementalLoad</a>(org.apache.hadoop.mapreduce.Job&nbsp;job,
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.595">configureIncrementalLoad</a>(org.apache.hadoop.mapreduce.Job&nbsp;job,
                                             <a href="../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a>&nbsp;tableDescriptor,
                                             <a href="../../../../../org/apache/hadoop/hbase/client/RegionLocator.html" title="interface in org.apache.hadoop.hbase.client">RegionLocator</a>&nbsp;regionLocator)
                                      throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
@@ -554,7 +554,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockList">
 <li class="blockList">
 <h4>configureIncrementalLoadMap</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.708">configureIncrementalLoadMap</a>(org.apache.hadoop.mapreduce.Job&nbsp;job,
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.709">configureIncrementalLoadMap</a>(org.apache.hadoop.mapreduce.Job&nbsp;job,
                                                <a href="../../../../../org/apache/hadoop/hbase/client/TableDescriptor.html" title="interface in org.apache.hadoop.hbase.client">TableDescriptor</a>&nbsp;tableDescriptor)
                                         throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
 <dl>
@@ -569,7 +569,7 @@ extends org.apache.hadoop.mapreduce.lib.output.FileOutputFormat&lt;<a href="../.
 <ul class="blockListLast">
 <li class="blockList">
 <h4>configureRemoteCluster</h4>
-<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.755">configureRemoteCluster</a>(org.apache.hadoop.mapreduce.Job&nbsp;job,
+<pre>public static&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html#line.756">configureRemoteCluster</a>(org.apache.hadoop.mapreduce.Job&nbsp;job,
                                           org.apache.hadoop.conf.Configuration&nbsp;clusterConf)</pre>
 <div class="block">Configure HBase cluster key for remote cluster to load region location for locality-sensitive
  if it's enabled. It's not necessary to call this method explicitly when the cluster key for
diff --git a/apidocs/org/apache/hadoop/hbase/mapreduce/PutCombiner.html b/apidocs/org/apache/hadoop/hbase/mapreduce/PutCombiner.html
index 5bf0b6fe08e..78ce12c7d38 100644
--- a/apidocs/org/apache/hadoop/hbase/mapreduce/PutCombiner.html
+++ b/apidocs/org/apache/hadoop/hbase/mapreduce/PutCombiner.html
@@ -115,7 +115,7 @@ var activeTableTab = "activeTableTab";
 <hr>
 <br>
 <pre>@InterfaceAudience.Public
-public class <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/PutCombiner.html#line.38">PutCombiner</a>&lt;K&gt;
+public class <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/PutCombiner.html#line.39">PutCombiner</a>&lt;K&gt;
 extends org.apache.hadoop.mapreduce.Reducer&lt;K,<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>,K,<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>&gt;</pre>
 <div class="block">Combine Puts. Merges Put instances grouped by <code>K</code> into a single instance.</div>
 <dl>
@@ -198,7 +198,7 @@ extends org.apache.hadoop.mapreduce.Reducer&lt;K,<a href="../../../../../org/apa
 <ul class="blockListLast">
 <li class="blockList">
 <h4>PutCombiner</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/PutCombiner.html#line.38">PutCombiner</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/PutCombiner.html#line.39">PutCombiner</a>()</pre>
 </li>
 </ul>
 </li>
@@ -217,7 +217,7 @@ extends org.apache.hadoop.mapreduce.Reducer&lt;K,<a href="../../../../../org/apa
 <ul class="blockListLast">
 <li class="blockList">
 <h4>reduce</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/PutCombiner.html#line.42">reduce</a>(<a href="../../../../../org/apache/hadoop/hbase/mapreduce/PutCombiner.html" title="type parameter in PutCombiner">K</a>&nbsp;row,
+<pre>protected&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/PutCombiner.html#line.43">reduce</a>(<a href="../../../../../org/apache/hadoop/hbase/mapreduce/PutCombiner.html" title="type parameter in PutCombiner">K</a>&nbsp;row,
                       <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>&gt;&nbsp;vals,
                       org.apache.hadoop.mapreduce.Reducer.Context&nbsp;context)
                throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
diff --git a/apidocs/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html b/apidocs/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html
index 8c693c2542e..a147efc69c3 100644
--- a/apidocs/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html
+++ b/apidocs/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html
@@ -115,7 +115,7 @@ var activeTableTab = "activeTableTab";
 <hr>
 <br>
 <pre>@InterfaceAudience.Public
-public class <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html#line.50">PutSortReducer</a>
+public class <a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html#line.51">PutSortReducer</a>
 extends org.apache.hadoop.mapreduce.Reducer&lt;<a href="../../../../../org/apache/hadoop/hbase/io/ImmutableBytesWritable.html" title="class in org.apache.hadoop.hbase.io">ImmutableBytesWritable</a>,<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>,<a href="../../../../../org/apache/hadoop/hbase/io/ImmutableBytesWritable.html" title="class in org.apache.hadoop.hbase.io">ImmutableBytesWritable</a>,org.apache.hadoop.hbas [...]
 <div class="block">Emits sorted Puts. Reads in all Puts from passed Iterator, sorts them, then emits Puts in sorted
  order. If lots of columns per row, it will use lots of memory sorting.</div>
@@ -204,7 +204,7 @@ extends org.apache.hadoop.mapreduce.Reducer&lt;<a href="../../../../../org/apach
 <ul class="blockListLast">
 <li class="blockList">
 <h4>PutSortReducer</h4>
-<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html#line.50">PutSortReducer</a>()</pre>
+<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html#line.51">PutSortReducer</a>()</pre>
 </li>
 </ul>
 </li>
@@ -221,7 +221,7 @@ extends org.apache.hadoop.mapreduce.Reducer&lt;<a href="../../../../../org/apach
 <ul class="blockList">
 <li class="blockList">
 <h4>setup</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html#line.57">setup</a>(org.apache.hadoop.mapreduce.Reducer.Context&nbsp;context)
+<pre>protected&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html#line.58">setup</a>(org.apache.hadoop.mapreduce.Reducer.Context&nbsp;context)
               throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
                      <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a></pre>
 <dl>
@@ -239,7 +239,7 @@ extends org.apache.hadoop.mapreduce.Reducer&lt;<a href="../../../../../org/apach
 <ul class="blockListLast">
 <li class="blockList">
 <h4>reduce</h4>
-<pre>protected&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html#line.64">reduce</a>(<a href="../../../../../org/apache/hadoop/hbase/io/ImmutableBytesWritable.html" title="class in org.apache.hadoop.hbase.io">ImmutableBytesWritable</a>&nbsp;row,
+<pre>protected&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html#line.65">reduce</a>(<a href="../../../../../org/apache/hadoop/hbase/io/ImmutableBytesWritable.html" title="class in org.apache.hadoop.hbase.io">ImmutableBytesWritable</a>&nbsp;row,
                       <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/client/Put.html" title="class in org.apache.hadoop.hbase.client">Put</a>&gt;&nbsp;puts,
                       org.apache.hadoop.mapreduce.Reducer.Context&nbsp;context)
                throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html b/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html
index 2eff66ac874..f1013ed863d 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html
@@ -835,9 +835,11 @@
 <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>  public static Cell cloneIfNecessary(Cell cell) {<a name="line.829"></a>
-<span class="sourceLineNo">830</span>    return (cell instanceof ByteBufferExtendedCell ? KeyValueUtil.copyToNewKeyValue(cell) : cell);<a name="line.830"></a>
-<span class="sourceLineNo">831</span>  }<a name="line.831"></a>
-<span class="sourceLineNo">832</span>}<a name="line.832"></a>
+<span class="sourceLineNo">830</span>    return (cell instanceof ByteBufferExtendedCell<a name="line.830"></a>
+<span class="sourceLineNo">831</span>      ? KeyValueUtil.copyToNewKeyValue((ExtendedCell) cell)<a name="line.831"></a>
+<span class="sourceLineNo">832</span>      : cell);<a name="line.832"></a>
+<span class="sourceLineNo">833</span>  }<a name="line.833"></a>
+<span class="sourceLineNo">834</span>}<a name="line.834"></a>
 
 
 
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/Result.html b/apidocs/src-html/org/apache/hadoop/hbase/client/Result.html
index 2c55d2a546b..8629b9b04f8 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/client/Result.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/client/Result.html
@@ -133,19 +133,19 @@
 <span class="sourceLineNo">125</span>   * &lt;strong&gt;Note:&lt;/strong&gt; You must ensure that the keyvalues are already sorted.<a name="line.125"></a>
 <span class="sourceLineNo">126</span>   * @param cells List of cells<a name="line.126"></a>
 <span class="sourceLineNo">127</span>   */<a name="line.127"></a>
-<span class="sourceLineNo">128</span>  public static Result create(List&lt;Cell&gt; cells) {<a name="line.128"></a>
+<span class="sourceLineNo">128</span>  public static Result create(List&lt;? extends Cell&gt; cells) {<a name="line.128"></a>
 <span class="sourceLineNo">129</span>    return create(cells, null);<a name="line.129"></a>
 <span class="sourceLineNo">130</span>  }<a name="line.130"></a>
 <span class="sourceLineNo">131</span><a name="line.131"></a>
-<span class="sourceLineNo">132</span>  public static Result create(List&lt;Cell&gt; cells, Boolean exists) {<a name="line.132"></a>
+<span class="sourceLineNo">132</span>  public static Result create(List&lt;? extends Cell&gt; cells, Boolean exists) {<a name="line.132"></a>
 <span class="sourceLineNo">133</span>    return create(cells, exists, false);<a name="line.133"></a>
 <span class="sourceLineNo">134</span>  }<a name="line.134"></a>
 <span class="sourceLineNo">135</span><a name="line.135"></a>
-<span class="sourceLineNo">136</span>  public static Result create(List&lt;Cell&gt; cells, Boolean exists, boolean stale) {<a name="line.136"></a>
+<span class="sourceLineNo">136</span>  public static Result create(List&lt;? extends Cell&gt; cells, Boolean exists, boolean stale) {<a name="line.136"></a>
 <span class="sourceLineNo">137</span>    return create(cells, exists, stale, false);<a name="line.137"></a>
 <span class="sourceLineNo">138</span>  }<a name="line.138"></a>
 <span class="sourceLineNo">139</span><a name="line.139"></a>
-<span class="sourceLineNo">140</span>  public static Result create(List&lt;Cell&gt; cells, Boolean exists, boolean stale,<a name="line.140"></a>
+<span class="sourceLineNo">140</span>  public static Result create(List&lt;? extends Cell&gt; cells, Boolean exists, boolean stale,<a name="line.140"></a>
 <span class="sourceLineNo">141</span>    boolean mayHaveMoreCellsInRow) {<a name="line.141"></a>
 <span class="sourceLineNo">142</span>    if (exists != null) {<a name="line.142"></a>
 <span class="sourceLineNo">143</span>      return new Result(null, exists, stale, mayHaveMoreCellsInRow);<a name="line.143"></a>
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html
index 6ef63ce1330..b67729cf9e9 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/Filter.ReturnCode.html
@@ -101,147 +101,152 @@
 <span class="sourceLineNo">093</span>  }<a name="line.93"></a>
 <span class="sourceLineNo">094</span><a name="line.94"></a>
 <span class="sourceLineNo">095</span>  /**<a name="line.95"></a>
-<span class="sourceLineNo">096</span>   * Give the filter a chance to transform the passed KeyValue. If the Cell is changed a new Cell<a name="line.96"></a>
-<span class="sourceLineNo">097</span>   * object must be returned.<a name="line.97"></a>
-<span class="sourceLineNo">098</span>   * @see org.apache.hadoop.hbase.KeyValue#shallowCopy() The transformed KeyValue is what is<a name="line.98"></a>
-<span class="sourceLineNo">099</span>   *      eventually returned to the client. Most filters will return the passed KeyValue unchanged.<a name="line.99"></a>
-<span class="sourceLineNo">100</span>   * @see org.apache.hadoop.hbase.filter.KeyOnlyFilter#transformCell(Cell) for an example of a<a name="line.100"></a>
-<span class="sourceLineNo">101</span>   *      transformation. Concrete implementers can signal a failure condition in their code by<a name="line.101"></a>
-<span class="sourceLineNo">102</span>   *      throwing an {@link IOException}.<a name="line.102"></a>
-<span class="sourceLineNo">103</span>   * @param v the KeyValue in question<a name="line.103"></a>
-<span class="sourceLineNo">104</span>   * @return the changed KeyValue<a name="line.104"></a>
-<span class="sourceLineNo">105</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.105"></a>
-<span class="sourceLineNo">106</span>   */<a name="line.106"></a>
-<span class="sourceLineNo">107</span>  abstract public Cell transformCell(final Cell v) throws IOException;<a name="line.107"></a>
-<span class="sourceLineNo">108</span><a name="line.108"></a>
-<span class="sourceLineNo">109</span>  /**<a name="line.109"></a>
-<span class="sourceLineNo">110</span>   * Return codes for filterValue().<a name="line.110"></a>
-<span class="sourceLineNo">111</span>   */<a name="line.111"></a>
-<span class="sourceLineNo">112</span>  @InterfaceAudience.Public<a name="line.112"></a>
-<span class="sourceLineNo">113</span>  public enum ReturnCode {<a name="line.113"></a>
-<span class="sourceLineNo">114</span>    /**<a name="line.114"></a>
-<span class="sourceLineNo">115</span>     * Include the Cell<a name="line.115"></a>
-<span class="sourceLineNo">116</span>     */<a name="line.116"></a>
-<span class="sourceLineNo">117</span>    INCLUDE,<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    /**<a name="line.118"></a>
-<span class="sourceLineNo">119</span>     * Include the Cell and seek to the next column skipping older versions.<a name="line.119"></a>
-<span class="sourceLineNo">120</span>     */<a name="line.120"></a>
-<span class="sourceLineNo">121</span>    INCLUDE_AND_NEXT_COL,<a name="line.121"></a>
-<span class="sourceLineNo">122</span>    /**<a name="line.122"></a>
-<span class="sourceLineNo">123</span>     * Skip this Cell<a name="line.123"></a>
-<span class="sourceLineNo">124</span>     */<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    SKIP,<a name="line.125"></a>
-<span class="sourceLineNo">126</span>    /**<a name="line.126"></a>
-<span class="sourceLineNo">127</span>     * Skip this column. Go to the next column in this row.<a name="line.127"></a>
-<span class="sourceLineNo">128</span>     */<a name="line.128"></a>
-<span class="sourceLineNo">129</span>    NEXT_COL,<a name="line.129"></a>
-<span class="sourceLineNo">130</span>    /**<a name="line.130"></a>
-<span class="sourceLineNo">131</span>     * Seek to next row in current family. It may still pass a cell whose family is different but<a name="line.131"></a>
-<span class="sourceLineNo">132</span>     * row is the same as previous cell to {@link #filterCell(Cell)} , even if we get a NEXT_ROW<a name="line.132"></a>
-<span class="sourceLineNo">133</span>     * returned for previous cell. For more details see HBASE-18368. &lt;br&gt;<a name="line.133"></a>
-<span class="sourceLineNo">134</span>     * Once reset() method was invoked, then we switch to the next row for all family, and you can<a name="line.134"></a>
-<span class="sourceLineNo">135</span>     * catch the event by invoking CellUtils.matchingRows(previousCell, currentCell). &lt;br&gt;<a name="line.135"></a>
-<span class="sourceLineNo">136</span>     * Note that filterRow() will still be called. &lt;br&gt;<a name="line.136"></a>
-<span class="sourceLineNo">137</span>     */<a name="line.137"></a>
-<span class="sourceLineNo">138</span>    NEXT_ROW,<a name="line.138"></a>
-<span class="sourceLineNo">139</span>    /**<a name="line.139"></a>
-<span class="sourceLineNo">140</span>     * Seek to next key which is given as hint by the filter.<a name="line.140"></a>
-<span class="sourceLineNo">141</span>     */<a name="line.141"></a>
-<span class="sourceLineNo">142</span>    SEEK_NEXT_USING_HINT,<a name="line.142"></a>
-<span class="sourceLineNo">143</span>    /**<a name="line.143"></a>
-<span class="sourceLineNo">144</span>     * Include KeyValue and done with row, seek to next. See NEXT_ROW.<a name="line.144"></a>
-<span class="sourceLineNo">145</span>     */<a name="line.145"></a>
-<span class="sourceLineNo">146</span>    INCLUDE_AND_SEEK_NEXT_ROW,<a name="line.146"></a>
-<span class="sourceLineNo">147</span>  }<a name="line.147"></a>
-<span class="sourceLineNo">148</span><a name="line.148"></a>
-<span class="sourceLineNo">149</span>  /**<a name="line.149"></a>
-<span class="sourceLineNo">150</span>   * Chance to alter the list of Cells to be submitted. Modifications to the list will carry on<a name="line.150"></a>
-<span class="sourceLineNo">151</span>   * Concrete implementers can signal a failure condition in their code by throwing an<a name="line.151"></a>
-<span class="sourceLineNo">152</span>   * {@link IOException}.<a name="line.152"></a>
-<span class="sourceLineNo">153</span>   * @param kvs the list of Cells to be filtered<a name="line.153"></a>
-<span class="sourceLineNo">154</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.154"></a>
-<span class="sourceLineNo">155</span>   */<a name="line.155"></a>
-<span class="sourceLineNo">156</span>  abstract public void filterRowCells(List&lt;Cell&gt; kvs) throws IOException;<a name="line.156"></a>
-<span class="sourceLineNo">157</span><a name="line.157"></a>
-<span class="sourceLineNo">158</span>  /**<a name="line.158"></a>
-<span class="sourceLineNo">159</span>   * Primarily used to check for conflicts with scans(such as scans that do not read a full row at a<a name="line.159"></a>
-<span class="sourceLineNo">160</span>   * time).<a name="line.160"></a>
-<span class="sourceLineNo">161</span>   * @return True if this filter actively uses filterRowCells(List) or filterRow().<a name="line.161"></a>
-<span class="sourceLineNo">162</span>   */<a name="line.162"></a>
-<span class="sourceLineNo">163</span>  abstract public boolean hasFilterRow();<a name="line.163"></a>
-<span class="sourceLineNo">164</span><a name="line.164"></a>
-<span class="sourceLineNo">165</span>  /**<a name="line.165"></a>
-<span class="sourceLineNo">166</span>   * Last chance to veto row based on previous {@link #filterCell(Cell)} calls. The filter needs to<a name="line.166"></a>
-<span class="sourceLineNo">167</span>   * retain state then return a particular value for this call if they wish to exclude a row if a<a name="line.167"></a>
-<span class="sourceLineNo">168</span>   * certain column is missing (for example). Concrete implementers can signal a failure condition<a name="line.168"></a>
-<span class="sourceLineNo">169</span>   * in their code by throwing an {@link IOException}.<a name="line.169"></a>
-<span class="sourceLineNo">170</span>   * @return true to exclude row, false to include row.<a name="line.170"></a>
-<span class="sourceLineNo">171</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.171"></a>
-<span class="sourceLineNo">172</span>   */<a name="line.172"></a>
-<span class="sourceLineNo">173</span>  abstract public boolean filterRow() throws IOException;<a name="line.173"></a>
-<span class="sourceLineNo">174</span><a name="line.174"></a>
-<span class="sourceLineNo">175</span>  /**<a name="line.175"></a>
-<span class="sourceLineNo">176</span>   * If the filter returns the match code SEEK_NEXT_USING_HINT, then it should also tell which is<a name="line.176"></a>
-<span class="sourceLineNo">177</span>   * the next key it must seek to. After receiving the match code SEEK_NEXT_USING_HINT, the<a name="line.177"></a>
-<span class="sourceLineNo">178</span>   * QueryMatcher would call this function to find out which key it must next seek to. Concrete<a name="line.178"></a>
-<span class="sourceLineNo">179</span>   * implementers can signal a failure condition in their code by throwing an {@link IOException}.<a name="line.179"></a>
-<span class="sourceLineNo">180</span>   * @return KeyValue which must be next seeked. return null if the filter is not sure which key to<a name="line.180"></a>
-<span class="sourceLineNo">181</span>   *         seek to next.<a name="line.181"></a>
-<span class="sourceLineNo">182</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.182"></a>
-<span class="sourceLineNo">183</span>   */<a name="line.183"></a>
-<span class="sourceLineNo">184</span>  abstract public Cell getNextCellHint(final Cell currentCell) throws IOException;<a name="line.184"></a>
-<span class="sourceLineNo">185</span><a name="line.185"></a>
-<span class="sourceLineNo">186</span>  /**<a name="line.186"></a>
-<span class="sourceLineNo">187</span>   * Check that given column family is essential for filter to check row. Most filters always return<a name="line.187"></a>
-<span class="sourceLineNo">188</span>   * true here. But some could have more sophisticated logic which could significantly reduce<a name="line.188"></a>
-<span class="sourceLineNo">189</span>   * scanning process by not even touching columns until we are 100% sure that it's data is needed<a name="line.189"></a>
-<span class="sourceLineNo">190</span>   * in result. Concrete implementers can signal a failure condition in their code by throwing an<a name="line.190"></a>
-<span class="sourceLineNo">191</span>   * {@link IOException}.<a name="line.191"></a>
-<span class="sourceLineNo">192</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.192"></a>
-<span class="sourceLineNo">193</span>   */<a name="line.193"></a>
-<span class="sourceLineNo">194</span>  abstract public boolean isFamilyEssential(byte[] name) throws IOException;<a name="line.194"></a>
-<span class="sourceLineNo">195</span><a name="line.195"></a>
-<span class="sourceLineNo">196</span>  /**<a name="line.196"></a>
-<span class="sourceLineNo">197</span>   * TODO: JAVADOC Concrete implementers can signal a failure condition in their code by throwing an<a name="line.197"></a>
-<span class="sourceLineNo">198</span>   * {@link IOException}.<a name="line.198"></a>
-<span class="sourceLineNo">199</span>   * @return The filter serialized using pb<a name="line.199"></a>
-<span class="sourceLineNo">200</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.200"></a>
-<span class="sourceLineNo">201</span>   */<a name="line.201"></a>
-<span class="sourceLineNo">202</span>  abstract public byte[] toByteArray() throws IOException;<a name="line.202"></a>
-<span class="sourceLineNo">203</span><a name="line.203"></a>
-<span class="sourceLineNo">204</span>  /**<a name="line.204"></a>
-<span class="sourceLineNo">205</span>   * Concrete implementers can signal a failure condition in their code by throwing an<a name="line.205"></a>
-<span class="sourceLineNo">206</span>   * {@link IOException}.<a name="line.206"></a>
-<span class="sourceLineNo">207</span>   * @param pbBytes A pb serialized {@link Filter} instance<a name="line.207"></a>
-<span class="sourceLineNo">208</span>   * @return An instance of {@link Filter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.208"></a>
-<span class="sourceLineNo">209</span>   * @throws DeserializationException if an error occurred<a name="line.209"></a>
-<span class="sourceLineNo">210</span>   * @see #toByteArray<a name="line.210"></a>
-<span class="sourceLineNo">211</span>   */<a name="line.211"></a>
-<span class="sourceLineNo">212</span>  public static Filter parseFrom(final byte[] pbBytes) throws DeserializationException {<a name="line.212"></a>
-<span class="sourceLineNo">213</span>    throw new DeserializationException(<a name="line.213"></a>
-<span class="sourceLineNo">214</span>      "parseFrom called on base Filter, but should be called on derived type");<a name="line.214"></a>
-<span class="sourceLineNo">215</span>  }<a name="line.215"></a>
-<span class="sourceLineNo">216</span><a name="line.216"></a>
-<span class="sourceLineNo">217</span>  /**<a name="line.217"></a>
-<span class="sourceLineNo">218</span>   * Concrete implementers can signal a failure condition in their code by throwing an<a name="line.218"></a>
-<span class="sourceLineNo">219</span>   * {@link IOException}.<a name="line.219"></a>
-<span class="sourceLineNo">220</span>   * @return true if and only if the fields of the filter that are serialized are equal to the<a name="line.220"></a>
-<span class="sourceLineNo">221</span>   *         corresponding fields in other. Used for testing.<a name="line.221"></a>
-<span class="sourceLineNo">222</span>   */<a name="line.222"></a>
-<span class="sourceLineNo">223</span>  abstract boolean areSerializedFieldsEqual(Filter other);<a name="line.223"></a>
-<span class="sourceLineNo">224</span><a name="line.224"></a>
-<span class="sourceLineNo">225</span>  /**<a name="line.225"></a>
-<span class="sourceLineNo">226</span>   * alter the reversed scan flag<a name="line.226"></a>
-<span class="sourceLineNo">227</span>   * @param reversed flag<a name="line.227"></a>
-<span class="sourceLineNo">228</span>   */<a name="line.228"></a>
-<span class="sourceLineNo">229</span>  public void setReversed(boolean reversed) {<a name="line.229"></a>
-<span class="sourceLineNo">230</span>    this.reversed = reversed;<a name="line.230"></a>
-<span class="sourceLineNo">231</span>  }<a name="line.231"></a>
-<span class="sourceLineNo">232</span><a name="line.232"></a>
-<span class="sourceLineNo">233</span>  public boolean isReversed() {<a name="line.233"></a>
-<span class="sourceLineNo">234</span>    return this.reversed;<a name="line.234"></a>
-<span class="sourceLineNo">235</span>  }<a name="line.235"></a>
-<span class="sourceLineNo">236</span>}<a name="line.236"></a>
+<span class="sourceLineNo">096</span>   * Give the filter a chance to transform the passed Cell. If the Cell is changed a new Cell object<a name="line.96"></a>
+<span class="sourceLineNo">097</span>   * must be returned.<a name="line.97"></a>
+<span class="sourceLineNo">098</span>   * &lt;p/&gt;<a name="line.98"></a>
+<span class="sourceLineNo">099</span>   * &lt;strong&gt;NOTICE:&lt;/strong&gt; Filter will be evaluate at server side so the returned {@link Cell}<a name="line.99"></a>
+<span class="sourceLineNo">100</span>   * must be an {@link org.apache.hadoop.hbase.ExtendedCell}, although it is marked as IA.Private.<a name="line.100"></a>
+<span class="sourceLineNo">101</span>   * @see org.apache.hadoop.hbase.KeyValue#shallowCopy() The transformed KeyValue is what is<a name="line.101"></a>
+<span class="sourceLineNo">102</span>   *      eventually returned to the client. Most filters will return the passed KeyValue unchanged.<a name="line.102"></a>
+<span class="sourceLineNo">103</span>   * @see org.apache.hadoop.hbase.filter.KeyOnlyFilter#transformCell(Cell) for an example of a<a name="line.103"></a>
+<span class="sourceLineNo">104</span>   *      transformation. Concrete implementers can signal a failure condition in their code by<a name="line.104"></a>
+<span class="sourceLineNo">105</span>   *      throwing an {@link IOException}.<a name="line.105"></a>
+<span class="sourceLineNo">106</span>   * @param v the Cell in question<a name="line.106"></a>
+<span class="sourceLineNo">107</span>   * @return the changed Cell<a name="line.107"></a>
+<span class="sourceLineNo">108</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.108"></a>
+<span class="sourceLineNo">109</span>   */<a name="line.109"></a>
+<span class="sourceLineNo">110</span>  abstract public Cell transformCell(final Cell v) throws IOException;<a name="line.110"></a>
+<span class="sourceLineNo">111</span><a name="line.111"></a>
+<span class="sourceLineNo">112</span>  /**<a name="line.112"></a>
+<span class="sourceLineNo">113</span>   * Return codes for filterValue().<a name="line.113"></a>
+<span class="sourceLineNo">114</span>   */<a name="line.114"></a>
+<span class="sourceLineNo">115</span>  @InterfaceAudience.Public<a name="line.115"></a>
+<span class="sourceLineNo">116</span>  public enum ReturnCode {<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    /**<a name="line.117"></a>
+<span class="sourceLineNo">118</span>     * Include the Cell<a name="line.118"></a>
+<span class="sourceLineNo">119</span>     */<a name="line.119"></a>
+<span class="sourceLineNo">120</span>    INCLUDE,<a name="line.120"></a>
+<span class="sourceLineNo">121</span>    /**<a name="line.121"></a>
+<span class="sourceLineNo">122</span>     * Include the Cell and seek to the next column skipping older versions.<a name="line.122"></a>
+<span class="sourceLineNo">123</span>     */<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    INCLUDE_AND_NEXT_COL,<a name="line.124"></a>
+<span class="sourceLineNo">125</span>    /**<a name="line.125"></a>
+<span class="sourceLineNo">126</span>     * Skip this Cell<a name="line.126"></a>
+<span class="sourceLineNo">127</span>     */<a name="line.127"></a>
+<span class="sourceLineNo">128</span>    SKIP,<a name="line.128"></a>
+<span class="sourceLineNo">129</span>    /**<a name="line.129"></a>
+<span class="sourceLineNo">130</span>     * Skip this column. Go to the next column in this row.<a name="line.130"></a>
+<span class="sourceLineNo">131</span>     */<a name="line.131"></a>
+<span class="sourceLineNo">132</span>    NEXT_COL,<a name="line.132"></a>
+<span class="sourceLineNo">133</span>    /**<a name="line.133"></a>
+<span class="sourceLineNo">134</span>     * Seek to next row in current family. It may still pass a cell whose family is different but<a name="line.134"></a>
+<span class="sourceLineNo">135</span>     * row is the same as previous cell to {@link #filterCell(Cell)} , even if we get a NEXT_ROW<a name="line.135"></a>
+<span class="sourceLineNo">136</span>     * returned for previous cell. For more details see HBASE-18368. &lt;br&gt;<a name="line.136"></a>
+<span class="sourceLineNo">137</span>     * Once reset() method was invoked, then we switch to the next row for all family, and you can<a name="line.137"></a>
+<span class="sourceLineNo">138</span>     * catch the event by invoking CellUtils.matchingRows(previousCell, currentCell). &lt;br&gt;<a name="line.138"></a>
+<span class="sourceLineNo">139</span>     * Note that filterRow() will still be called. &lt;br&gt;<a name="line.139"></a>
+<span class="sourceLineNo">140</span>     */<a name="line.140"></a>
+<span class="sourceLineNo">141</span>    NEXT_ROW,<a name="line.141"></a>
+<span class="sourceLineNo">142</span>    /**<a name="line.142"></a>
+<span class="sourceLineNo">143</span>     * Seek to next key which is given as hint by the filter.<a name="line.143"></a>
+<span class="sourceLineNo">144</span>     */<a name="line.144"></a>
+<span class="sourceLineNo">145</span>    SEEK_NEXT_USING_HINT,<a name="line.145"></a>
+<span class="sourceLineNo">146</span>    /**<a name="line.146"></a>
+<span class="sourceLineNo">147</span>     * Include KeyValue and done with row, seek to next. See NEXT_ROW.<a name="line.147"></a>
+<span class="sourceLineNo">148</span>     */<a name="line.148"></a>
+<span class="sourceLineNo">149</span>    INCLUDE_AND_SEEK_NEXT_ROW,<a name="line.149"></a>
+<span class="sourceLineNo">150</span>  }<a name="line.150"></a>
+<span class="sourceLineNo">151</span><a name="line.151"></a>
+<span class="sourceLineNo">152</span>  /**<a name="line.152"></a>
+<span class="sourceLineNo">153</span>   * Chance to alter the list of Cells to be submitted. Modifications to the list will carry on<a name="line.153"></a>
+<span class="sourceLineNo">154</span>   * Concrete implementers can signal a failure condition in their code by throwing an<a name="line.154"></a>
+<span class="sourceLineNo">155</span>   * {@link IOException}.<a name="line.155"></a>
+<span class="sourceLineNo">156</span>   * @param kvs the list of Cells to be filtered<a name="line.156"></a>
+<span class="sourceLineNo">157</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.157"></a>
+<span class="sourceLineNo">158</span>   */<a name="line.158"></a>
+<span class="sourceLineNo">159</span>  abstract public void filterRowCells(List&lt;Cell&gt; kvs) throws IOException;<a name="line.159"></a>
+<span class="sourceLineNo">160</span><a name="line.160"></a>
+<span class="sourceLineNo">161</span>  /**<a name="line.161"></a>
+<span class="sourceLineNo">162</span>   * Primarily used to check for conflicts with scans(such as scans that do not read a full row at a<a name="line.162"></a>
+<span class="sourceLineNo">163</span>   * time).<a name="line.163"></a>
+<span class="sourceLineNo">164</span>   * @return True if this filter actively uses filterRowCells(List) or filterRow().<a name="line.164"></a>
+<span class="sourceLineNo">165</span>   */<a name="line.165"></a>
+<span class="sourceLineNo">166</span>  abstract public boolean hasFilterRow();<a name="line.166"></a>
+<span class="sourceLineNo">167</span><a name="line.167"></a>
+<span class="sourceLineNo">168</span>  /**<a name="line.168"></a>
+<span class="sourceLineNo">169</span>   * Last chance to veto row based on previous {@link #filterCell(Cell)} calls. The filter needs to<a name="line.169"></a>
+<span class="sourceLineNo">170</span>   * retain state then return a particular value for this call if they wish to exclude a row if a<a name="line.170"></a>
+<span class="sourceLineNo">171</span>   * certain column is missing (for example). Concrete implementers can signal a failure condition<a name="line.171"></a>
+<span class="sourceLineNo">172</span>   * in their code by throwing an {@link IOException}.<a name="line.172"></a>
+<span class="sourceLineNo">173</span>   * @return true to exclude row, false to include row.<a name="line.173"></a>
+<span class="sourceLineNo">174</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.174"></a>
+<span class="sourceLineNo">175</span>   */<a name="line.175"></a>
+<span class="sourceLineNo">176</span>  abstract public boolean filterRow() throws IOException;<a name="line.176"></a>
+<span class="sourceLineNo">177</span><a name="line.177"></a>
+<span class="sourceLineNo">178</span>  /**<a name="line.178"></a>
+<span class="sourceLineNo">179</span>   * If the filter returns the match code SEEK_NEXT_USING_HINT, then it should also tell which is<a name="line.179"></a>
+<span class="sourceLineNo">180</span>   * the next key it must seek to. After receiving the match code SEEK_NEXT_USING_HINT, the<a name="line.180"></a>
+<span class="sourceLineNo">181</span>   * QueryMatcher would call this function to find out which key it must next seek to. Concrete<a name="line.181"></a>
+<span class="sourceLineNo">182</span>   * implementers can signal a failure condition in their code by throwing an {@link IOException}.<a name="line.182"></a>
+<span class="sourceLineNo">183</span>   * &lt;strong&gt;NOTICE:&lt;/strong&gt; Filter will be evaluate at server side so the returned {@link Cell}<a name="line.183"></a>
+<span class="sourceLineNo">184</span>   * must be an {@link org.apache.hadoop.hbase.ExtendedCell}, although it is marked as IA.Private.<a name="line.184"></a>
+<span class="sourceLineNo">185</span>   * @return KeyValue which must be next seeked. return null if the filter is not sure which key to<a name="line.185"></a>
+<span class="sourceLineNo">186</span>   *         seek to next.<a name="line.186"></a>
+<span class="sourceLineNo">187</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.187"></a>
+<span class="sourceLineNo">188</span>   */<a name="line.188"></a>
+<span class="sourceLineNo">189</span>  abstract public Cell getNextCellHint(final Cell currentCell) throws IOException;<a name="line.189"></a>
+<span class="sourceLineNo">190</span><a name="line.190"></a>
+<span class="sourceLineNo">191</span>  /**<a name="line.191"></a>
+<span class="sourceLineNo">192</span>   * Check that given column family is essential for filter to check row. Most filters always return<a name="line.192"></a>
+<span class="sourceLineNo">193</span>   * true here. But some could have more sophisticated logic which could significantly reduce<a name="line.193"></a>
+<span class="sourceLineNo">194</span>   * scanning process by not even touching columns until we are 100% sure that it's data is needed<a name="line.194"></a>
+<span class="sourceLineNo">195</span>   * in result. Concrete implementers can signal a failure condition in their code by throwing an<a name="line.195"></a>
+<span class="sourceLineNo">196</span>   * {@link IOException}.<a name="line.196"></a>
+<span class="sourceLineNo">197</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.197"></a>
+<span class="sourceLineNo">198</span>   */<a name="line.198"></a>
+<span class="sourceLineNo">199</span>  abstract public boolean isFamilyEssential(byte[] name) throws IOException;<a name="line.199"></a>
+<span class="sourceLineNo">200</span><a name="line.200"></a>
+<span class="sourceLineNo">201</span>  /**<a name="line.201"></a>
+<span class="sourceLineNo">202</span>   * TODO: JAVADOC Concrete implementers can signal a failure condition in their code by throwing an<a name="line.202"></a>
+<span class="sourceLineNo">203</span>   * {@link IOException}.<a name="line.203"></a>
+<span class="sourceLineNo">204</span>   * @return The filter serialized using pb<a name="line.204"></a>
+<span class="sourceLineNo">205</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.205"></a>
+<span class="sourceLineNo">206</span>   */<a name="line.206"></a>
+<span class="sourceLineNo">207</span>  abstract public byte[] toByteArray() throws IOException;<a name="line.207"></a>
+<span class="sourceLineNo">208</span><a name="line.208"></a>
+<span class="sourceLineNo">209</span>  /**<a name="line.209"></a>
+<span class="sourceLineNo">210</span>   * Concrete implementers can signal a failure condition in their code by throwing an<a name="line.210"></a>
+<span class="sourceLineNo">211</span>   * {@link IOException}.<a name="line.211"></a>
+<span class="sourceLineNo">212</span>   * @param pbBytes A pb serialized {@link Filter} instance<a name="line.212"></a>
+<span class="sourceLineNo">213</span>   * @return An instance of {@link Filter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.213"></a>
+<span class="sourceLineNo">214</span>   * @throws DeserializationException if an error occurred<a name="line.214"></a>
+<span class="sourceLineNo">215</span>   * @see #toByteArray<a name="line.215"></a>
+<span class="sourceLineNo">216</span>   */<a name="line.216"></a>
+<span class="sourceLineNo">217</span>  public static Filter parseFrom(final byte[] pbBytes) throws DeserializationException {<a name="line.217"></a>
+<span class="sourceLineNo">218</span>    throw new DeserializationException(<a name="line.218"></a>
+<span class="sourceLineNo">219</span>      "parseFrom called on base Filter, but should be called on derived type");<a name="line.219"></a>
+<span class="sourceLineNo">220</span>  }<a name="line.220"></a>
+<span class="sourceLineNo">221</span><a name="line.221"></a>
+<span class="sourceLineNo">222</span>  /**<a name="line.222"></a>
+<span class="sourceLineNo">223</span>   * Concrete implementers can signal a failure condition in their code by throwing an<a name="line.223"></a>
+<span class="sourceLineNo">224</span>   * {@link IOException}.<a name="line.224"></a>
+<span class="sourceLineNo">225</span>   * @return true if and only if the fields of the filter that are serialized are equal to the<a name="line.225"></a>
+<span class="sourceLineNo">226</span>   *         corresponding fields in other. Used for testing.<a name="line.226"></a>
+<span class="sourceLineNo">227</span>   */<a name="line.227"></a>
+<span class="sourceLineNo">228</span>  abstract boolean areSerializedFieldsEqual(Filter other);<a name="line.228"></a>
+<span class="sourceLineNo">229</span><a name="line.229"></a>
+<span class="sourceLineNo">230</span>  /**<a name="line.230"></a>
+<span class="sourceLineNo">231</span>   * alter the reversed scan flag<a name="line.231"></a>
+<span class="sourceLineNo">232</span>   * @param reversed flag<a name="line.232"></a>
+<span class="sourceLineNo">233</span>   */<a name="line.233"></a>
+<span class="sourceLineNo">234</span>  public void setReversed(boolean reversed) {<a name="line.234"></a>
+<span class="sourceLineNo">235</span>    this.reversed = reversed;<a name="line.235"></a>
+<span class="sourceLineNo">236</span>  }<a name="line.236"></a>
+<span class="sourceLineNo">237</span><a name="line.237"></a>
+<span class="sourceLineNo">238</span>  public boolean isReversed() {<a name="line.238"></a>
+<span class="sourceLineNo">239</span>    return this.reversed;<a name="line.239"></a>
+<span class="sourceLineNo">240</span>  }<a name="line.240"></a>
+<span class="sourceLineNo">241</span>}<a name="line.241"></a>
 
 
 
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/Filter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/Filter.html
index 6ef63ce1330..b67729cf9e9 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/Filter.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/Filter.html
@@ -101,147 +101,152 @@
 <span class="sourceLineNo">093</span>  }<a name="line.93"></a>
 <span class="sourceLineNo">094</span><a name="line.94"></a>
 <span class="sourceLineNo">095</span>  /**<a name="line.95"></a>
-<span class="sourceLineNo">096</span>   * Give the filter a chance to transform the passed KeyValue. If the Cell is changed a new Cell<a name="line.96"></a>
-<span class="sourceLineNo">097</span>   * object must be returned.<a name="line.97"></a>
-<span class="sourceLineNo">098</span>   * @see org.apache.hadoop.hbase.KeyValue#shallowCopy() The transformed KeyValue is what is<a name="line.98"></a>
-<span class="sourceLineNo">099</span>   *      eventually returned to the client. Most filters will return the passed KeyValue unchanged.<a name="line.99"></a>
-<span class="sourceLineNo">100</span>   * @see org.apache.hadoop.hbase.filter.KeyOnlyFilter#transformCell(Cell) for an example of a<a name="line.100"></a>
-<span class="sourceLineNo">101</span>   *      transformation. Concrete implementers can signal a failure condition in their code by<a name="line.101"></a>
-<span class="sourceLineNo">102</span>   *      throwing an {@link IOException}.<a name="line.102"></a>
-<span class="sourceLineNo">103</span>   * @param v the KeyValue in question<a name="line.103"></a>
-<span class="sourceLineNo">104</span>   * @return the changed KeyValue<a name="line.104"></a>
-<span class="sourceLineNo">105</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.105"></a>
-<span class="sourceLineNo">106</span>   */<a name="line.106"></a>
-<span class="sourceLineNo">107</span>  abstract public Cell transformCell(final Cell v) throws IOException;<a name="line.107"></a>
-<span class="sourceLineNo">108</span><a name="line.108"></a>
-<span class="sourceLineNo">109</span>  /**<a name="line.109"></a>
-<span class="sourceLineNo">110</span>   * Return codes for filterValue().<a name="line.110"></a>
-<span class="sourceLineNo">111</span>   */<a name="line.111"></a>
-<span class="sourceLineNo">112</span>  @InterfaceAudience.Public<a name="line.112"></a>
-<span class="sourceLineNo">113</span>  public enum ReturnCode {<a name="line.113"></a>
-<span class="sourceLineNo">114</span>    /**<a name="line.114"></a>
-<span class="sourceLineNo">115</span>     * Include the Cell<a name="line.115"></a>
-<span class="sourceLineNo">116</span>     */<a name="line.116"></a>
-<span class="sourceLineNo">117</span>    INCLUDE,<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    /**<a name="line.118"></a>
-<span class="sourceLineNo">119</span>     * Include the Cell and seek to the next column skipping older versions.<a name="line.119"></a>
-<span class="sourceLineNo">120</span>     */<a name="line.120"></a>
-<span class="sourceLineNo">121</span>    INCLUDE_AND_NEXT_COL,<a name="line.121"></a>
-<span class="sourceLineNo">122</span>    /**<a name="line.122"></a>
-<span class="sourceLineNo">123</span>     * Skip this Cell<a name="line.123"></a>
-<span class="sourceLineNo">124</span>     */<a name="line.124"></a>
-<span class="sourceLineNo">125</span>    SKIP,<a name="line.125"></a>
-<span class="sourceLineNo">126</span>    /**<a name="line.126"></a>
-<span class="sourceLineNo">127</span>     * Skip this column. Go to the next column in this row.<a name="line.127"></a>
-<span class="sourceLineNo">128</span>     */<a name="line.128"></a>
-<span class="sourceLineNo">129</span>    NEXT_COL,<a name="line.129"></a>
-<span class="sourceLineNo">130</span>    /**<a name="line.130"></a>
-<span class="sourceLineNo">131</span>     * Seek to next row in current family. It may still pass a cell whose family is different but<a name="line.131"></a>
-<span class="sourceLineNo">132</span>     * row is the same as previous cell to {@link #filterCell(Cell)} , even if we get a NEXT_ROW<a name="line.132"></a>
-<span class="sourceLineNo">133</span>     * returned for previous cell. For more details see HBASE-18368. &lt;br&gt;<a name="line.133"></a>
-<span class="sourceLineNo">134</span>     * Once reset() method was invoked, then we switch to the next row for all family, and you can<a name="line.134"></a>
-<span class="sourceLineNo">135</span>     * catch the event by invoking CellUtils.matchingRows(previousCell, currentCell). &lt;br&gt;<a name="line.135"></a>
-<span class="sourceLineNo">136</span>     * Note that filterRow() will still be called. &lt;br&gt;<a name="line.136"></a>
-<span class="sourceLineNo">137</span>     */<a name="line.137"></a>
-<span class="sourceLineNo">138</span>    NEXT_ROW,<a name="line.138"></a>
-<span class="sourceLineNo">139</span>    /**<a name="line.139"></a>
-<span class="sourceLineNo">140</span>     * Seek to next key which is given as hint by the filter.<a name="line.140"></a>
-<span class="sourceLineNo">141</span>     */<a name="line.141"></a>
-<span class="sourceLineNo">142</span>    SEEK_NEXT_USING_HINT,<a name="line.142"></a>
-<span class="sourceLineNo">143</span>    /**<a name="line.143"></a>
-<span class="sourceLineNo">144</span>     * Include KeyValue and done with row, seek to next. See NEXT_ROW.<a name="line.144"></a>
-<span class="sourceLineNo">145</span>     */<a name="line.145"></a>
-<span class="sourceLineNo">146</span>    INCLUDE_AND_SEEK_NEXT_ROW,<a name="line.146"></a>
-<span class="sourceLineNo">147</span>  }<a name="line.147"></a>
-<span class="sourceLineNo">148</span><a name="line.148"></a>
-<span class="sourceLineNo">149</span>  /**<a name="line.149"></a>
-<span class="sourceLineNo">150</span>   * Chance to alter the list of Cells to be submitted. Modifications to the list will carry on<a name="line.150"></a>
-<span class="sourceLineNo">151</span>   * Concrete implementers can signal a failure condition in their code by throwing an<a name="line.151"></a>
-<span class="sourceLineNo">152</span>   * {@link IOException}.<a name="line.152"></a>
-<span class="sourceLineNo">153</span>   * @param kvs the list of Cells to be filtered<a name="line.153"></a>
-<span class="sourceLineNo">154</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.154"></a>
-<span class="sourceLineNo">155</span>   */<a name="line.155"></a>
-<span class="sourceLineNo">156</span>  abstract public void filterRowCells(List&lt;Cell&gt; kvs) throws IOException;<a name="line.156"></a>
-<span class="sourceLineNo">157</span><a name="line.157"></a>
-<span class="sourceLineNo">158</span>  /**<a name="line.158"></a>
-<span class="sourceLineNo">159</span>   * Primarily used to check for conflicts with scans(such as scans that do not read a full row at a<a name="line.159"></a>
-<span class="sourceLineNo">160</span>   * time).<a name="line.160"></a>
-<span class="sourceLineNo">161</span>   * @return True if this filter actively uses filterRowCells(List) or filterRow().<a name="line.161"></a>
-<span class="sourceLineNo">162</span>   */<a name="line.162"></a>
-<span class="sourceLineNo">163</span>  abstract public boolean hasFilterRow();<a name="line.163"></a>
-<span class="sourceLineNo">164</span><a name="line.164"></a>
-<span class="sourceLineNo">165</span>  /**<a name="line.165"></a>
-<span class="sourceLineNo">166</span>   * Last chance to veto row based on previous {@link #filterCell(Cell)} calls. The filter needs to<a name="line.166"></a>
-<span class="sourceLineNo">167</span>   * retain state then return a particular value for this call if they wish to exclude a row if a<a name="line.167"></a>
-<span class="sourceLineNo">168</span>   * certain column is missing (for example). Concrete implementers can signal a failure condition<a name="line.168"></a>
-<span class="sourceLineNo">169</span>   * in their code by throwing an {@link IOException}.<a name="line.169"></a>
-<span class="sourceLineNo">170</span>   * @return true to exclude row, false to include row.<a name="line.170"></a>
-<span class="sourceLineNo">171</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.171"></a>
-<span class="sourceLineNo">172</span>   */<a name="line.172"></a>
-<span class="sourceLineNo">173</span>  abstract public boolean filterRow() throws IOException;<a name="line.173"></a>
-<span class="sourceLineNo">174</span><a name="line.174"></a>
-<span class="sourceLineNo">175</span>  /**<a name="line.175"></a>
-<span class="sourceLineNo">176</span>   * If the filter returns the match code SEEK_NEXT_USING_HINT, then it should also tell which is<a name="line.176"></a>
-<span class="sourceLineNo">177</span>   * the next key it must seek to. After receiving the match code SEEK_NEXT_USING_HINT, the<a name="line.177"></a>
-<span class="sourceLineNo">178</span>   * QueryMatcher would call this function to find out which key it must next seek to. Concrete<a name="line.178"></a>
-<span class="sourceLineNo">179</span>   * implementers can signal a failure condition in their code by throwing an {@link IOException}.<a name="line.179"></a>
-<span class="sourceLineNo">180</span>   * @return KeyValue which must be next seeked. return null if the filter is not sure which key to<a name="line.180"></a>
-<span class="sourceLineNo">181</span>   *         seek to next.<a name="line.181"></a>
-<span class="sourceLineNo">182</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.182"></a>
-<span class="sourceLineNo">183</span>   */<a name="line.183"></a>
-<span class="sourceLineNo">184</span>  abstract public Cell getNextCellHint(final Cell currentCell) throws IOException;<a name="line.184"></a>
-<span class="sourceLineNo">185</span><a name="line.185"></a>
-<span class="sourceLineNo">186</span>  /**<a name="line.186"></a>
-<span class="sourceLineNo">187</span>   * Check that given column family is essential for filter to check row. Most filters always return<a name="line.187"></a>
-<span class="sourceLineNo">188</span>   * true here. But some could have more sophisticated logic which could significantly reduce<a name="line.188"></a>
-<span class="sourceLineNo">189</span>   * scanning process by not even touching columns until we are 100% sure that it's data is needed<a name="line.189"></a>
-<span class="sourceLineNo">190</span>   * in result. Concrete implementers can signal a failure condition in their code by throwing an<a name="line.190"></a>
-<span class="sourceLineNo">191</span>   * {@link IOException}.<a name="line.191"></a>
-<span class="sourceLineNo">192</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.192"></a>
-<span class="sourceLineNo">193</span>   */<a name="line.193"></a>
-<span class="sourceLineNo">194</span>  abstract public boolean isFamilyEssential(byte[] name) throws IOException;<a name="line.194"></a>
-<span class="sourceLineNo">195</span><a name="line.195"></a>
-<span class="sourceLineNo">196</span>  /**<a name="line.196"></a>
-<span class="sourceLineNo">197</span>   * TODO: JAVADOC Concrete implementers can signal a failure condition in their code by throwing an<a name="line.197"></a>
-<span class="sourceLineNo">198</span>   * {@link IOException}.<a name="line.198"></a>
-<span class="sourceLineNo">199</span>   * @return The filter serialized using pb<a name="line.199"></a>
-<span class="sourceLineNo">200</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.200"></a>
-<span class="sourceLineNo">201</span>   */<a name="line.201"></a>
-<span class="sourceLineNo">202</span>  abstract public byte[] toByteArray() throws IOException;<a name="line.202"></a>
-<span class="sourceLineNo">203</span><a name="line.203"></a>
-<span class="sourceLineNo">204</span>  /**<a name="line.204"></a>
-<span class="sourceLineNo">205</span>   * Concrete implementers can signal a failure condition in their code by throwing an<a name="line.205"></a>
-<span class="sourceLineNo">206</span>   * {@link IOException}.<a name="line.206"></a>
-<span class="sourceLineNo">207</span>   * @param pbBytes A pb serialized {@link Filter} instance<a name="line.207"></a>
-<span class="sourceLineNo">208</span>   * @return An instance of {@link Filter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.208"></a>
-<span class="sourceLineNo">209</span>   * @throws DeserializationException if an error occurred<a name="line.209"></a>
-<span class="sourceLineNo">210</span>   * @see #toByteArray<a name="line.210"></a>
-<span class="sourceLineNo">211</span>   */<a name="line.211"></a>
-<span class="sourceLineNo">212</span>  public static Filter parseFrom(final byte[] pbBytes) throws DeserializationException {<a name="line.212"></a>
-<span class="sourceLineNo">213</span>    throw new DeserializationException(<a name="line.213"></a>
-<span class="sourceLineNo">214</span>      "parseFrom called on base Filter, but should be called on derived type");<a name="line.214"></a>
-<span class="sourceLineNo">215</span>  }<a name="line.215"></a>
-<span class="sourceLineNo">216</span><a name="line.216"></a>
-<span class="sourceLineNo">217</span>  /**<a name="line.217"></a>
-<span class="sourceLineNo">218</span>   * Concrete implementers can signal a failure condition in their code by throwing an<a name="line.218"></a>
-<span class="sourceLineNo">219</span>   * {@link IOException}.<a name="line.219"></a>
-<span class="sourceLineNo">220</span>   * @return true if and only if the fields of the filter that are serialized are equal to the<a name="line.220"></a>
-<span class="sourceLineNo">221</span>   *         corresponding fields in other. Used for testing.<a name="line.221"></a>
-<span class="sourceLineNo">222</span>   */<a name="line.222"></a>
-<span class="sourceLineNo">223</span>  abstract boolean areSerializedFieldsEqual(Filter other);<a name="line.223"></a>
-<span class="sourceLineNo">224</span><a name="line.224"></a>
-<span class="sourceLineNo">225</span>  /**<a name="line.225"></a>
-<span class="sourceLineNo">226</span>   * alter the reversed scan flag<a name="line.226"></a>
-<span class="sourceLineNo">227</span>   * @param reversed flag<a name="line.227"></a>
-<span class="sourceLineNo">228</span>   */<a name="line.228"></a>
-<span class="sourceLineNo">229</span>  public void setReversed(boolean reversed) {<a name="line.229"></a>
-<span class="sourceLineNo">230</span>    this.reversed = reversed;<a name="line.230"></a>
-<span class="sourceLineNo">231</span>  }<a name="line.231"></a>
-<span class="sourceLineNo">232</span><a name="line.232"></a>
-<span class="sourceLineNo">233</span>  public boolean isReversed() {<a name="line.233"></a>
-<span class="sourceLineNo">234</span>    return this.reversed;<a name="line.234"></a>
-<span class="sourceLineNo">235</span>  }<a name="line.235"></a>
-<span class="sourceLineNo">236</span>}<a name="line.236"></a>
+<span class="sourceLineNo">096</span>   * Give the filter a chance to transform the passed Cell. If the Cell is changed a new Cell object<a name="line.96"></a>
+<span class="sourceLineNo">097</span>   * must be returned.<a name="line.97"></a>
+<span class="sourceLineNo">098</span>   * &lt;p/&gt;<a name="line.98"></a>
+<span class="sourceLineNo">099</span>   * &lt;strong&gt;NOTICE:&lt;/strong&gt; Filter will be evaluate at server side so the returned {@link Cell}<a name="line.99"></a>
+<span class="sourceLineNo">100</span>   * must be an {@link org.apache.hadoop.hbase.ExtendedCell}, although it is marked as IA.Private.<a name="line.100"></a>
+<span class="sourceLineNo">101</span>   * @see org.apache.hadoop.hbase.KeyValue#shallowCopy() The transformed KeyValue is what is<a name="line.101"></a>
+<span class="sourceLineNo">102</span>   *      eventually returned to the client. Most filters will return the passed KeyValue unchanged.<a name="line.102"></a>
+<span class="sourceLineNo">103</span>   * @see org.apache.hadoop.hbase.filter.KeyOnlyFilter#transformCell(Cell) for an example of a<a name="line.103"></a>
+<span class="sourceLineNo">104</span>   *      transformation. Concrete implementers can signal a failure condition in their code by<a name="line.104"></a>
+<span class="sourceLineNo">105</span>   *      throwing an {@link IOException}.<a name="line.105"></a>
+<span class="sourceLineNo">106</span>   * @param v the Cell in question<a name="line.106"></a>
+<span class="sourceLineNo">107</span>   * @return the changed Cell<a name="line.107"></a>
+<span class="sourceLineNo">108</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.108"></a>
+<span class="sourceLineNo">109</span>   */<a name="line.109"></a>
+<span class="sourceLineNo">110</span>  abstract public Cell transformCell(final Cell v) throws IOException;<a name="line.110"></a>
+<span class="sourceLineNo">111</span><a name="line.111"></a>
+<span class="sourceLineNo">112</span>  /**<a name="line.112"></a>
+<span class="sourceLineNo">113</span>   * Return codes for filterValue().<a name="line.113"></a>
+<span class="sourceLineNo">114</span>   */<a name="line.114"></a>
+<span class="sourceLineNo">115</span>  @InterfaceAudience.Public<a name="line.115"></a>
+<span class="sourceLineNo">116</span>  public enum ReturnCode {<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    /**<a name="line.117"></a>
+<span class="sourceLineNo">118</span>     * Include the Cell<a name="line.118"></a>
+<span class="sourceLineNo">119</span>     */<a name="line.119"></a>
+<span class="sourceLineNo">120</span>    INCLUDE,<a name="line.120"></a>
+<span class="sourceLineNo">121</span>    /**<a name="line.121"></a>
+<span class="sourceLineNo">122</span>     * Include the Cell and seek to the next column skipping older versions.<a name="line.122"></a>
+<span class="sourceLineNo">123</span>     */<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    INCLUDE_AND_NEXT_COL,<a name="line.124"></a>
+<span class="sourceLineNo">125</span>    /**<a name="line.125"></a>
+<span class="sourceLineNo">126</span>     * Skip this Cell<a name="line.126"></a>
+<span class="sourceLineNo">127</span>     */<a name="line.127"></a>
+<span class="sourceLineNo">128</span>    SKIP,<a name="line.128"></a>
+<span class="sourceLineNo">129</span>    /**<a name="line.129"></a>
+<span class="sourceLineNo">130</span>     * Skip this column. Go to the next column in this row.<a name="line.130"></a>
+<span class="sourceLineNo">131</span>     */<a name="line.131"></a>
+<span class="sourceLineNo">132</span>    NEXT_COL,<a name="line.132"></a>
+<span class="sourceLineNo">133</span>    /**<a name="line.133"></a>
+<span class="sourceLineNo">134</span>     * Seek to next row in current family. It may still pass a cell whose family is different but<a name="line.134"></a>
+<span class="sourceLineNo">135</span>     * row is the same as previous cell to {@link #filterCell(Cell)} , even if we get a NEXT_ROW<a name="line.135"></a>
+<span class="sourceLineNo">136</span>     * returned for previous cell. For more details see HBASE-18368. &lt;br&gt;<a name="line.136"></a>
+<span class="sourceLineNo">137</span>     * Once reset() method was invoked, then we switch to the next row for all family, and you can<a name="line.137"></a>
+<span class="sourceLineNo">138</span>     * catch the event by invoking CellUtils.matchingRows(previousCell, currentCell). &lt;br&gt;<a name="line.138"></a>
+<span class="sourceLineNo">139</span>     * Note that filterRow() will still be called. &lt;br&gt;<a name="line.139"></a>
+<span class="sourceLineNo">140</span>     */<a name="line.140"></a>
+<span class="sourceLineNo">141</span>    NEXT_ROW,<a name="line.141"></a>
+<span class="sourceLineNo">142</span>    /**<a name="line.142"></a>
+<span class="sourceLineNo">143</span>     * Seek to next key which is given as hint by the filter.<a name="line.143"></a>
+<span class="sourceLineNo">144</span>     */<a name="line.144"></a>
+<span class="sourceLineNo">145</span>    SEEK_NEXT_USING_HINT,<a name="line.145"></a>
+<span class="sourceLineNo">146</span>    /**<a name="line.146"></a>
+<span class="sourceLineNo">147</span>     * Include KeyValue and done with row, seek to next. See NEXT_ROW.<a name="line.147"></a>
+<span class="sourceLineNo">148</span>     */<a name="line.148"></a>
+<span class="sourceLineNo">149</span>    INCLUDE_AND_SEEK_NEXT_ROW,<a name="line.149"></a>
+<span class="sourceLineNo">150</span>  }<a name="line.150"></a>
+<span class="sourceLineNo">151</span><a name="line.151"></a>
+<span class="sourceLineNo">152</span>  /**<a name="line.152"></a>
+<span class="sourceLineNo">153</span>   * Chance to alter the list of Cells to be submitted. Modifications to the list will carry on<a name="line.153"></a>
+<span class="sourceLineNo">154</span>   * Concrete implementers can signal a failure condition in their code by throwing an<a name="line.154"></a>
+<span class="sourceLineNo">155</span>   * {@link IOException}.<a name="line.155"></a>
+<span class="sourceLineNo">156</span>   * @param kvs the list of Cells to be filtered<a name="line.156"></a>
+<span class="sourceLineNo">157</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.157"></a>
+<span class="sourceLineNo">158</span>   */<a name="line.158"></a>
+<span class="sourceLineNo">159</span>  abstract public void filterRowCells(List&lt;Cell&gt; kvs) throws IOException;<a name="line.159"></a>
+<span class="sourceLineNo">160</span><a name="line.160"></a>
+<span class="sourceLineNo">161</span>  /**<a name="line.161"></a>
+<span class="sourceLineNo">162</span>   * Primarily used to check for conflicts with scans(such as scans that do not read a full row at a<a name="line.162"></a>
+<span class="sourceLineNo">163</span>   * time).<a name="line.163"></a>
+<span class="sourceLineNo">164</span>   * @return True if this filter actively uses filterRowCells(List) or filterRow().<a name="line.164"></a>
+<span class="sourceLineNo">165</span>   */<a name="line.165"></a>
+<span class="sourceLineNo">166</span>  abstract public boolean hasFilterRow();<a name="line.166"></a>
+<span class="sourceLineNo">167</span><a name="line.167"></a>
+<span class="sourceLineNo">168</span>  /**<a name="line.168"></a>
+<span class="sourceLineNo">169</span>   * Last chance to veto row based on previous {@link #filterCell(Cell)} calls. The filter needs to<a name="line.169"></a>
+<span class="sourceLineNo">170</span>   * retain state then return a particular value for this call if they wish to exclude a row if a<a name="line.170"></a>
+<span class="sourceLineNo">171</span>   * certain column is missing (for example). Concrete implementers can signal a failure condition<a name="line.171"></a>
+<span class="sourceLineNo">172</span>   * in their code by throwing an {@link IOException}.<a name="line.172"></a>
+<span class="sourceLineNo">173</span>   * @return true to exclude row, false to include row.<a name="line.173"></a>
+<span class="sourceLineNo">174</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.174"></a>
+<span class="sourceLineNo">175</span>   */<a name="line.175"></a>
+<span class="sourceLineNo">176</span>  abstract public boolean filterRow() throws IOException;<a name="line.176"></a>
+<span class="sourceLineNo">177</span><a name="line.177"></a>
+<span class="sourceLineNo">178</span>  /**<a name="line.178"></a>
+<span class="sourceLineNo">179</span>   * If the filter returns the match code SEEK_NEXT_USING_HINT, then it should also tell which is<a name="line.179"></a>
+<span class="sourceLineNo">180</span>   * the next key it must seek to. After receiving the match code SEEK_NEXT_USING_HINT, the<a name="line.180"></a>
+<span class="sourceLineNo">181</span>   * QueryMatcher would call this function to find out which key it must next seek to. Concrete<a name="line.181"></a>
+<span class="sourceLineNo">182</span>   * implementers can signal a failure condition in their code by throwing an {@link IOException}.<a name="line.182"></a>
+<span class="sourceLineNo">183</span>   * &lt;strong&gt;NOTICE:&lt;/strong&gt; Filter will be evaluate at server side so the returned {@link Cell}<a name="line.183"></a>
+<span class="sourceLineNo">184</span>   * must be an {@link org.apache.hadoop.hbase.ExtendedCell}, although it is marked as IA.Private.<a name="line.184"></a>
+<span class="sourceLineNo">185</span>   * @return KeyValue which must be next seeked. return null if the filter is not sure which key to<a name="line.185"></a>
+<span class="sourceLineNo">186</span>   *         seek to next.<a name="line.186"></a>
+<span class="sourceLineNo">187</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.187"></a>
+<span class="sourceLineNo">188</span>   */<a name="line.188"></a>
+<span class="sourceLineNo">189</span>  abstract public Cell getNextCellHint(final Cell currentCell) throws IOException;<a name="line.189"></a>
+<span class="sourceLineNo">190</span><a name="line.190"></a>
+<span class="sourceLineNo">191</span>  /**<a name="line.191"></a>
+<span class="sourceLineNo">192</span>   * Check that given column family is essential for filter to check row. Most filters always return<a name="line.192"></a>
+<span class="sourceLineNo">193</span>   * true here. But some could have more sophisticated logic which could significantly reduce<a name="line.193"></a>
+<span class="sourceLineNo">194</span>   * scanning process by not even touching columns until we are 100% sure that it's data is needed<a name="line.194"></a>
+<span class="sourceLineNo">195</span>   * in result. Concrete implementers can signal a failure condition in their code by throwing an<a name="line.195"></a>
+<span class="sourceLineNo">196</span>   * {@link IOException}.<a name="line.196"></a>
+<span class="sourceLineNo">197</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.197"></a>
+<span class="sourceLineNo">198</span>   */<a name="line.198"></a>
+<span class="sourceLineNo">199</span>  abstract public boolean isFamilyEssential(byte[] name) throws IOException;<a name="line.199"></a>
+<span class="sourceLineNo">200</span><a name="line.200"></a>
+<span class="sourceLineNo">201</span>  /**<a name="line.201"></a>
+<span class="sourceLineNo">202</span>   * TODO: JAVADOC Concrete implementers can signal a failure condition in their code by throwing an<a name="line.202"></a>
+<span class="sourceLineNo">203</span>   * {@link IOException}.<a name="line.203"></a>
+<span class="sourceLineNo">204</span>   * @return The filter serialized using pb<a name="line.204"></a>
+<span class="sourceLineNo">205</span>   * @throws IOException in case an I/O or an filter specific failure needs to be signaled.<a name="line.205"></a>
+<span class="sourceLineNo">206</span>   */<a name="line.206"></a>
+<span class="sourceLineNo">207</span>  abstract public byte[] toByteArray() throws IOException;<a name="line.207"></a>
+<span class="sourceLineNo">208</span><a name="line.208"></a>
+<span class="sourceLineNo">209</span>  /**<a name="line.209"></a>
+<span class="sourceLineNo">210</span>   * Concrete implementers can signal a failure condition in their code by throwing an<a name="line.210"></a>
+<span class="sourceLineNo">211</span>   * {@link IOException}.<a name="line.211"></a>
+<span class="sourceLineNo">212</span>   * @param pbBytes A pb serialized {@link Filter} instance<a name="line.212"></a>
+<span class="sourceLineNo">213</span>   * @return An instance of {@link Filter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.213"></a>
+<span class="sourceLineNo">214</span>   * @throws DeserializationException if an error occurred<a name="line.214"></a>
+<span class="sourceLineNo">215</span>   * @see #toByteArray<a name="line.215"></a>
+<span class="sourceLineNo">216</span>   */<a name="line.216"></a>
+<span class="sourceLineNo">217</span>  public static Filter parseFrom(final byte[] pbBytes) throws DeserializationException {<a name="line.217"></a>
+<span class="sourceLineNo">218</span>    throw new DeserializationException(<a name="line.218"></a>
+<span class="sourceLineNo">219</span>      "parseFrom called on base Filter, but should be called on derived type");<a name="line.219"></a>
+<span class="sourceLineNo">220</span>  }<a name="line.220"></a>
+<span class="sourceLineNo">221</span><a name="line.221"></a>
+<span class="sourceLineNo">222</span>  /**<a name="line.222"></a>
+<span class="sourceLineNo">223</span>   * Concrete implementers can signal a failure condition in their code by throwing an<a name="line.223"></a>
+<span class="sourceLineNo">224</span>   * {@link IOException}.<a name="line.224"></a>
+<span class="sourceLineNo">225</span>   * @return true if and only if the fields of the filter that are serialized are equal to the<a name="line.225"></a>
+<span class="sourceLineNo">226</span>   *         corresponding fields in other. Used for testing.<a name="line.226"></a>
+<span class="sourceLineNo">227</span>   */<a name="line.227"></a>
+<span class="sourceLineNo">228</span>  abstract boolean areSerializedFieldsEqual(Filter other);<a name="line.228"></a>
+<span class="sourceLineNo">229</span><a name="line.229"></a>
+<span class="sourceLineNo">230</span>  /**<a name="line.230"></a>
+<span class="sourceLineNo">231</span>   * alter the reversed scan flag<a name="line.231"></a>
+<span class="sourceLineNo">232</span>   * @param reversed flag<a name="line.232"></a>
+<span class="sourceLineNo">233</span>   */<a name="line.233"></a>
+<span class="sourceLineNo">234</span>  public void setReversed(boolean reversed) {<a name="line.234"></a>
+<span class="sourceLineNo">235</span>    this.reversed = reversed;<a name="line.235"></a>
+<span class="sourceLineNo">236</span>  }<a name="line.236"></a>
+<span class="sourceLineNo">237</span><a name="line.237"></a>
+<span class="sourceLineNo">238</span>  public boolean isReversed() {<a name="line.238"></a>
+<span class="sourceLineNo">239</span>    return this.reversed;<a name="line.239"></a>
+<span class="sourceLineNo">240</span>  }<a name="line.240"></a>
+<span class="sourceLineNo">241</span>}<a name="line.241"></a>
 
 
 
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html
index 1278ef61256..73cd60574e9 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/KeyOnlyFilter.html
@@ -34,449 +34,466 @@
 <span class="sourceLineNo">026</span>import java.util.Optional;<a name="line.26"></a>
 <span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.ByteBufferExtendedCell;<a name="line.27"></a>
 <span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.Cell;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.HConstants;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.KeyValue;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.KeyValueUtil;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.Tag;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.exceptions.DeserializationException;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.34"></a>
-<span class="sourceLineNo">035</span>import org.apache.hadoop.hbase.util.ClassSize;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.36"></a>
-<span class="sourceLineNo">037</span><a name="line.37"></a>
-<span class="sourceLineNo">038</span>import org.apache.hbase.thirdparty.com.google.common.base.Preconditions;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException;<a name="line.39"></a>
-<span class="sourceLineNo">040</span><a name="line.40"></a>
-<span class="sourceLineNo">041</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos;<a name="line.41"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.ExtendedCell;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.HConstants;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.KeyValue;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.KeyValueUtil;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.PrivateCellUtil;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.Tag;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.hadoop.hbase.exceptions.DeserializationException;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.util.ClassSize;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.38"></a>
+<span class="sourceLineNo">039</span><a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.hbase.thirdparty.com.google.common.base.Preconditions;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException;<a name="line.41"></a>
 <span class="sourceLineNo">042</span><a name="line.42"></a>
-<span class="sourceLineNo">043</span>/**<a name="line.43"></a>
-<span class="sourceLineNo">044</span> * A filter that will only return the key component of each KV (the value will be rewritten as<a name="line.44"></a>
-<span class="sourceLineNo">045</span> * empty).<a name="line.45"></a>
-<span class="sourceLineNo">046</span> * &lt;p&gt;<a name="line.46"></a>
-<span class="sourceLineNo">047</span> * This filter can be used to grab all of the keys without having to also grab the values.<a name="line.47"></a>
-<span class="sourceLineNo">048</span> */<a name="line.48"></a>
-<span class="sourceLineNo">049</span>@InterfaceAudience.Public<a name="line.49"></a>
-<span class="sourceLineNo">050</span>public class KeyOnlyFilter extends FilterBase {<a name="line.50"></a>
-<span class="sourceLineNo">051</span><a name="line.51"></a>
-<span class="sourceLineNo">052</span>  boolean lenAsVal;<a name="line.52"></a>
+<span class="sourceLineNo">043</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos;<a name="line.43"></a>
+<span class="sourceLineNo">044</span><a name="line.44"></a>
+<span class="sourceLineNo">045</span>/**<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * A filter that will only return the key component of each KV (the value will be rewritten as<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * empty).<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * &lt;p&gt;<a name="line.48"></a>
+<span class="sourceLineNo">049</span> * This filter can be used to grab all of the keys without having to also grab the values.<a name="line.49"></a>
+<span class="sourceLineNo">050</span> */<a name="line.50"></a>
+<span class="sourceLineNo">051</span>@InterfaceAudience.Public<a name="line.51"></a>
+<span class="sourceLineNo">052</span>public class KeyOnlyFilter extends FilterBase {<a name="line.52"></a>
 <span class="sourceLineNo">053</span><a name="line.53"></a>
-<span class="sourceLineNo">054</span>  public KeyOnlyFilter() {<a name="line.54"></a>
-<span class="sourceLineNo">055</span>    this(false);<a name="line.55"></a>
-<span class="sourceLineNo">056</span>  }<a name="line.56"></a>
-<span class="sourceLineNo">057</span><a name="line.57"></a>
-<span class="sourceLineNo">058</span>  public KeyOnlyFilter(boolean lenAsVal) {<a name="line.58"></a>
-<span class="sourceLineNo">059</span>    this.lenAsVal = lenAsVal;<a name="line.59"></a>
-<span class="sourceLineNo">060</span>  }<a name="line.60"></a>
-<span class="sourceLineNo">061</span><a name="line.61"></a>
-<span class="sourceLineNo">062</span>  @Override<a name="line.62"></a>
-<span class="sourceLineNo">063</span>  public boolean filterRowKey(Cell cell) throws IOException {<a name="line.63"></a>
-<span class="sourceLineNo">064</span>    // Impl in FilterBase might do unnecessary copy for Off heap backed Cells.<a name="line.64"></a>
-<span class="sourceLineNo">065</span>    return false;<a name="line.65"></a>
-<span class="sourceLineNo">066</span>  }<a name="line.66"></a>
-<span class="sourceLineNo">067</span><a name="line.67"></a>
-<span class="sourceLineNo">068</span>  @Override<a name="line.68"></a>
-<span class="sourceLineNo">069</span>  public Cell transformCell(Cell cell) {<a name="line.69"></a>
-<span class="sourceLineNo">070</span>    return createKeyOnlyCell(cell);<a name="line.70"></a>
-<span class="sourceLineNo">071</span>  }<a name="line.71"></a>
-<span class="sourceLineNo">072</span><a name="line.72"></a>
-<span class="sourceLineNo">073</span>  private Cell createKeyOnlyCell(Cell c) {<a name="line.73"></a>
-<span class="sourceLineNo">074</span>    if (c instanceof ByteBufferExtendedCell) {<a name="line.74"></a>
-<span class="sourceLineNo">075</span>      return new KeyOnlyByteBufferExtendedCell((ByteBufferExtendedCell) c, lenAsVal);<a name="line.75"></a>
-<span class="sourceLineNo">076</span>    } else {<a name="line.76"></a>
-<span class="sourceLineNo">077</span>      return new KeyOnlyCell(c, lenAsVal);<a name="line.77"></a>
-<span class="sourceLineNo">078</span>    }<a name="line.78"></a>
-<span class="sourceLineNo">079</span>  }<a name="line.79"></a>
-<span class="sourceLineNo">080</span><a name="line.80"></a>
-<span class="sourceLineNo">081</span>  @Override<a name="line.81"></a>
-<span class="sourceLineNo">082</span>  public ReturnCode filterCell(final Cell ignored) throws IOException {<a name="line.82"></a>
-<span class="sourceLineNo">083</span>    return ReturnCode.INCLUDE;<a name="line.83"></a>
-<span class="sourceLineNo">084</span>  }<a name="line.84"></a>
-<span class="sourceLineNo">085</span><a name="line.85"></a>
-<span class="sourceLineNo">086</span>  public static Filter createFilterFromArguments(ArrayList&lt;byte[]&gt; filterArguments) {<a name="line.86"></a>
-<span class="sourceLineNo">087</span>    Preconditions.checkArgument((filterArguments.isEmpty() || filterArguments.size() == 1),<a name="line.87"></a>
-<span class="sourceLineNo">088</span>      "Expected: 0 or 1 but got: %s", filterArguments.size());<a name="line.88"></a>
-<span class="sourceLineNo">089</span>    KeyOnlyFilter filter = new KeyOnlyFilter();<a name="line.89"></a>
-<span class="sourceLineNo">090</span>    if (filterArguments.size() == 1) {<a name="line.90"></a>
-<span class="sourceLineNo">091</span>      filter.lenAsVal = ParseFilter.convertByteArrayToBoolean(filterArguments.get(0));<a name="line.91"></a>
-<span class="sourceLineNo">092</span>    }<a name="line.92"></a>
-<span class="sourceLineNo">093</span>    return filter;<a name="line.93"></a>
-<span class="sourceLineNo">094</span>  }<a name="line.94"></a>
-<span class="sourceLineNo">095</span><a name="line.95"></a>
-<span class="sourceLineNo">096</span>  /** Returns The filter serialized using pb */<a name="line.96"></a>
-<span class="sourceLineNo">097</span>  @Override<a name="line.97"></a>
-<span class="sourceLineNo">098</span>  public byte[] toByteArray() {<a name="line.98"></a>
-<span class="sourceLineNo">099</span>    FilterProtos.KeyOnlyFilter.Builder builder = FilterProtos.KeyOnlyFilter.newBuilder();<a name="line.99"></a>
-<span class="sourceLineNo">100</span>    builder.setLenAsVal(this.lenAsVal);<a name="line.100"></a>
-<span class="sourceLineNo">101</span>    return builder.build().toByteArray();<a name="line.101"></a>
-<span class="sourceLineNo">102</span>  }<a name="line.102"></a>
-<span class="sourceLineNo">103</span><a name="line.103"></a>
-<span class="sourceLineNo">104</span>  /**<a name="line.104"></a>
-<span class="sourceLineNo">105</span>   * Parse a serialized representation of {@link KeyOnlyFilter}<a name="line.105"></a>
-<span class="sourceLineNo">106</span>   * @param pbBytes A pb serialized {@link KeyOnlyFilter} instance<a name="line.106"></a>
-<span class="sourceLineNo">107</span>   * @return An instance of {@link KeyOnlyFilter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.107"></a>
-<span class="sourceLineNo">108</span>   * @throws DeserializationException if an error occurred<a name="line.108"></a>
-<span class="sourceLineNo">109</span>   * @see #toByteArray<a name="line.109"></a>
-<span class="sourceLineNo">110</span>   */<a name="line.110"></a>
-<span class="sourceLineNo">111</span>  public static KeyOnlyFilter parseFrom(final byte[] pbBytes) throws DeserializationException {<a name="line.111"></a>
-<span class="sourceLineNo">112</span>    FilterProtos.KeyOnlyFilter proto;<a name="line.112"></a>
-<span class="sourceLineNo">113</span>    try {<a name="line.113"></a>
-<span class="sourceLineNo">114</span>      proto = FilterProtos.KeyOnlyFilter.parseFrom(pbBytes);<a name="line.114"></a>
-<span class="sourceLineNo">115</span>    } catch (InvalidProtocolBufferException e) {<a name="line.115"></a>
-<span class="sourceLineNo">116</span>      throw new DeserializationException(e);<a name="line.116"></a>
-<span class="sourceLineNo">117</span>    }<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    return new KeyOnlyFilter(proto.getLenAsVal());<a name="line.118"></a>
-<span class="sourceLineNo">119</span>  }<a name="line.119"></a>
-<span class="sourceLineNo">120</span><a name="line.120"></a>
-<span class="sourceLineNo">121</span>  /**<a name="line.121"></a>
-<span class="sourceLineNo">122</span>   * Returns true if and only if the fields of the filter that are serialized are equal to the<a name="line.122"></a>
-<span class="sourceLineNo">123</span>   * corresponding fields in other. Used for testing.<a name="line.123"></a>
-<span class="sourceLineNo">124</span>   */<a name="line.124"></a>
-<span class="sourceLineNo">125</span>  @Override<a name="line.125"></a>
-<span class="sourceLineNo">126</span>  boolean areSerializedFieldsEqual(Filter o) {<a name="line.126"></a>
-<span class="sourceLineNo">127</span>    if (o == this) {<a name="line.127"></a>
-<span class="sourceLineNo">128</span>      return true;<a name="line.128"></a>
-<span class="sourceLineNo">129</span>    }<a name="line.129"></a>
-<span class="sourceLineNo">130</span>    if (!(o instanceof KeyOnlyFilter)) {<a name="line.130"></a>
-<span class="sourceLineNo">131</span>      return false;<a name="line.131"></a>
-<span class="sourceLineNo">132</span>    }<a name="line.132"></a>
-<span class="sourceLineNo">133</span>    KeyOnlyFilter other = (KeyOnlyFilter) o;<a name="line.133"></a>
-<span class="sourceLineNo">134</span>    return this.lenAsVal == other.lenAsVal;<a name="line.134"></a>
-<span class="sourceLineNo">135</span>  }<a name="line.135"></a>
-<span class="sourceLineNo">136</span><a name="line.136"></a>
-<span class="sourceLineNo">137</span>  @Override<a name="line.137"></a>
-<span class="sourceLineNo">138</span>  public boolean equals(Object obj) {<a name="line.138"></a>
-<span class="sourceLineNo">139</span>    return obj instanceof Filter &amp;&amp; areSerializedFieldsEqual((Filter) obj);<a name="line.139"></a>
-<span class="sourceLineNo">140</span>  }<a name="line.140"></a>
-<span class="sourceLineNo">141</span><a name="line.141"></a>
-<span class="sourceLineNo">142</span>  @Override<a name="line.142"></a>
-<span class="sourceLineNo">143</span>  public int hashCode() {<a name="line.143"></a>
-<span class="sourceLineNo">144</span>    return Objects.hash(this.lenAsVal);<a name="line.144"></a>
-<span class="sourceLineNo">145</span>  }<a name="line.145"></a>
-<span class="sourceLineNo">146</span><a name="line.146"></a>
-<span class="sourceLineNo">147</span>  static class KeyOnlyCell implements Cell {<a name="line.147"></a>
-<span class="sourceLineNo">148</span>    private Cell cell;<a name="line.148"></a>
-<span class="sourceLineNo">149</span>    private int keyLen;<a name="line.149"></a>
-<span class="sourceLineNo">150</span>    private boolean lenAsVal;<a name="line.150"></a>
-<span class="sourceLineNo">151</span><a name="line.151"></a>
-<span class="sourceLineNo">152</span>    public KeyOnlyCell(Cell c, boolean lenAsVal) {<a name="line.152"></a>
-<span class="sourceLineNo">153</span>      this.cell = c;<a name="line.153"></a>
-<span class="sourceLineNo">154</span>      this.lenAsVal = lenAsVal;<a name="line.154"></a>
-<span class="sourceLineNo">155</span>      this.keyLen = KeyValueUtil.keyLength(c);<a name="line.155"></a>
-<span class="sourceLineNo">156</span>    }<a name="line.156"></a>
-<span class="sourceLineNo">157</span><a name="line.157"></a>
-<span class="sourceLineNo">158</span>    @Override<a name="line.158"></a>
-<span class="sourceLineNo">159</span>    public byte[] getRowArray() {<a name="line.159"></a>
-<span class="sourceLineNo">160</span>      return cell.getRowArray();<a name="line.160"></a>
-<span class="sourceLineNo">161</span>    }<a name="line.161"></a>
-<span class="sourceLineNo">162</span><a name="line.162"></a>
-<span class="sourceLineNo">163</span>    @Override<a name="line.163"></a>
-<span class="sourceLineNo">164</span>    public int getRowOffset() {<a name="line.164"></a>
-<span class="sourceLineNo">165</span>      return cell.getRowOffset();<a name="line.165"></a>
-<span class="sourceLineNo">166</span>    }<a name="line.166"></a>
-<span class="sourceLineNo">167</span><a name="line.167"></a>
-<span class="sourceLineNo">168</span>    @Override<a name="line.168"></a>
-<span class="sourceLineNo">169</span>    public short getRowLength() {<a name="line.169"></a>
-<span class="sourceLineNo">170</span>      return cell.getRowLength();<a name="line.170"></a>
-<span class="sourceLineNo">171</span>    }<a name="line.171"></a>
-<span class="sourceLineNo">172</span><a name="line.172"></a>
-<span class="sourceLineNo">173</span>    @Override<a name="line.173"></a>
-<span class="sourceLineNo">174</span>    public byte[] getFamilyArray() {<a name="line.174"></a>
-<span class="sourceLineNo">175</span>      return cell.getFamilyArray();<a name="line.175"></a>
-<span class="sourceLineNo">176</span>    }<a name="line.176"></a>
-<span class="sourceLineNo">177</span><a name="line.177"></a>
-<span class="sourceLineNo">178</span>    @Override<a name="line.178"></a>
-<span class="sourceLineNo">179</span>    public int getFamilyOffset() {<a name="line.179"></a>
-<span class="sourceLineNo">180</span>      return cell.getFamilyOffset();<a name="line.180"></a>
-<span class="sourceLineNo">181</span>    }<a name="line.181"></a>
-<span class="sourceLineNo">182</span><a name="line.182"></a>
-<span class="sourceLineNo">183</span>    @Override<a name="line.183"></a>
-<span class="sourceLineNo">184</span>    public byte getFamilyLength() {<a name="line.184"></a>
-<span class="sourceLineNo">185</span>      return cell.getFamilyLength();<a name="line.185"></a>
-<span class="sourceLineNo">186</span>    }<a name="line.186"></a>
-<span class="sourceLineNo">187</span><a name="line.187"></a>
-<span class="sourceLineNo">188</span>    @Override<a name="line.188"></a>
-<span class="sourceLineNo">189</span>    public byte[] getQualifierArray() {<a name="line.189"></a>
-<span class="sourceLineNo">190</span>      return cell.getQualifierArray();<a name="line.190"></a>
-<span class="sourceLineNo">191</span>    }<a name="line.191"></a>
-<span class="sourceLineNo">192</span><a name="line.192"></a>
-<span class="sourceLineNo">193</span>    @Override<a name="line.193"></a>
-<span class="sourceLineNo">194</span>    public int getQualifierOffset() {<a name="line.194"></a>
-<span class="sourceLineNo">195</span>      return cell.getQualifierOffset();<a name="line.195"></a>
-<span class="sourceLineNo">196</span>    }<a name="line.196"></a>
-<span class="sourceLineNo">197</span><a name="line.197"></a>
-<span class="sourceLineNo">198</span>    @Override<a name="line.198"></a>
-<span class="sourceLineNo">199</span>    public int getQualifierLength() {<a name="line.199"></a>
-<span class="sourceLineNo">200</span>      return cell.getQualifierLength();<a name="line.200"></a>
-<span class="sourceLineNo">201</span>    }<a name="line.201"></a>
-<span class="sourceLineNo">202</span><a name="line.202"></a>
-<span class="sourceLineNo">203</span>    @Override<a name="line.203"></a>
-<span class="sourceLineNo">204</span>    public long getTimestamp() {<a name="line.204"></a>
-<span class="sourceLineNo">205</span>      return cell.getTimestamp();<a name="line.205"></a>
-<span class="sourceLineNo">206</span>    }<a name="line.206"></a>
-<span class="sourceLineNo">207</span><a name="line.207"></a>
-<span class="sourceLineNo">208</span>    @Override<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    public byte getTypeByte() {<a name="line.209"></a>
-<span class="sourceLineNo">210</span>      return cell.getTypeByte();<a name="line.210"></a>
-<span class="sourceLineNo">211</span>    }<a name="line.211"></a>
-<span class="sourceLineNo">212</span><a name="line.212"></a>
-<span class="sourceLineNo">213</span>    @Override<a name="line.213"></a>
-<span class="sourceLineNo">214</span>    public Type getType() {<a name="line.214"></a>
-<span class="sourceLineNo">215</span>      return cell.getType();<a name="line.215"></a>
-<span class="sourceLineNo">216</span>    }<a name="line.216"></a>
-<span class="sourceLineNo">217</span><a name="line.217"></a>
-<span class="sourceLineNo">218</span>    @Override<a name="line.218"></a>
-<span class="sourceLineNo">219</span>    public long getSequenceId() {<a name="line.219"></a>
-<span class="sourceLineNo">220</span>      return 0;<a name="line.220"></a>
-<span class="sourceLineNo">221</span>    }<a name="line.221"></a>
-<span class="sourceLineNo">222</span><a name="line.222"></a>
-<span class="sourceLineNo">223</span>    @Override<a name="line.223"></a>
-<span class="sourceLineNo">224</span>    public byte[] getValueArray() {<a name="line.224"></a>
-<span class="sourceLineNo">225</span>      if (lenAsVal) {<a name="line.225"></a>
-<span class="sourceLineNo">226</span>        return Bytes.toBytes(cell.getValueLength());<a name="line.226"></a>
-<span class="sourceLineNo">227</span>      } else {<a name="line.227"></a>
-<span class="sourceLineNo">228</span>        return HConstants.EMPTY_BYTE_ARRAY;<a name="line.228"></a>
-<span class="sourceLineNo">229</span>      }<a name="line.229"></a>
-<span class="sourceLineNo">230</span>    }<a name="line.230"></a>
-<span class="sourceLineNo">231</span><a name="line.231"></a>
-<span class="sourceLineNo">232</span>    @Override<a name="line.232"></a>
-<span class="sourceLineNo">233</span>    public int getValueOffset() {<a name="line.233"></a>
-<span class="sourceLineNo">234</span>      return 0;<a name="line.234"></a>
-<span class="sourceLineNo">235</span>    }<a name="line.235"></a>
-<span class="sourceLineNo">236</span><a name="line.236"></a>
-<span class="sourceLineNo">237</span>    @Override<a name="line.237"></a>
-<span class="sourceLineNo">238</span>    public int getValueLength() {<a name="line.238"></a>
-<span class="sourceLineNo">239</span>      if (lenAsVal) {<a name="line.239"></a>
-<span class="sourceLineNo">240</span>        return Bytes.SIZEOF_INT;<a name="line.240"></a>
-<span class="sourceLineNo">241</span>      } else {<a name="line.241"></a>
-<span class="sourceLineNo">242</span>        return 0;<a name="line.242"></a>
-<span class="sourceLineNo">243</span>      }<a name="line.243"></a>
-<span class="sourceLineNo">244</span>    }<a name="line.244"></a>
-<span class="sourceLineNo">245</span><a name="line.245"></a>
-<span class="sourceLineNo">246</span>    @Override<a name="line.246"></a>
-<span class="sourceLineNo">247</span>    public int getSerializedSize() {<a name="line.247"></a>
-<span class="sourceLineNo">248</span>      return KeyValue.KEYVALUE_INFRASTRUCTURE_SIZE + keyLen + getValueLength();<a name="line.248"></a>
-<span class="sourceLineNo">249</span>    }<a name="line.249"></a>
-<span class="sourceLineNo">250</span><a name="line.250"></a>
-<span class="sourceLineNo">251</span>    @Override<a name="line.251"></a>
-<span class="sourceLineNo">252</span>    public byte[] getTagsArray() {<a name="line.252"></a>
-<span class="sourceLineNo">253</span>      return HConstants.EMPTY_BYTE_ARRAY;<a name="line.253"></a>
-<span class="sourceLineNo">254</span>    }<a name="line.254"></a>
-<span class="sourceLineNo">255</span><a name="line.255"></a>
-<span class="sourceLineNo">256</span>    @Override<a name="line.256"></a>
-<span class="sourceLineNo">257</span>    public int getTagsOffset() {<a name="line.257"></a>
-<span class="sourceLineNo">258</span>      return 0;<a name="line.258"></a>
-<span class="sourceLineNo">259</span>    }<a name="line.259"></a>
-<span class="sourceLineNo">260</span><a name="line.260"></a>
-<span class="sourceLineNo">261</span>    @Override<a name="line.261"></a>
-<span class="sourceLineNo">262</span>    public int getTagsLength() {<a name="line.262"></a>
-<span class="sourceLineNo">263</span>      return 0;<a name="line.263"></a>
-<span class="sourceLineNo">264</span>    }<a name="line.264"></a>
-<span class="sourceLineNo">265</span><a name="line.265"></a>
-<span class="sourceLineNo">266</span>    @Override<a name="line.266"></a>
-<span class="sourceLineNo">267</span>    public long heapSize() {<a name="line.267"></a>
-<span class="sourceLineNo">268</span>      return cell.heapSize();<a name="line.268"></a>
-<span class="sourceLineNo">269</span>    }<a name="line.269"></a>
-<span class="sourceLineNo">270</span>  }<a name="line.270"></a>
-<span class="sourceLineNo">271</span><a name="line.271"></a>
-<span class="sourceLineNo">272</span>  static class KeyOnlyByteBufferExtendedCell extends ByteBufferExtendedCell {<a name="line.272"></a>
-<span class="sourceLineNo">273</span>    public static final int FIXED_OVERHEAD =<a name="line.273"></a>
-<span class="sourceLineNo">274</span>      ClassSize.OBJECT + ClassSize.REFERENCE + Bytes.SIZEOF_BOOLEAN;<a name="line.274"></a>
-<span class="sourceLineNo">275</span>    private ByteBufferExtendedCell cell;<a name="line.275"></a>
-<span class="sourceLineNo">276</span>    private boolean lenAsVal;<a name="line.276"></a>
+<span class="sourceLineNo">054</span>  boolean lenAsVal;<a name="line.54"></a>
+<span class="sourceLineNo">055</span><a name="line.55"></a>
+<span class="sourceLineNo">056</span>  public KeyOnlyFilter() {<a name="line.56"></a>
+<span class="sourceLineNo">057</span>    this(false);<a name="line.57"></a>
+<span class="sourceLineNo">058</span>  }<a name="line.58"></a>
+<span class="sourceLineNo">059</span><a name="line.59"></a>
+<span class="sourceLineNo">060</span>  public KeyOnlyFilter(boolean lenAsVal) {<a name="line.60"></a>
+<span class="sourceLineNo">061</span>    this.lenAsVal = lenAsVal;<a name="line.61"></a>
+<span class="sourceLineNo">062</span>  }<a name="line.62"></a>
+<span class="sourceLineNo">063</span><a name="line.63"></a>
+<span class="sourceLineNo">064</span>  @Override<a name="line.64"></a>
+<span class="sourceLineNo">065</span>  public boolean filterRowKey(Cell cell) throws IOException {<a name="line.65"></a>
+<span class="sourceLineNo">066</span>    // Impl in FilterBase might do unnecessary copy for Off heap backed Cells.<a name="line.66"></a>
+<span class="sourceLineNo">067</span>    return false;<a name="line.67"></a>
+<span class="sourceLineNo">068</span>  }<a name="line.68"></a>
+<span class="sourceLineNo">069</span><a name="line.69"></a>
+<span class="sourceLineNo">070</span>  @Override<a name="line.70"></a>
+<span class="sourceLineNo">071</span>  public Cell transformCell(Cell cell) {<a name="line.71"></a>
+<span class="sourceLineNo">072</span>    return createKeyOnlyCell(cell);<a name="line.72"></a>
+<span class="sourceLineNo">073</span>  }<a name="line.73"></a>
+<span class="sourceLineNo">074</span><a name="line.74"></a>
+<span class="sourceLineNo">075</span>  private Cell createKeyOnlyCell(Cell c) {<a name="line.75"></a>
+<span class="sourceLineNo">076</span>    if (c instanceof ByteBufferExtendedCell) {<a name="line.76"></a>
+<span class="sourceLineNo">077</span>      return new KeyOnlyByteBufferExtendedCell((ByteBufferExtendedCell) c, lenAsVal);<a name="line.77"></a>
+<span class="sourceLineNo">078</span>    } else {<a name="line.78"></a>
+<span class="sourceLineNo">079</span>      return new KeyOnlyCell(c, lenAsVal);<a name="line.79"></a>
+<span class="sourceLineNo">080</span>    }<a name="line.80"></a>
+<span class="sourceLineNo">081</span>  }<a name="line.81"></a>
+<span class="sourceLineNo">082</span><a name="line.82"></a>
+<span class="sourceLineNo">083</span>  @Override<a name="line.83"></a>
+<span class="sourceLineNo">084</span>  public ReturnCode filterCell(final Cell ignored) throws IOException {<a name="line.84"></a>
+<span class="sourceLineNo">085</span>    return ReturnCode.INCLUDE;<a name="line.85"></a>
+<span class="sourceLineNo">086</span>  }<a name="line.86"></a>
+<span class="sourceLineNo">087</span><a name="line.87"></a>
+<span class="sourceLineNo">088</span>  public static Filter createFilterFromArguments(ArrayList&lt;byte[]&gt; filterArguments) {<a name="line.88"></a>
+<span class="sourceLineNo">089</span>    Preconditions.checkArgument((filterArguments.isEmpty() || filterArguments.size() == 1),<a name="line.89"></a>
+<span class="sourceLineNo">090</span>      "Expected: 0 or 1 but got: %s", filterArguments.size());<a name="line.90"></a>
+<span class="sourceLineNo">091</span>    KeyOnlyFilter filter = new KeyOnlyFilter();<a name="line.91"></a>
+<span class="sourceLineNo">092</span>    if (filterArguments.size() == 1) {<a name="line.92"></a>
+<span class="sourceLineNo">093</span>      filter.lenAsVal = ParseFilter.convertByteArrayToBoolean(filterArguments.get(0));<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    }<a name="line.94"></a>
+<span class="sourceLineNo">095</span>    return filter;<a name="line.95"></a>
+<span class="sourceLineNo">096</span>  }<a name="line.96"></a>
+<span class="sourceLineNo">097</span><a name="line.97"></a>
+<span class="sourceLineNo">098</span>  /** Returns The filter serialized using pb */<a name="line.98"></a>
+<span class="sourceLineNo">099</span>  @Override<a name="line.99"></a>
+<span class="sourceLineNo">100</span>  public byte[] toByteArray() {<a name="line.100"></a>
+<span class="sourceLineNo">101</span>    FilterProtos.KeyOnlyFilter.Builder builder = FilterProtos.KeyOnlyFilter.newBuilder();<a name="line.101"></a>
+<span class="sourceLineNo">102</span>    builder.setLenAsVal(this.lenAsVal);<a name="line.102"></a>
+<span class="sourceLineNo">103</span>    return builder.build().toByteArray();<a name="line.103"></a>
+<span class="sourceLineNo">104</span>  }<a name="line.104"></a>
+<span class="sourceLineNo">105</span><a name="line.105"></a>
+<span class="sourceLineNo">106</span>  /**<a name="line.106"></a>
+<span class="sourceLineNo">107</span>   * Parse a serialized representation of {@link KeyOnlyFilter}<a name="line.107"></a>
+<span class="sourceLineNo">108</span>   * @param pbBytes A pb serialized {@link KeyOnlyFilter} instance<a name="line.108"></a>
+<span class="sourceLineNo">109</span>   * @return An instance of {@link KeyOnlyFilter} made from &lt;code&gt;bytes&lt;/code&gt;<a name="line.109"></a>
+<span class="sourceLineNo">110</span>   * @throws DeserializationException if an error occurred<a name="line.110"></a>
+<span class="sourceLineNo">111</span>   * @see #toByteArray<a name="line.111"></a>
+<span class="sourceLineNo">112</span>   */<a name="line.112"></a>
+<span class="sourceLineNo">113</span>  public static KeyOnlyFilter parseFrom(final byte[] pbBytes) throws DeserializationException {<a name="line.113"></a>
+<span class="sourceLineNo">114</span>    FilterProtos.KeyOnlyFilter proto;<a name="line.114"></a>
+<span class="sourceLineNo">115</span>    try {<a name="line.115"></a>
+<span class="sourceLineNo">116</span>      proto = FilterProtos.KeyOnlyFilter.parseFrom(pbBytes);<a name="line.116"></a>
+<span class="sourceLineNo">117</span>    } catch (InvalidProtocolBufferException e) {<a name="line.117"></a>
+<span class="sourceLineNo">118</span>      throw new DeserializationException(e);<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    }<a name="line.119"></a>
+<span class="sourceLineNo">120</span>    return new KeyOnlyFilter(proto.getLenAsVal());<a name="line.120"></a>
+<span class="sourceLineNo">121</span>  }<a name="line.121"></a>
+<span class="sourceLineNo">122</span><a name="line.122"></a>
+<span class="sourceLineNo">123</span>  /**<a name="line.123"></a>
+<span class="sourceLineNo">124</span>   * Returns true if and only if the fields of the filter that are serialized are equal to the<a name="line.124"></a>
+<span class="sourceLineNo">125</span>   * corresponding fields in other. Used for testing.<a name="line.125"></a>
+<span class="sourceLineNo">126</span>   */<a name="line.126"></a>
+<span class="sourceLineNo">127</span>  @Override<a name="line.127"></a>
+<span class="sourceLineNo">128</span>  boolean areSerializedFieldsEqual(Filter o) {<a name="line.128"></a>
+<span class="sourceLineNo">129</span>    if (o == this) {<a name="line.129"></a>
+<span class="sourceLineNo">130</span>      return true;<a name="line.130"></a>
+<span class="sourceLineNo">131</span>    }<a name="line.131"></a>
+<span class="sourceLineNo">132</span>    if (!(o instanceof KeyOnlyFilter)) {<a name="line.132"></a>
+<span class="sourceLineNo">133</span>      return false;<a name="line.133"></a>
+<span class="sourceLineNo">134</span>    }<a name="line.134"></a>
+<span class="sourceLineNo">135</span>    KeyOnlyFilter other = (KeyOnlyFilter) o;<a name="line.135"></a>
+<span class="sourceLineNo">136</span>    return this.lenAsVal == other.lenAsVal;<a name="line.136"></a>
+<span class="sourceLineNo">137</span>  }<a name="line.137"></a>
+<span class="sourceLineNo">138</span><a name="line.138"></a>
+<span class="sourceLineNo">139</span>  @Override<a name="line.139"></a>
+<span class="sourceLineNo">140</span>  public boolean equals(Object obj) {<a name="line.140"></a>
+<span class="sourceLineNo">141</span>    return obj instanceof Filter &amp;&amp; areSerializedFieldsEqual((Filter) obj);<a name="line.141"></a>
+<span class="sourceLineNo">142</span>  }<a name="line.142"></a>
+<span class="sourceLineNo">143</span><a name="line.143"></a>
+<span class="sourceLineNo">144</span>  @Override<a name="line.144"></a>
+<span class="sourceLineNo">145</span>  public int hashCode() {<a name="line.145"></a>
+<span class="sourceLineNo">146</span>    return Objects.hash(this.lenAsVal);<a name="line.146"></a>
+<span class="sourceLineNo">147</span>  }<a name="line.147"></a>
+<span class="sourceLineNo">148</span><a name="line.148"></a>
+<span class="sourceLineNo">149</span>  static class KeyOnlyCell implements ExtendedCell {<a name="line.149"></a>
+<span class="sourceLineNo">150</span>    private Cell cell;<a name="line.150"></a>
+<span class="sourceLineNo">151</span>    private int keyLen;<a name="line.151"></a>
+<span class="sourceLineNo">152</span>    private boolean lenAsVal;<a name="line.152"></a>
+<span class="sourceLineNo">153</span><a name="line.153"></a>
+<span class="sourceLineNo">154</span>    public KeyOnlyCell(Cell c, boolean lenAsVal) {<a name="line.154"></a>
+<span class="sourceLineNo">155</span>      this.cell = c;<a name="line.155"></a>
+<span class="sourceLineNo">156</span>      this.lenAsVal = lenAsVal;<a name="line.156"></a>
+<span class="sourceLineNo">157</span>      this.keyLen = KeyValueUtil.keyLength(c);<a name="line.157"></a>
+<span class="sourceLineNo">158</span>    }<a name="line.158"></a>
+<span class="sourceLineNo">159</span><a name="line.159"></a>
+<span class="sourceLineNo">160</span>    @Override<a name="line.160"></a>
+<span class="sourceLineNo">161</span>    public byte[] getRowArray() {<a name="line.161"></a>
+<span class="sourceLineNo">162</span>      return cell.getRowArray();<a name="line.162"></a>
+<span class="sourceLineNo">163</span>    }<a name="line.163"></a>
+<span class="sourceLineNo">164</span><a name="line.164"></a>
+<span class="sourceLineNo">165</span>    @Override<a name="line.165"></a>
+<span class="sourceLineNo">166</span>    public int getRowOffset() {<a name="line.166"></a>
+<span class="sourceLineNo">167</span>      return cell.getRowOffset();<a name="line.167"></a>
+<span class="sourceLineNo">168</span>    }<a name="line.168"></a>
+<span class="sourceLineNo">169</span><a name="line.169"></a>
+<span class="sourceLineNo">170</span>    @Override<a name="line.170"></a>
+<span class="sourceLineNo">171</span>    public short getRowLength() {<a name="line.171"></a>
+<span class="sourceLineNo">172</span>      return cell.getRowLength();<a name="line.172"></a>
+<span class="sourceLineNo">173</span>    }<a name="line.173"></a>
+<span class="sourceLineNo">174</span><a name="line.174"></a>
+<span class="sourceLineNo">175</span>    @Override<a name="line.175"></a>
+<span class="sourceLineNo">176</span>    public byte[] getFamilyArray() {<a name="line.176"></a>
+<span class="sourceLineNo">177</span>      return cell.getFamilyArray();<a name="line.177"></a>
+<span class="sourceLineNo">178</span>    }<a name="line.178"></a>
+<span class="sourceLineNo">179</span><a name="line.179"></a>
+<span class="sourceLineNo">180</span>    @Override<a name="line.180"></a>
+<span class="sourceLineNo">181</span>    public int getFamilyOffset() {<a name="line.181"></a>
+<span class="sourceLineNo">182</span>      return cell.getFamilyOffset();<a name="line.182"></a>
+<span class="sourceLineNo">183</span>    }<a name="line.183"></a>
+<span class="sourceLineNo">184</span><a name="line.184"></a>
+<span class="sourceLineNo">185</span>    @Override<a name="line.185"></a>
+<span class="sourceLineNo">186</span>    public byte getFamilyLength() {<a name="line.186"></a>
+<span class="sourceLineNo">187</span>      return cell.getFamilyLength();<a name="line.187"></a>
+<span class="sourceLineNo">188</span>    }<a name="line.188"></a>
+<span class="sourceLineNo">189</span><a name="line.189"></a>
+<span class="sourceLineNo">190</span>    @Override<a name="line.190"></a>
+<span class="sourceLineNo">191</span>    public byte[] getQualifierArray() {<a name="line.191"></a>
+<span class="sourceLineNo">192</span>      return cell.getQualifierArray();<a name="line.192"></a>
+<span class="sourceLineNo">193</span>    }<a name="line.193"></a>
+<span class="sourceLineNo">194</span><a name="line.194"></a>
+<span class="sourceLineNo">195</span>    @Override<a name="line.195"></a>
+<span class="sourceLineNo">196</span>    public int getQualifierOffset() {<a name="line.196"></a>
+<span class="sourceLineNo">197</span>      return cell.getQualifierOffset();<a name="line.197"></a>
+<span class="sourceLineNo">198</span>    }<a name="line.198"></a>
+<span class="sourceLineNo">199</span><a name="line.199"></a>
+<span class="sourceLineNo">200</span>    @Override<a name="line.200"></a>
+<span class="sourceLineNo">201</span>    public int getQualifierLength() {<a name="line.201"></a>
+<span class="sourceLineNo">202</span>      return cell.getQualifierLength();<a name="line.202"></a>
+<span class="sourceLineNo">203</span>    }<a name="line.203"></a>
+<span class="sourceLineNo">204</span><a name="line.204"></a>
+<span class="sourceLineNo">205</span>    @Override<a name="line.205"></a>
+<span class="sourceLineNo">206</span>    public long getTimestamp() {<a name="line.206"></a>
+<span class="sourceLineNo">207</span>      return cell.getTimestamp();<a name="line.207"></a>
+<span class="sourceLineNo">208</span>    }<a name="line.208"></a>
+<span class="sourceLineNo">209</span><a name="line.209"></a>
+<span class="sourceLineNo">210</span>    @Override<a name="line.210"></a>
+<span class="sourceLineNo">211</span>    public byte getTypeByte() {<a name="line.211"></a>
+<span class="sourceLineNo">212</span>      return cell.getTypeByte();<a name="line.212"></a>
+<span class="sourceLineNo">213</span>    }<a name="line.213"></a>
+<span class="sourceLineNo">214</span><a name="line.214"></a>
+<span class="sourceLineNo">215</span>    @Override<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    public Type getType() {<a name="line.216"></a>
+<span class="sourceLineNo">217</span>      return cell.getType();<a name="line.217"></a>
+<span class="sourceLineNo">218</span>    }<a name="line.218"></a>
+<span class="sourceLineNo">219</span><a name="line.219"></a>
+<span class="sourceLineNo">220</span>    @Override<a name="line.220"></a>
+<span class="sourceLineNo">221</span>    public long getSequenceId() {<a name="line.221"></a>
+<span class="sourceLineNo">222</span>      return 0;<a name="line.222"></a>
+<span class="sourceLineNo">223</span>    }<a name="line.223"></a>
+<span class="sourceLineNo">224</span><a name="line.224"></a>
+<span class="sourceLineNo">225</span>    @Override<a name="line.225"></a>
+<span class="sourceLineNo">226</span>    public byte[] getValueArray() {<a name="line.226"></a>
+<span class="sourceLineNo">227</span>      if (lenAsVal) {<a name="line.227"></a>
+<span class="sourceLineNo">228</span>        return Bytes.toBytes(cell.getValueLength());<a name="line.228"></a>
+<span class="sourceLineNo">229</span>      } else {<a name="line.229"></a>
+<span class="sourceLineNo">230</span>        return HConstants.EMPTY_BYTE_ARRAY;<a name="line.230"></a>
+<span class="sourceLineNo">231</span>      }<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    }<a name="line.232"></a>
+<span class="sourceLineNo">233</span><a name="line.233"></a>
+<span class="sourceLineNo">234</span>    @Override<a name="line.234"></a>
+<span class="sourceLineNo">235</span>    public int getValueOffset() {<a name="line.235"></a>
+<span class="sourceLineNo">236</span>      return 0;<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    }<a name="line.237"></a>
+<span class="sourceLineNo">238</span><a name="line.238"></a>
+<span class="sourceLineNo">239</span>    @Override<a name="line.239"></a>
+<span class="sourceLineNo">240</span>    public int getValueLength() {<a name="line.240"></a>
+<span class="sourceLineNo">241</span>      if (lenAsVal) {<a name="line.241"></a>
+<span class="sourceLineNo">242</span>        return Bytes.SIZEOF_INT;<a name="line.242"></a>
+<span class="sourceLineNo">243</span>      } else {<a name="line.243"></a>
+<span class="sourceLineNo">244</span>        return 0;<a name="line.244"></a>
+<span class="sourceLineNo">245</span>      }<a name="line.245"></a>
+<span class="sourceLineNo">246</span>    }<a name="line.246"></a>
+<span class="sourceLineNo">247</span><a name="line.247"></a>
+<span class="sourceLineNo">248</span>    @Override<a name="line.248"></a>
+<span class="sourceLineNo">249</span>    public int getSerializedSize() {<a name="line.249"></a>
+<span class="sourceLineNo">250</span>      return KeyValue.KEYVALUE_INFRASTRUCTURE_SIZE + keyLen + getValueLength();<a name="line.250"></a>
+<span class="sourceLineNo">251</span>    }<a name="line.251"></a>
+<span class="sourceLineNo">252</span><a name="line.252"></a>
+<span class="sourceLineNo">253</span>    @Override<a name="line.253"></a>
+<span class="sourceLineNo">254</span>    public byte[] getTagsArray() {<a name="line.254"></a>
+<span class="sourceLineNo">255</span>      return HConstants.EMPTY_BYTE_ARRAY;<a name="line.255"></a>
+<span class="sourceLineNo">256</span>    }<a name="line.256"></a>
+<span class="sourceLineNo">257</span><a name="line.257"></a>
+<span class="sourceLineNo">258</span>    @Override<a name="line.258"></a>
+<span class="sourceLineNo">259</span>    public int getTagsOffset() {<a name="line.259"></a>
+<span class="sourceLineNo">260</span>      return 0;<a name="line.260"></a>
+<span class="sourceLineNo">261</span>    }<a name="line.261"></a>
+<span class="sourceLineNo">262</span><a name="line.262"></a>
+<span class="sourceLineNo">263</span>    @Override<a name="line.263"></a>
+<span class="sourceLineNo">264</span>    public int getTagsLength() {<a name="line.264"></a>
+<span class="sourceLineNo">265</span>      return 0;<a name="line.265"></a>
+<span class="sourceLineNo">266</span>    }<a name="line.266"></a>
+<span class="sourceLineNo">267</span><a name="line.267"></a>
+<span class="sourceLineNo">268</span>    @Override<a name="line.268"></a>
+<span class="sourceLineNo">269</span>    public long heapSize() {<a name="line.269"></a>
+<span class="sourceLineNo">270</span>      return cell.heapSize();<a name="line.270"></a>
+<span class="sourceLineNo">271</span>    }<a name="line.271"></a>
+<span class="sourceLineNo">272</span><a name="line.272"></a>
+<span class="sourceLineNo">273</span>    @Override<a name="line.273"></a>
+<span class="sourceLineNo">274</span>    public void setSequenceId(long seqId) throws IOException {<a name="line.274"></a>
+<span class="sourceLineNo">275</span>      PrivateCellUtil.setSequenceId(cell, seqId);<a name="line.275"></a>
+<span class="sourceLineNo">276</span>    }<a name="line.276"></a>
 <span class="sourceLineNo">277</span><a name="line.277"></a>
-<span class="sourceLineNo">278</span>    public KeyOnlyByteBufferExtendedCell(ByteBufferExtendedCell c, boolean lenAsVal) {<a name="line.278"></a>
-<span class="sourceLineNo">279</span>      this.cell = c;<a name="line.279"></a>
-<span class="sourceLineNo">280</span>      this.lenAsVal = lenAsVal;<a name="line.280"></a>
+<span class="sourceLineNo">278</span>    @Override<a name="line.278"></a>
+<span class="sourceLineNo">279</span>    public void setTimestamp(long ts) throws IOException {<a name="line.279"></a>
+<span class="sourceLineNo">280</span>      PrivateCellUtil.setTimestamp(cell, ts);<a name="line.280"></a>
 <span class="sourceLineNo">281</span>    }<a name="line.281"></a>
 <span class="sourceLineNo">282</span><a name="line.282"></a>
 <span class="sourceLineNo">283</span>    @Override<a name="line.283"></a>
-<span class="sourceLineNo">284</span>    public byte[] getRowArray() {<a name="line.284"></a>
-<span class="sourceLineNo">285</span>      return cell.getRowArray();<a name="line.285"></a>
+<span class="sourceLineNo">284</span>    public void setTimestamp(byte[] ts) throws IOException {<a name="line.284"></a>
+<span class="sourceLineNo">285</span>      PrivateCellUtil.setTimestamp(cell, ts);<a name="line.285"></a>
 <span class="sourceLineNo">286</span>    }<a name="line.286"></a>
-<span class="sourceLineNo">287</span><a name="line.287"></a>
-<span class="sourceLineNo">288</span>    @Override<a name="line.288"></a>
-<span class="sourceLineNo">289</span>    public int getRowOffset() {<a name="line.289"></a>
-<span class="sourceLineNo">290</span>      return cell.getRowOffset();<a name="line.290"></a>
-<span class="sourceLineNo">291</span>    }<a name="line.291"></a>
-<span class="sourceLineNo">292</span><a name="line.292"></a>
-<span class="sourceLineNo">293</span>    @Override<a name="line.293"></a>
-<span class="sourceLineNo">294</span>    public short getRowLength() {<a name="line.294"></a>
-<span class="sourceLineNo">295</span>      return cell.getRowLength();<a name="line.295"></a>
-<span class="sourceLineNo">296</span>    }<a name="line.296"></a>
-<span class="sourceLineNo">297</span><a name="line.297"></a>
-<span class="sourceLineNo">298</span>    @Override<a name="line.298"></a>
-<span class="sourceLineNo">299</span>    public byte[] getFamilyArray() {<a name="line.299"></a>
-<span class="sourceLineNo">300</span>      return cell.getFamilyArray();<a name="line.300"></a>
-<span class="sourceLineNo">301</span>    }<a name="line.301"></a>
-<span class="sourceLineNo">302</span><a name="line.302"></a>
-<span class="sourceLineNo">303</span>    @Override<a name="line.303"></a>
-<span class="sourceLineNo">304</span>    public int getFamilyOffset() {<a name="line.304"></a>
-<span class="sourceLineNo">305</span>      return cell.getFamilyOffset();<a name="line.305"></a>
-<span class="sourceLineNo">306</span>    }<a name="line.306"></a>
-<span class="sourceLineNo">307</span><a name="line.307"></a>
-<span class="sourceLineNo">308</span>    @Override<a name="line.308"></a>
-<span class="sourceLineNo">309</span>    public byte getFamilyLength() {<a name="line.309"></a>
-<span class="sourceLineNo">310</span>      return cell.getFamilyLength();<a name="line.310"></a>
-<span class="sourceLineNo">311</span>    }<a name="line.311"></a>
-<span class="sourceLineNo">312</span><a name="line.312"></a>
-<span class="sourceLineNo">313</span>    @Override<a name="line.313"></a>
-<span class="sourceLineNo">314</span>    public byte[] getQualifierArray() {<a name="line.314"></a>
-<span class="sourceLineNo">315</span>      return cell.getQualifierArray();<a name="line.315"></a>
-<span class="sourceLineNo">316</span>    }<a name="line.316"></a>
-<span class="sourceLineNo">317</span><a name="line.317"></a>
-<span class="sourceLineNo">318</span>    @Override<a name="line.318"></a>
-<span class="sourceLineNo">319</span>    public int getQualifierOffset() {<a name="line.319"></a>
-<span class="sourceLineNo">320</span>      return cell.getQualifierOffset();<a name="line.320"></a>
-<span class="sourceLineNo">321</span>    }<a name="line.321"></a>
-<span class="sourceLineNo">322</span><a name="line.322"></a>
-<span class="sourceLineNo">323</span>    @Override<a name="line.323"></a>
-<span class="sourceLineNo">324</span>    public int getQualifierLength() {<a name="line.324"></a>
-<span class="sourceLineNo">325</span>      return cell.getQualifierLength();<a name="line.325"></a>
-<span class="sourceLineNo">326</span>    }<a name="line.326"></a>
-<span class="sourceLineNo">327</span><a name="line.327"></a>
-<span class="sourceLineNo">328</span>    @Override<a name="line.328"></a>
-<span class="sourceLineNo">329</span>    public long getTimestamp() {<a name="line.329"></a>
-<span class="sourceLineNo">330</span>      return cell.getTimestamp();<a name="line.330"></a>
-<span class="sourceLineNo">331</span>    }<a name="line.331"></a>
-<span class="sourceLineNo">332</span><a name="line.332"></a>
-<span class="sourceLineNo">333</span>    @Override<a name="line.333"></a>
-<span class="sourceLineNo">334</span>    public byte getTypeByte() {<a name="line.334"></a>
-<span class="sourceLineNo">335</span>      return cell.getTypeByte();<a name="line.335"></a>
-<span class="sourceLineNo">336</span>    }<a name="line.336"></a>
-<span class="sourceLineNo">337</span><a name="line.337"></a>
-<span class="sourceLineNo">338</span>    @Override<a name="line.338"></a>
-<span class="sourceLineNo">339</span>    public void setSequenceId(long seqId) throws IOException {<a name="line.339"></a>
-<span class="sourceLineNo">340</span>      cell.setSequenceId(seqId);<a name="line.340"></a>
-<span class="sourceLineNo">341</span>    }<a name="line.341"></a>
-<span class="sourceLineNo">342</span><a name="line.342"></a>
-<span class="sourceLineNo">343</span>    @Override<a name="line.343"></a>
-<span class="sourceLineNo">344</span>    public void setTimestamp(long ts) throws IOException {<a name="line.344"></a>
-<span class="sourceLineNo">345</span>      cell.setTimestamp(ts);<a name="line.345"></a>
-<span class="sourceLineNo">346</span>    }<a name="line.346"></a>
-<span class="sourceLineNo">347</span><a name="line.347"></a>
-<span class="sourceLineNo">348</span>    @Override<a name="line.348"></a>
-<span class="sourceLineNo">349</span>    public void setTimestamp(byte[] ts) throws IOException {<a name="line.349"></a>
-<span class="sourceLineNo">350</span>      cell.setTimestamp(ts);<a name="line.350"></a>
-<span class="sourceLineNo">351</span>    }<a name="line.351"></a>
-<span class="sourceLineNo">352</span><a name="line.352"></a>
-<span class="sourceLineNo">353</span>    @Override<a name="line.353"></a>
-<span class="sourceLineNo">354</span>    public long getSequenceId() {<a name="line.354"></a>
-<span class="sourceLineNo">355</span>      return 0;<a name="line.355"></a>
-<span class="sourceLineNo">356</span>    }<a name="line.356"></a>
-<span class="sourceLineNo">357</span><a name="line.357"></a>
-<span class="sourceLineNo">358</span>    @Override<a name="line.358"></a>
-<span class="sourceLineNo">359</span>    public Type getType() {<a name="line.359"></a>
-<span class="sourceLineNo">360</span>      return cell.getType();<a name="line.360"></a>
-<span class="sourceLineNo">361</span>    }<a name="line.361"></a>
-<span class="sourceLineNo">362</span><a name="line.362"></a>
-<span class="sourceLineNo">363</span>    @Override<a name="line.363"></a>
-<span class="sourceLineNo">364</span>    public byte[] getValueArray() {<a name="line.364"></a>
-<span class="sourceLineNo">365</span>      if (lenAsVal) {<a name="line.365"></a>
-<span class="sourceLineNo">366</span>        return Bytes.toBytes(cell.getValueLength());<a name="line.366"></a>
-<span class="sourceLineNo">367</span>      } else {<a name="line.367"></a>
-<span class="sourceLineNo">368</span>        return HConstants.EMPTY_BYTE_ARRAY;<a name="line.368"></a>
-<span class="sourceLineNo">369</span>      }<a name="line.369"></a>
-<span class="sourceLineNo">370</span>    }<a name="line.370"></a>
-<span class="sourceLineNo">371</span><a name="line.371"></a>
-<span class="sourceLineNo">372</span>    @Override<a name="line.372"></a>
-<span class="sourceLineNo">373</span>    public int getValueOffset() {<a name="line.373"></a>
-<span class="sourceLineNo">374</span>      return 0;<a name="line.374"></a>
-<span class="sourceLineNo">375</span>    }<a name="line.375"></a>
-<span class="sourceLineNo">376</span><a name="line.376"></a>
-<span class="sourceLineNo">377</span>    @Override<a name="line.377"></a>
-<span class="sourceLineNo">378</span>    public int getValueLength() {<a name="line.378"></a>
-<span class="sourceLineNo">379</span>      if (lenAsVal) {<a name="line.379"></a>
-<span class="sourceLineNo">380</span>        return Bytes.SIZEOF_INT;<a name="line.380"></a>
-<span class="sourceLineNo">381</span>      } else {<a name="line.381"></a>
-<span class="sourceLineNo">382</span>        return 0;<a name="line.382"></a>
-<span class="sourceLineNo">383</span>      }<a name="line.383"></a>
-<span class="sourceLineNo">384</span>    }<a name="line.384"></a>
-<span class="sourceLineNo">385</span><a name="line.385"></a>
-<span class="sourceLineNo">386</span>    @Override<a name="line.386"></a>
-<span class="sourceLineNo">387</span>    public byte[] getTagsArray() {<a name="line.387"></a>
-<span class="sourceLineNo">388</span>      return HConstants.EMPTY_BYTE_ARRAY;<a name="line.388"></a>
-<span class="sourceLineNo">389</span>    }<a name="line.389"></a>
-<span class="sourceLineNo">390</span><a name="line.390"></a>
-<span class="sourceLineNo">391</span>    @Override<a name="line.391"></a>
-<span class="sourceLineNo">392</span>    public int getTagsOffset() {<a name="line.392"></a>
-<span class="sourceLineNo">393</span>      return 0;<a name="line.393"></a>
-<span class="sourceLineNo">394</span>    }<a name="line.394"></a>
-<span class="sourceLineNo">395</span><a name="line.395"></a>
-<span class="sourceLineNo">396</span>    @Override<a name="line.396"></a>
-<span class="sourceLineNo">397</span>    public int getTagsLength() {<a name="line.397"></a>
-<span class="sourceLineNo">398</span>      return 0;<a name="line.398"></a>
-<span class="sourceLineNo">399</span>    }<a name="line.399"></a>
-<span class="sourceLineNo">400</span><a name="line.400"></a>
-<span class="sourceLineNo">401</span>    @Override<a name="line.401"></a>
-<span class="sourceLineNo">402</span>    public ByteBuffer getRowByteBuffer() {<a name="line.402"></a>
-<span class="sourceLineNo">403</span>      return cell.getRowByteBuffer();<a name="line.403"></a>
-<span class="sourceLineNo">404</span>    }<a name="line.404"></a>
-<span class="sourceLineNo">405</span><a name="line.405"></a>
-<span class="sourceLineNo">406</span>    @Override<a name="line.406"></a>
-<span class="sourceLineNo">407</span>    public int getRowPosition() {<a name="line.407"></a>
-<span class="sourceLineNo">408</span>      return cell.getRowPosition();<a name="line.408"></a>
-<span class="sourceLineNo">409</span>    }<a name="line.409"></a>
-<span class="sourceLineNo">410</span><a name="line.410"></a>
-<span class="sourceLineNo">411</span>    @Override<a name="line.411"></a>
-<span class="sourceLineNo">412</span>    public ByteBuffer getFamilyByteBuffer() {<a name="line.412"></a>
-<span class="sourceLineNo">413</span>      return cell.getFamilyByteBuffer();<a name="line.413"></a>
-<span class="sourceLineNo">414</span>    }<a name="line.414"></a>
-<span class="sourceLineNo">415</span><a name="line.415"></a>
-<span class="sourceLineNo">416</span>    @Override<a name="line.416"></a>
-<span class="sourceLineNo">417</span>    public int getFamilyPosition() {<a name="line.417"></a>
-<span class="sourceLineNo">418</span>      return cell.getFamilyPosition();<a name="line.418"></a>
-<span class="sourceLineNo">419</span>    }<a name="line.419"></a>
-<span class="sourceLineNo">420</span><a name="line.420"></a>
-<span class="sourceLineNo">421</span>    @Override<a name="line.421"></a>
-<span class="sourceLineNo">422</span>    public ByteBuffer getQualifierByteBuffer() {<a name="line.422"></a>
-<span class="sourceLineNo">423</span>      return cell.getQualifierByteBuffer();<a name="line.423"></a>
-<span class="sourceLineNo">424</span>    }<a name="line.424"></a>
-<span class="sourceLineNo">425</span><a name="line.425"></a>
-<span class="sourceLineNo">426</span>    @Override<a name="line.426"></a>
-<span class="sourceLineNo">427</span>    public int getQualifierPosition() {<a name="line.427"></a>
-<span class="sourceLineNo">428</span>      return cell.getQualifierPosition();<a name="line.428"></a>
-<span class="sourceLineNo">429</span>    }<a name="line.429"></a>
-<span class="sourceLineNo">430</span><a name="line.430"></a>
-<span class="sourceLineNo">431</span>    @Override<a name="line.431"></a>
-<span class="sourceLineNo">432</span>    public ByteBuffer getValueByteBuffer() {<a name="line.432"></a>
-<span class="sourceLineNo">433</span>      if (lenAsVal) {<a name="line.433"></a>
-<span class="sourceLineNo">434</span>        return ByteBuffer.wrap(Bytes.toBytes(cell.getValueLength()));<a name="line.434"></a>
-<span class="sourceLineNo">435</span>      } else {<a name="line.435"></a>
-<span class="sourceLineNo">436</span>        return HConstants.EMPTY_BYTE_BUFFER;<a name="line.436"></a>
-<span class="sourceLineNo">437</span>      }<a name="line.437"></a>
-<span class="sourceLineNo">438</span>    }<a name="line.438"></a>
-<span class="sourceLineNo">439</span><a name="line.439"></a>
-<span class="sourceLineNo">440</span>    @Override<a name="line.440"></a>
-<span class="sourceLineNo">441</span>    public int getValuePosition() {<a name="line.441"></a>
-<span class="sourceLineNo">442</span>      return 0;<a name="line.442"></a>
-<span class="sourceLineNo">443</span>    }<a name="line.443"></a>
-<span class="sourceLineNo">444</span><a name="line.444"></a>
-<span class="sourceLineNo">445</span>    @Override<a name="line.445"></a>
-<span class="sourceLineNo">446</span>    public ByteBuffer getTagsByteBuffer() {<a name="line.446"></a>
-<span class="sourceLineNo">447</span>      return HConstants.EMPTY_BYTE_BUFFER;<a name="line.447"></a>
-<span class="sourceLineNo">448</span>    }<a name="line.448"></a>
-<span class="sourceLineNo">449</span><a name="line.449"></a>
-<span class="sourceLineNo">450</span>    @Override<a name="line.450"></a>
-<span class="sourceLineNo">451</span>    public int getTagsPosition() {<a name="line.451"></a>
-<span class="sourceLineNo">452</span>      return 0;<a name="line.452"></a>
-<span class="sourceLineNo">453</span>    }<a name="line.453"></a>
-<span class="sourceLineNo">454</span><a name="line.454"></a>
-<span class="sourceLineNo">455</span>    @Override<a name="line.455"></a>
-<span class="sourceLineNo">456</span>    public Iterator&lt;Tag&gt; getTags() {<a name="line.456"></a>
-<span class="sourceLineNo">457</span>      return Collections.emptyIterator();<a name="line.457"></a>
-<span class="sourceLineNo">458</span>    }<a name="line.458"></a>
-<span class="sourceLineNo">459</span><a name="line.459"></a>
-<span class="sourceLineNo">460</span>    @Override<a name="line.460"></a>
-<span class="sourceLineNo">461</span>    public Optional&lt;Tag&gt; getTag(byte type) {<a name="line.461"></a>
-<span class="sourceLineNo">462</span>      return Optional.empty();<a name="line.462"></a>
-<span class="sourceLineNo">463</span>    }<a name="line.463"></a>
-<span class="sourceLineNo">464</span><a name="line.464"></a>
-<span class="sourceLineNo">465</span>    @Override<a name="line.465"></a>
-<span class="sourceLineNo">466</span>    public long heapSize() {<a name="line.466"></a>
-<span class="sourceLineNo">467</span>      return ClassSize.align(FIXED_OVERHEAD + cell.heapSize());<a name="line.467"></a>
-<span class="sourceLineNo">468</span>    }<a name="line.468"></a>
-<span class="sourceLineNo">469</span>  }<a name="line.469"></a>
-<span class="sourceLineNo">470</span><a name="line.470"></a>
-<span class="sourceLineNo">471</span>}<a name="line.471"></a>
+<span class="sourceLineNo">287</span>  }<a name="line.287"></a>
+<span class="sourceLineNo">288</span><a name="line.288"></a>
+<span class="sourceLineNo">289</span>  static class KeyOnlyByteBufferExtendedCell extends ByteBufferExtendedCell {<a name="line.289"></a>
+<span class="sourceLineNo">290</span>    public static final int FIXED_OVERHEAD =<a name="line.290"></a>
+<span class="sourceLineNo">291</span>      ClassSize.OBJECT + ClassSize.REFERENCE + Bytes.SIZEOF_BOOLEAN;<a name="line.291"></a>
+<span class="sourceLineNo">292</span>    private ByteBufferExtendedCell cell;<a name="line.292"></a>
+<span class="sourceLineNo">293</span>    private boolean lenAsVal;<a name="line.293"></a>
+<span class="sourceLineNo">294</span><a name="line.294"></a>
+<span class="sourceLineNo">295</span>    public KeyOnlyByteBufferExtendedCell(ByteBufferExtendedCell c, boolean lenAsVal) {<a name="line.295"></a>
+<span class="sourceLineNo">296</span>      this.cell = c;<a name="line.296"></a>
+<span class="sourceLineNo">297</span>      this.lenAsVal = lenAsVal;<a name="line.297"></a>
+<span class="sourceLineNo">298</span>    }<a name="line.298"></a>
+<span class="sourceLineNo">299</span><a name="line.299"></a>
+<span class="sourceLineNo">300</span>    @Override<a name="line.300"></a>
+<span class="sourceLineNo">301</span>    public byte[] getRowArray() {<a name="line.301"></a>
+<span class="sourceLineNo">302</span>      return cell.getRowArray();<a name="line.302"></a>
+<span class="sourceLineNo">303</span>    }<a name="line.303"></a>
+<span class="sourceLineNo">304</span><a name="line.304"></a>
+<span class="sourceLineNo">305</span>    @Override<a name="line.305"></a>
+<span class="sourceLineNo">306</span>    public int getRowOffset() {<a name="line.306"></a>
+<span class="sourceLineNo">307</span>      return cell.getRowOffset();<a name="line.307"></a>
+<span class="sourceLineNo">308</span>    }<a name="line.308"></a>
+<span class="sourceLineNo">309</span><a name="line.309"></a>
+<span class="sourceLineNo">310</span>    @Override<a name="line.310"></a>
+<span class="sourceLineNo">311</span>    public short getRowLength() {<a name="line.311"></a>
+<span class="sourceLineNo">312</span>      return cell.getRowLength();<a name="line.312"></a>
+<span class="sourceLineNo">313</span>    }<a name="line.313"></a>
+<span class="sourceLineNo">314</span><a name="line.314"></a>
+<span class="sourceLineNo">315</span>    @Override<a name="line.315"></a>
+<span class="sourceLineNo">316</span>    public byte[] getFamilyArray() {<a name="line.316"></a>
+<span class="sourceLineNo">317</span>      return cell.getFamilyArray();<a name="line.317"></a>
+<span class="sourceLineNo">318</span>    }<a name="line.318"></a>
+<span class="sourceLineNo">319</span><a name="line.319"></a>
+<span class="sourceLineNo">320</span>    @Override<a name="line.320"></a>
+<span class="sourceLineNo">321</span>    public int getFamilyOffset() {<a name="line.321"></a>
+<span class="sourceLineNo">322</span>      return cell.getFamilyOffset();<a name="line.322"></a>
+<span class="sourceLineNo">323</span>    }<a name="line.323"></a>
+<span class="sourceLineNo">324</span><a name="line.324"></a>
+<span class="sourceLineNo">325</span>    @Override<a name="line.325"></a>
+<span class="sourceLineNo">326</span>    public byte getFamilyLength() {<a name="line.326"></a>
+<span class="sourceLineNo">327</span>      return cell.getFamilyLength();<a name="line.327"></a>
+<span class="sourceLineNo">328</span>    }<a name="line.328"></a>
+<span class="sourceLineNo">329</span><a name="line.329"></a>
+<span class="sourceLineNo">330</span>    @Override<a name="line.330"></a>
+<span class="sourceLineNo">331</span>    public byte[] getQualifierArray() {<a name="line.331"></a>
+<span class="sourceLineNo">332</span>      return cell.getQualifierArray();<a name="line.332"></a>
+<span class="sourceLineNo">333</span>    }<a name="line.333"></a>
+<span class="sourceLineNo">334</span><a name="line.334"></a>
+<span class="sourceLineNo">335</span>    @Override<a name="line.335"></a>
+<span class="sourceLineNo">336</span>    public int getQualifierOffset() {<a name="line.336"></a>
+<span class="sourceLineNo">337</span>      return cell.getQualifierOffset();<a name="line.337"></a>
+<span class="sourceLineNo">338</span>    }<a name="line.338"></a>
+<span class="sourceLineNo">339</span><a name="line.339"></a>
+<span class="sourceLineNo">340</span>    @Override<a name="line.340"></a>
+<span class="sourceLineNo">341</span>    public int getQualifierLength() {<a name="line.341"></a>
+<span class="sourceLineNo">342</span>      return cell.getQualifierLength();<a name="line.342"></a>
+<span class="sourceLineNo">343</span>    }<a name="line.343"></a>
+<span class="sourceLineNo">344</span><a name="line.344"></a>
+<span class="sourceLineNo">345</span>    @Override<a name="line.345"></a>
+<span class="sourceLineNo">346</span>    public long getTimestamp() {<a name="line.346"></a>
+<span class="sourceLineNo">347</span>      return cell.getTimestamp();<a name="line.347"></a>
+<span class="sourceLineNo">348</span>    }<a name="line.348"></a>
+<span class="sourceLineNo">349</span><a name="line.349"></a>
+<span class="sourceLineNo">350</span>    @Override<a name="line.350"></a>
+<span class="sourceLineNo">351</span>    public byte getTypeByte() {<a name="line.351"></a>
+<span class="sourceLineNo">352</span>      return cell.getTypeByte();<a name="line.352"></a>
+<span class="sourceLineNo">353</span>    }<a name="line.353"></a>
+<span class="sourceLineNo">354</span><a name="line.354"></a>
+<span class="sourceLineNo">355</span>    @Override<a name="line.355"></a>
+<span class="sourceLineNo">356</span>    public void setSequenceId(long seqId) throws IOException {<a name="line.356"></a>
+<span class="sourceLineNo">357</span>      cell.setSequenceId(seqId);<a name="line.357"></a>
+<span class="sourceLineNo">358</span>    }<a name="line.358"></a>
+<span class="sourceLineNo">359</span><a name="line.359"></a>
+<span class="sourceLineNo">360</span>    @Override<a name="line.360"></a>
+<span class="sourceLineNo">361</span>    public void setTimestamp(long ts) throws IOException {<a name="line.361"></a>
+<span class="sourceLineNo">362</span>      cell.setTimestamp(ts);<a name="line.362"></a>
+<span class="sourceLineNo">363</span>    }<a name="line.363"></a>
+<span class="sourceLineNo">364</span><a name="line.364"></a>
+<span class="sourceLineNo">365</span>    @Override<a name="line.365"></a>
+<span class="sourceLineNo">366</span>    public void setTimestamp(byte[] ts) throws IOException {<a name="line.366"></a>
+<span class="sourceLineNo">367</span>      cell.setTimestamp(ts);<a name="line.367"></a>
+<span class="sourceLineNo">368</span>    }<a name="line.368"></a>
+<span class="sourceLineNo">369</span><a name="line.369"></a>
+<span class="sourceLineNo">370</span>    @Override<a name="line.370"></a>
+<span class="sourceLineNo">371</span>    public long getSequenceId() {<a name="line.371"></a>
+<span class="sourceLineNo">372</span>      return 0;<a name="line.372"></a>
+<span class="sourceLineNo">373</span>    }<a name="line.373"></a>
+<span class="sourceLineNo">374</span><a name="line.374"></a>
+<span class="sourceLineNo">375</span>    @Override<a name="line.375"></a>
+<span class="sourceLineNo">376</span>    public Type getType() {<a name="line.376"></a>
+<span class="sourceLineNo">377</span>      return cell.getType();<a name="line.377"></a>
+<span class="sourceLineNo">378</span>    }<a name="line.378"></a>
+<span class="sourceLineNo">379</span><a name="line.379"></a>
+<span class="sourceLineNo">380</span>    @Override<a name="line.380"></a>
+<span class="sourceLineNo">381</span>    public byte[] getValueArray() {<a name="line.381"></a>
+<span class="sourceLineNo">382</span>      if (lenAsVal) {<a name="line.382"></a>
+<span class="sourceLineNo">383</span>        return Bytes.toBytes(cell.getValueLength());<a name="line.383"></a>
+<span class="sourceLineNo">384</span>      } else {<a name="line.384"></a>
+<span class="sourceLineNo">385</span>        return HConstants.EMPTY_BYTE_ARRAY;<a name="line.385"></a>
+<span class="sourceLineNo">386</span>      }<a name="line.386"></a>
+<span class="sourceLineNo">387</span>    }<a name="line.387"></a>
+<span class="sourceLineNo">388</span><a name="line.388"></a>
+<span class="sourceLineNo">389</span>    @Override<a name="line.389"></a>
+<span class="sourceLineNo">390</span>    public int getValueOffset() {<a name="line.390"></a>
+<span class="sourceLineNo">391</span>      return 0;<a name="line.391"></a>
+<span class="sourceLineNo">392</span>    }<a name="line.392"></a>
+<span class="sourceLineNo">393</span><a name="line.393"></a>
+<span class="sourceLineNo">394</span>    @Override<a name="line.394"></a>
+<span class="sourceLineNo">395</span>    public int getValueLength() {<a name="line.395"></a>
+<span class="sourceLineNo">396</span>      if (lenAsVal) {<a name="line.396"></a>
+<span class="sourceLineNo">397</span>        return Bytes.SIZEOF_INT;<a name="line.397"></a>
+<span class="sourceLineNo">398</span>      } else {<a name="line.398"></a>
+<span class="sourceLineNo">399</span>        return 0;<a name="line.399"></a>
+<span class="sourceLineNo">400</span>      }<a name="line.400"></a>
+<span class="sourceLineNo">401</span>    }<a name="line.401"></a>
+<span class="sourceLineNo">402</span><a name="line.402"></a>
+<span class="sourceLineNo">403</span>    @Override<a name="line.403"></a>
+<span class="sourceLineNo">404</span>    public byte[] getTagsArray() {<a name="line.404"></a>
+<span class="sourceLineNo">405</span>      return HConstants.EMPTY_BYTE_ARRAY;<a name="line.405"></a>
+<span class="sourceLineNo">406</span>    }<a name="line.406"></a>
+<span class="sourceLineNo">407</span><a name="line.407"></a>
+<span class="sourceLineNo">408</span>    @Override<a name="line.408"></a>
+<span class="sourceLineNo">409</span>    public int getTagsOffset() {<a name="line.409"></a>
+<span class="sourceLineNo">410</span>      return 0;<a name="line.410"></a>
+<span class="sourceLineNo">411</span>    }<a name="line.411"></a>
+<span class="sourceLineNo">412</span><a name="line.412"></a>
+<span class="sourceLineNo">413</span>    @Override<a name="line.413"></a>
+<span class="sourceLineNo">414</span>    public int getTagsLength() {<a name="line.414"></a>
+<span class="sourceLineNo">415</span>      return 0;<a name="line.415"></a>
+<span class="sourceLineNo">416</span>    }<a name="line.416"></a>
+<span class="sourceLineNo">417</span><a name="line.417"></a>
+<span class="sourceLineNo">418</span>    @Override<a name="line.418"></a>
+<span class="sourceLineNo">419</span>    public ByteBuffer getRowByteBuffer() {<a name="line.419"></a>
+<span class="sourceLineNo">420</span>      return cell.getRowByteBuffer();<a name="line.420"></a>
+<span class="sourceLineNo">421</span>    }<a name="line.421"></a>
+<span class="sourceLineNo">422</span><a name="line.422"></a>
+<span class="sourceLineNo">423</span>    @Override<a name="line.423"></a>
+<span class="sourceLineNo">424</span>    public int getRowPosition() {<a name="line.424"></a>
+<span class="sourceLineNo">425</span>      return cell.getRowPosition();<a name="line.425"></a>
+<span class="sourceLineNo">426</span>    }<a name="line.426"></a>
+<span class="sourceLineNo">427</span><a name="line.427"></a>
+<span class="sourceLineNo">428</span>    @Override<a name="line.428"></a>
+<span class="sourceLineNo">429</span>    public ByteBuffer getFamilyByteBuffer() {<a name="line.429"></a>
+<span class="sourceLineNo">430</span>      return cell.getFamilyByteBuffer();<a name="line.430"></a>
+<span class="sourceLineNo">431</span>    }<a name="line.431"></a>
+<span class="sourceLineNo">432</span><a name="line.432"></a>
+<span class="sourceLineNo">433</span>    @Override<a name="line.433"></a>
+<span class="sourceLineNo">434</span>    public int getFamilyPosition() {<a name="line.434"></a>
+<span class="sourceLineNo">435</span>      return cell.getFamilyPosition();<a name="line.435"></a>
+<span class="sourceLineNo">436</span>    }<a name="line.436"></a>
+<span class="sourceLineNo">437</span><a name="line.437"></a>
+<span class="sourceLineNo">438</span>    @Override<a name="line.438"></a>
+<span class="sourceLineNo">439</span>    public ByteBuffer getQualifierByteBuffer() {<a name="line.439"></a>
+<span class="sourceLineNo">440</span>      return cell.getQualifierByteBuffer();<a name="line.440"></a>
+<span class="sourceLineNo">441</span>    }<a name="line.441"></a>
+<span class="sourceLineNo">442</span><a name="line.442"></a>
+<span class="sourceLineNo">443</span>    @Override<a name="line.443"></a>
+<span class="sourceLineNo">444</span>    public int getQualifierPosition() {<a name="line.444"></a>
+<span class="sourceLineNo">445</span>      return cell.getQualifierPosition();<a name="line.445"></a>
+<span class="sourceLineNo">446</span>    }<a name="line.446"></a>
+<span class="sourceLineNo">447</span><a name="line.447"></a>
+<span class="sourceLineNo">448</span>    @Override<a name="line.448"></a>
+<span class="sourceLineNo">449</span>    public ByteBuffer getValueByteBuffer() {<a name="line.449"></a>
+<span class="sourceLineNo">450</span>      if (lenAsVal) {<a name="line.450"></a>
+<span class="sourceLineNo">451</span>        return ByteBuffer.wrap(Bytes.toBytes(cell.getValueLength()));<a name="line.451"></a>
+<span class="sourceLineNo">452</span>      } else {<a name="line.452"></a>
+<span class="sourceLineNo">453</span>        return HConstants.EMPTY_BYTE_BUFFER;<a name="line.453"></a>
+<span class="sourceLineNo">454</span>      }<a name="line.454"></a>
+<span class="sourceLineNo">455</span>    }<a name="line.455"></a>
+<span class="sourceLineNo">456</span><a name="line.456"></a>
+<span class="sourceLineNo">457</span>    @Override<a name="line.457"></a>
+<span class="sourceLineNo">458</span>    public int getValuePosition() {<a name="line.458"></a>
+<span class="sourceLineNo">459</span>      return 0;<a name="line.459"></a>
+<span class="sourceLineNo">460</span>    }<a name="line.460"></a>
+<span class="sourceLineNo">461</span><a name="line.461"></a>
+<span class="sourceLineNo">462</span>    @Override<a name="line.462"></a>
+<span class="sourceLineNo">463</span>    public ByteBuffer getTagsByteBuffer() {<a name="line.463"></a>
+<span class="sourceLineNo">464</span>      return HConstants.EMPTY_BYTE_BUFFER;<a name="line.464"></a>
+<span class="sourceLineNo">465</span>    }<a name="line.465"></a>
+<span class="sourceLineNo">466</span><a name="line.466"></a>
+<span class="sourceLineNo">467</span>    @Override<a name="line.467"></a>
+<span class="sourceLineNo">468</span>    public int getTagsPosition() {<a name="line.468"></a>
+<span class="sourceLineNo">469</span>      return 0;<a name="line.469"></a>
+<span class="sourceLineNo">470</span>    }<a name="line.470"></a>
+<span class="sourceLineNo">471</span><a name="line.471"></a>
+<span class="sourceLineNo">472</span>    @Override<a name="line.472"></a>
+<span class="sourceLineNo">473</span>    public Iterator&lt;Tag&gt; getTags() {<a name="line.473"></a>
+<span class="sourceLineNo">474</span>      return Collections.emptyIterator();<a name="line.474"></a>
+<span class="sourceLineNo">475</span>    }<a name="line.475"></a>
+<span class="sourceLineNo">476</span><a name="line.476"></a>
+<span class="sourceLineNo">477</span>    @Override<a name="line.477"></a>
+<span class="sourceLineNo">478</span>    public Optional&lt;Tag&gt; getTag(byte type) {<a name="line.478"></a>
+<span class="sourceLineNo">479</span>      return Optional.empty();<a name="line.479"></a>
+<span class="sourceLineNo">480</span>    }<a name="line.480"></a>
+<span class="sourceLineNo">481</span><a name="line.481"></a>
+<span class="sourceLineNo">482</span>    @Override<a name="line.482"></a>
+<span class="sourceLineNo">483</span>    public long heapSize() {<a name="line.483"></a>
+<span class="sourceLineNo">484</span>      return ClassSize.align(FIXED_OVERHEAD + cell.heapSize());<a name="line.484"></a>
+<span class="sourceLineNo">485</span>    }<a name="line.485"></a>
+<span class="sourceLineNo">486</span>  }<a name="line.486"></a>
+<span class="sourceLineNo">487</span><a name="line.487"></a>
+<span class="sourceLineNo">488</span>}<a name="line.488"></a>
 
 
 
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html
index 711c7e8f7af..6b5e80505f8 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html
@@ -54,943 +54,944 @@
 <span class="sourceLineNo">046</span>import org.apache.hadoop.fs.Path;<a name="line.46"></a>
 <span class="sourceLineNo">047</span>import org.apache.hadoop.hbase.Cell;<a name="line.47"></a>
 <span class="sourceLineNo">048</span>import org.apache.hadoop.hbase.CellUtil;<a name="line.48"></a>
-<span class="sourceLineNo">049</span>import org.apache.hadoop.hbase.HConstants;<a name="line.49"></a>
-<span class="sourceLineNo">050</span>import org.apache.hadoop.hbase.HRegionLocation;<a name="line.50"></a>
-<span class="sourceLineNo">051</span>import org.apache.hadoop.hbase.KeyValue;<a name="line.51"></a>
-<span class="sourceLineNo">052</span>import org.apache.hadoop.hbase.PrivateCellUtil;<a name="line.52"></a>
-<span class="sourceLineNo">053</span>import org.apache.hadoop.hbase.TableName;<a name="line.53"></a>
-<span class="sourceLineNo">054</span>import org.apache.hadoop.hbase.client.ColumnFamilyDescriptor;<a name="line.54"></a>
-<span class="sourceLineNo">055</span>import org.apache.hadoop.hbase.client.ColumnFamilyDescriptorBuilder;<a name="line.55"></a>
-<span class="sourceLineNo">056</span>import org.apache.hadoop.hbase.client.Connection;<a name="line.56"></a>
-<span class="sourceLineNo">057</span>import org.apache.hadoop.hbase.client.ConnectionFactory;<a name="line.57"></a>
-<span class="sourceLineNo">058</span>import org.apache.hadoop.hbase.client.Put;<a name="line.58"></a>
-<span class="sourceLineNo">059</span>import org.apache.hadoop.hbase.client.RegionLocator;<a name="line.59"></a>
-<span class="sourceLineNo">060</span>import org.apache.hadoop.hbase.client.Table;<a name="line.60"></a>
-<span class="sourceLineNo">061</span>import org.apache.hadoop.hbase.client.TableDescriptor;<a name="line.61"></a>
-<span class="sourceLineNo">062</span>import org.apache.hadoop.hbase.fs.HFileSystem;<a name="line.62"></a>
-<span class="sourceLineNo">063</span>import org.apache.hadoop.hbase.io.ImmutableBytesWritable;<a name="line.63"></a>
-<span class="sourceLineNo">064</span>import org.apache.hadoop.hbase.io.compress.Compression;<a name="line.64"></a>
-<span class="sourceLineNo">065</span>import org.apache.hadoop.hbase.io.compress.Compression.Algorithm;<a name="line.65"></a>
-<span class="sourceLineNo">066</span>import org.apache.hadoop.hbase.io.encoding.DataBlockEncoding;<a name="line.66"></a>
-<span class="sourceLineNo">067</span>import org.apache.hadoop.hbase.io.hfile.CacheConfig;<a name="line.67"></a>
-<span class="sourceLineNo">068</span>import org.apache.hadoop.hbase.io.hfile.HFile;<a name="line.68"></a>
-<span class="sourceLineNo">069</span>import org.apache.hadoop.hbase.io.hfile.HFileContext;<a name="line.69"></a>
-<span class="sourceLineNo">070</span>import org.apache.hadoop.hbase.io.hfile.HFileContextBuilder;<a name="line.70"></a>
-<span class="sourceLineNo">071</span>import org.apache.hadoop.hbase.io.hfile.HFileWriterImpl;<a name="line.71"></a>
-<span class="sourceLineNo">072</span>import org.apache.hadoop.hbase.regionserver.BloomType;<a name="line.72"></a>
-<span class="sourceLineNo">073</span>import org.apache.hadoop.hbase.regionserver.HStore;<a name="line.73"></a>
-<span class="sourceLineNo">074</span>import org.apache.hadoop.hbase.regionserver.StoreFileWriter;<a name="line.74"></a>
-<span class="sourceLineNo">075</span>import org.apache.hadoop.hbase.regionserver.StoreUtils;<a name="line.75"></a>
-<span class="sourceLineNo">076</span>import org.apache.hadoop.hbase.util.BloomFilterUtil;<a name="line.76"></a>
-<span class="sourceLineNo">077</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.77"></a>
-<span class="sourceLineNo">078</span>import org.apache.hadoop.hbase.util.CommonFSUtils;<a name="line.78"></a>
-<span class="sourceLineNo">079</span>import org.apache.hadoop.hbase.util.EnvironmentEdgeManager;<a name="line.79"></a>
-<span class="sourceLineNo">080</span>import org.apache.hadoop.hbase.util.MapReduceExtendedCell;<a name="line.80"></a>
-<span class="sourceLineNo">081</span>import org.apache.hadoop.io.NullWritable;<a name="line.81"></a>
-<span class="sourceLineNo">082</span>import org.apache.hadoop.io.SequenceFile;<a name="line.82"></a>
-<span class="sourceLineNo">083</span>import org.apache.hadoop.io.Text;<a name="line.83"></a>
-<span class="sourceLineNo">084</span>import org.apache.hadoop.mapreduce.Job;<a name="line.84"></a>
-<span class="sourceLineNo">085</span>import org.apache.hadoop.mapreduce.OutputCommitter;<a name="line.85"></a>
-<span class="sourceLineNo">086</span>import org.apache.hadoop.mapreduce.OutputFormat;<a name="line.86"></a>
-<span class="sourceLineNo">087</span>import org.apache.hadoop.mapreduce.RecordWriter;<a name="line.87"></a>
-<span class="sourceLineNo">088</span>import org.apache.hadoop.mapreduce.TaskAttemptContext;<a name="line.88"></a>
-<span class="sourceLineNo">089</span>import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;<a name="line.89"></a>
-<span class="sourceLineNo">090</span>import org.apache.hadoop.mapreduce.lib.output.PathOutputCommitter;<a name="line.90"></a>
-<span class="sourceLineNo">091</span>import org.apache.hadoop.mapreduce.lib.partition.TotalOrderPartitioner;<a name="line.91"></a>
-<span class="sourceLineNo">092</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.92"></a>
-<span class="sourceLineNo">093</span>import org.slf4j.Logger;<a name="line.93"></a>
-<span class="sourceLineNo">094</span>import org.slf4j.LoggerFactory;<a name="line.94"></a>
-<span class="sourceLineNo">095</span><a name="line.95"></a>
-<span class="sourceLineNo">096</span>/**<a name="line.96"></a>
-<span class="sourceLineNo">097</span> * Writes HFiles. Passed Cells must arrive in order. Writes current time as the sequence id for the<a name="line.97"></a>
-<span class="sourceLineNo">098</span> * file. Sets the major compacted attribute on created {@link HFile}s. Calling write(null,null) will<a name="line.98"></a>
-<span class="sourceLineNo">099</span> * forcibly roll all HFiles being written.<a name="line.99"></a>
-<span class="sourceLineNo">100</span> * &lt;p&gt;<a name="line.100"></a>
-<span class="sourceLineNo">101</span> * Using this class as part of a MapReduce job is best done using<a name="line.101"></a>
-<span class="sourceLineNo">102</span> * {@link #configureIncrementalLoad(Job, TableDescriptor, RegionLocator)}.<a name="line.102"></a>
-<span class="sourceLineNo">103</span> */<a name="line.103"></a>
-<span class="sourceLineNo">104</span>@InterfaceAudience.Public<a name="line.104"></a>
-<span class="sourceLineNo">105</span>public class HFileOutputFormat2 extends FileOutputFormat&lt;ImmutableBytesWritable, Cell&gt; {<a name="line.105"></a>
-<span class="sourceLineNo">106</span>  private static final Logger LOG = LoggerFactory.getLogger(HFileOutputFormat2.class);<a name="line.106"></a>
-<span class="sourceLineNo">107</span><a name="line.107"></a>
-<span class="sourceLineNo">108</span>  static class TableInfo {<a name="line.108"></a>
-<span class="sourceLineNo">109</span>    private TableDescriptor tableDesctiptor;<a name="line.109"></a>
-<span class="sourceLineNo">110</span>    private RegionLocator regionLocator;<a name="line.110"></a>
-<span class="sourceLineNo">111</span><a name="line.111"></a>
-<span class="sourceLineNo">112</span>    public TableInfo(TableDescriptor tableDesctiptor, RegionLocator regionLocator) {<a name="line.112"></a>
-<span class="sourceLineNo">113</span>      this.tableDesctiptor = tableDesctiptor;<a name="line.113"></a>
-<span class="sourceLineNo">114</span>      this.regionLocator = regionLocator;<a name="line.114"></a>
-<span class="sourceLineNo">115</span>    }<a name="line.115"></a>
-<span class="sourceLineNo">116</span><a name="line.116"></a>
-<span class="sourceLineNo">117</span>    public TableDescriptor getTableDescriptor() {<a name="line.117"></a>
-<span class="sourceLineNo">118</span>      return tableDesctiptor;<a name="line.118"></a>
-<span class="sourceLineNo">119</span>    }<a name="line.119"></a>
-<span class="sourceLineNo">120</span><a name="line.120"></a>
-<span class="sourceLineNo">121</span>    public RegionLocator getRegionLocator() {<a name="line.121"></a>
-<span class="sourceLineNo">122</span>      return regionLocator;<a name="line.122"></a>
-<span class="sourceLineNo">123</span>    }<a name="line.123"></a>
-<span class="sourceLineNo">124</span>  }<a name="line.124"></a>
-<span class="sourceLineNo">125</span><a name="line.125"></a>
-<span class="sourceLineNo">126</span>  protected static final byte[] tableSeparator = Bytes.toBytes(";");<a name="line.126"></a>
-<span class="sourceLineNo">127</span><a name="line.127"></a>
-<span class="sourceLineNo">128</span>  protected static byte[] combineTableNameSuffix(byte[] tableName, byte[] suffix) {<a name="line.128"></a>
-<span class="sourceLineNo">129</span>    return Bytes.add(tableName, tableSeparator, suffix);<a name="line.129"></a>
-<span class="sourceLineNo">130</span>  }<a name="line.130"></a>
-<span class="sourceLineNo">131</span><a name="line.131"></a>
-<span class="sourceLineNo">132</span>  // The following constants are private since these are used by<a name="line.132"></a>
-<span class="sourceLineNo">133</span>  // HFileOutputFormat2 to internally transfer data between job setup and<a name="line.133"></a>
-<span class="sourceLineNo">134</span>  // reducer run using conf.<a name="line.134"></a>
-<span class="sourceLineNo">135</span>  // These should not be changed by the client.<a name="line.135"></a>
-<span class="sourceLineNo">136</span>  static final String COMPRESSION_FAMILIES_CONF_KEY =<a name="line.136"></a>
-<span class="sourceLineNo">137</span>    "hbase.hfileoutputformat.families.compression";<a name="line.137"></a>
-<span class="sourceLineNo">138</span>  static final String BLOOM_TYPE_FAMILIES_CONF_KEY = "hbase.hfileoutputformat.families.bloomtype";<a name="line.138"></a>
-<span class="sourceLineNo">139</span>  static final String BLOOM_PARAM_FAMILIES_CONF_KEY = "hbase.hfileoutputformat.families.bloomparam";<a name="line.139"></a>
-<span class="sourceLineNo">140</span>  static final String BLOCK_SIZE_FAMILIES_CONF_KEY = "hbase.mapreduce.hfileoutputformat.blocksize";<a name="line.140"></a>
-<span class="sourceLineNo">141</span>  static final String DATABLOCK_ENCODING_FAMILIES_CONF_KEY =<a name="line.141"></a>
-<span class="sourceLineNo">142</span>    "hbase.mapreduce.hfileoutputformat.families.datablock.encoding";<a name="line.142"></a>
-<span class="sourceLineNo">143</span><a name="line.143"></a>
-<span class="sourceLineNo">144</span>  // This constant is public since the client can modify this when setting<a name="line.144"></a>
-<span class="sourceLineNo">145</span>  // up their conf object and thus refer to this symbol.<a name="line.145"></a>
-<span class="sourceLineNo">146</span>  // It is present for backwards compatibility reasons. Use it only to<a name="line.146"></a>
-<span class="sourceLineNo">147</span>  // override the auto-detection of datablock encoding and compression.<a name="line.147"></a>
-<span class="sourceLineNo">148</span>  public static final String DATABLOCK_ENCODING_OVERRIDE_CONF_KEY =<a name="line.148"></a>
-<span class="sourceLineNo">149</span>    "hbase.mapreduce.hfileoutputformat.datablock.encoding";<a name="line.149"></a>
-<span class="sourceLineNo">150</span>  public static final String COMPRESSION_OVERRIDE_CONF_KEY =<a name="line.150"></a>
-<span class="sourceLineNo">151</span>    "hbase.mapreduce.hfileoutputformat.compression";<a name="line.151"></a>
-<span class="sourceLineNo">152</span><a name="line.152"></a>
-<span class="sourceLineNo">153</span>  /**<a name="line.153"></a>
-<span class="sourceLineNo">154</span>   * Keep locality while generating HFiles for bulkload. See HBASE-12596<a name="line.154"></a>
-<span class="sourceLineNo">155</span>   */<a name="line.155"></a>
-<span class="sourceLineNo">156</span>  public static final String LOCALITY_SENSITIVE_CONF_KEY =<a name="line.156"></a>
-<span class="sourceLineNo">157</span>    "hbase.bulkload.locality.sensitive.enabled";<a name="line.157"></a>
-<span class="sourceLineNo">158</span>  private static final boolean DEFAULT_LOCALITY_SENSITIVE = true;<a name="line.158"></a>
-<span class="sourceLineNo">159</span>  static final String OUTPUT_TABLE_NAME_CONF_KEY = "hbase.mapreduce.hfileoutputformat.table.name";<a name="line.159"></a>
-<span class="sourceLineNo">160</span>  static final String MULTI_TABLE_HFILEOUTPUTFORMAT_CONF_KEY =<a name="line.160"></a>
-<span class="sourceLineNo">161</span>    "hbase.mapreduce.use.multi.table.hfileoutputformat";<a name="line.161"></a>
-<span class="sourceLineNo">162</span><a name="line.162"></a>
-<span class="sourceLineNo">163</span>  /**<a name="line.163"></a>
-<span class="sourceLineNo">164</span>   * ExtendedCell and ExtendedCellSerialization are InterfaceAudience.Private. We expose this config<a name="line.164"></a>
-<span class="sourceLineNo">165</span>   * for internal usage in jobs like WALPlayer which need to use features of ExtendedCell.<a name="line.165"></a>
-<span class="sourceLineNo">166</span>   */<a name="line.166"></a>
-<span class="sourceLineNo">167</span>  @InterfaceAudience.Private<a name="line.167"></a>
-<span class="sourceLineNo">168</span>  public static final String EXTENDED_CELL_SERIALIZATION_ENABLED_KEY =<a name="line.168"></a>
-<span class="sourceLineNo">169</span>    "hbase.mapreduce.hfileoutputformat.extendedcell.enabled";<a name="line.169"></a>
-<span class="sourceLineNo">170</span>  static final boolean EXTENDED_CELL_SERIALIZATION_ENABLED_DEFULT = false;<a name="line.170"></a>
-<span class="sourceLineNo">171</span><a name="line.171"></a>
-<span class="sourceLineNo">172</span>  public static final String REMOTE_CLUSTER_CONF_PREFIX = "hbase.hfileoutputformat.remote.cluster.";<a name="line.172"></a>
-<span class="sourceLineNo">173</span>  public static final String REMOTE_CLUSTER_ZOOKEEPER_QUORUM_CONF_KEY =<a name="line.173"></a>
-<span class="sourceLineNo">174</span>    REMOTE_CLUSTER_CONF_PREFIX + "zookeeper.quorum";<a name="line.174"></a>
-<span class="sourceLineNo">175</span>  public static final String REMOTE_CLUSTER_ZOOKEEPER_CLIENT_PORT_CONF_KEY =<a name="line.175"></a>
-<span class="sourceLineNo">176</span>    REMOTE_CLUSTER_CONF_PREFIX + "zookeeper." + HConstants.CLIENT_PORT_STR;<a name="line.176"></a>
-<span class="sourceLineNo">177</span>  public static final String REMOTE_CLUSTER_ZOOKEEPER_ZNODE_PARENT_CONF_KEY =<a name="line.177"></a>
-<span class="sourceLineNo">178</span>    REMOTE_CLUSTER_CONF_PREFIX + HConstants.ZOOKEEPER_ZNODE_PARENT;<a name="line.178"></a>
-<span class="sourceLineNo">179</span><a name="line.179"></a>
-<span class="sourceLineNo">180</span>  public static final String STORAGE_POLICY_PROPERTY = HStore.BLOCK_STORAGE_POLICY_KEY;<a name="line.180"></a>
-<span class="sourceLineNo">181</span>  public static final String STORAGE_POLICY_PROPERTY_CF_PREFIX = STORAGE_POLICY_PROPERTY + ".";<a name="line.181"></a>
-<span class="sourceLineNo">182</span><a name="line.182"></a>
-<span class="sourceLineNo">183</span>  @Override<a name="line.183"></a>
-<span class="sourceLineNo">184</span>  public RecordWriter&lt;ImmutableBytesWritable, Cell&gt;<a name="line.184"></a>
-<span class="sourceLineNo">185</span>    getRecordWriter(final TaskAttemptContext context) throws IOException, InterruptedException {<a name="line.185"></a>
-<span class="sourceLineNo">186</span>    return createRecordWriter(context, this.getOutputCommitter(context));<a name="line.186"></a>
-<span class="sourceLineNo">187</span>  }<a name="line.187"></a>
-<span class="sourceLineNo">188</span><a name="line.188"></a>
-<span class="sourceLineNo">189</span>  protected static byte[] getTableNameSuffixedWithFamily(byte[] tableName, byte[] family) {<a name="line.189"></a>
-<span class="sourceLineNo">190</span>    return combineTableNameSuffix(tableName, family);<a name="line.190"></a>
-<span class="sourceLineNo">191</span>  }<a name="line.191"></a>
-<span class="sourceLineNo">192</span><a name="line.192"></a>
-<span class="sourceLineNo">193</span>  static &lt;V extends Cell&gt; RecordWriter&lt;ImmutableBytesWritable, V&gt; createRecordWriter(<a name="line.193"></a>
-<span class="sourceLineNo">194</span>    final TaskAttemptContext context, final OutputCommitter committer) throws IOException {<a name="line.194"></a>
-<span class="sourceLineNo">195</span><a name="line.195"></a>
-<span class="sourceLineNo">196</span>    // Get the path of the temporary output file<a name="line.196"></a>
-<span class="sourceLineNo">197</span>    final Path outputDir = ((PathOutputCommitter) committer).getWorkPath();<a name="line.197"></a>
-<span class="sourceLineNo">198</span>    final Configuration conf = context.getConfiguration();<a name="line.198"></a>
-<span class="sourceLineNo">199</span>    final boolean writeMultipleTables =<a name="line.199"></a>
-<span class="sourceLineNo">200</span>      conf.getBoolean(MULTI_TABLE_HFILEOUTPUTFORMAT_CONF_KEY, false);<a name="line.200"></a>
-<span class="sourceLineNo">201</span>    final String writeTableNames = conf.get(OUTPUT_TABLE_NAME_CONF_KEY);<a name="line.201"></a>
-<span class="sourceLineNo">202</span>    if (writeTableNames == null || writeTableNames.isEmpty()) {<a name="line.202"></a>
-<span class="sourceLineNo">203</span>      throw new IllegalArgumentException("" + OUTPUT_TABLE_NAME_CONF_KEY + " cannot be empty");<a name="line.203"></a>
-<span class="sourceLineNo">204</span>    }<a name="line.204"></a>
-<span class="sourceLineNo">205</span>    final FileSystem fs = outputDir.getFileSystem(conf);<a name="line.205"></a>
-<span class="sourceLineNo">206</span>    // These configs. are from hbase-*.xml<a name="line.206"></a>
-<span class="sourceLineNo">207</span>    final long maxsize =<a name="line.207"></a>
-<span class="sourceLineNo">208</span>      conf.getLong(HConstants.HREGION_MAX_FILESIZE, HConstants.DEFAULT_MAX_FILE_SIZE);<a name="line.208"></a>
-<span class="sourceLineNo">209</span>    // Invented config. Add to hbase-*.xml if other than default compression.<a name="line.209"></a>
-<span class="sourceLineNo">210</span>    final String defaultCompressionStr =<a name="line.210"></a>
-<span class="sourceLineNo">211</span>      conf.get("hfile.compression", Compression.Algorithm.NONE.getName());<a name="line.211"></a>
-<span class="sourceLineNo">212</span>    final Algorithm defaultCompression = HFileWriterImpl.compressionByName(defaultCompressionStr);<a name="line.212"></a>
-<span class="sourceLineNo">213</span>    String compressionStr = conf.get(COMPRESSION_OVERRIDE_CONF_KEY);<a name="line.213"></a>
-<span class="sourceLineNo">214</span>    final Algorithm overriddenCompression =<a name="line.214"></a>
-<span class="sourceLineNo">215</span>      compressionStr != null ? Compression.getCompressionAlgorithmByName(compressionStr) : null;<a name="line.215"></a>
-<span class="sourceLineNo">216</span>    final boolean compactionExclude =<a name="line.216"></a>
-<span class="sourceLineNo">217</span>      conf.getBoolean("hbase.mapreduce.hfileoutputformat.compaction.exclude", false);<a name="line.217"></a>
-<span class="sourceLineNo">218</span>    final Set&lt;String&gt; allTableNames = Arrays<a name="line.218"></a>
-<span class="sourceLineNo">219</span>      .stream(writeTableNames.split(Bytes.toString(tableSeparator))).collect(Collectors.toSet());<a name="line.219"></a>
-<span class="sourceLineNo">220</span><a name="line.220"></a>
-<span class="sourceLineNo">221</span>    // create a map from column family to the compression algorithm<a name="line.221"></a>
-<span class="sourceLineNo">222</span>    final Map&lt;byte[], Algorithm&gt; compressionMap = createFamilyCompressionMap(conf);<a name="line.222"></a>
-<span class="sourceLineNo">223</span>    final Map&lt;byte[], BloomType&gt; bloomTypeMap = createFamilyBloomTypeMap(conf);<a name="line.223"></a>
-<span class="sourceLineNo">224</span>    final Map&lt;byte[], String&gt; bloomParamMap = createFamilyBloomParamMap(conf);<a name="line.224"></a>
-<span class="sourceLineNo">225</span>    final Map&lt;byte[], Integer&gt; blockSizeMap = createFamilyBlockSizeMap(conf);<a name="line.225"></a>
-<span class="sourceLineNo">226</span><a name="line.226"></a>
-<span class="sourceLineNo">227</span>    String dataBlockEncodingStr = conf.get(DATABLOCK_ENCODING_OVERRIDE_CONF_KEY);<a name="line.227"></a>
-<span class="sourceLineNo">228</span>    final Map&lt;byte[], DataBlockEncoding&gt; datablockEncodingMap =<a name="line.228"></a>
-<span class="sourceLineNo">229</span>      createFamilyDataBlockEncodingMap(conf);<a name="line.229"></a>
-<span class="sourceLineNo">230</span>    final DataBlockEncoding overriddenEncoding =<a name="line.230"></a>
-<span class="sourceLineNo">231</span>      dataBlockEncodingStr != null ? DataBlockEncoding.valueOf(dataBlockEncodingStr) : null;<a name="line.231"></a>
-<span class="sourceLineNo">232</span><a name="line.232"></a>
-<span class="sourceLineNo">233</span>    return new RecordWriter&lt;ImmutableBytesWritable, V&gt;() {<a name="line.233"></a>
-<span class="sourceLineNo">234</span>      // Map of families to writers and how much has been output on the writer.<a name="line.234"></a>
-<span class="sourceLineNo">235</span>      private final Map&lt;byte[], WriterLength&gt; writers = new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.235"></a>
-<span class="sourceLineNo">236</span>      private final Map&lt;byte[], byte[]&gt; previousRows = new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.236"></a>
-<span class="sourceLineNo">237</span>      private final long now = EnvironmentEdgeManager.currentTime();<a name="line.237"></a>
-<span class="sourceLineNo">238</span>      private byte[] tableNameBytes = writeMultipleTables ? null : Bytes.toBytes(writeTableNames);<a name="line.238"></a>
-<span class="sourceLineNo">239</span><a name="line.239"></a>
-<span class="sourceLineNo">240</span>      @Override<a name="line.240"></a>
-<span class="sourceLineNo">241</span>      public void write(ImmutableBytesWritable row, V cell) throws IOException {<a name="line.241"></a>
-<span class="sourceLineNo">242</span>        Cell kv = cell;<a name="line.242"></a>
-<span class="sourceLineNo">243</span>        // null input == user explicitly wants to flush<a name="line.243"></a>
-<span class="sourceLineNo">244</span>        if (row == null &amp;&amp; kv == null) {<a name="line.244"></a>
-<span class="sourceLineNo">245</span>          rollWriters(null);<a name="line.245"></a>
-<span class="sourceLineNo">246</span>          return;<a name="line.246"></a>
-<span class="sourceLineNo">247</span>        }<a name="line.247"></a>
-<span class="sourceLineNo">248</span><a name="line.248"></a>
-<span class="sourceLineNo">249</span>        byte[] rowKey = CellUtil.cloneRow(kv);<a name="line.249"></a>
-<span class="sourceLineNo">250</span>        int length = (PrivateCellUtil.estimatedSerializedSizeOf(kv)) - Bytes.SIZEOF_INT;<a name="line.250"></a>
-<span class="sourceLineNo">251</span>        byte[] family = CellUtil.cloneFamily(kv);<a name="line.251"></a>
-<span class="sourceLineNo">252</span>        if (writeMultipleTables) {<a name="line.252"></a>
-<span class="sourceLineNo">253</span>          tableNameBytes = MultiTableHFileOutputFormat.getTableName(row.get());<a name="line.253"></a>
-<span class="sourceLineNo">254</span>          tableNameBytes = TableName.valueOf(tableNameBytes).getNameWithNamespaceInclAsString()<a name="line.254"></a>
-<span class="sourceLineNo">255</span>            .getBytes(Charset.defaultCharset());<a name="line.255"></a>
-<span class="sourceLineNo">256</span>          if (!allTableNames.contains(Bytes.toString(tableNameBytes))) {<a name="line.256"></a>
-<span class="sourceLineNo">257</span>            throw new IllegalArgumentException(<a name="line.257"></a>
-<span class="sourceLineNo">258</span>              "TableName " + Bytes.toString(tableNameBytes) + " not expected");<a name="line.258"></a>
-<span class="sourceLineNo">259</span>          }<a name="line.259"></a>
-<span class="sourceLineNo">260</span>        }<a name="line.260"></a>
-<span class="sourceLineNo">261</span>        byte[] tableAndFamily = getTableNameSuffixedWithFamily(tableNameBytes, family);<a name="line.261"></a>
-<span class="sourceLineNo">262</span><a name="line.262"></a>
-<span class="sourceLineNo">263</span>        WriterLength wl = this.writers.get(tableAndFamily);<a name="line.263"></a>
-<span class="sourceLineNo">264</span><a name="line.264"></a>
-<span class="sourceLineNo">265</span>        // If this is a new column family, verify that the directory exists<a name="line.265"></a>
-<span class="sourceLineNo">266</span>        if (wl == null) {<a name="line.266"></a>
-<span class="sourceLineNo">267</span>          Path writerPath = null;<a name="line.267"></a>
-<span class="sourceLineNo">268</span>          if (writeMultipleTables) {<a name="line.268"></a>
-<span class="sourceLineNo">269</span>            Path tableRelPath = getTableRelativePath(tableNameBytes);<a name="line.269"></a>
-<span class="sourceLineNo">270</span>            writerPath = new Path(outputDir, new Path(tableRelPath, Bytes.toString(family)));<a name="line.270"></a>
-<span class="sourceLineNo">271</span>          } else {<a name="line.271"></a>
-<span class="sourceLineNo">272</span>            writerPath = new Path(outputDir, Bytes.toString(family));<a name="line.272"></a>
-<span class="sourceLineNo">273</span>          }<a name="line.273"></a>
-<span class="sourceLineNo">274</span>          fs.mkdirs(writerPath);<a name="line.274"></a>
-<span class="sourceLineNo">275</span>          configureStoragePolicy(conf, fs, tableAndFamily, writerPath);<a name="line.275"></a>
-<span class="sourceLineNo">276</span>        }<a name="line.276"></a>
-<span class="sourceLineNo">277</span><a name="line.277"></a>
-<span class="sourceLineNo">278</span>        // This can only happen once a row is finished though<a name="line.278"></a>
-<span class="sourceLineNo">279</span>        if (<a name="line.279"></a>
-<span class="sourceLineNo">280</span>          wl != null &amp;&amp; wl.written + length &gt;= maxsize<a name="line.280"></a>
-<span class="sourceLineNo">281</span>            &amp;&amp; Bytes.compareTo(this.previousRows.get(family), rowKey) != 0<a name="line.281"></a>
-<span class="sourceLineNo">282</span>        ) {<a name="line.282"></a>
-<span class="sourceLineNo">283</span>          rollWriters(wl);<a name="line.283"></a>
-<span class="sourceLineNo">284</span>        }<a name="line.284"></a>
-<span class="sourceLineNo">285</span><a name="line.285"></a>
-<span class="sourceLineNo">286</span>        // create a new WAL writer, if necessary<a name="line.286"></a>
-<span class="sourceLineNo">287</span>        if (wl == null || wl.writer == null) {<a name="line.287"></a>
-<span class="sourceLineNo">288</span>          InetSocketAddress[] favoredNodes = null;<a name="line.288"></a>
-<span class="sourceLineNo">289</span>          if (conf.getBoolean(LOCALITY_SENSITIVE_CONF_KEY, DEFAULT_LOCALITY_SENSITIVE)) {<a name="line.289"></a>
-<span class="sourceLineNo">290</span>            HRegionLocation loc = null;<a name="line.290"></a>
-<span class="sourceLineNo">291</span>            String tableName = Bytes.toString(tableNameBytes);<a name="line.291"></a>
-<span class="sourceLineNo">292</span>            if (tableName != null) {<a name="line.292"></a>
-<span class="sourceLineNo">293</span>              try (<a name="line.293"></a>
-<span class="sourceLineNo">294</span>                Connection connection =<a name="line.294"></a>
-<span class="sourceLineNo">295</span>                  ConnectionFactory.createConnection(createRemoteClusterConf(conf));<a name="line.295"></a>
-<span class="sourceLineNo">296</span>                RegionLocator locator = connection.getRegionLocator(TableName.valueOf(tableName))) {<a name="line.296"></a>
-<span class="sourceLineNo">297</span>                loc = locator.getRegionLocation(rowKey);<a name="line.297"></a>
-<span class="sourceLineNo">298</span>              } catch (Throwable e) {<a name="line.298"></a>
-<span class="sourceLineNo">299</span>                LOG.warn("Something wrong locating rowkey {} in {}", Bytes.toString(rowKey),<a name="line.299"></a>
-<span class="sourceLineNo">300</span>                  tableName, e);<a name="line.300"></a>
-<span class="sourceLineNo">301</span>                loc = null;<a name="line.301"></a>
-<span class="sourceLineNo">302</span>              }<a name="line.302"></a>
-<span class="sourceLineNo">303</span>            }<a name="line.303"></a>
-<span class="sourceLineNo">304</span>            if (null == loc) {<a name="line.304"></a>
-<span class="sourceLineNo">305</span>              LOG.trace("Failed get of location, use default writer {}", Bytes.toString(rowKey));<a name="line.305"></a>
-<span class="sourceLineNo">306</span>            } else {<a name="line.306"></a>
-<span class="sourceLineNo">307</span>              LOG.debug("First rowkey: [{}]", Bytes.toString(rowKey));<a name="line.307"></a>
-<span class="sourceLineNo">308</span>              InetSocketAddress initialIsa =<a name="line.308"></a>
-<span class="sourceLineNo">309</span>                new InetSocketAddress(loc.getHostname(), loc.getPort());<a name="line.309"></a>
-<span class="sourceLineNo">310</span>              if (initialIsa.isUnresolved()) {<a name="line.310"></a>
-<span class="sourceLineNo">311</span>                LOG.trace("Failed resolve address {}, use default writer", loc.getHostnamePort());<a name="line.311"></a>
-<span class="sourceLineNo">312</span>              } else {<a name="line.312"></a>
-<span class="sourceLineNo">313</span>                LOG.debug("Use favored nodes writer: {}", initialIsa.getHostString());<a name="line.313"></a>
-<span class="sourceLineNo">314</span>                favoredNodes = new InetSocketAddress[] { initialIsa };<a name="line.314"></a>
-<span class="sourceLineNo">315</span>              }<a name="line.315"></a>
-<span class="sourceLineNo">316</span>            }<a name="line.316"></a>
-<span class="sourceLineNo">317</span>          }<a name="line.317"></a>
-<span class="sourceLineNo">318</span>          wl = getNewWriter(tableNameBytes, family, conf, favoredNodes);<a name="line.318"></a>
-<span class="sourceLineNo">319</span><a name="line.319"></a>
-<span class="sourceLineNo">320</span>        }<a name="line.320"></a>
-<span class="sourceLineNo">321</span><a name="line.321"></a>
-<span class="sourceLineNo">322</span>        // we now have the proper WAL writer. full steam ahead<a name="line.322"></a>
-<span class="sourceLineNo">323</span>        PrivateCellUtil.updateLatestStamp(cell, this.now);<a name="line.323"></a>
-<span class="sourceLineNo">324</span>        wl.writer.append(kv);<a name="line.324"></a>
-<span class="sourceLineNo">325</span>        wl.written += length;<a name="line.325"></a>
-<span class="sourceLineNo">326</span><a name="line.326"></a>
-<span class="sourceLineNo">327</span>        // Copy the row so we know when a row transition.<a name="line.327"></a>
-<span class="sourceLineNo">328</span>        this.previousRows.put(family, rowKey);<a name="line.328"></a>
-<span class="sourceLineNo">329</span>      }<a name="line.329"></a>
-<span class="sourceLineNo">330</span><a name="line.330"></a>
-<span class="sourceLineNo">331</span>      private Path getTableRelativePath(byte[] tableNameBytes) {<a name="line.331"></a>
-<span class="sourceLineNo">332</span>        String tableName = Bytes.toString(tableNameBytes);<a name="line.332"></a>
-<span class="sourceLineNo">333</span>        String[] tableNameParts = tableName.split(":");<a name="line.333"></a>
-<span class="sourceLineNo">334</span>        Path tableRelPath = new Path(tableNameParts[0]);<a name="line.334"></a>
-<span class="sourceLineNo">335</span>        if (tableNameParts.length &gt; 1) {<a name="line.335"></a>
-<span class="sourceLineNo">336</span>          tableRelPath = new Path(tableRelPath, tableNameParts[1]);<a name="line.336"></a>
-<span class="sourceLineNo">337</span>        }<a name="line.337"></a>
-<span class="sourceLineNo">338</span>        return tableRelPath;<a name="line.338"></a>
-<span class="sourceLineNo">339</span>      }<a name="line.339"></a>
-<span class="sourceLineNo">340</span><a name="line.340"></a>
-<span class="sourceLineNo">341</span>      private void rollWriters(WriterLength writerLength) throws IOException {<a name="line.341"></a>
-<span class="sourceLineNo">342</span>        if (writerLength != null) {<a name="line.342"></a>
-<span class="sourceLineNo">343</span>          closeWriter(writerLength);<a name="line.343"></a>
-<span class="sourceLineNo">344</span>        } else {<a name="line.344"></a>
-<span class="sourceLineNo">345</span>          for (WriterLength wl : this.writers.values()) {<a name="line.345"></a>
-<span class="sourceLineNo">346</span>            closeWriter(wl);<a name="line.346"></a>
-<span class="sourceLineNo">347</span>          }<a name="line.347"></a>
-<span class="sourceLineNo">348</span>        }<a name="line.348"></a>
-<span class="sourceLineNo">349</span>      }<a name="line.349"></a>
-<span class="sourceLineNo">350</span><a name="line.350"></a>
-<span class="sourceLineNo">351</span>      private void closeWriter(WriterLength wl) throws IOException {<a name="line.351"></a>
-<span class="sourceLineNo">352</span>        if (wl.writer != null) {<a name="line.352"></a>
-<span class="sourceLineNo">353</span>          LOG.info(<a name="line.353"></a>
-<span class="sourceLineNo">354</span>            "Writer=" + wl.writer.getPath() + ((wl.written == 0) ? "" : ", wrote=" + wl.written));<a name="line.354"></a>
-<span class="sourceLineNo">355</span>          close(wl.writer);<a name="line.355"></a>
-<span class="sourceLineNo">356</span>          wl.writer = null;<a name="line.356"></a>
-<span class="sourceLineNo">357</span>        }<a name="line.357"></a>
-<span class="sourceLineNo">358</span>        wl.written = 0;<a name="line.358"></a>
-<span class="sourceLineNo">359</span>      }<a name="line.359"></a>
-<span class="sourceLineNo">360</span><a name="line.360"></a>
-<span class="sourceLineNo">361</span>      private Configuration createRemoteClusterConf(Configuration conf) {<a name="line.361"></a>
-<span class="sourceLineNo">362</span>        final Configuration newConf = new Configuration(conf);<a name="line.362"></a>
-<span class="sourceLineNo">363</span><a name="line.363"></a>
-<span class="sourceLineNo">364</span>        final String quorum = conf.get(REMOTE_CLUSTER_ZOOKEEPER_QUORUM_CONF_KEY);<a name="line.364"></a>
-<span class="sourceLineNo">365</span>        final String clientPort = conf.get(REMOTE_CLUSTER_ZOOKEEPER_CLIENT_PORT_CONF_KEY);<a name="line.365"></a>
-<span class="sourceLineNo">366</span>        final String parent = conf.get(REMOTE_CLUSTER_ZOOKEEPER_ZNODE_PARENT_CONF_KEY);<a name="line.366"></a>
-<span class="sourceLineNo">367</span><a name="line.367"></a>
-<span class="sourceLineNo">368</span>        if (quorum != null &amp;&amp; clientPort != null &amp;&amp; parent != null) {<a name="line.368"></a>
-<span class="sourceLineNo">369</span>          newConf.set(HConstants.ZOOKEEPER_QUORUM, quorum);<a name="line.369"></a>
-<span class="sourceLineNo">370</span>          newConf.setInt(HConstants.ZOOKEEPER_CLIENT_PORT, Integer.parseInt(clientPort));<a name="line.370"></a>
-<span class="sourceLineNo">371</span>          newConf.set(HConstants.ZOOKEEPER_ZNODE_PARENT, parent);<a name="line.371"></a>
-<span class="sourceLineNo">372</span>        }<a name="line.372"></a>
-<span class="sourceLineNo">373</span><a name="line.373"></a>
-<span class="sourceLineNo">374</span>        for (Entry&lt;String, String&gt; entry : conf) {<a name="line.374"></a>
-<span class="sourceLineNo">375</span>          String key = entry.getKey();<a name="line.375"></a>
-<span class="sourceLineNo">376</span>          if (<a name="line.376"></a>
-<span class="sourceLineNo">377</span>            REMOTE_CLUSTER_ZOOKEEPER_QUORUM_CONF_KEY.equals(key)<a name="line.377"></a>
-<span class="sourceLineNo">378</span>              || REMOTE_CLUSTER_ZOOKEEPER_CLIENT_PORT_CONF_KEY.equals(key)<a name="line.378"></a>
-<span class="sourceLineNo">379</span>              || REMOTE_CLUSTER_ZOOKEEPER_ZNODE_PARENT_CONF_KEY.equals(key)<a name="line.379"></a>
-<span class="sourceLineNo">380</span>          ) {<a name="line.380"></a>
-<span class="sourceLineNo">381</span>            // Handled them above<a name="line.381"></a>
-<span class="sourceLineNo">382</span>            continue;<a name="line.382"></a>
-<span class="sourceLineNo">383</span>          }<a name="line.383"></a>
-<span class="sourceLineNo">384</span><a name="line.384"></a>
-<span class="sourceLineNo">385</span>          if (entry.getKey().startsWith(REMOTE_CLUSTER_CONF_PREFIX)) {<a name="line.385"></a>
-<span class="sourceLineNo">386</span>            String originalKey = entry.getKey().substring(REMOTE_CLUSTER_CONF_PREFIX.length());<a name="line.386"></a>
-<span class="sourceLineNo">387</span>            if (!originalKey.isEmpty()) {<a name="line.387"></a>
-<span class="sourceLineNo">388</span>              newConf.set(originalKey, entry.getValue());<a name="line.388"></a>
-<span class="sourceLineNo">389</span>            }<a name="line.389"></a>
-<span class="sourceLineNo">390</span>          }<a name="line.390"></a>
-<span class="sourceLineNo">391</span>        }<a name="line.391"></a>
-<span class="sourceLineNo">392</span><a name="line.392"></a>
-<span class="sourceLineNo">393</span>        return newConf;<a name="line.393"></a>
-<span class="sourceLineNo">394</span>      }<a name="line.394"></a>
-<span class="sourceLineNo">395</span><a name="line.395"></a>
-<span class="sourceLineNo">396</span>      /*<a name="line.396"></a>
-<span class="sourceLineNo">397</span>       * Create a new StoreFile.Writer.<a name="line.397"></a>
-<span class="sourceLineNo">398</span>       * @return A WriterLength, containing a new StoreFile.Writer.<a name="line.398"></a>
-<span class="sourceLineNo">399</span>       */<a name="line.399"></a>
-<span class="sourceLineNo">400</span>      @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "BX_UNBOXING_IMMEDIATELY_REBOXED",<a name="line.400"></a>
-<span class="sourceLineNo">401</span>          justification = "Not important")<a name="line.401"></a>
-<span class="sourceLineNo">402</span>      private WriterLength getNewWriter(byte[] tableName, byte[] family, Configuration conf,<a name="line.402"></a>
-<span class="sourceLineNo">403</span>        InetSocketAddress[] favoredNodes) throws IOException {<a name="line.403"></a>
-<span class="sourceLineNo">404</span>        byte[] tableAndFamily = getTableNameSuffixedWithFamily(tableName, family);<a name="line.404"></a>
-<span class="sourceLineNo">405</span>        Path familydir = new Path(outputDir, Bytes.toString(family));<a name="line.405"></a>
-<span class="sourceLineNo">406</span>        if (writeMultipleTables) {<a name="line.406"></a>
-<span class="sourceLineNo">407</span>          familydir =<a name="line.407"></a>
-<span class="sourceLineNo">408</span>            new Path(outputDir, new Path(getTableRelativePath(tableName), Bytes.toString(family)));<a name="line.408"></a>
-<span class="sourceLineNo">409</span>        }<a name="line.409"></a>
-<span class="sourceLineNo">410</span>        WriterLength wl = new WriterLength();<a name="line.410"></a>
-<span class="sourceLineNo">411</span>        Algorithm compression = overriddenCompression;<a name="line.411"></a>
-<span class="sourceLineNo">412</span>        compression = compression == null ? compressionMap.get(tableAndFamily) : compression;<a name="line.412"></a>
-<span class="sourceLineNo">413</span>        compression = compression == null ? defaultCompression : compression;<a name="line.413"></a>
-<span class="sourceLineNo">414</span>        BloomType bloomType = bloomTypeMap.get(tableAndFamily);<a name="line.414"></a>
-<span class="sourceLineNo">415</span>        bloomType = bloomType == null ? BloomType.NONE : bloomType;<a name="line.415"></a>
-<span class="sourceLineNo">416</span>        String bloomParam = bloomParamMap.get(tableAndFamily);<a name="line.416"></a>
-<span class="sourceLineNo">417</span>        if (bloomType == BloomType.ROWPREFIX_FIXED_LENGTH) {<a name="line.417"></a>
-<span class="sourceLineNo">418</span>          conf.set(BloomFilterUtil.PREFIX_LENGTH_KEY, bloomParam);<a name="line.418"></a>
-<span class="sourceLineNo">419</span>        }<a name="line.419"></a>
-<span class="sourceLineNo">420</span>        Integer blockSize = blockSizeMap.get(tableAndFamily);<a name="line.420"></a>
-<span class="sourceLineNo">421</span>        blockSize = blockSize == null ? HConstants.DEFAULT_BLOCKSIZE : blockSize;<a name="line.421"></a>
-<span class="sourceLineNo">422</span>        DataBlockEncoding encoding = overriddenEncoding;<a name="line.422"></a>
-<span class="sourceLineNo">423</span>        encoding = encoding == null ? datablockEncodingMap.get(tableAndFamily) : encoding;<a name="line.423"></a>
-<span class="sourceLineNo">424</span>        encoding = encoding == null ? DataBlockEncoding.NONE : encoding;<a name="line.424"></a>
-<span class="sourceLineNo">425</span>        HFileContextBuilder contextBuilder = new HFileContextBuilder().withCompression(compression)<a name="line.425"></a>
-<span class="sourceLineNo">426</span>          .withDataBlockEncoding(encoding).withChecksumType(StoreUtils.getChecksumType(conf))<a name="line.426"></a>
-<span class="sourceLineNo">427</span>          .withBytesPerCheckSum(StoreUtils.getBytesPerChecksum(conf)).withBlockSize(blockSize)<a name="line.427"></a>
-<span class="sourceLineNo">428</span>          .withColumnFamily(family).withTableName(tableName)<a name="line.428"></a>
-<span class="sourceLineNo">429</span>          .withCreateTime(EnvironmentEdgeManager.currentTime());<a name="line.429"></a>
-<span class="sourceLineNo">430</span><a name="line.430"></a>
-<span class="sourceLineNo">431</span>        if (HFile.getFormatVersion(conf) &gt;= HFile.MIN_FORMAT_VERSION_WITH_TAGS) {<a name="line.431"></a>
-<span class="sourceLineNo">432</span>          contextBuilder.withIncludesTags(true);<a name="line.432"></a>
-<span class="sourceLineNo">433</span>        }<a name="line.433"></a>
-<span class="sourceLineNo">434</span><a name="line.434"></a>
-<span class="sourceLineNo">435</span>        HFileContext hFileContext = contextBuilder.build();<a name="line.435"></a>
-<span class="sourceLineNo">436</span>        if (null == favoredNodes) {<a name="line.436"></a>
-<span class="sourceLineNo">437</span>          wl.writer =<a name="line.437"></a>
-<span class="sourceLineNo">438</span>            new StoreFileWriter.Builder(conf, CacheConfig.DISABLED, fs).withOutputDir(familydir)<a name="line.438"></a>
-<span class="sourceLineNo">439</span>              .withBloomType(bloomType).withFileContext(hFileContext).build();<a name="line.439"></a>
-<span class="sourceLineNo">440</span>        } else {<a name="line.440"></a>
-<span class="sourceLineNo">441</span>          wl.writer = new StoreFileWriter.Builder(conf, CacheConfig.DISABLED, new HFileSystem(fs))<a name="line.441"></a>
-<span class="sourceLineNo">442</span>            .withOutputDir(familydir).withBloomType(bloomType).withFileContext(hFileContext)<a name="line.442"></a>
-<span class="sourceLineNo">443</span>            .withFavoredNodes(favoredNodes).build();<a name="line.443"></a>
-<span class="sourceLineNo">444</span>        }<a name="line.444"></a>
-<span class="sourceLineNo">445</span><a name="line.445"></a>
-<span class="sourceLineNo">446</span>        this.writers.put(tableAndFamily, wl);<a name="line.446"></a>
-<span class="sourceLineNo">447</span>        return wl;<a name="line.447"></a>
-<span class="sourceLineNo">448</span>      }<a name="line.448"></a>
-<span class="sourceLineNo">449</span><a name="line.449"></a>
-<span class="sourceLineNo">450</span>      private void close(final StoreFileWriter w) throws IOException {<a name="line.450"></a>
-<span class="sourceLineNo">451</span>        if (w != null) {<a name="line.451"></a>
-<span class="sourceLineNo">452</span>          w.appendFileInfo(BULKLOAD_TIME_KEY, Bytes.toBytes(EnvironmentEdgeManager.currentTime()));<a name="line.452"></a>
-<span class="sourceLineNo">453</span>          w.appendFileInfo(BULKLOAD_TASK_KEY, Bytes.toBytes(context.getTaskAttemptID().toString()));<a name="line.453"></a>
-<span class="sourceLineNo">454</span>          w.appendFileInfo(MAJOR_COMPACTION_KEY, Bytes.toBytes(true));<a name="line.454"></a>
-<span class="sourceLineNo">455</span>          w.appendFileInfo(EXCLUDE_FROM_MINOR_COMPACTION_KEY, Bytes.toBytes(compactionExclude));<a name="line.455"></a>
-<span class="sourceLineNo">456</span>          w.appendTrackedTimestampsToMetadata();<a name="line.456"></a>
-<span class="sourceLineNo">457</span>          w.close();<a name="line.457"></a>
-<span class="sourceLineNo">458</span>        }<a name="line.458"></a>
-<span class="sourceLineNo">459</span>      }<a name="line.459"></a>
-<span class="sourceLineNo">460</span><a name="line.460"></a>
-<span class="sourceLineNo">461</span>      @Override<a name="line.461"></a>
-<span class="sourceLineNo">462</span>      public void close(TaskAttemptContext c) throws IOException, InterruptedException {<a name="line.462"></a>
-<span class="sourceLineNo">463</span>        for (WriterLength wl : this.writers.values()) {<a name="line.463"></a>
-<span class="sourceLineNo">464</span>          close(wl.writer);<a name="line.464"></a>
-<span class="sourceLineNo">465</span>        }<a name="line.465"></a>
-<span class="sourceLineNo">466</span>      }<a name="line.466"></a>
-<span class="sourceLineNo">467</span>    };<a name="line.467"></a>
-<span class="sourceLineNo">468</span>  }<a name="line.468"></a>
-<span class="sourceLineNo">469</span><a name="line.469"></a>
-<span class="sourceLineNo">470</span>  /**<a name="line.470"></a>
-<span class="sourceLineNo">471</span>   * Configure block storage policy for CF after the directory is created.<a name="line.471"></a>
-<span class="sourceLineNo">472</span>   */<a name="line.472"></a>
-<span class="sourceLineNo">473</span>  static void configureStoragePolicy(final Configuration conf, final FileSystem fs,<a name="line.473"></a>
-<span class="sourceLineNo">474</span>    byte[] tableAndFamily, Path cfPath) {<a name="line.474"></a>
-<span class="sourceLineNo">475</span>    if (null == conf || null == fs || null == tableAndFamily || null == cfPath) {<a name="line.475"></a>
-<span class="sourceLineNo">476</span>      return;<a name="line.476"></a>
-<span class="sourceLineNo">477</span>    }<a name="line.477"></a>
-<span class="sourceLineNo">478</span><a name="line.478"></a>
-<span class="sourceLineNo">479</span>    String policy = conf.get(STORAGE_POLICY_PROPERTY_CF_PREFIX + Bytes.toString(tableAndFamily),<a name="line.479"></a>
-<span class="sourceLineNo">480</span>      conf.get(STORAGE_POLICY_PROPERTY));<a name="line.480"></a>
-<span class="sourceLineNo">481</span>    CommonFSUtils.setStoragePolicy(fs, cfPath, policy);<a name="line.481"></a>
-<span class="sourceLineNo">482</span>  }<a name="line.482"></a>
-<span class="sourceLineNo">483</span><a name="line.483"></a>
-<span class="sourceLineNo">484</span>  /*<a name="line.484"></a>
-<span class="sourceLineNo">485</span>   * Data structure to hold a Writer and amount of data written on it.<a name="line.485"></a>
-<span class="sourceLineNo">486</span>   */<a name="line.486"></a>
-<span class="sourceLineNo">487</span>  static class WriterLength {<a name="line.487"></a>
-<span class="sourceLineNo">488</span>    long written = 0;<a name="line.488"></a>
-<span class="sourceLineNo">489</span>    StoreFileWriter writer = null;<a name="line.489"></a>
-<span class="sourceLineNo">490</span>  }<a name="line.490"></a>
-<span class="sourceLineNo">491</span><a name="line.491"></a>
-<span class="sourceLineNo">492</span>  /**<a name="line.492"></a>
-<span class="sourceLineNo">493</span>   * Return the start keys of all of the regions in this table, as a list of ImmutableBytesWritable.<a name="line.493"></a>
-<span class="sourceLineNo">494</span>   */<a name="line.494"></a>
-<span class="sourceLineNo">495</span>  private static List&lt;ImmutableBytesWritable&gt; getRegionStartKeys(List&lt;RegionLocator&gt; regionLocators,<a name="line.495"></a>
-<span class="sourceLineNo">496</span>    boolean writeMultipleTables) throws IOException {<a name="line.496"></a>
-<span class="sourceLineNo">497</span><a name="line.497"></a>
-<span class="sourceLineNo">498</span>    ArrayList&lt;ImmutableBytesWritable&gt; ret = new ArrayList&lt;&gt;();<a name="line.498"></a>
-<span class="sourceLineNo">499</span>    for (RegionLocator regionLocator : regionLocators) {<a name="line.499"></a>
-<span class="sourceLineNo">500</span>      TableName tableName = regionLocator.getName();<a name="line.500"></a>
-<span class="sourceLineNo">501</span>      LOG.info("Looking up current regions for table " + tableName);<a name="line.501"></a>
-<span class="sourceLineNo">502</span>      byte[][] byteKeys = regionLocator.getStartKeys();<a name="line.502"></a>
-<span class="sourceLineNo">503</span>      for (byte[] byteKey : byteKeys) {<a name="line.503"></a>
-<span class="sourceLineNo">504</span>        byte[] fullKey = byteKey; // HFileOutputFormat2 use case<a name="line.504"></a>
-<span class="sourceLineNo">505</span>        if (writeMultipleTables) {<a name="line.505"></a>
-<span class="sourceLineNo">506</span>          // MultiTableHFileOutputFormat use case<a name="line.506"></a>
-<span class="sourceLineNo">507</span>          fullKey = combineTableNameSuffix(tableName.getName(), byteKey);<a name="line.507"></a>
-<span class="sourceLineNo">508</span>        }<a name="line.508"></a>
-<span class="sourceLineNo">509</span>        if (LOG.isDebugEnabled()) {<a name="line.509"></a>
-<span class="sourceLineNo">510</span>          LOG.debug("SplitPoint startkey for " + tableName + ": " + Bytes.toStringBinary(fullKey));<a name="line.510"></a>
-<span class="sourceLineNo">511</span>        }<a name="line.511"></a>
-<span class="sourceLineNo">512</span>        ret.add(new ImmutableBytesWritable(fullKey));<a name="line.512"></a>
-<span class="sourceLineNo">513</span>      }<a name="line.513"></a>
-<span class="sourceLineNo">514</span>    }<a name="line.514"></a>
-<span class="sourceLineNo">515</span>    return ret;<a name="line.515"></a>
-<span class="sourceLineNo">516</span>  }<a name="line.516"></a>
-<span class="sourceLineNo">517</span><a name="line.517"></a>
-<span class="sourceLineNo">518</span>  /**<a name="line.518"></a>
-<span class="sourceLineNo">519</span>   * Write out a {@link SequenceFile} that can be read by {@link TotalOrderPartitioner} that<a name="line.519"></a>
-<span class="sourceLineNo">520</span>   * contains the split points in startKeys.<a name="line.520"></a>
-<span class="sourceLineNo">521</span>   */<a name="line.521"></a>
-<span class="sourceLineNo">522</span>  @SuppressWarnings("deprecation")<a name="line.522"></a>
-<span class="sourceLineNo">523</span>  private static void writePartitions(Configuration conf, Path partitionsPath,<a name="line.523"></a>
-<span class="sourceLineNo">524</span>    List&lt;ImmutableBytesWritable&gt; startKeys, boolean writeMultipleTables) throws IOException {<a name="line.524"></a>
-<span class="sourceLineNo">525</span>    LOG.info("Writing partition information to " + partitionsPath);<a name="line.525"></a>
-<span class="sourceLineNo">526</span>    if (startKeys.isEmpty()) {<a name="line.526"></a>
-<span class="sourceLineNo">527</span>      throw new IllegalArgumentException("No regions passed");<a name="line.527"></a>
-<span class="sourceLineNo">528</span>    }<a name="line.528"></a>
-<span class="sourceLineNo">529</span><a name="line.529"></a>
-<span class="sourceLineNo">530</span>    // We're generating a list of split points, and we don't ever<a name="line.530"></a>
-<span class="sourceLineNo">531</span>    // have keys &lt; the first region (which has an empty start key)<a name="line.531"></a>
-<span class="sourceLineNo">532</span>    // so we need to remove it. Otherwise we would end up with an<a name="line.532"></a>
-<span class="sourceLineNo">533</span>    // empty reducer with index 0<a name="line.533"></a>
-<span class="sourceLineNo">534</span>    TreeSet&lt;ImmutableBytesWritable&gt; sorted = new TreeSet&lt;&gt;(startKeys);<a name="line.534"></a>
-<span class="sourceLineNo">535</span>    ImmutableBytesWritable first = sorted.first();<a name="line.535"></a>
-<span class="sourceLineNo">536</span>    if (writeMultipleTables) {<a name="line.536"></a>
-<span class="sourceLineNo">537</span>      first =<a name="line.537"></a>
-<span class="sourceLineNo">538</span>        new ImmutableBytesWritable(MultiTableHFileOutputFormat.getSuffix(sorted.first().get()));<a name="line.538"></a>
-<span class="sourceLineNo">539</span>    }<a name="line.539"></a>
-<span class="sourceLineNo">540</span>    if (!first.equals(HConstants.EMPTY_BYTE_ARRAY)) {<a name="line.540"></a>
-<span class="sourceLineNo">541</span>      throw new IllegalArgumentException(<a name="line.541"></a>
-<span class="sourceLineNo">542</span>        "First region of table should have empty start key. Instead has: "<a name="line.542"></a>
-<span class="sourceLineNo">543</span>          + Bytes.toStringBinary(first.get()));<a name="line.543"></a>
-<span class="sourceLineNo">544</span>    }<a name="line.544"></a>
-<span class="sourceLineNo">545</span>    sorted.remove(sorted.first());<a name="line.545"></a>
-<span class="sourceLineNo">546</span><a name="line.546"></a>
-<span class="sourceLineNo">547</span>    // Write the actual file<a name="line.547"></a>
-<span class="sourceLineNo">548</span>    FileSystem fs = partitionsPath.getFileSystem(conf);<a name="line.548"></a>
-<span class="sourceLineNo">549</span>    SequenceFile.Writer writer = SequenceFile.createWriter(fs, conf, partitionsPath,<a name="line.549"></a>
-<span class="sourceLineNo">550</span>      ImmutableBytesWritable.class, NullWritable.class);<a name="line.550"></a>
-<span class="sourceLineNo">551</span><a name="line.551"></a>
-<span class="sourceLineNo">552</span>    try {<a name="line.552"></a>
-<span class="sourceLineNo">553</span>      for (ImmutableBytesWritable startKey : sorted) {<a name="line.553"></a>
-<span class="sourceLineNo">554</span>        writer.append(startKey, NullWritable.get());<a name="line.554"></a>
-<span class="sourceLineNo">555</span>      }<a name="line.555"></a>
-<span class="sourceLineNo">556</span>    } finally {<a name="line.556"></a>
-<span class="sourceLineNo">557</span>      writer.close();<a name="line.557"></a>
-<span class="sourceLineNo">558</span>    }<a name="line.558"></a>
-<span class="sourceLineNo">559</span>  }<a name="line.559"></a>
-<span class="sourceLineNo">560</span><a name="line.560"></a>
-<span class="sourceLineNo">561</span>  /**<a name="line.561"></a>
-<span class="sourceLineNo">562</span>   * Configure a MapReduce Job to perform an incremental load into the given table. This<a name="line.562"></a>
-<span class="sourceLineNo">563</span>   * &lt;ul&gt;<a name="line.563"></a>
-<span class="sourceLineNo">564</span>   * &lt;li&gt;Inspects the table to configure a total order partitioner&lt;/li&gt;<a name="line.564"></a>
-<span class="sourceLineNo">565</span>   * &lt;li&gt;Uploads the partitions file to the cluster and adds it to the DistributedCache&lt;/li&gt;<a name="line.565"></a>
-<span class="sourceLineNo">566</span>   * &lt;li&gt;Sets the number of reduce tasks to match the current number of regions&lt;/li&gt;<a name="line.566"></a>
-<span class="sourceLineNo">567</span>   * &lt;li&gt;Sets the output key/value class to match HFileOutputFormat2's requirements&lt;/li&gt;<a name="line.567"></a>
-<span class="sourceLineNo">568</span>   * &lt;li&gt;Sets the reducer up to perform the appropriate sorting (either KeyValueSortReducer or<a name="line.568"></a>
-<span class="sourceLineNo">569</span>   * PutSortReducer)&lt;/li&gt;<a name="line.569"></a>
-<span class="sourceLineNo">570</span>   * &lt;li&gt;Sets the HBase cluster key to load region locations for locality-sensitive&lt;/li&gt;<a name="line.570"></a>
-<span class="sourceLineNo">571</span>   * &lt;/ul&gt;<a name="line.571"></a>
-<span class="sourceLineNo">572</span>   * The user should be sure to set the map output value class to either KeyValue or Put before<a name="line.572"></a>
-<span class="sourceLineNo">573</span>   * running this function.<a name="line.573"></a>
-<span class="sourceLineNo">574</span>   */<a name="line.574"></a>
-<span class="sourceLineNo">575</span>  public static void configureIncrementalLoad(Job job, Table table, RegionLocator regionLocator)<a name="line.575"></a>
-<span class="sourceLineNo">576</span>    throws IOException {<a name="line.576"></a>
-<span class="sourceLineNo">577</span>    configureIncrementalLoad(job, table.getDescriptor(), regionLocator);<a name="line.577"></a>
-<span class="sourceLineNo">578</span>    configureRemoteCluster(job, table.getConfiguration());<a name="line.578"></a>
-<span class="sourceLineNo">579</span>  }<a name="line.579"></a>
-<span class="sourceLineNo">580</span><a name="line.580"></a>
-<span class="sourceLineNo">581</span>  /**<a name="line.581"></a>
-<span class="sourceLineNo">582</span>   * Configure a MapReduce Job to perform an incremental load into the given table. This<a name="line.582"></a>
-<span class="sourceLineNo">583</span>   * &lt;ul&gt;<a name="line.583"></a>
-<span class="sourceLineNo">584</span>   * &lt;li&gt;Inspects the table to configure a total order partitioner&lt;/li&gt;<a name="line.584"></a>
-<span class="sourceLineNo">585</span>   * &lt;li&gt;Uploads the partitions file to the cluster and adds it to the DistributedCache&lt;/li&gt;<a name="line.585"></a>
-<span class="sourceLineNo">586</span>   * &lt;li&gt;Sets the number of reduce tasks to match the current number of regions&lt;/li&gt;<a name="line.586"></a>
-<span class="sourceLineNo">587</span>   * &lt;li&gt;Sets the output key/value class to match HFileOutputFormat2's requirements&lt;/li&gt;<a name="line.587"></a>
-<span class="sourceLineNo">588</span>   * &lt;li&gt;Sets the reducer up to perform the appropriate sorting (either KeyValueSortReducer or<a name="line.588"></a>
-<span class="sourceLineNo">589</span>   * PutSortReducer)&lt;/li&gt;<a name="line.589"></a>
-<span class="sourceLineNo">590</span>   * &lt;/ul&gt;<a name="line.590"></a>
-<span class="sourceLineNo">591</span>   * The user should be sure to set the map output value class to either KeyValue or Put before<a name="line.591"></a>
-<span class="sourceLineNo">592</span>   * running this function.<a name="line.592"></a>
-<span class="sourceLineNo">593</span>   */<a name="line.593"></a>
-<span class="sourceLineNo">594</span>  public static void configureIncrementalLoad(Job job, TableDescriptor tableDescriptor,<a name="line.594"></a>
-<span class="sourceLineNo">595</span>    RegionLocator regionLocator) throws IOException {<a name="line.595"></a>
-<span class="sourceLineNo">596</span>    ArrayList&lt;TableInfo&gt; singleTableInfo = new ArrayList&lt;&gt;();<a name="line.596"></a>
-<span class="sourceLineNo">597</span>    singleTableInfo.add(new TableInfo(tableDescriptor, regionLocator));<a name="line.597"></a>
-<span class="sourceLineNo">598</span>    configureIncrementalLoad(job, singleTableInfo, HFileOutputFormat2.class);<a name="line.598"></a>
-<span class="sourceLineNo">599</span>  }<a name="line.599"></a>
-<span class="sourceLineNo">600</span><a name="line.600"></a>
-<span class="sourceLineNo">601</span>  static void configureIncrementalLoad(Job job, List&lt;TableInfo&gt; multiTableInfo,<a name="line.601"></a>
-<span class="sourceLineNo">602</span>    Class&lt;? extends OutputFormat&lt;?, ?&gt;&gt; cls) throws IOException {<a name="line.602"></a>
-<span class="sourceLineNo">603</span>    Configuration conf = job.getConfiguration();<a name="line.603"></a>
-<span class="sourceLineNo">604</span>    job.setOutputKeyClass(ImmutableBytesWritable.class);<a name="line.604"></a>
-<span class="sourceLineNo">605</span>    job.setOutputValueClass(MapReduceExtendedCell.class);<a name="line.605"></a>
-<span class="sourceLineNo">606</span>    job.setOutputFormatClass(cls);<a name="line.606"></a>
-<span class="sourceLineNo">607</span><a name="line.607"></a>
-<span class="sourceLineNo">608</span>    if (multiTableInfo.stream().distinct().count() != multiTableInfo.size()) {<a name="line.608"></a>
-<span class="sourceLineNo">609</span>      throw new IllegalArgumentException("Duplicate entries found in TableInfo argument");<a name="line.609"></a>
-<span class="sourceLineNo">610</span>    }<a name="line.610"></a>
-<span class="sourceLineNo">611</span>    boolean writeMultipleTables = false;<a name="line.611"></a>
-<span class="sourceLineNo">612</span>    if (MultiTableHFileOutputFormat.class.equals(cls)) {<a name="line.612"></a>
-<span class="sourceLineNo">613</span>      writeMultipleTables = true;<a name="line.613"></a>
-<span class="sourceLineNo">614</span>      conf.setBoolean(MULTI_TABLE_HFILEOUTPUTFORMAT_CONF_KEY, true);<a name="line.614"></a>
-<span class="sourceLineNo">615</span>    }<a name="line.615"></a>
-<span class="sourceLineNo">616</span>    // Based on the configured map output class, set the correct reducer to properly<a name="line.616"></a>
-<span class="sourceLineNo">617</span>    // sort the incoming values.<a name="line.617"></a>
-<span class="sourceLineNo">618</span>    // TODO it would be nice to pick one or the other of these formats.<a name="line.618"></a>
-<span class="sourceLineNo">619</span>    if (<a name="line.619"></a>
-<span class="sourceLineNo">620</span>      KeyValue.class.equals(job.getMapOutputValueClass())<a name="line.620"></a>
-<span class="sourceLineNo">621</span>        || MapReduceExtendedCell.class.equals(job.getMapOutputValueClass())<a name="line.621"></a>
-<span class="sourceLineNo">622</span>    ) {<a name="line.622"></a>
-<span class="sourceLineNo">623</span>      job.setReducerClass(CellSortReducer.class);<a name="line.623"></a>
-<span class="sourceLineNo">624</span>    } else if (Put.class.equals(job.getMapOutputValueClass())) {<a name="line.624"></a>
-<span class="sourceLineNo">625</span>      job.setReducerClass(PutSortReducer.class);<a name="line.625"></a>
-<span class="sourceLineNo">626</span>    } else if (Text.class.equals(job.getMapOutputValueClass())) {<a name="line.626"></a>
-<span class="sourceLineNo">627</span>      job.setReducerClass(TextSortReducer.class);<a name="line.627"></a>
-<span class="sourceLineNo">628</span>    } else {<a name="line.628"></a>
-<span class="sourceLineNo">629</span>      LOG.warn("Unknown map output value type:" + job.getMapOutputValueClass());<a name="line.629"></a>
-<span class="sourceLineNo">630</span>    }<a name="line.630"></a>
-<span class="sourceLineNo">631</span><a name="line.631"></a>
-<span class="sourceLineNo">632</span>    mergeSerializations(conf);<a name="line.632"></a>
-<span class="sourceLineNo">633</span><a name="line.633"></a>
-<span class="sourceLineNo">634</span>    if (conf.getBoolean(LOCALITY_SENSITIVE_CONF_KEY, DEFAULT_LOCALITY_SENSITIVE)) {<a name="line.634"></a>
-<span class="sourceLineNo">635</span>      LOG.info("bulkload locality sensitive enabled");<a name="line.635"></a>
-<span class="sourceLineNo">636</span>    }<a name="line.636"></a>
-<span class="sourceLineNo">637</span><a name="line.637"></a>
-<span class="sourceLineNo">638</span>    /* Now get the region start keys for every table required */<a name="line.638"></a>
-<span class="sourceLineNo">639</span>    List&lt;String&gt; allTableNames = new ArrayList&lt;&gt;(multiTableInfo.size());<a name="line.639"></a>
-<span class="sourceLineNo">640</span>    List&lt;RegionLocator&gt; regionLocators = new ArrayList&lt;&gt;(multiTableInfo.size());<a name="line.640"></a>
-<span class="sourceLineNo">641</span>    List&lt;TableDescriptor&gt; tableDescriptors = new ArrayList&lt;&gt;(multiTableInfo.size());<a name="line.641"></a>
-<span class="sourceLineNo">642</span><a name="line.642"></a>
-<span class="sourceLineNo">643</span>    for (TableInfo tableInfo : multiTableInfo) {<a name="line.643"></a>
-<span class="sourceLineNo">644</span>      regionLocators.add(tableInfo.getRegionLocator());<a name="line.644"></a>
-<span class="sourceLineNo">645</span>      String tn = writeMultipleTables<a name="line.645"></a>
-<span class="sourceLineNo">646</span>        ? tableInfo.getRegionLocator().getName().getNameWithNamespaceInclAsString()<a name="line.646"></a>
-<span class="sourceLineNo">647</span>        : tableInfo.getRegionLocator().getName().getNameAsString();<a name="line.647"></a>
-<span class="sourceLineNo">648</span>      allTableNames.add(tn);<a name="line.648"></a>
-<span class="sourceLineNo">649</span>      tableDescriptors.add(tableInfo.getTableDescriptor());<a name="line.649"></a>
-<span class="sourceLineNo">650</span>    }<a name="line.650"></a>
-<span class="sourceLineNo">651</span>    // Record tablenames for creating writer by favored nodes, and decoding compression,<a name="line.651"></a>
-<span class="sourceLineNo">652</span>    // block size and other attributes of columnfamily per table<a name="line.652"></a>
-<span class="sourceLineNo">653</span>    conf.set(OUTPUT_TABLE_NAME_CONF_KEY,<a name="line.653"></a>
-<span class="sourceLineNo">654</span>      StringUtils.join(allTableNames, Bytes.toString(tableSeparator)));<a name="line.654"></a>
-<span class="sourceLineNo">655</span>    List&lt;ImmutableBytesWritable&gt; startKeys =<a name="line.655"></a>
-<span class="sourceLineNo">656</span>      getRegionStartKeys(regionLocators, writeMultipleTables);<a name="line.656"></a>
-<span class="sourceLineNo">657</span>    // Use table's region boundaries for TOP split points.<a name="line.657"></a>
-<span class="sourceLineNo">658</span>    LOG.info("Configuring " + startKeys.size() + " reduce partitions "<a name="line.658"></a>
-<span class="sourceLineNo">659</span>      + "to match current region count for all tables");<a name="line.659"></a>
-<span class="sourceLineNo">660</span>    job.setNumReduceTasks(startKeys.size());<a name="line.660"></a>
-<span class="sourceLineNo">661</span><a name="line.661"></a>
-<span class="sourceLineNo">662</span>    configurePartitioner(job, startKeys, writeMultipleTables);<a name="line.662"></a>
-<span class="sourceLineNo">663</span>    // Set compression algorithms based on column families<a name="line.663"></a>
-<span class="sourceLineNo">664</span><a name="line.664"></a>
-<span class="sourceLineNo">665</span>    conf.set(COMPRESSION_FAMILIES_CONF_KEY,<a name="line.665"></a>
-<span class="sourceLineNo">666</span>      serializeColumnFamilyAttribute(compressionDetails, tableDescriptors));<a name="line.666"></a>
-<span class="sourceLineNo">667</span>    conf.set(BLOCK_SIZE_FAMILIES_CONF_KEY,<a name="line.667"></a>
-<span class="sourceLineNo">668</span>      serializeColumnFamilyAttribute(blockSizeDetails, tableDescriptors));<a name="line.668"></a>
-<span class="sourceLineNo">669</span>    conf.set(BLOOM_TYPE_FAMILIES_CONF_KEY,<a name="line.669"></a>
-<span class="sourceLineNo">670</span>      serializeColumnFamilyAttribute(bloomTypeDetails, tableDescriptors));<a name="line.670"></a>
-<span class="sourceLineNo">671</span>    conf.set(BLOOM_PARAM_FAMILIES_CONF_KEY,<a name="line.671"></a>
-<span class="sourceLineNo">672</span>      serializeColumnFamilyAttribute(bloomParamDetails, tableDescriptors));<a name="line.672"></a>
-<span class="sourceLineNo">673</span>    conf.set(DATABLOCK_ENCODING_FAMILIES_CONF_KEY,<a name="line.673"></a>
-<span class="sourceLineNo">674</span>      serializeColumnFamilyAttribute(dataBlockEncodingDetails, tableDescriptors));<a name="line.674"></a>
-<span class="sourceLineNo">675</span><a name="line.675"></a>
-<span class="sourceLineNo">676</span>    TableMapReduceUtil.addDependencyJars(job);<a name="line.676"></a>
-<span class="sourceLineNo">677</span>    TableMapReduceUtil.initCredentials(job);<a name="line.677"></a>
-<span class="sourceLineNo">678</span>    LOG.info("Incremental output configured for tables: " + StringUtils.join(allTableNames, ","));<a name="line.678"></a>
-<span class="sourceLineNo">679</span>  }<a name="line.679"></a>
-<span class="sourceLineNo">680</span><a name="line.680"></a>
-<span class="sourceLineNo">681</span>  private static void mergeSerializations(Configuration conf) {<a name="line.681"></a>
-<span class="sourceLineNo">682</span>    List&lt;String&gt; serializations = new ArrayList&lt;&gt;();<a name="line.682"></a>
-<span class="sourceLineNo">683</span><a name="line.683"></a>
-<span class="sourceLineNo">684</span>    // add any existing values that have been set<a name="line.684"></a>
-<span class="sourceLineNo">685</span>    String[] existing = conf.getStrings("io.serializations");<a name="line.685"></a>
-<span class="sourceLineNo">686</span>    if (existing != null) {<a name="line.686"></a>
-<span class="sourceLineNo">687</span>      Collections.addAll(serializations, existing);<a name="line.687"></a>
-<span class="sourceLineNo">688</span>    }<a name="line.688"></a>
-<span class="sourceLineNo">689</span><a name="line.689"></a>
-<span class="sourceLineNo">690</span>    serializations.add(MutationSerialization.class.getName());<a name="line.690"></a>
-<span class="sourceLineNo">691</span>    serializations.add(ResultSerialization.class.getName());<a name="line.691"></a>
-<span class="sourceLineNo">692</span><a name="line.692"></a>
-<span class="sourceLineNo">693</span>    // Add ExtendedCellSerialization, if configured. Order matters here. Hadoop's<a name="line.693"></a>
-<span class="sourceLineNo">694</span>    // SerializationFactory runs through serializations in the order they are registered.<a name="line.694"></a>
-<span class="sourceLineNo">695</span>    // We want to register ExtendedCellSerialization before CellSerialization because both<a name="line.695"></a>
-<span class="sourceLineNo">696</span>    // work for ExtendedCells but only ExtendedCellSerialization handles them properly.<a name="line.696"></a>
-<span class="sourceLineNo">697</span>    if (<a name="line.697"></a>
-<span class="sourceLineNo">698</span>      conf.getBoolean(EXTENDED_CELL_SERIALIZATION_ENABLED_KEY,<a name="line.698"></a>
-<span class="sourceLineNo">699</span>        EXTENDED_CELL_SERIALIZATION_ENABLED_DEFULT)<a name="line.699"></a>
-<span class="sourceLineNo">700</span>    ) {<a name="line.700"></a>
-<span class="sourceLineNo">701</span>      serializations.add(ExtendedCellSerialization.class.getName());<a name="line.701"></a>
-<span class="sourceLineNo">702</span>    }<a name="line.702"></a>
-<span class="sourceLineNo">703</span>    serializations.add(CellSerialization.class.getName());<a name="line.703"></a>
-<span class="sourceLineNo">704</span><a name="line.704"></a>
-<span class="sourceLineNo">705</span>    conf.setStrings("io.serializations", serializations.toArray(new String[0]));<a name="line.705"></a>
-<span class="sourceLineNo">706</span>  }<a name="line.706"></a>
-<span class="sourceLineNo">707</span><a name="line.707"></a>
-<span class="sourceLineNo">708</span>  public static void configureIncrementalLoadMap(Job job, TableDescriptor tableDescriptor)<a name="line.708"></a>
-<span class="sourceLineNo">709</span>    throws IOException {<a name="line.709"></a>
-<span class="sourceLineNo">710</span>    Configuration conf = job.getConfiguration();<a name="line.710"></a>
-<span class="sourceLineNo">711</span><a name="line.711"></a>
-<span class="sourceLineNo">712</span>    job.setOutputKeyClass(ImmutableBytesWritable.class);<a name="line.712"></a>
-<span class="sourceLineNo">713</span>    job.setOutputValueClass(MapReduceExtendedCell.class);<a name="line.713"></a>
-<span class="sourceLineNo">714</span>    job.setOutputFormatClass(HFileOutputFormat2.class);<a name="line.714"></a>
-<span class="sourceLineNo">715</span><a name="line.715"></a>
-<span class="sourceLineNo">716</span>    ArrayList&lt;TableDescriptor&gt; singleTableDescriptor = new ArrayList&lt;&gt;(1);<a name="line.716"></a>
-<span class="sourceLineNo">717</span>    singleTableDescriptor.add(tableDescriptor);<a name="line.717"></a>
-<span class="sourceLineNo">718</span><a name="line.718"></a>
-<span class="sourceLineNo">719</span>    conf.set(OUTPUT_TABLE_NAME_CONF_KEY, tableDescriptor.getTableName().getNameAsString());<a name="line.719"></a>
-<span class="sourceLineNo">720</span>    // Set compression algorithms based on column families<a name="line.720"></a>
-<span class="sourceLineNo">721</span>    conf.set(COMPRESSION_FAMILIES_CONF_KEY,<a name="line.721"></a>
-<span class="sourceLineNo">722</span>      serializeColumnFamilyAttribute(compressionDetails, singleTableDescriptor));<a name="line.722"></a>
-<span class="sourceLineNo">723</span>    conf.set(BLOCK_SIZE_FAMILIES_CONF_KEY,<a name="line.723"></a>
-<span class="sourceLineNo">724</span>      serializeColumnFamilyAttribute(blockSizeDetails, singleTableDescriptor));<a name="line.724"></a>
-<span class="sourceLineNo">725</span>    conf.set(BLOOM_TYPE_FAMILIES_CONF_KEY,<a name="line.725"></a>
-<span class="sourceLineNo">726</span>      serializeColumnFamilyAttribute(bloomTypeDetails, singleTableDescriptor));<a name="line.726"></a>
-<span class="sourceLineNo">727</span>    conf.set(BLOOM_PARAM_FAMILIES_CONF_KEY,<a name="line.727"></a>
-<span class="sourceLineNo">728</span>      serializeColumnFamilyAttribute(bloomParamDetails, singleTableDescriptor));<a name="line.728"></a>
-<span class="sourceLineNo">729</span>    conf.set(DATABLOCK_ENCODING_FAMILIES_CONF_KEY,<a name="line.729"></a>
-<span class="sourceLineNo">730</span>      serializeColumnFamilyAttribute(dataBlockEncodingDetails, singleTableDescriptor));<a name="line.730"></a>
-<span class="sourceLineNo">731</span><a name="line.731"></a>
-<span class="sourceLineNo">732</span>    TableMapReduceUtil.addDependencyJars(job);<a name="line.732"></a>
-<span class="sourceLineNo">733</span>    TableMapReduceUtil.initCredentials(job);<a name="line.733"></a>
-<span class="sourceLineNo">734</span>    LOG.info("Incremental table " + tableDescriptor.getTableName() + " output configured.");<a name="line.734"></a>
-<span class="sourceLineNo">735</span>  }<a name="line.735"></a>
-<span class="sourceLineNo">736</span><a name="line.736"></a>
-<span class="sourceLineNo">737</span>  /**<a name="line.737"></a>
-<span class="sourceLineNo">738</span>   * Configure HBase cluster key for remote cluster to load region location for locality-sensitive<a name="line.738"></a>
-<span class="sourceLineNo">739</span>   * if it's enabled. It's not necessary to call this method explicitly when the cluster key for<a name="line.739"></a>
-<span class="sourceLineNo">740</span>   * HBase cluster to be used to load region location is configured in the job configuration. Call<a name="line.740"></a>
-<span class="sourceLineNo">741</span>   * this method when another HBase cluster key is configured in the job configuration. For example,<a name="line.741"></a>
-<span class="sourceLineNo">742</span>   * you should call when you load data from HBase cluster A using {@link TableInputFormat} and<a name="line.742"></a>
-<span class="sourceLineNo">743</span>   * generate hfiles for HBase cluster B. Otherwise, HFileOutputFormat2 fetch location from cluster<a name="line.743"></a>
-<span class="sourceLineNo">744</span>   * A and locality-sensitive won't working correctly.<a name="line.744"></a>
-<span class="sourceLineNo">745</span>   * {@link #configureIncrementalLoad(Job, Table, RegionLocator)} calls this method using<a name="line.745"></a>
-<span class="sourceLineNo">746</span>   * {@link Table#getConfiguration} as clusterConf. See HBASE-25608.<a name="line.746"></a>
-<span class="sourceLineNo">747</span>   * @param job         which has configuration to be updated<a name="line.747"></a>
-<span class="sourceLineNo">748</span>   * @param clusterConf which contains cluster key of the HBase cluster to be locality-sensitive<a name="line.748"></a>
-<span class="sourceLineNo">749</span>   * @see #configureIncrementalLoad(Job, Table, RegionLocator)<a name="line.749"></a>
-<span class="sourceLineNo">750</span>   * @see #LOCALITY_SENSITIVE_CONF_KEY<a name="line.750"></a>
-<span class="sourceLineNo">751</span>   * @see #REMOTE_CLUSTER_ZOOKEEPER_QUORUM_CONF_KEY<a name="line.751"></a>
-<span class="sourceLineNo">752</span>   * @see #REMOTE_CLUSTER_ZOOKEEPER_CLIENT_PORT_CONF_KEY<a name="line.752"></a>
-<span class="sourceLineNo">753</span>   * @see #REMOTE_CLUSTER_ZOOKEEPER_ZNODE_PARENT_CONF_KEY<a name="line.753"></a>
-<span class="sourceLineNo">754</span>   */<a name="line.754"></a>
-<span class="sourceLineNo">755</span>  public static void configureRemoteCluster(Job job, Configuration clusterConf) {<a name="line.755"></a>
-<span class="sourceLineNo">756</span>    Configuration conf = job.getConfiguration();<a name="line.756"></a>
-<span class="sourceLineNo">757</span><a name="line.757"></a>
-<span class="sourceLineNo">758</span>    if (!conf.getBoolean(LOCALITY_SENSITIVE_CONF_KEY, DEFAULT_LOCALITY_SENSITIVE)) {<a name="line.758"></a>
-<span class="sourceLineNo">759</span>      return;<a name="line.759"></a>
-<span class="sourceLineNo">760</span>    }<a name="line.760"></a>
-<span class="sourceLineNo">761</span><a name="line.761"></a>
-<span class="sourceLineNo">762</span>    final String quorum = clusterConf.get(HConstants.ZOOKEEPER_QUORUM);<a name="line.762"></a>
-<span class="sourceLineNo">763</span>    final int clientPort = clusterConf.getInt(HConstants.ZOOKEEPER_CLIENT_PORT,<a name="line.763"></a>
-<span class="sourceLineNo">764</span>      HConstants.DEFAULT_ZOOKEEPER_CLIENT_PORT);<a name="line.764"></a>
-<span class="sourceLineNo">765</span>    final String parent =<a name="line.765"></a>
-<span class="sourceLineNo">766</span>      clusterConf.get(HConstants.ZOOKEEPER_ZNODE_PARENT, HConstants.DEFAULT_ZOOKEEPER_ZNODE_PARENT);<a name="line.766"></a>
-<span class="sourceLineNo">767</span><a name="line.767"></a>
-<span class="sourceLineNo">768</span>    conf.set(REMOTE_CLUSTER_ZOOKEEPER_QUORUM_CONF_KEY, quorum);<a name="line.768"></a>
-<span class="sourceLineNo">769</span>    conf.setInt(REMOTE_CLUSTER_ZOOKEEPER_CLIENT_PORT_CONF_KEY, clientPort);<a name="line.769"></a>
-<span class="sourceLineNo">770</span>    conf.set(REMOTE_CLUSTER_ZOOKEEPER_ZNODE_PARENT_CONF_KEY, parent);<a name="line.770"></a>
-<span class="sourceLineNo">771</span><a name="line.771"></a>
-<span class="sourceLineNo">772</span>    LOG.info("ZK configs for remote cluster of bulkload is configured: " + quorum + ":" + clientPort<a name="line.772"></a>
-<span class="sourceLineNo">773</span>      + "/" + parent);<a name="line.773"></a>
-<span class="sourceLineNo">774</span>  }<a name="line.774"></a>
-<span class="sourceLineNo">775</span><a name="line.775"></a>
-<span class="sourceLineNo">776</span>  /**<a name="line.776"></a>
-<span class="sourceLineNo">777</span>   * Runs inside the task to deserialize column family to compression algorithm map from the<a name="line.777"></a>
-<span class="sourceLineNo">778</span>   * configuration.<a name="line.778"></a>
-<span class="sourceLineNo">779</span>   * @param conf to read the serialized values from<a name="line.779"></a>
-<span class="sourceLineNo">780</span>   * @return a map from column family to the configured compression algorithm<a name="line.780"></a>
-<span class="sourceLineNo">781</span>   */<a name="line.781"></a>
-<span class="sourceLineNo">782</span>  @InterfaceAudience.Private<a name="line.782"></a>
-<span class="sourceLineNo">783</span>  static Map&lt;byte[], Algorithm&gt; createFamilyCompressionMap(Configuration conf) {<a name="line.783"></a>
-<span class="sourceLineNo">784</span>    Map&lt;byte[], String&gt; stringMap = createFamilyConfValueMap(conf, COMPRESSION_FAMILIES_CONF_KEY);<a name="line.784"></a>
-<span class="sourceLineNo">785</span>    Map&lt;byte[], Algorithm&gt; compressionMap = new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.785"></a>
-<span class="sourceLineNo">786</span>    for (Map.Entry&lt;byte[], String&gt; e : stringMap.entrySet()) {<a name="line.786"></a>
-<span class="sourceLineNo">787</span>      Algorithm algorithm = HFileWriterImpl.compressionByName(e.getValue());<a name="line.787"></a>
-<span class="sourceLineNo">788</span>      compressionMap.put(e.getKey(), algorithm);<a name="line.788"></a>
-<span class="sourceLineNo">789</span>    }<a name="line.789"></a>
-<span class="sourceLineNo">790</span>    return compressionMap;<a name="line.790"></a>
-<span class="sourceLineNo">791</span>  }<a name="line.791"></a>
-<span class="sourceLineNo">792</span><a name="line.792"></a>
-<span class="sourceLineNo">793</span>  /**<a name="line.793"></a>
-<span class="sourceLineNo">794</span>   * Runs inside the task to deserialize column family to bloom filter type map from the<a name="line.794"></a>
-<span class="sourceLineNo">795</span>   * configuration.<a name="line.795"></a>
-<span class="sourceLineNo">796</span>   * @param conf to read the serialized values from<a name="line.796"></a>
-<span class="sourceLineNo">797</span>   * @return a map from column family to the the configured bloom filter type<a name="line.797"></a>
-<span class="sourceLineNo">798</span>   */<a name="line.798"></a>
-<span class="sourceLineNo">799</span>  @InterfaceAudience.Private<a name="line.799"></a>
-<span class="sourceLineNo">800</span>  static Map&lt;byte[], BloomType&gt; createFamilyBloomTypeMap(Configuration conf) {<a name="line.800"></a>
-<span class="sourceLineNo">801</span>    Map&lt;byte[], String&gt; stringMap = createFamilyConfValueMap(conf, BLOOM_TYPE_FAMILIES_CONF_KEY);<a name="line.801"></a>
-<span class="sourceLineNo">802</span>    Map&lt;byte[], BloomType&gt; bloomTypeMap = new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.802"></a>
-<span class="sourceLineNo">803</span>    for (Map.Entry&lt;byte[], String&gt; e : stringMap.entrySet()) {<a name="line.803"></a>
-<span class="sourceLineNo">804</span>      BloomType bloomType = BloomType.valueOf(e.getValue());<a name="line.804"></a>
-<span class="sourceLineNo">805</span>      bloomTypeMap.put(e.getKey(), bloomType);<a name="line.805"></a>
-<span class="sourceLineNo">806</span>    }<a name="line.806"></a>
-<span class="sourceLineNo">807</span>    return bloomTypeMap;<a name="line.807"></a>
-<span class="sourceLineNo">808</span>  }<a name="line.808"></a>
-<span class="sourceLineNo">809</span><a name="line.809"></a>
-<span class="sourceLineNo">810</span>  /**<a name="line.810"></a>
-<span class="sourceLineNo">811</span>   * Runs inside the task to deserialize column family to bloom filter param map from the<a name="line.811"></a>
-<span class="sourceLineNo">812</span>   * configuration.<a name="line.812"></a>
-<span class="sourceLineNo">813</span>   * @param conf to read the serialized values from<a name="line.813"></a>
-<span class="sourceLineNo">814</span>   * @return a map from column family to the the configured bloom filter param<a name="line.814"></a>
-<span class="sourceLineNo">815</span>   */<a name="line.815"></a>
-<span class="sourceLineNo">816</span>  @InterfaceAudience.Private<a name="line.816"></a>
-<span class="sourceLineNo">817</span>  static Map&lt;byte[], String&gt; createFamilyBloomParamMap(Configuration conf) {<a name="line.817"></a>
-<span class="sourceLineNo">818</span>    return createFamilyConfValueMap(conf, BLOOM_PARAM_FAMILIES_CONF_KEY);<a name="line.818"></a>
-<span class="sourceLineNo">819</span>  }<a name="line.819"></a>
-<span class="sourceLineNo">820</span><a name="line.820"></a>
-<span class="sourceLineNo">821</span>  /**<a name="line.821"></a>
-<span class="sourceLineNo">822</span>   * Runs inside the task to deserialize column family to block size map from the configuration.<a name="line.822"></a>
-<span class="sourceLineNo">823</span>   * @param conf to read the serialized values from<a name="line.823"></a>
-<span class="sourceLineNo">824</span>   * @return a map from column family to the configured block size<a name="line.824"></a>
-<span class="sourceLineNo">825</span>   */<a name="line.825"></a>
-<span class="sourceLineNo">826</span>  @InterfaceAudience.Private<a name="line.826"></a>
-<span class="sourceLineNo">827</span>  static Map&lt;byte[], Integer&gt; createFamilyBlockSizeMap(Configuration conf) {<a name="line.827"></a>
-<span class="sourceLineNo">828</span>    Map&lt;byte[], String&gt; stringMap = createFamilyConfValueMap(conf, BLOCK_SIZE_FAMILIES_CONF_KEY);<a name="line.828"></a>
-<span class="sourceLineNo">829</span>    Map&lt;byte[], Integer&gt; blockSizeMap = new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.829"></a>
-<span class="sourceLineNo">830</span>    for (Map.Entry&lt;byte[], String&gt; e : stringMap.entrySet()) {<a name="line.830"></a>
-<span class="sourceLineNo">831</span>      Integer blockSize = Integer.parseInt(e.getValue());<a name="line.831"></a>
-<span class="sourceLineNo">832</span>      blockSizeMap.put(e.getKey(), blockSize);<a name="line.832"></a>
-<span class="sourceLineNo">833</span>    }<a name="line.833"></a>
-<span class="sourceLineNo">834</span>    return blockSizeMap;<a name="line.834"></a>
-<span class="sourceLineNo">835</span>  }<a name="line.835"></a>
-<span class="sourceLineNo">836</span><a name="line.836"></a>
-<span class="sourceLineNo">837</span>  /**<a name="line.837"></a>
-<span class="sourceLineNo">838</span>   * Runs inside the task to deserialize column family to data block encoding type map from the<a name="line.838"></a>
-<span class="sourceLineNo">839</span>   * configuration.<a name="line.839"></a>
-<span class="sourceLineNo">840</span>   * @param conf to read the serialized values from<a name="line.840"></a>
-<span class="sourceLineNo">841</span>   * @return a map from column family to HFileDataBlockEncoder for the configured data block type<a name="line.841"></a>
-<span class="sourceLineNo">842</span>   *         for the family<a name="line.842"></a>
-<span class="sourceLineNo">843</span>   */<a name="line.843"></a>
-<span class="sourceLineNo">844</span>  @InterfaceAudience.Private<a name="line.844"></a>
-<span class="sourceLineNo">845</span>  static Map&lt;byte[], DataBlockEncoding&gt; createFamilyDataBlockEncodingMap(Configuration conf) {<a name="line.845"></a>
-<span class="sourceLineNo">846</span>    Map&lt;byte[], String&gt; stringMap =<a name="line.846"></a>
-<span class="sourceLineNo">847</span>      createFamilyConfValueMap(conf, DATABLOCK_ENCODING_FAMILIES_CONF_KEY);<a name="line.847"></a>
-<span class="sourceLineNo">848</span>    Map&lt;byte[], DataBlockEncoding&gt; encoderMap = new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.848"></a>
-<span class="sourceLineNo">849</span>    for (Map.Entry&lt;byte[], String&gt; e : stringMap.entrySet()) {<a name="line.849"></a>
-<span class="sourceLineNo">850</span>      encoderMap.put(e.getKey(), DataBlockEncoding.valueOf((e.getValue())));<a name="line.850"></a>
-<span class="sourceLineNo">851</span>    }<a name="line.851"></a>
-<span class="sourceLineNo">852</span>    return encoderMap;<a name="line.852"></a>
-<span class="sourceLineNo">853</span>  }<a name="line.853"></a>
-<span class="sourceLineNo">854</span><a name="line.854"></a>
-<span class="sourceLineNo">855</span>  /**<a name="line.855"></a>
-<span class="sourceLineNo">856</span>   * Run inside the task to deserialize column family to given conf value map.<a name="line.856"></a>
-<span class="sourceLineNo">857</span>   * @param conf     to read the serialized values from<a name="line.857"></a>
-<span class="sourceLineNo">858</span>   * @param confName conf key to read from the configuration<a name="line.858"></a>
-<span class="sourceLineNo">859</span>   * @return a map of column family to the given configuration value<a name="line.859"></a>
-<span class="sourceLineNo">860</span>   */<a name="line.860"></a>
-<span class="sourceLineNo">861</span>  private static Map&lt;byte[], String&gt; createFamilyConfValueMap(Configuration conf, String confName) {<a name="line.861"></a>
-<span class="sourceLineNo">862</span>    Map&lt;byte[], String&gt; confValMap = new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.862"></a>
-<span class="sourceLineNo">863</span>    String confVal = conf.get(confName, "");<a name="line.863"></a>
-<span class="sourceLineNo">864</span>    for (String familyConf : confVal.split("&amp;")) {<a name="line.864"></a>
-<span class="sourceLineNo">865</span>      String[] familySplit = familyConf.split("=");<a name="line.865"></a>
-<span class="sourceLineNo">866</span>      if (familySplit.length != 2) {<a name="line.866"></a>
-<span class="sourceLineNo">867</span>        continue;<a name="line.867"></a>
-<span class="sourceLineNo">868</span>      }<a name="line.868"></a>
-<span class="sourceLineNo">869</span>      try {<a name="line.869"></a>
-<span class="sourceLineNo">870</span>        confValMap.put(Bytes.toBytes(URLDecoder.decode(familySplit[0], "UTF-8")),<a name="line.870"></a>
-<span class="sourceLineNo">871</span>          URLDecoder.decode(familySplit[1], "UTF-8"));<a name="line.871"></a>
-<span class="sourceLineNo">872</span>      } catch (UnsupportedEncodingException e) {<a name="line.872"></a>
-<span class="sourceLineNo">873</span>        // will not happen with UTF-8 encoding<a name="line.873"></a>
-<span class="sourceLineNo">874</span>        throw new AssertionError(e);<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>    return confValMap;<a name="line.877"></a>
-<span class="sourceLineNo">878</span>  }<a name="line.878"></a>
-<span class="sourceLineNo">879</span><a name="line.879"></a>
-<span class="sourceLineNo">880</span>  /**<a name="line.880"></a>
-<span class="sourceLineNo">881</span>   * Configure &lt;code&gt;job&lt;/code&gt; with a TotalOrderPartitioner, partitioning against<a name="line.881"></a>
-<span class="sourceLineNo">882</span>   * &lt;code&gt;splitPoints&lt;/code&gt;. Cleans up the partitions file after job exists.<a name="line.882"></a>
-<span class="sourceLineNo">883</span>   */<a name="line.883"></a>
-<span class="sourceLineNo">884</span>  static void configurePartitioner(Job job, List&lt;ImmutableBytesWritable&gt; splitPoints,<a name="line.884"></a>
-<span class="sourceLineNo">885</span>    boolean writeMultipleTables) throws IOException {<a name="line.885"></a>
-<span class="sourceLineNo">886</span>    Configuration conf = job.getConfiguration();<a name="line.886"></a>
-<span class="sourceLineNo">887</span>    // create the partitions file<a name="line.887"></a>
-<span class="sourceLineNo">888</span>    FileSystem fs = FileSystem.get(conf);<a name="line.888"></a>
-<span class="sourceLineNo">889</span>    String hbaseTmpFsDir =<a name="line.889"></a>
-<span class="sourceLineNo">890</span>      conf.get(HConstants.TEMPORARY_FS_DIRECTORY_KEY, fs.getHomeDirectory() + "/hbase-staging");<a name="line.890"></a>
-<span class="sourceLineNo">891</span>    Path partitionsPath = new Path(hbaseTmpFsDir, "partitions_" + UUID.randomUUID());<a name="line.891"></a>
-<span class="sourceLineNo">892</span>    fs.makeQualified(partitionsPath);<a name="line.892"></a>
-<span class="sourceLineNo">893</span>    writePartitions(conf, partitionsPath, splitPoints, writeMultipleTables);<a name="line.893"></a>
-<span class="sourceLineNo">894</span>    fs.deleteOnExit(partitionsPath);<a name="line.894"></a>
-<span class="sourceLineNo">895</span><a name="line.895"></a>
-<span class="sourceLineNo">896</span>    // configure job to use it<a name="line.896"></a>
-<span class="sourceLineNo">897</span>    job.setPartitionerClass(TotalOrderPartitioner.class);<a name="line.897"></a>
-<span class="sourceLineNo">898</span>    TotalOrderPartitioner.setPartitionFile(conf, partitionsPath);<a name="line.898"></a>
-<span class="sourceLineNo">899</span>  }<a name="line.899"></a>
-<span class="sourceLineNo">900</span><a name="line.900"></a>
-<span class="sourceLineNo">901</span>  @edu.umd.cs.findbugs.annotations.SuppressWarnings(<a name="line.901"></a>
-<span class="sourceLineNo">902</span>      value = "RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE")<a name="line.902"></a>
-<span class="sourceLineNo">903</span>  @InterfaceAudience.Private<a name="line.903"></a>
-<span class="sourceLineNo">904</span>  static String serializeColumnFamilyAttribute(Function&lt;ColumnFamilyDescriptor, String&gt; fn,<a name="line.904"></a>
-<span class="sourceLineNo">905</span>    List&lt;TableDescriptor&gt; allTables) throws UnsupportedEncodingException {<a name="line.905"></a>
-<span class="sourceLineNo">906</span>    StringBuilder attributeValue = new StringBuilder();<a name="line.906"></a>
-<span class="sourceLineNo">907</span>    int i = 0;<a name="line.907"></a>
-<span class="sourceLineNo">908</span>    for (TableDescriptor tableDescriptor : allTables) {<a name="line.908"></a>
-<span class="sourceLineNo">909</span>      if (tableDescriptor == null) {<a name="line.909"></a>
-<span class="sourceLineNo">910</span>        // could happen with mock table instance<a name="line.910"></a>
-<span class="sourceLineNo">911</span>        // CODEREVIEW: Can I set an empty string in conf if mock table instance?<a name="line.911"></a>
-<span class="sourceLineNo">912</span>        return "";<a name="line.912"></a>
-<span class="sourceLineNo">913</span>      }<a name="line.913"></a>
-<span class="sourceLineNo">914</span>      for (ColumnFamilyDescriptor familyDescriptor : tableDescriptor.getColumnFamilies()) {<a name="line.914"></a>
-<span class="sourceLineNo">915</span>        if (i++ &gt; 0) {<a name="line.915"></a>
-<span class="sourceLineNo">916</span>          attributeValue.append('&amp;');<a name="line.916"></a>
-<span class="sourceLineNo">917</span>        }<a name="line.917"></a>
-<span class="sourceLineNo">918</span>        attributeValue.append(URLEncoder<a name="line.918"></a>
-<span class="sourceLineNo">919</span>          .encode(Bytes.toString(combineTableNameSuffix(tableDescriptor.getTableName().getName(),<a name="line.919"></a>
-<span class="sourceLineNo">920</span>            familyDescriptor.getName())), "UTF-8"));<a name="line.920"></a>
-<span class="sourceLineNo">921</span>        attributeValue.append('=');<a name="line.921"></a>
-<span class="sourceLineNo">922</span>        attributeValue.append(URLEncoder.encode(fn.apply(familyDescriptor), "UTF-8"));<a name="line.922"></a>
-<span class="sourceLineNo">923</span>      }<a name="line.923"></a>
-<span class="sourceLineNo">924</span>    }<a name="line.924"></a>
-<span class="sourceLineNo">925</span>    // Get rid of the last ampersand<a name="line.925"></a>
-<span class="sourceLineNo">926</span>    return attributeValue.toString();<a name="line.926"></a>
-<span class="sourceLineNo">927</span>  }<a name="line.927"></a>
-<span class="sourceLineNo">928</span><a name="line.928"></a>
-<span class="sourceLineNo">929</span>  /**<a name="line.929"></a>
-<span class="sourceLineNo">930</span>   * Serialize column family to compression algorithm map to configuration. Invoked while<a name="line.930"></a>
-<span class="sourceLineNo">931</span>   * configuring the MR job for incremental load.<a name="line.931"></a>
-<span class="sourceLineNo">932</span>   */<a name="line.932"></a>
-<span class="sourceLineNo">933</span>  @InterfaceAudience.Private<a name="line.933"></a>
-<span class="sourceLineNo">934</span>  static Function&lt;ColumnFamilyDescriptor, String&gt; compressionDetails =<a name="line.934"></a>
-<span class="sourceLineNo">935</span>    familyDescriptor -&gt; familyDescriptor.getCompressionType().getName();<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>   * Serialize column family to block size map to configuration. Invoked while configuring the MR<a name="line.938"></a>
-<span class="sourceLineNo">939</span>   * job for incremental load.<a name="line.939"></a>
-<span class="sourceLineNo">940</span>   */<a name="line.940"></a>
-<span class="sourceLineNo">941</span>  @InterfaceAudience.Private<a name="line.941"></a>
-<span class="sourceLineNo">942</span>  static Function&lt;ColumnFamilyDescriptor, String&gt; blockSizeDetails =<a name="line.942"></a>
-<span class="sourceLineNo">943</span>    familyDescriptor -&gt; String.valueOf(familyDescriptor.getBlocksize());<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>   * Serialize column family to bloom type map to configuration. Invoked while configuring the MR<a name="line.946"></a>
-<span class="sourceLineNo">947</span>   * job for incremental load.<a name="line.947"></a>
-<span class="sourceLineNo">948</span>   */<a name="line.948"></a>
-<span class="sourceLineNo">949</span>  @InterfaceAudience.Private<a name="line.949"></a>
-<span class="sourceLineNo">950</span>  static Function&lt;ColumnFamilyDescriptor, String&gt; bloomTypeDetails = familyDescriptor -&gt; {<a name="line.950"></a>
-<span class="sourceLineNo">951</span>    String bloomType = familyDescriptor.getBloomFilterType().toString();<a name="line.951"></a>
-<span class="sourceLineNo">952</span>    if (bloomType == null) {<a name="line.952"></a>
-<span class="sourceLineNo">953</span>      bloomType = ColumnFamilyDescriptorBuilder.DEFAULT_BLOOMFILTER.name();<a name="line.953"></a>
-<span class="sourceLineNo">954</span>    }<a name="line.954"></a>
-<span class="sourceLineNo">955</span>    return bloomType;<a name="line.955"></a>
-<span class="sourceLineNo">956</span>  };<a name="line.956"></a>
-<span class="sourceLineNo">957</span><a name="line.957"></a>
-<span class="sourceLineNo">958</span>  /**<a name="line.958"></a>
-<span class="sourceLineNo">959</span>   * Serialize column family to bloom param map to configuration. Invoked while configuring the MR<a name="line.959"></a>
-<span class="sourceLineNo">960</span>   * job for incremental load.<a name="line.960"></a>
-<span class="sourceLineNo">961</span>   */<a name="line.961"></a>
-<span class="sourceLineNo">962</span>  @InterfaceAudience.Private<a name="line.962"></a>
-<span class="sourceLineNo">963</span>  static Function&lt;ColumnFamilyDescriptor, String&gt; bloomParamDetails = familyDescriptor -&gt; {<a name="line.963"></a>
-<span class="sourceLineNo">964</span>    BloomType bloomType = familyDescriptor.getBloomFilterType();<a name="line.964"></a>
-<span class="sourceLineNo">965</span>    String bloomParam = "";<a name="line.965"></a>
-<span class="sourceLineNo">966</span>    if (bloomType == BloomType.ROWPREFIX_FIXED_LENGTH) {<a name="line.966"></a>
-<span class="sourceLineNo">967</span>      bloomParam = familyDescriptor.getConfigurationValue(BloomFilterUtil.PREFIX_LENGTH_KEY);<a name="line.967"></a>
-<span class="sourceLineNo">968</span>    }<a name="line.968"></a>
-<span class="sourceLineNo">969</span>    return bloomParam;<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>  /**<a name="line.972"></a>
-<span class="sourceLineNo">973</span>   * Serialize column family to data block encoding map to configuration. Invoked while configuring<a name="line.973"></a>
-<span class="sourceLineNo">974</span>   * the MR job for incremental load.<a name="line.974"></a>
-<span class="sourceLineNo">975</span>   */<a name="line.975"></a>
-<span class="sourceLineNo">976</span>  @InterfaceAudience.Private<a name="line.976"></a>
-<span class="sourceLineNo">977</span>  static Function&lt;ColumnFamilyDescriptor, String&gt; dataBlockEncodingDetails = familyDescriptor -&gt; {<a name="line.977"></a>
-<span class="sourceLineNo">978</span>    DataBlockEncoding encoding = familyDescriptor.getDataBlockEncoding();<a name="line.978"></a>
-<span class="sourceLineNo">979</span>    if (encoding == null) {<a name="line.979"></a>
-<span class="sourceLineNo">980</span>      encoding = DataBlockEncoding.NONE;<a name="line.980"></a>
-<span class="sourceLineNo">981</span>    }<a name="line.981"></a>
-<span class="sourceLineNo">982</span>    return encoding.toString();<a name="line.982"></a>
-<span class="sourceLineNo">983</span>  };<a name="line.983"></a>
-<span class="sourceLineNo">984</span><a name="line.984"></a>
-<span class="sourceLineNo">985</span>}<a name="line.985"></a>
+<span class="sourceLineNo">049</span>import org.apache.hadoop.hbase.ExtendedCell;<a name="line.49"></a>
+<span class="sourceLineNo">050</span>import org.apache.hadoop.hbase.HConstants;<a name="line.50"></a>
+<span class="sourceLineNo">051</span>import org.apache.hadoop.hbase.HRegionLocation;<a name="line.51"></a>
+<span class="sourceLineNo">052</span>import org.apache.hadoop.hbase.KeyValue;<a name="line.52"></a>
+<span class="sourceLineNo">053</span>import org.apache.hadoop.hbase.PrivateCellUtil;<a name="line.53"></a>
+<span class="sourceLineNo">054</span>import org.apache.hadoop.hbase.TableName;<a name="line.54"></a>
+<span class="sourceLineNo">055</span>import org.apache.hadoop.hbase.client.ColumnFamilyDescriptor;<a name="line.55"></a>
+<span class="sourceLineNo">056</span>import org.apache.hadoop.hbase.client.ColumnFamilyDescriptorBuilder;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>import org.apache.hadoop.hbase.client.Connection;<a name="line.57"></a>
+<span class="sourceLineNo">058</span>import org.apache.hadoop.hbase.client.ConnectionFactory;<a name="line.58"></a>
+<span class="sourceLineNo">059</span>import org.apache.hadoop.hbase.client.Put;<a name="line.59"></a>
+<span class="sourceLineNo">060</span>import org.apache.hadoop.hbase.client.RegionLocator;<a name="line.60"></a>
+<span class="sourceLineNo">061</span>import org.apache.hadoop.hbase.client.Table;<a name="line.61"></a>
+<span class="sourceLineNo">062</span>import org.apache.hadoop.hbase.client.TableDescriptor;<a name="line.62"></a>
+<span class="sourceLineNo">063</span>import org.apache.hadoop.hbase.fs.HFileSystem;<a name="line.63"></a>
+<span class="sourceLineNo">064</span>import org.apache.hadoop.hbase.io.ImmutableBytesWritable;<a name="line.64"></a>
+<span class="sourceLineNo">065</span>import org.apache.hadoop.hbase.io.compress.Compression;<a name="line.65"></a>
+<span class="sourceLineNo">066</span>import org.apache.hadoop.hbase.io.compress.Compression.Algorithm;<a name="line.66"></a>
+<span class="sourceLineNo">067</span>import org.apache.hadoop.hbase.io.encoding.DataBlockEncoding;<a name="line.67"></a>
+<span class="sourceLineNo">068</span>import org.apache.hadoop.hbase.io.hfile.CacheConfig;<a name="line.68"></a>
+<span class="sourceLineNo">069</span>import org.apache.hadoop.hbase.io.hfile.HFile;<a name="line.69"></a>
+<span class="sourceLineNo">070</span>import org.apache.hadoop.hbase.io.hfile.HFileContext;<a name="line.70"></a>
+<span class="sourceLineNo">071</span>import org.apache.hadoop.hbase.io.hfile.HFileContextBuilder;<a name="line.71"></a>
+<span class="sourceLineNo">072</span>import org.apache.hadoop.hbase.io.hfile.HFileWriterImpl;<a name="line.72"></a>
+<span class="sourceLineNo">073</span>import org.apache.hadoop.hbase.regionserver.BloomType;<a name="line.73"></a>
+<span class="sourceLineNo">074</span>import org.apache.hadoop.hbase.regionserver.HStore;<a name="line.74"></a>
+<span class="sourceLineNo">075</span>import org.apache.hadoop.hbase.regionserver.StoreFileWriter;<a name="line.75"></a>
+<span class="sourceLineNo">076</span>import org.apache.hadoop.hbase.regionserver.StoreUtils;<a name="line.76"></a>
+<span class="sourceLineNo">077</span>import org.apache.hadoop.hbase.util.BloomFilterUtil;<a name="line.77"></a>
+<span class="sourceLineNo">078</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.78"></a>
+<span class="sourceLineNo">079</span>import org.apache.hadoop.hbase.util.CommonFSUtils;<a name="line.79"></a>
+<span class="sourceLineNo">080</span>import org.apache.hadoop.hbase.util.EnvironmentEdgeManager;<a name="line.80"></a>
+<span class="sourceLineNo">081</span>import org.apache.hadoop.hbase.util.MapReduceExtendedCell;<a name="line.81"></a>
+<span class="sourceLineNo">082</span>import org.apache.hadoop.io.NullWritable;<a name="line.82"></a>
+<span class="sourceLineNo">083</span>import org.apache.hadoop.io.SequenceFile;<a name="line.83"></a>
+<span class="sourceLineNo">084</span>import org.apache.hadoop.io.Text;<a name="line.84"></a>
+<span class="sourceLineNo">085</span>import org.apache.hadoop.mapreduce.Job;<a name="line.85"></a>
+<span class="sourceLineNo">086</span>import org.apache.hadoop.mapreduce.OutputCommitter;<a name="line.86"></a>
+<span class="sourceLineNo">087</span>import org.apache.hadoop.mapreduce.OutputFormat;<a name="line.87"></a>
+<span class="sourceLineNo">088</span>import org.apache.hadoop.mapreduce.RecordWriter;<a name="line.88"></a>
+<span class="sourceLineNo">089</span>import org.apache.hadoop.mapreduce.TaskAttemptContext;<a name="line.89"></a>
+<span class="sourceLineNo">090</span>import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;<a name="line.90"></a>
+<span class="sourceLineNo">091</span>import org.apache.hadoop.mapreduce.lib.output.PathOutputCommitter;<a name="line.91"></a>
+<span class="sourceLineNo">092</span>import org.apache.hadoop.mapreduce.lib.partition.TotalOrderPartitioner;<a name="line.92"></a>
+<span class="sourceLineNo">093</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.93"></a>
+<span class="sourceLineNo">094</span>import org.slf4j.Logger;<a name="line.94"></a>
+<span class="sourceLineNo">095</span>import org.slf4j.LoggerFactory;<a name="line.95"></a>
+<span class="sourceLineNo">096</span><a name="line.96"></a>
+<span class="sourceLineNo">097</span>/**<a name="line.97"></a>
+<span class="sourceLineNo">098</span> * Writes HFiles. Passed Cells must arrive in order. Writes current time as the sequence id for the<a name="line.98"></a>
+<span class="sourceLineNo">099</span> * file. Sets the major compacted attribute on created {@link HFile}s. Calling write(null,null) will<a name="line.99"></a>
+<span class="sourceLineNo">100</span> * forcibly roll all HFiles being written.<a name="line.100"></a>
+<span class="sourceLineNo">101</span> * &lt;p&gt;<a name="line.101"></a>
+<span class="sourceLineNo">102</span> * Using this class as part of a MapReduce job is best done using<a name="line.102"></a>
+<span class="sourceLineNo">103</span> * {@link #configureIncrementalLoad(Job, TableDescriptor, RegionLocator)}.<a name="line.103"></a>
+<span class="sourceLineNo">104</span> */<a name="line.104"></a>
+<span class="sourceLineNo">105</span>@InterfaceAudience.Public<a name="line.105"></a>
+<span class="sourceLineNo">106</span>public class HFileOutputFormat2 extends FileOutputFormat&lt;ImmutableBytesWritable, Cell&gt; {<a name="line.106"></a>
+<span class="sourceLineNo">107</span>  private static final Logger LOG = LoggerFactory.getLogger(HFileOutputFormat2.class);<a name="line.107"></a>
+<span class="sourceLineNo">108</span><a name="line.108"></a>
+<span class="sourceLineNo">109</span>  static class TableInfo {<a name="line.109"></a>
+<span class="sourceLineNo">110</span>    private TableDescriptor tableDesctiptor;<a name="line.110"></a>
+<span class="sourceLineNo">111</span>    private RegionLocator regionLocator;<a name="line.111"></a>
+<span class="sourceLineNo">112</span><a name="line.112"></a>
+<span class="sourceLineNo">113</span>    public TableInfo(TableDescriptor tableDesctiptor, RegionLocator regionLocator) {<a name="line.113"></a>
+<span class="sourceLineNo">114</span>      this.tableDesctiptor = tableDesctiptor;<a name="line.114"></a>
+<span class="sourceLineNo">115</span>      this.regionLocator = regionLocator;<a name="line.115"></a>
+<span class="sourceLineNo">116</span>    }<a name="line.116"></a>
+<span class="sourceLineNo">117</span><a name="line.117"></a>
+<span class="sourceLineNo">118</span>    public TableDescriptor getTableDescriptor() {<a name="line.118"></a>
+<span class="sourceLineNo">119</span>      return tableDesctiptor;<a name="line.119"></a>
+<span class="sourceLineNo">120</span>    }<a name="line.120"></a>
+<span class="sourceLineNo">121</span><a name="line.121"></a>
+<span class="sourceLineNo">122</span>    public RegionLocator getRegionLocator() {<a name="line.122"></a>
+<span class="sourceLineNo">123</span>      return regionLocator;<a name="line.123"></a>
+<span class="sourceLineNo">124</span>    }<a name="line.124"></a>
+<span class="sourceLineNo">125</span>  }<a name="line.125"></a>
+<span class="sourceLineNo">126</span><a name="line.126"></a>
+<span class="sourceLineNo">127</span>  protected static final byte[] tableSeparator = Bytes.toBytes(";");<a name="line.127"></a>
+<span class="sourceLineNo">128</span><a name="line.128"></a>
+<span class="sourceLineNo">129</span>  protected static byte[] combineTableNameSuffix(byte[] tableName, byte[] suffix) {<a name="line.129"></a>
+<span class="sourceLineNo">130</span>    return Bytes.add(tableName, tableSeparator, suffix);<a name="line.130"></a>
+<span class="sourceLineNo">131</span>  }<a name="line.131"></a>
+<span class="sourceLineNo">132</span><a name="line.132"></a>
+<span class="sourceLineNo">133</span>  // The following constants are private since these are used by<a name="line.133"></a>
+<span class="sourceLineNo">134</span>  // HFileOutputFormat2 to internally transfer data between job setup and<a name="line.134"></a>
+<span class="sourceLineNo">135</span>  // reducer run using conf.<a name="line.135"></a>
+<span class="sourceLineNo">136</span>  // These should not be changed by the client.<a name="line.136"></a>
+<span class="sourceLineNo">137</span>  static final String COMPRESSION_FAMILIES_CONF_KEY =<a name="line.137"></a>
+<span class="sourceLineNo">138</span>    "hbase.hfileoutputformat.families.compression";<a name="line.138"></a>
+<span class="sourceLineNo">139</span>  static final String BLOOM_TYPE_FAMILIES_CONF_KEY = "hbase.hfileoutputformat.families.bloomtype";<a name="line.139"></a>
+<span class="sourceLineNo">140</span>  static final String BLOOM_PARAM_FAMILIES_CONF_KEY = "hbase.hfileoutputformat.families.bloomparam";<a name="line.140"></a>
+<span class="sourceLineNo">141</span>  static final String BLOCK_SIZE_FAMILIES_CONF_KEY = "hbase.mapreduce.hfileoutputformat.blocksize";<a name="line.141"></a>
+<span class="sourceLineNo">142</span>  static final String DATABLOCK_ENCODING_FAMILIES_CONF_KEY =<a name="line.142"></a>
+<span class="sourceLineNo">143</span>    "hbase.mapreduce.hfileoutputformat.families.datablock.encoding";<a name="line.143"></a>
+<span class="sourceLineNo">144</span><a name="line.144"></a>
+<span class="sourceLineNo">145</span>  // This constant is public since the client can modify this when setting<a name="line.145"></a>
+<span class="sourceLineNo">146</span>  // up their conf object and thus refer to this symbol.<a name="line.146"></a>
+<span class="sourceLineNo">147</span>  // It is present for backwards compatibility reasons. Use it only to<a name="line.147"></a>
+<span class="sourceLineNo">148</span>  // override the auto-detection of datablock encoding and compression.<a name="line.148"></a>
+<span class="sourceLineNo">149</span>  public static final String DATABLOCK_ENCODING_OVERRIDE_CONF_KEY =<a name="line.149"></a>
+<span class="sourceLineNo">150</span>    "hbase.mapreduce.hfileoutputformat.datablock.encoding";<a name="line.150"></a>
+<span class="sourceLineNo">151</span>  public static final String COMPRESSION_OVERRIDE_CONF_KEY =<a name="line.151"></a>
+<span class="sourceLineNo">152</span>    "hbase.mapreduce.hfileoutputformat.compression";<a name="line.152"></a>
+<span class="sourceLineNo">153</span><a name="line.153"></a>
+<span class="sourceLineNo">154</span>  /**<a name="line.154"></a>
+<span class="sourceLineNo">155</span>   * Keep locality while generating HFiles for bulkload. See HBASE-12596<a name="line.155"></a>
+<span class="sourceLineNo">156</span>   */<a name="line.156"></a>
+<span class="sourceLineNo">157</span>  public static final String LOCALITY_SENSITIVE_CONF_KEY =<a name="line.157"></a>
+<span class="sourceLineNo">158</span>    "hbase.bulkload.locality.sensitive.enabled";<a name="line.158"></a>
+<span class="sourceLineNo">159</span>  private static final boolean DEFAULT_LOCALITY_SENSITIVE = true;<a name="line.159"></a>
+<span class="sourceLineNo">160</span>  static final String OUTPUT_TABLE_NAME_CONF_KEY = "hbase.mapreduce.hfileoutputformat.table.name";<a name="line.160"></a>
+<span class="sourceLineNo">161</span>  static final String MULTI_TABLE_HFILEOUTPUTFORMAT_CONF_KEY =<a name="line.161"></a>
+<span class="sourceLineNo">162</span>    "hbase.mapreduce.use.multi.table.hfileoutputformat";<a name="line.162"></a>
+<span class="sourceLineNo">163</span><a name="line.163"></a>
+<span class="sourceLineNo">164</span>  /**<a name="line.164"></a>
+<span class="sourceLineNo">165</span>   * ExtendedCell and ExtendedCellSerialization are InterfaceAudience.Private. We expose this config<a name="line.165"></a>
+<span class="sourceLineNo">166</span>   * for internal usage in jobs like WALPlayer which need to use features of ExtendedCell.<a name="line.166"></a>
+<span class="sourceLineNo">167</span>   */<a name="line.167"></a>
+<span class="sourceLineNo">168</span>  @InterfaceAudience.Private<a name="line.168"></a>
+<span class="sourceLineNo">169</span>  public static final String EXTENDED_CELL_SERIALIZATION_ENABLED_KEY =<a name="line.169"></a>
+<span class="sourceLineNo">170</span>    "hbase.mapreduce.hfileoutputformat.extendedcell.enabled";<a name="line.170"></a>
+<span class="sourceLineNo">171</span>  static final boolean EXTENDED_CELL_SERIALIZATION_ENABLED_DEFULT = false;<a name="line.171"></a>
+<span class="sourceLineNo">172</span><a name="line.172"></a>
+<span class="sourceLineNo">173</span>  public static final String REMOTE_CLUSTER_CONF_PREFIX = "hbase.hfileoutputformat.remote.cluster.";<a name="line.173"></a>
+<span class="sourceLineNo">174</span>  public static final String REMOTE_CLUSTER_ZOOKEEPER_QUORUM_CONF_KEY =<a name="line.174"></a>
+<span class="sourceLineNo">175</span>    REMOTE_CLUSTER_CONF_PREFIX + "zookeeper.quorum";<a name="line.175"></a>
+<span class="sourceLineNo">176</span>  public static final String REMOTE_CLUSTER_ZOOKEEPER_CLIENT_PORT_CONF_KEY =<a name="line.176"></a>
+<span class="sourceLineNo">177</span>    REMOTE_CLUSTER_CONF_PREFIX + "zookeeper." + HConstants.CLIENT_PORT_STR;<a name="line.177"></a>
+<span class="sourceLineNo">178</span>  public static final String REMOTE_CLUSTER_ZOOKEEPER_ZNODE_PARENT_CONF_KEY =<a name="line.178"></a>
+<span class="sourceLineNo">179</span>    REMOTE_CLUSTER_CONF_PREFIX + HConstants.ZOOKEEPER_ZNODE_PARENT;<a name="line.179"></a>
+<span class="sourceLineNo">180</span><a name="line.180"></a>
+<span class="sourceLineNo">181</span>  public static final String STORAGE_POLICY_PROPERTY = HStore.BLOCK_STORAGE_POLICY_KEY;<a name="line.181"></a>
+<span class="sourceLineNo">182</span>  public static final String STORAGE_POLICY_PROPERTY_CF_PREFIX = STORAGE_POLICY_PROPERTY + ".";<a name="line.182"></a>
+<span class="sourceLineNo">183</span><a name="line.183"></a>
+<span class="sourceLineNo">184</span>  @Override<a name="line.184"></a>
+<span class="sourceLineNo">185</span>  public RecordWriter&lt;ImmutableBytesWritable, Cell&gt;<a name="line.185"></a>
+<span class="sourceLineNo">186</span>    getRecordWriter(final TaskAttemptContext context) throws IOException, InterruptedException {<a name="line.186"></a>
+<span class="sourceLineNo">187</span>    return createRecordWriter(context, this.getOutputCommitter(context));<a name="line.187"></a>
+<span class="sourceLineNo">188</span>  }<a name="line.188"></a>
+<span class="sourceLineNo">189</span><a name="line.189"></a>
+<span class="sourceLineNo">190</span>  protected static byte[] getTableNameSuffixedWithFamily(byte[] tableName, byte[] family) {<a name="line.190"></a>
+<span class="sourceLineNo">191</span>    return combineTableNameSuffix(tableName, family);<a name="line.191"></a>
+<span class="sourceLineNo">192</span>  }<a name="line.192"></a>
+<span class="sourceLineNo">193</span><a name="line.193"></a>
+<span class="sourceLineNo">194</span>  static &lt;V extends Cell&gt; RecordWriter&lt;ImmutableBytesWritable, V&gt; createRecordWriter(<a name="line.194"></a>
+<span class="sourceLineNo">195</span>    final TaskAttemptContext context, final OutputCommitter committer) throws IOException {<a name="line.195"></a>
+<span class="sourceLineNo">196</span><a name="line.196"></a>
+<span class="sourceLineNo">197</span>    // Get the path of the temporary output file<a name="line.197"></a>
+<span class="sourceLineNo">198</span>    final Path outputDir = ((PathOutputCommitter) committer).getWorkPath();<a name="line.198"></a>
+<span class="sourceLineNo">199</span>    final Configuration conf = context.getConfiguration();<a name="line.199"></a>
+<span class="sourceLineNo">200</span>    final boolean writeMultipleTables =<a name="line.200"></a>
+<span class="sourceLineNo">201</span>      conf.getBoolean(MULTI_TABLE_HFILEOUTPUTFORMAT_CONF_KEY, false);<a name="line.201"></a>
+<span class="sourceLineNo">202</span>    final String writeTableNames = conf.get(OUTPUT_TABLE_NAME_CONF_KEY);<a name="line.202"></a>
+<span class="sourceLineNo">203</span>    if (writeTableNames == null || writeTableNames.isEmpty()) {<a name="line.203"></a>
+<span class="sourceLineNo">204</span>      throw new IllegalArgumentException("" + OUTPUT_TABLE_NAME_CONF_KEY + " cannot be empty");<a name="line.204"></a>
+<span class="sourceLineNo">205</span>    }<a name="line.205"></a>
+<span class="sourceLineNo">206</span>    final FileSystem fs = outputDir.getFileSystem(conf);<a name="line.206"></a>
+<span class="sourceLineNo">207</span>    // These configs. are from hbase-*.xml<a name="line.207"></a>
+<span class="sourceLineNo">208</span>    final long maxsize =<a name="line.208"></a>
+<span class="sourceLineNo">209</span>      conf.getLong(HConstants.HREGION_MAX_FILESIZE, HConstants.DEFAULT_MAX_FILE_SIZE);<a name="line.209"></a>
+<span class="sourceLineNo">210</span>    // Invented config. Add to hbase-*.xml if other than default compression.<a name="line.210"></a>
+<span class="sourceLineNo">211</span>    final String defaultCompressionStr =<a name="line.211"></a>
+<span class="sourceLineNo">212</span>      conf.get("hfile.compression", Compression.Algorithm.NONE.getName());<a name="line.212"></a>
+<span class="sourceLineNo">213</span>    final Algorithm defaultCompression = HFileWriterImpl.compressionByName(defaultCompressionStr);<a name="line.213"></a>
+<span class="sourceLineNo">214</span>    String compressionStr = conf.get(COMPRESSION_OVERRIDE_CONF_KEY);<a name="line.214"></a>
+<span class="sourceLineNo">215</span>    final Algorithm overriddenCompression =<a name="line.215"></a>
+<span class="sourceLineNo">216</span>      compressionStr != null ? Compression.getCompressionAlgorithmByName(compressionStr) : null;<a name="line.216"></a>
+<span class="sourceLineNo">217</span>    final boolean compactionExclude =<a name="line.217"></a>
+<span class="sourceLineNo">218</span>      conf.getBoolean("hbase.mapreduce.hfileoutputformat.compaction.exclude", false);<a name="line.218"></a>
+<span class="sourceLineNo">219</span>    final Set&lt;String&gt; allTableNames = Arrays<a name="line.219"></a>
+<span class="sourceLineNo">220</span>      .stream(writeTableNames.split(Bytes.toString(tableSeparator))).collect(Collectors.toSet());<a name="line.220"></a>
+<span class="sourceLineNo">221</span><a name="line.221"></a>
+<span class="sourceLineNo">222</span>    // create a map from column family to the compression algorithm<a name="line.222"></a>
+<span class="sourceLineNo">223</span>    final Map&lt;byte[], Algorithm&gt; compressionMap = createFamilyCompressionMap(conf);<a name="line.223"></a>
+<span class="sourceLineNo">224</span>    final Map&lt;byte[], BloomType&gt; bloomTypeMap = createFamilyBloomTypeMap(conf);<a name="line.224"></a>
+<span class="sourceLineNo">225</span>    final Map&lt;byte[], String&gt; bloomParamMap = createFamilyBloomParamMap(conf);<a name="line.225"></a>
+<span class="sourceLineNo">226</span>    final Map&lt;byte[], Integer&gt; blockSizeMap = createFamilyBlockSizeMap(conf);<a name="line.226"></a>
+<span class="sourceLineNo">227</span><a name="line.227"></a>
+<span class="sourceLineNo">228</span>    String dataBlockEncodingStr = conf.get(DATABLOCK_ENCODING_OVERRIDE_CONF_KEY);<a name="line.228"></a>
+<span class="sourceLineNo">229</span>    final Map&lt;byte[], DataBlockEncoding&gt; datablockEncodingMap =<a name="line.229"></a>
+<span class="sourceLineNo">230</span>      createFamilyDataBlockEncodingMap(conf);<a name="line.230"></a>
+<span class="sourceLineNo">231</span>    final DataBlockEncoding overriddenEncoding =<a name="line.231"></a>
+<span class="sourceLineNo">232</span>      dataBlockEncodingStr != null ? DataBlockEncoding.valueOf(dataBlockEncodingStr) : null;<a name="line.232"></a>
+<span class="sourceLineNo">233</span><a name="line.233"></a>
+<span class="sourceLineNo">234</span>    return new RecordWriter&lt;ImmutableBytesWritable, V&gt;() {<a name="line.234"></a>
+<span class="sourceLineNo">235</span>      // Map of families to writers and how much has been output on the writer.<a name="line.235"></a>
+<span class="sourceLineNo">236</span>      private final Map&lt;byte[], WriterLength&gt; writers = new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.236"></a>
+<span class="sourceLineNo">237</span>      private final Map&lt;byte[], byte[]&gt; previousRows = new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.237"></a>
+<span class="sourceLineNo">238</span>      private final long now = EnvironmentEdgeManager.currentTime();<a name="line.238"></a>
+<span class="sourceLineNo">239</span>      private byte[] tableNameBytes = writeMultipleTables ? null : Bytes.toBytes(writeTableNames);<a name="line.239"></a>
+<span class="sourceLineNo">240</span><a name="line.240"></a>
+<span class="sourceLineNo">241</span>      @Override<a name="line.241"></a>
+<span class="sourceLineNo">242</span>      public void write(ImmutableBytesWritable row, V cell) throws IOException {<a name="line.242"></a>
+<span class="sourceLineNo">243</span>        Cell kv = cell;<a name="line.243"></a>
+<span class="sourceLineNo">244</span>        // null input == user explicitly wants to flush<a name="line.244"></a>
+<span class="sourceLineNo">245</span>        if (row == null &amp;&amp; kv == null) {<a name="line.245"></a>
+<span class="sourceLineNo">246</span>          rollWriters(null);<a name="line.246"></a>
+<span class="sourceLineNo">247</span>          return;<a name="line.247"></a>
+<span class="sourceLineNo">248</span>        }<a name="line.248"></a>
+<span class="sourceLineNo">249</span><a name="line.249"></a>
+<span class="sourceLineNo">250</span>        byte[] rowKey = CellUtil.cloneRow(kv);<a name="line.250"></a>
+<span class="sourceLineNo">251</span>        int length = (PrivateCellUtil.estimatedSerializedSizeOf(kv)) - Bytes.SIZEOF_INT;<a name="line.251"></a>
+<span class="sourceLineNo">252</span>        byte[] family = CellUtil.cloneFamily(kv);<a name="line.252"></a>
+<span class="sourceLineNo">253</span>        if (writeMultipleTables) {<a name="line.253"></a>
+<span class="sourceLineNo">254</span>          tableNameBytes = MultiTableHFileOutputFormat.getTableName(row.get());<a name="line.254"></a>
+<span class="sourceLineNo">255</span>          tableNameBytes = TableName.valueOf(tableNameBytes).getNameWithNamespaceInclAsString()<a name="line.255"></a>
+<span class="sourceLineNo">256</span>            .getBytes(Charset.defaultCharset());<a name="line.256"></a>
+<span class="sourceLineNo">257</span>          if (!allTableNames.contains(Bytes.toString(tableNameBytes))) {<a name="line.257"></a>
+<span class="sourceLineNo">258</span>            throw new IllegalArgumentException(<a name="line.258"></a>
+<span class="sourceLineNo">259</span>              "TableName " + Bytes.toString(tableNameBytes) + " not expected");<a name="line.259"></a>
+<span class="sourceLineNo">260</span>          }<a name="line.260"></a>
+<span class="sourceLineNo">261</span>        }<a name="line.261"></a>
+<span class="sourceLineNo">262</span>        byte[] tableAndFamily = getTableNameSuffixedWithFamily(tableNameBytes, family);<a name="line.262"></a>
+<span class="sourceLineNo">263</span><a name="line.263"></a>
+<span class="sourceLineNo">264</span>        WriterLength wl = this.writers.get(tableAndFamily);<a name="line.264"></a>
+<span class="sourceLineNo">265</span><a name="line.265"></a>
+<span class="sourceLineNo">266</span>        // If this is a new column family, verify that the directory exists<a name="line.266"></a>
+<span class="sourceLineNo">267</span>        if (wl == null) {<a name="line.267"></a>
+<span class="sourceLineNo">268</span>          Path writerPath = null;<a name="line.268"></a>
+<span class="sourceLineNo">269</span>          if (writeMultipleTables) {<a name="line.269"></a>
+<span class="sourceLineNo">270</span>            Path tableRelPath = getTableRelativePath(tableNameBytes);<a name="line.270"></a>
+<span class="sourceLineNo">271</span>            writerPath = new Path(outputDir, new Path(tableRelPath, Bytes.toString(family)));<a name="line.271"></a>
+<span class="sourceLineNo">272</span>          } else {<a name="line.272"></a>
+<span class="sourceLineNo">273</span>            writerPath = new Path(outputDir, Bytes.toString(family));<a name="line.273"></a>
+<span class="sourceLineNo">274</span>          }<a name="line.274"></a>
+<span class="sourceLineNo">275</span>          fs.mkdirs(writerPath);<a name="line.275"></a>
+<span class="sourceLineNo">276</span>          configureStoragePolicy(conf, fs, tableAndFamily, writerPath);<a name="line.276"></a>
+<span class="sourceLineNo">277</span>        }<a name="line.277"></a>
+<span class="sourceLineNo">278</span><a name="line.278"></a>
+<span class="sourceLineNo">279</span>        // This can only happen once a row is finished though<a name="line.279"></a>
+<span class="sourceLineNo">280</span>        if (<a name="line.280"></a>
+<span class="sourceLineNo">281</span>          wl != null &amp;&amp; wl.written + length &gt;= maxsize<a name="line.281"></a>
+<span class="sourceLineNo">282</span>            &amp;&amp; Bytes.compareTo(this.previousRows.get(family), rowKey) != 0<a name="line.282"></a>
+<span class="sourceLineNo">283</span>        ) {<a name="line.283"></a>
+<span class="sourceLineNo">284</span>          rollWriters(wl);<a name="line.284"></a>
+<span class="sourceLineNo">285</span>        }<a name="line.285"></a>
+<span class="sourceLineNo">286</span><a name="line.286"></a>
+<span class="sourceLineNo">287</span>        // create a new WAL writer, if necessary<a name="line.287"></a>
+<span class="sourceLineNo">288</span>        if (wl == null || wl.writer == null) {<a name="line.288"></a>
+<span class="sourceLineNo">289</span>          InetSocketAddress[] favoredNodes = null;<a name="line.289"></a>
+<span class="sourceLineNo">290</span>          if (conf.getBoolean(LOCALITY_SENSITIVE_CONF_KEY, DEFAULT_LOCALITY_SENSITIVE)) {<a name="line.290"></a>
+<span class="sourceLineNo">291</span>            HRegionLocation loc = null;<a name="line.291"></a>
+<span class="sourceLineNo">292</span>            String tableName = Bytes.toString(tableNameBytes);<a name="line.292"></a>
+<span class="sourceLineNo">293</span>            if (tableName != null) {<a name="line.293"></a>
+<span class="sourceLineNo">294</span>              try (<a name="line.294"></a>
+<span class="sourceLineNo">295</span>                Connection connection =<a name="line.295"></a>
+<span class="sourceLineNo">296</span>                  ConnectionFactory.createConnection(createRemoteClusterConf(conf));<a name="line.296"></a>
+<span class="sourceLineNo">297</span>                RegionLocator locator = connection.getRegionLocator(TableName.valueOf(tableName))) {<a name="line.297"></a>
+<span class="sourceLineNo">298</span>                loc = locator.getRegionLocation(rowKey);<a name="line.298"></a>
+<span class="sourceLineNo">299</span>              } catch (Throwable e) {<a name="line.299"></a>
+<span class="sourceLineNo">300</span>                LOG.warn("Something wrong locating rowkey {} in {}", Bytes.toString(rowKey),<a name="line.300"></a>
+<span class="sourceLineNo">301</span>                  tableName, e);<a name="line.301"></a>
+<span class="sourceLineNo">302</span>                loc = null;<a name="line.302"></a>
+<span class="sourceLineNo">303</span>              }<a name="line.303"></a>
+<span class="sourceLineNo">304</span>            }<a name="line.304"></a>
+<span class="sourceLineNo">305</span>            if (null == loc) {<a name="line.305"></a>
+<span class="sourceLineNo">306</span>              LOG.trace("Failed get of location, use default writer {}", Bytes.toString(rowKey));<a name="line.306"></a>
+<span class="sourceLineNo">307</span>            } else {<a name="line.307"></a>
+<span class="sourceLineNo">308</span>              LOG.debug("First rowkey: [{}]", Bytes.toString(rowKey));<a name="line.308"></a>
+<span class="sourceLineNo">309</span>              InetSocketAddress initialIsa =<a name="line.309"></a>
+<span class="sourceLineNo">310</span>                new InetSocketAddress(loc.getHostname(), loc.getPort());<a name="line.310"></a>
+<span class="sourceLineNo">311</span>              if (initialIsa.isUnresolved()) {<a name="line.311"></a>
+<span class="sourceLineNo">312</span>                LOG.trace("Failed resolve address {}, use default writer", loc.getHostnamePort());<a name="line.312"></a>
+<span class="sourceLineNo">313</span>              } else {<a name="line.313"></a>
+<span class="sourceLineNo">314</span>                LOG.debug("Use favored nodes writer: {}", initialIsa.getHostString());<a name="line.314"></a>
+<span class="sourceLineNo">315</span>                favoredNodes = new InetSocketAddress[] { initialIsa };<a name="line.315"></a>
+<span class="sourceLineNo">316</span>              }<a name="line.316"></a>
+<span class="sourceLineNo">317</span>            }<a name="line.317"></a>
+<span class="sourceLineNo">318</span>          }<a name="line.318"></a>
+<span class="sourceLineNo">319</span>          wl = getNewWriter(tableNameBytes, family, conf, favoredNodes);<a name="line.319"></a>
+<span class="sourceLineNo">320</span><a name="line.320"></a>
+<span class="sourceLineNo">321</span>        }<a name="line.321"></a>
+<span class="sourceLineNo">322</span><a name="line.322"></a>
+<span class="sourceLineNo">323</span>        // we now have the proper WAL writer. full steam ahead<a name="line.323"></a>
+<span class="sourceLineNo">324</span>        PrivateCellUtil.updateLatestStamp(kv, this.now);<a name="line.324"></a>
+<span class="sourceLineNo">325</span>        wl.writer.append((ExtendedCell) kv);<a name="line.325"></a>
+<span class="sourceLineNo">326</span>        wl.written += length;<a name="line.326"></a>
+<span class="sourceLineNo">327</span><a name="line.327"></a>
+<span class="sourceLineNo">328</span>        // Copy the row so we know when a row transition.<a name="line.328"></a>
+<span class="sourceLineNo">329</span>        this.previousRows.put(family, rowKey);<a name="line.329"></a>
+<span class="sourceLineNo">330</span>      }<a name="line.330"></a>
+<span class="sourceLineNo">331</span><a name="line.331"></a>
+<span class="sourceLineNo">332</span>      private Path getTableRelativePath(byte[] tableNameBytes) {<a name="line.332"></a>
+<span class="sourceLineNo">333</span>        String tableName = Bytes.toString(tableNameBytes);<a name="line.333"></a>
+<span class="sourceLineNo">334</span>        String[] tableNameParts = tableName.split(":");<a name="line.334"></a>
+<span class="sourceLineNo">335</span>        Path tableRelPath = new Path(tableNameParts[0]);<a name="line.335"></a>
+<span class="sourceLineNo">336</span>        if (tableNameParts.length &gt; 1) {<a name="line.336"></a>
+<span class="sourceLineNo">337</span>          tableRelPath = new Path(tableRelPath, tableNameParts[1]);<a name="line.337"></a>
+<span class="sourceLineNo">338</span>        }<a name="line.338"></a>
+<span class="sourceLineNo">339</span>        return tableRelPath;<a name="line.339"></a>
+<span class="sourceLineNo">340</span>      }<a name="line.340"></a>
+<span class="sourceLineNo">341</span><a name="line.341"></a>
+<span class="sourceLineNo">342</span>      private void rollWriters(WriterLength writerLength) throws IOException {<a name="line.342"></a>
+<span class="sourceLineNo">343</span>        if (writerLength != null) {<a name="line.343"></a>
+<span class="sourceLineNo">344</span>          closeWriter(writerLength);<a name="line.344"></a>
+<span class="sourceLineNo">345</span>        } else {<a name="line.345"></a>
+<span class="sourceLineNo">346</span>          for (WriterLength wl : this.writers.values()) {<a name="line.346"></a>
+<span class="sourceLineNo">347</span>            closeWriter(wl);<a name="line.347"></a>
+<span class="sourceLineNo">348</span>          }<a name="line.348"></a>
+<span class="sourceLineNo">349</span>        }<a name="line.349"></a>
+<span class="sourceLineNo">350</span>      }<a name="line.350"></a>
+<span class="sourceLineNo">351</span><a name="line.351"></a>
+<span class="sourceLineNo">352</span>      private void closeWriter(WriterLength wl) throws IOException {<a name="line.352"></a>
+<span class="sourceLineNo">353</span>        if (wl.writer != null) {<a name="line.353"></a>
+<span class="sourceLineNo">354</span>          LOG.info(<a name="line.354"></a>
+<span class="sourceLineNo">355</span>            "Writer=" + wl.writer.getPath() + ((wl.written == 0) ? "" : ", wrote=" + wl.written));<a name="line.355"></a>
+<span class="sourceLineNo">356</span>          close(wl.writer);<a name="line.356"></a>
+<span class="sourceLineNo">357</span>          wl.writer = null;<a name="line.357"></a>
+<span class="sourceLineNo">358</span>        }<a name="line.358"></a>
+<span class="sourceLineNo">359</span>        wl.written = 0;<a name="line.359"></a>
+<span class="sourceLineNo">360</span>      }<a name="line.360"></a>
+<span class="sourceLineNo">361</span><a name="line.361"></a>
+<span class="sourceLineNo">362</span>      private Configuration createRemoteClusterConf(Configuration conf) {<a name="line.362"></a>
+<span class="sourceLineNo">363</span>        final Configuration newConf = new Configuration(conf);<a name="line.363"></a>
+<span class="sourceLineNo">364</span><a name="line.364"></a>
+<span class="sourceLineNo">365</span>        final String quorum = conf.get(REMOTE_CLUSTER_ZOOKEEPER_QUORUM_CONF_KEY);<a name="line.365"></a>
+<span class="sourceLineNo">366</span>        final String clientPort = conf.get(REMOTE_CLUSTER_ZOOKEEPER_CLIENT_PORT_CONF_KEY);<a name="line.366"></a>
+<span class="sourceLineNo">367</span>        final String parent = conf.get(REMOTE_CLUSTER_ZOOKEEPER_ZNODE_PARENT_CONF_KEY);<a name="line.367"></a>
+<span class="sourceLineNo">368</span><a name="line.368"></a>
+<span class="sourceLineNo">369</span>        if (quorum != null &amp;&amp; clientPort != null &amp;&amp; parent != null) {<a name="line.369"></a>
+<span class="sourceLineNo">370</span>          newConf.set(HConstants.ZOOKEEPER_QUORUM, quorum);<a name="line.370"></a>
+<span class="sourceLineNo">371</span>          newConf.setInt(HConstants.ZOOKEEPER_CLIENT_PORT, Integer.parseInt(clientPort));<a name="line.371"></a>
+<span class="sourceLineNo">372</span>          newConf.set(HConstants.ZOOKEEPER_ZNODE_PARENT, parent);<a name="line.372"></a>
+<span class="sourceLineNo">373</span>        }<a name="line.373"></a>
+<span class="sourceLineNo">374</span><a name="line.374"></a>
+<span class="sourceLineNo">375</span>        for (Entry&lt;String, String&gt; entry : conf) {<a name="line.375"></a>
+<span class="sourceLineNo">376</span>          String key = entry.getKey();<a name="line.376"></a>
+<span class="sourceLineNo">377</span>          if (<a name="line.377"></a>
+<span class="sourceLineNo">378</span>            REMOTE_CLUSTER_ZOOKEEPER_QUORUM_CONF_KEY.equals(key)<a name="line.378"></a>
+<span class="sourceLineNo">379</span>              || REMOTE_CLUSTER_ZOOKEEPER_CLIENT_PORT_CONF_KEY.equals(key)<a name="line.379"></a>
+<span class="sourceLineNo">380</span>              || REMOTE_CLUSTER_ZOOKEEPER_ZNODE_PARENT_CONF_KEY.equals(key)<a name="line.380"></a>
+<span class="sourceLineNo">381</span>          ) {<a name="line.381"></a>
+<span class="sourceLineNo">382</span>            // Handled them above<a name="line.382"></a>
+<span class="sourceLineNo">383</span>            continue;<a name="line.383"></a>
+<span class="sourceLineNo">384</span>          }<a name="line.384"></a>
+<span class="sourceLineNo">385</span><a name="line.385"></a>
+<span class="sourceLineNo">386</span>          if (entry.getKey().startsWith(REMOTE_CLUSTER_CONF_PREFIX)) {<a name="line.386"></a>
+<span class="sourceLineNo">387</span>            String originalKey = entry.getKey().substring(REMOTE_CLUSTER_CONF_PREFIX.length());<a name="line.387"></a>
+<span class="sourceLineNo">388</span>            if (!originalKey.isEmpty()) {<a name="line.388"></a>
+<span class="sourceLineNo">389</span>              newConf.set(originalKey, entry.getValue());<a name="line.389"></a>
+<span class="sourceLineNo">390</span>            }<a name="line.390"></a>
+<span class="sourceLineNo">391</span>          }<a name="line.391"></a>
+<span class="sourceLineNo">392</span>        }<a name="line.392"></a>
+<span class="sourceLineNo">393</span><a name="line.393"></a>
+<span class="sourceLineNo">394</span>        return newConf;<a name="line.394"></a>
+<span class="sourceLineNo">395</span>      }<a name="line.395"></a>
+<span class="sourceLineNo">396</span><a name="line.396"></a>
+<span class="sourceLineNo">397</span>      /*<a name="line.397"></a>
+<span class="sourceLineNo">398</span>       * Create a new StoreFile.Writer.<a name="line.398"></a>
+<span class="sourceLineNo">399</span>       * @return A WriterLength, containing a new StoreFile.Writer.<a name="line.399"></a>
+<span class="sourceLineNo">400</span>       */<a name="line.400"></a>
+<span class="sourceLineNo">401</span>      @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "BX_UNBOXING_IMMEDIATELY_REBOXED",<a name="line.401"></a>
+<span class="sourceLineNo">402</span>          justification = "Not important")<a name="line.402"></a>
+<span class="sourceLineNo">403</span>      private WriterLength getNewWriter(byte[] tableName, byte[] family, Configuration conf,<a name="line.403"></a>
+<span class="sourceLineNo">404</span>        InetSocketAddress[] favoredNodes) throws IOException {<a name="line.404"></a>
+<span class="sourceLineNo">405</span>        byte[] tableAndFamily = getTableNameSuffixedWithFamily(tableName, family);<a name="line.405"></a>
+<span class="sourceLineNo">406</span>        Path familydir = new Path(outputDir, Bytes.toString(family));<a name="line.406"></a>
+<span class="sourceLineNo">407</span>        if (writeMultipleTables) {<a name="line.407"></a>
+<span class="sourceLineNo">408</span>          familydir =<a name="line.408"></a>
+<span class="sourceLineNo">409</span>            new Path(outputDir, new Path(getTableRelativePath(tableName), Bytes.toString(family)));<a name="line.409"></a>
+<span class="sourceLineNo">410</span>        }<a name="line.410"></a>
+<span class="sourceLineNo">411</span>        WriterLength wl = new WriterLength();<a name="line.411"></a>
+<span class="sourceLineNo">412</span>        Algorithm compression = overriddenCompression;<a name="line.412"></a>
+<span class="sourceLineNo">413</span>        compression = compression == null ? compressionMap.get(tableAndFamily) : compression;<a name="line.413"></a>
+<span class="sourceLineNo">414</span>        compression = compression == null ? defaultCompression : compression;<a name="line.414"></a>
+<span class="sourceLineNo">415</span>        BloomType bloomType = bloomTypeMap.get(tableAndFamily);<a name="line.415"></a>
+<span class="sourceLineNo">416</span>        bloomType = bloomType == null ? BloomType.NONE : bloomType;<a name="line.416"></a>
+<span class="sourceLineNo">417</span>        String bloomParam = bloomParamMap.get(tableAndFamily);<a name="line.417"></a>
+<span class="sourceLineNo">418</span>        if (bloomType == BloomType.ROWPREFIX_FIXED_LENGTH) {<a name="line.418"></a>
+<span class="sourceLineNo">419</span>          conf.set(BloomFilterUtil.PREFIX_LENGTH_KEY, bloomParam);<a name="line.419"></a>
+<span class="sourceLineNo">420</span>        }<a name="line.420"></a>
+<span class="sourceLineNo">421</span>        Integer blockSize = blockSizeMap.get(tableAndFamily);<a name="line.421"></a>
+<span class="sourceLineNo">422</span>        blockSize = blockSize == null ? HConstants.DEFAULT_BLOCKSIZE : blockSize;<a name="line.422"></a>
+<span class="sourceLineNo">423</span>        DataBlockEncoding encoding = overriddenEncoding;<a name="line.423"></a>
+<span class="sourceLineNo">424</span>        encoding = encoding == null ? datablockEncodingMap.get(tableAndFamily) : encoding;<a name="line.424"></a>
+<span class="sourceLineNo">425</span>        encoding = encoding == null ? DataBlockEncoding.NONE : encoding;<a name="line.425"></a>
+<span class="sourceLineNo">426</span>        HFileContextBuilder contextBuilder = new HFileContextBuilder().withCompression(compression)<a name="line.426"></a>
+<span class="sourceLineNo">427</span>          .withDataBlockEncoding(encoding).withChecksumType(StoreUtils.getChecksumType(conf))<a name="line.427"></a>
+<span class="sourceLineNo">428</span>          .withBytesPerCheckSum(StoreUtils.getBytesPerChecksum(conf)).withBlockSize(blockSize)<a name="line.428"></a>
+<span class="sourceLineNo">429</span>          .withColumnFamily(family).withTableName(tableName)<a name="line.429"></a>
+<span class="sourceLineNo">430</span>          .withCreateTime(EnvironmentEdgeManager.currentTime());<a name="line.430"></a>
+<span class="sourceLineNo">431</span><a name="line.431"></a>
+<span class="sourceLineNo">432</span>        if (HFile.getFormatVersion(conf) &gt;= HFile.MIN_FORMAT_VERSION_WITH_TAGS) {<a name="line.432"></a>
+<span class="sourceLineNo">433</span>          contextBuilder.withIncludesTags(true);<a name="line.433"></a>
+<span class="sourceLineNo">434</span>        }<a name="line.434"></a>
+<span class="sourceLineNo">435</span><a name="line.435"></a>
+<span class="sourceLineNo">436</span>        HFileContext hFileContext = contextBuilder.build();<a name="line.436"></a>
+<span class="sourceLineNo">437</span>        if (null == favoredNodes) {<a name="line.437"></a>
+<span class="sourceLineNo">438</span>          wl.writer =<a name="line.438"></a>
+<span class="sourceLineNo">439</span>            new StoreFileWriter.Builder(conf, CacheConfig.DISABLED, fs).withOutputDir(familydir)<a name="line.439"></a>
+<span class="sourceLineNo">440</span>              .withBloomType(bloomType).withFileContext(hFileContext).build();<a name="line.440"></a>
+<span class="sourceLineNo">441</span>        } else {<a name="line.441"></a>
+<span class="sourceLineNo">442</span>          wl.writer = new StoreFileWriter.Builder(conf, CacheConfig.DISABLED, new HFileSystem(fs))<a name="line.442"></a>
+<span class="sourceLineNo">443</span>            .withOutputDir(familydir).withBloomType(bloomType).withFileContext(hFileContext)<a name="line.443"></a>
+<span class="sourceLineNo">444</span>            .withFavoredNodes(favoredNodes).build();<a name="line.444"></a>
+<span class="sourceLineNo">445</span>        }<a name="line.445"></a>
+<span class="sourceLineNo">446</span><a name="line.446"></a>
+<span class="sourceLineNo">447</span>        this.writers.put(tableAndFamily, wl);<a name="line.447"></a>
+<span class="sourceLineNo">448</span>        return wl;<a name="line.448"></a>
+<span class="sourceLineNo">449</span>      }<a name="line.449"></a>
+<span class="sourceLineNo">450</span><a name="line.450"></a>
+<span class="sourceLineNo">451</span>      private void close(final StoreFileWriter w) throws IOException {<a name="line.451"></a>
+<span class="sourceLineNo">452</span>        if (w != null) {<a name="line.452"></a>
+<span class="sourceLineNo">453</span>          w.appendFileInfo(BULKLOAD_TIME_KEY, Bytes.toBytes(EnvironmentEdgeManager.currentTime()));<a name="line.453"></a>
+<span class="sourceLineNo">454</span>          w.appendFileInfo(BULKLOAD_TASK_KEY, Bytes.toBytes(context.getTaskAttemptID().toString()));<a name="line.454"></a>
+<span class="sourceLineNo">455</span>          w.appendFileInfo(MAJOR_COMPACTION_KEY, Bytes.toBytes(true));<a name="line.455"></a>
+<span class="sourceLineNo">456</span>          w.appendFileInfo(EXCLUDE_FROM_MINOR_COMPACTION_KEY, Bytes.toBytes(compactionExclude));<a name="line.456"></a>
+<span class="sourceLineNo">457</span>          w.appendTrackedTimestampsToMetadata();<a name="line.457"></a>
+<span class="sourceLineNo">458</span>          w.close();<a name="line.458"></a>
+<span class="sourceLineNo">459</span>        }<a name="line.459"></a>
+<span class="sourceLineNo">460</span>      }<a name="line.460"></a>
+<span class="sourceLineNo">461</span><a name="line.461"></a>
+<span class="sourceLineNo">462</span>      @Override<a name="line.462"></a>
+<span class="sourceLineNo">463</span>      public void close(TaskAttemptContext c) throws IOException, InterruptedException {<a name="line.463"></a>
+<span class="sourceLineNo">464</span>        for (WriterLength wl : this.writers.values()) {<a name="line.464"></a>
+<span class="sourceLineNo">465</span>          close(wl.writer);<a name="line.465"></a>
+<span class="sourceLineNo">466</span>        }<a name="line.466"></a>
+<span class="sourceLineNo">467</span>      }<a name="line.467"></a>
+<span class="sourceLineNo">468</span>    };<a name="line.468"></a>
+<span class="sourceLineNo">469</span>  }<a name="line.469"></a>
+<span class="sourceLineNo">470</span><a name="line.470"></a>
+<span class="sourceLineNo">471</span>  /**<a name="line.471"></a>
+<span class="sourceLineNo">472</span>   * Configure block storage policy for CF after the directory is created.<a name="line.472"></a>
+<span class="sourceLineNo">473</span>   */<a name="line.473"></a>
+<span class="sourceLineNo">474</span>  static void configureStoragePolicy(final Configuration conf, final FileSystem fs,<a name="line.474"></a>
+<span class="sourceLineNo">475</span>    byte[] tableAndFamily, Path cfPath) {<a name="line.475"></a>
+<span class="sourceLineNo">476</span>    if (null == conf || null == fs || null == tableAndFamily || null == cfPath) {<a name="line.476"></a>
+<span class="sourceLineNo">477</span>      return;<a name="line.477"></a>
+<span class="sourceLineNo">478</span>    }<a name="line.478"></a>
+<span class="sourceLineNo">479</span><a name="line.479"></a>
+<span class="sourceLineNo">480</span>    String policy = conf.get(STORAGE_POLICY_PROPERTY_CF_PREFIX + Bytes.toString(tableAndFamily),<a name="line.480"></a>
+<span class="sourceLineNo">481</span>      conf.get(STORAGE_POLICY_PROPERTY));<a name="line.481"></a>
+<span class="sourceLineNo">482</span>    CommonFSUtils.setStoragePolicy(fs, cfPath, policy);<a name="line.482"></a>
+<span class="sourceLineNo">483</span>  }<a name="line.483"></a>
+<span class="sourceLineNo">484</span><a name="line.484"></a>
+<span class="sourceLineNo">485</span>  /*<a name="line.485"></a>
+<span class="sourceLineNo">486</span>   * Data structure to hold a Writer and amount of data written on it.<a name="line.486"></a>
+<span class="sourceLineNo">487</span>   */<a name="line.487"></a>
+<span class="sourceLineNo">488</span>  static class WriterLength {<a name="line.488"></a>
+<span class="sourceLineNo">489</span>    long written = 0;<a name="line.489"></a>
+<span class="sourceLineNo">490</span>    StoreFileWriter writer = null;<a name="line.490"></a>
+<span class="sourceLineNo">491</span>  }<a name="line.491"></a>
+<span class="sourceLineNo">492</span><a name="line.492"></a>
+<span class="sourceLineNo">493</span>  /**<a name="line.493"></a>
+<span class="sourceLineNo">494</span>   * Return the start keys of all of the regions in this table, as a list of ImmutableBytesWritable.<a name="line.494"></a>
+<span class="sourceLineNo">495</span>   */<a name="line.495"></a>
+<span class="sourceLineNo">496</span>  private static List&lt;ImmutableBytesWritable&gt; getRegionStartKeys(List&lt;RegionLocator&gt; regionLocators,<a name="line.496"></a>
+<span class="sourceLineNo">497</span>    boolean writeMultipleTables) throws IOException {<a name="line.497"></a>
+<span class="sourceLineNo">498</span><a name="line.498"></a>
+<span class="sourceLineNo">499</span>    ArrayList&lt;ImmutableBytesWritable&gt; ret = new ArrayList&lt;&gt;();<a name="line.499"></a>
+<span class="sourceLineNo">500</span>    for (RegionLocator regionLocator : regionLocators) {<a name="line.500"></a>
+<span class="sourceLineNo">501</span>      TableName tableName = regionLocator.getName();<a name="line.501"></a>
+<span class="sourceLineNo">502</span>      LOG.info("Looking up current regions for table " + tableName);<a name="line.502"></a>
+<span class="sourceLineNo">503</span>      byte[][] byteKeys = regionLocator.getStartKeys();<a name="line.503"></a>
+<span class="sourceLineNo">504</span>      for (byte[] byteKey : byteKeys) {<a name="line.504"></a>
+<span class="sourceLineNo">505</span>        byte[] fullKey = byteKey; // HFileOutputFormat2 use case<a name="line.505"></a>
+<span class="sourceLineNo">506</span>        if (writeMultipleTables) {<a name="line.506"></a>
+<span class="sourceLineNo">507</span>          // MultiTableHFileOutputFormat use case<a name="line.507"></a>
+<span class="sourceLineNo">508</span>          fullKey = combineTableNameSuffix(tableName.getName(), byteKey);<a name="line.508"></a>
+<span class="sourceLineNo">509</span>        }<a name="line.509"></a>
+<span class="sourceLineNo">510</span>        if (LOG.isDebugEnabled()) {<a name="line.510"></a>
+<span class="sourceLineNo">511</span>          LOG.debug("SplitPoint startkey for " + tableName + ": " + Bytes.toStringBinary(fullKey));<a name="line.511"></a>
+<span class="sourceLineNo">512</span>        }<a name="line.512"></a>
+<span class="sourceLineNo">513</span>        ret.add(new ImmutableBytesWritable(fullKey));<a name="line.513"></a>
+<span class="sourceLineNo">514</span>      }<a name="line.514"></a>
+<span class="sourceLineNo">515</span>    }<a name="line.515"></a>
+<span class="sourceLineNo">516</span>    return ret;<a name="line.516"></a>
+<span class="sourceLineNo">517</span>  }<a name="line.517"></a>
+<span class="sourceLineNo">518</span><a name="line.518"></a>
+<span class="sourceLineNo">519</span>  /**<a name="line.519"></a>
+<span class="sourceLineNo">520</span>   * Write out a {@link SequenceFile} that can be read by {@link TotalOrderPartitioner} that<a name="line.520"></a>
+<span class="sourceLineNo">521</span>   * contains the split points in startKeys.<a name="line.521"></a>
+<span class="sourceLineNo">522</span>   */<a name="line.522"></a>
+<span class="sourceLineNo">523</span>  @SuppressWarnings("deprecation")<a name="line.523"></a>
+<span class="sourceLineNo">524</span>  private static void writePartitions(Configuration conf, Path partitionsPath,<a name="line.524"></a>
+<span class="sourceLineNo">525</span>    List&lt;ImmutableBytesWritable&gt; startKeys, boolean writeMultipleTables) throws IOException {<a name="line.525"></a>
+<span class="sourceLineNo">526</span>    LOG.info("Writing partition information to " + partitionsPath);<a name="line.526"></a>
+<span class="sourceLineNo">527</span>    if (startKeys.isEmpty()) {<a name="line.527"></a>
+<span class="sourceLineNo">528</span>      throw new IllegalArgumentException("No regions passed");<a name="line.528"></a>
+<span class="sourceLineNo">529</span>    }<a name="line.529"></a>
+<span class="sourceLineNo">530</span><a name="line.530"></a>
+<span class="sourceLineNo">531</span>    // We're generating a list of split points, and we don't ever<a name="line.531"></a>
+<span class="sourceLineNo">532</span>    // have keys &lt; the first region (which has an empty start key)<a name="line.532"></a>
+<span class="sourceLineNo">533</span>    // so we need to remove it. Otherwise we would end up with an<a name="line.533"></a>
+<span class="sourceLineNo">534</span>    // empty reducer with index 0<a name="line.534"></a>
+<span class="sourceLineNo">535</span>    TreeSet&lt;ImmutableBytesWritable&gt; sorted = new TreeSet&lt;&gt;(startKeys);<a name="line.535"></a>
+<span class="sourceLineNo">536</span>    ImmutableBytesWritable first = sorted.first();<a name="line.536"></a>
+<span class="sourceLineNo">537</span>    if (writeMultipleTables) {<a name="line.537"></a>
+<span class="sourceLineNo">538</span>      first =<a name="line.538"></a>
+<span class="sourceLineNo">539</span>        new ImmutableBytesWritable(MultiTableHFileOutputFormat.getSuffix(sorted.first().get()));<a name="line.539"></a>
+<span class="sourceLineNo">540</span>    }<a name="line.540"></a>
+<span class="sourceLineNo">541</span>    if (!first.equals(HConstants.EMPTY_BYTE_ARRAY)) {<a name="line.541"></a>
+<span class="sourceLineNo">542</span>      throw new IllegalArgumentException(<a name="line.542"></a>
+<span class="sourceLineNo">543</span>        "First region of table should have empty start key. Instead has: "<a name="line.543"></a>
+<span class="sourceLineNo">544</span>          + Bytes.toStringBinary(first.get()));<a name="line.544"></a>
+<span class="sourceLineNo">545</span>    }<a name="line.545"></a>
+<span class="sourceLineNo">546</span>    sorted.remove(sorted.first());<a name="line.546"></a>
+<span class="sourceLineNo">547</span><a name="line.547"></a>
+<span class="sourceLineNo">548</span>    // Write the actual file<a name="line.548"></a>
+<span class="sourceLineNo">549</span>    FileSystem fs = partitionsPath.getFileSystem(conf);<a name="line.549"></a>
+<span class="sourceLineNo">550</span>    SequenceFile.Writer writer = SequenceFile.createWriter(fs, conf, partitionsPath,<a name="line.550"></a>
+<span class="sourceLineNo">551</span>      ImmutableBytesWritable.class, NullWritable.class);<a name="line.551"></a>
+<span class="sourceLineNo">552</span><a name="line.552"></a>
+<span class="sourceLineNo">553</span>    try {<a name="line.553"></a>
+<span class="sourceLineNo">554</span>      for (ImmutableBytesWritable startKey : sorted) {<a name="line.554"></a>
+<span class="sourceLineNo">555</span>        writer.append(startKey, NullWritable.get());<a name="line.555"></a>
+<span class="sourceLineNo">556</span>      }<a name="line.556"></a>
+<span class="sourceLineNo">557</span>    } finally {<a name="line.557"></a>
+<span class="sourceLineNo">558</span>      writer.close();<a name="line.558"></a>
+<span class="sourceLineNo">559</span>    }<a name="line.559"></a>
+<span class="sourceLineNo">560</span>  }<a name="line.560"></a>
+<span class="sourceLineNo">561</span><a name="line.561"></a>
+<span class="sourceLineNo">562</span>  /**<a name="line.562"></a>
+<span class="sourceLineNo">563</span>   * Configure a MapReduce Job to perform an incremental load into the given table. This<a name="line.563"></a>
+<span class="sourceLineNo">564</span>   * &lt;ul&gt;<a name="line.564"></a>
+<span class="sourceLineNo">565</span>   * &lt;li&gt;Inspects the table to configure a total order partitioner&lt;/li&gt;<a name="line.565"></a>
+<span class="sourceLineNo">566</span>   * &lt;li&gt;Uploads the partitions file to the cluster and adds it to the DistributedCache&lt;/li&gt;<a name="line.566"></a>
+<span class="sourceLineNo">567</span>   * &lt;li&gt;Sets the number of reduce tasks to match the current number of regions&lt;/li&gt;<a name="line.567"></a>
+<span class="sourceLineNo">568</span>   * &lt;li&gt;Sets the output key/value class to match HFileOutputFormat2's requirements&lt;/li&gt;<a name="line.568"></a>
+<span class="sourceLineNo">569</span>   * &lt;li&gt;Sets the reducer up to perform the appropriate sorting (either KeyValueSortReducer or<a name="line.569"></a>
+<span class="sourceLineNo">570</span>   * PutSortReducer)&lt;/li&gt;<a name="line.570"></a>
+<span class="sourceLineNo">571</span>   * &lt;li&gt;Sets the HBase cluster key to load region locations for locality-sensitive&lt;/li&gt;<a name="line.571"></a>
+<span class="sourceLineNo">572</span>   * &lt;/ul&gt;<a name="line.572"></a>
+<span class="sourceLineNo">573</span>   * The user should be sure to set the map output value class to either KeyValue or Put before<a name="line.573"></a>
+<span class="sourceLineNo">574</span>   * running this function.<a name="line.574"></a>
+<span class="sourceLineNo">575</span>   */<a name="line.575"></a>
+<span class="sourceLineNo">576</span>  public static void configureIncrementalLoad(Job job, Table table, RegionLocator regionLocator)<a name="line.576"></a>
+<span class="sourceLineNo">577</span>    throws IOException {<a name="line.577"></a>
+<span class="sourceLineNo">578</span>    configureIncrementalLoad(job, table.getDescriptor(), regionLocator);<a name="line.578"></a>
+<span class="sourceLineNo">579</span>    configureRemoteCluster(job, table.getConfiguration());<a name="line.579"></a>
+<span class="sourceLineNo">580</span>  }<a name="line.580"></a>
+<span class="sourceLineNo">581</span><a name="line.581"></a>
+<span class="sourceLineNo">582</span>  /**<a name="line.582"></a>
+<span class="sourceLineNo">583</span>   * Configure a MapReduce Job to perform an incremental load into the given table. This<a name="line.583"></a>
+<span class="sourceLineNo">584</span>   * &lt;ul&gt;<a name="line.584"></a>
+<span class="sourceLineNo">585</span>   * &lt;li&gt;Inspects the table to configure a total order partitioner&lt;/li&gt;<a name="line.585"></a>
+<span class="sourceLineNo">586</span>   * &lt;li&gt;Uploads the partitions file to the cluster and adds it to the DistributedCache&lt;/li&gt;<a name="line.586"></a>
+<span class="sourceLineNo">587</span>   * &lt;li&gt;Sets the number of reduce tasks to match the current number of regions&lt;/li&gt;<a name="line.587"></a>
+<span class="sourceLineNo">588</span>   * &lt;li&gt;Sets the output key/value class to match HFileOutputFormat2's requirements&lt;/li&gt;<a name="line.588"></a>
+<span class="sourceLineNo">589</span>   * &lt;li&gt;Sets the reducer up to perform the appropriate sorting (either KeyValueSortReducer or<a name="line.589"></a>
+<span class="sourceLineNo">590</span>   * PutSortReducer)&lt;/li&gt;<a name="line.590"></a>
+<span class="sourceLineNo">591</span>   * &lt;/ul&gt;<a name="line.591"></a>
+<span class="sourceLineNo">592</span>   * The user should be sure to set the map output value class to either KeyValue or Put before<a name="line.592"></a>
+<span class="sourceLineNo">593</span>   * running this function.<a name="line.593"></a>
+<span class="sourceLineNo">594</span>   */<a name="line.594"></a>
+<span class="sourceLineNo">595</span>  public static void configureIncrementalLoad(Job job, TableDescriptor tableDescriptor,<a name="line.595"></a>
+<span class="sourceLineNo">596</span>    RegionLocator regionLocator) throws IOException {<a name="line.596"></a>
+<span class="sourceLineNo">597</span>    ArrayList&lt;TableInfo&gt; singleTableInfo = new ArrayList&lt;&gt;();<a name="line.597"></a>
+<span class="sourceLineNo">598</span>    singleTableInfo.add(new TableInfo(tableDescriptor, regionLocator));<a name="line.598"></a>
+<span class="sourceLineNo">599</span>    configureIncrementalLoad(job, singleTableInfo, HFileOutputFormat2.class);<a name="line.599"></a>
+<span class="sourceLineNo">600</span>  }<a name="line.600"></a>
+<span class="sourceLineNo">601</span><a name="line.601"></a>
+<span class="sourceLineNo">602</span>  static void configureIncrementalLoad(Job job, List&lt;TableInfo&gt; multiTableInfo,<a name="line.602"></a>
+<span class="sourceLineNo">603</span>    Class&lt;? extends OutputFormat&lt;?, ?&gt;&gt; cls) throws IOException {<a name="line.603"></a>
+<span class="sourceLineNo">604</span>    Configuration conf = job.getConfiguration();<a name="line.604"></a>
+<span class="sourceLineNo">605</span>    job.setOutputKeyClass(ImmutableBytesWritable.class);<a name="line.605"></a>
+<span class="sourceLineNo">606</span>    job.setOutputValueClass(MapReduceExtendedCell.class);<a name="line.606"></a>
+<span class="sourceLineNo">607</span>    job.setOutputFormatClass(cls);<a name="line.607"></a>
+<span class="sourceLineNo">608</span><a name="line.608"></a>
+<span class="sourceLineNo">609</span>    if (multiTableInfo.stream().distinct().count() != multiTableInfo.size()) {<a name="line.609"></a>
+<span class="sourceLineNo">610</span>      throw new IllegalArgumentException("Duplicate entries found in TableInfo argument");<a name="line.610"></a>
+<span class="sourceLineNo">611</span>    }<a name="line.611"></a>
+<span class="sourceLineNo">612</span>    boolean writeMultipleTables = false;<a name="line.612"></a>
+<span class="sourceLineNo">613</span>    if (MultiTableHFileOutputFormat.class.equals(cls)) {<a name="line.613"></a>
+<span class="sourceLineNo">614</span>      writeMultipleTables = true;<a name="line.614"></a>
+<span class="sourceLineNo">615</span>      conf.setBoolean(MULTI_TABLE_HFILEOUTPUTFORMAT_CONF_KEY, true);<a name="line.615"></a>
+<span class="sourceLineNo">616</span>    }<a name="line.616"></a>
+<span class="sourceLineNo">617</span>    // Based on the configured map output class, set the correct reducer to properly<a name="line.617"></a>
+<span class="sourceLineNo">618</span>    // sort the incoming values.<a name="line.618"></a>
+<span class="sourceLineNo">619</span>    // TODO it would be nice to pick one or the other of these formats.<a name="line.619"></a>
+<span class="sourceLineNo">620</span>    if (<a name="line.620"></a>
+<span class="sourceLineNo">621</span>      KeyValue.class.equals(job.getMapOutputValueClass())<a name="line.621"></a>
+<span class="sourceLineNo">622</span>        || MapReduceExtendedCell.class.equals(job.getMapOutputValueClass())<a name="line.622"></a>
+<span class="sourceLineNo">623</span>    ) {<a name="line.623"></a>
+<span class="sourceLineNo">624</span>      job.setReducerClass(CellSortReducer.class);<a name="line.624"></a>
+<span class="sourceLineNo">625</span>    } else if (Put.class.equals(job.getMapOutputValueClass())) {<a name="line.625"></a>
+<span class="sourceLineNo">626</span>      job.setReducerClass(PutSortReducer.class);<a name="line.626"></a>
+<span class="sourceLineNo">627</span>    } else if (Text.class.equals(job.getMapOutputValueClass())) {<a name="line.627"></a>
+<span class="sourceLineNo">628</span>      job.setReducerClass(TextSortReducer.class);<a name="line.628"></a>
+<span class="sourceLineNo">629</span>    } else {<a name="line.629"></a>
+<span class="sourceLineNo">630</span>      LOG.warn("Unknown map output value type:" + job.getMapOutputValueClass());<a name="line.630"></a>
+<span class="sourceLineNo">631</span>    }<a name="line.631"></a>
+<span class="sourceLineNo">632</span><a name="line.632"></a>
+<span class="sourceLineNo">633</span>    mergeSerializations(conf);<a name="line.633"></a>
+<span class="sourceLineNo">634</span><a name="line.634"></a>
+<span class="sourceLineNo">635</span>    if (conf.getBoolean(LOCALITY_SENSITIVE_CONF_KEY, DEFAULT_LOCALITY_SENSITIVE)) {<a name="line.635"></a>
+<span class="sourceLineNo">636</span>      LOG.info("bulkload locality sensitive enabled");<a name="line.636"></a>
+<span class="sourceLineNo">637</span>    }<a name="line.637"></a>
+<span class="sourceLineNo">638</span><a name="line.638"></a>
+<span class="sourceLineNo">639</span>    /* Now get the region start keys for every table required */<a name="line.639"></a>
+<span class="sourceLineNo">640</span>    List&lt;String&gt; allTableNames = new ArrayList&lt;&gt;(multiTableInfo.size());<a name="line.640"></a>
+<span class="sourceLineNo">641</span>    List&lt;RegionLocator&gt; regionLocators = new ArrayList&lt;&gt;(multiTableInfo.size());<a name="line.641"></a>
+<span class="sourceLineNo">642</span>    List&lt;TableDescriptor&gt; tableDescriptors = new ArrayList&lt;&gt;(multiTableInfo.size());<a name="line.642"></a>
+<span class="sourceLineNo">643</span><a name="line.643"></a>
+<span class="sourceLineNo">644</span>    for (TableInfo tableInfo : multiTableInfo) {<a name="line.644"></a>
+<span class="sourceLineNo">645</span>      regionLocators.add(tableInfo.getRegionLocator());<a name="line.645"></a>
+<span class="sourceLineNo">646</span>      String tn = writeMultipleTables<a name="line.646"></a>
+<span class="sourceLineNo">647</span>        ? tableInfo.getRegionLocator().getName().getNameWithNamespaceInclAsString()<a name="line.647"></a>
+<span class="sourceLineNo">648</span>        : tableInfo.getRegionLocator().getName().getNameAsString();<a name="line.648"></a>
+<span class="sourceLineNo">649</span>      allTableNames.add(tn);<a name="line.649"></a>
+<span class="sourceLineNo">650</span>      tableDescriptors.add(tableInfo.getTableDescriptor());<a name="line.650"></a>
+<span class="sourceLineNo">651</span>    }<a name="line.651"></a>
+<span class="sourceLineNo">652</span>    // Record tablenames for creating writer by favored nodes, and decoding compression,<a name="line.652"></a>
+<span class="sourceLineNo">653</span>    // block size and other attributes of columnfamily per table<a name="line.653"></a>
+<span class="sourceLineNo">654</span>    conf.set(OUTPUT_TABLE_NAME_CONF_KEY,<a name="line.654"></a>
+<span class="sourceLineNo">655</span>      StringUtils.join(allTableNames, Bytes.toString(tableSeparator)));<a name="line.655"></a>
+<span class="sourceLineNo">656</span>    List&lt;ImmutableBytesWritable&gt; startKeys =<a name="line.656"></a>
+<span class="sourceLineNo">657</span>      getRegionStartKeys(regionLocators, writeMultipleTables);<a name="line.657"></a>
+<span class="sourceLineNo">658</span>    // Use table's region boundaries for TOP split points.<a name="line.658"></a>
+<span class="sourceLineNo">659</span>    LOG.info("Configuring " + startKeys.size() + " reduce partitions "<a name="line.659"></a>
+<span class="sourceLineNo">660</span>      + "to match current region count for all tables");<a name="line.660"></a>
+<span class="sourceLineNo">661</span>    job.setNumReduceTasks(startKeys.size());<a name="line.661"></a>
+<span class="sourceLineNo">662</span><a name="line.662"></a>
+<span class="sourceLineNo">663</span>    configurePartitioner(job, startKeys, writeMultipleTables);<a name="line.663"></a>
+<span class="sourceLineNo">664</span>    // Set compression algorithms based on column families<a name="line.664"></a>
+<span class="sourceLineNo">665</span><a name="line.665"></a>
+<span class="sourceLineNo">666</span>    conf.set(COMPRESSION_FAMILIES_CONF_KEY,<a name="line.666"></a>
+<span class="sourceLineNo">667</span>      serializeColumnFamilyAttribute(compressionDetails, tableDescriptors));<a name="line.667"></a>
+<span class="sourceLineNo">668</span>    conf.set(BLOCK_SIZE_FAMILIES_CONF_KEY,<a name="line.668"></a>
+<span class="sourceLineNo">669</span>      serializeColumnFamilyAttribute(blockSizeDetails, tableDescriptors));<a name="line.669"></a>
+<span class="sourceLineNo">670</span>    conf.set(BLOOM_TYPE_FAMILIES_CONF_KEY,<a name="line.670"></a>
+<span class="sourceLineNo">671</span>      serializeColumnFamilyAttribute(bloomTypeDetails, tableDescriptors));<a name="line.671"></a>
+<span class="sourceLineNo">672</span>    conf.set(BLOOM_PARAM_FAMILIES_CONF_KEY,<a name="line.672"></a>
+<span class="sourceLineNo">673</span>      serializeColumnFamilyAttribute(bloomParamDetails, tableDescriptors));<a name="line.673"></a>
+<span class="sourceLineNo">674</span>    conf.set(DATABLOCK_ENCODING_FAMILIES_CONF_KEY,<a name="line.674"></a>
+<span class="sourceLineNo">675</span>      serializeColumnFamilyAttribute(dataBlockEncodingDetails, tableDescriptors));<a name="line.675"></a>
+<span class="sourceLineNo">676</span><a name="line.676"></a>
+<span class="sourceLineNo">677</span>    TableMapReduceUtil.addDependencyJars(job);<a name="line.677"></a>
+<span class="sourceLineNo">678</span>    TableMapReduceUtil.initCredentials(job);<a name="line.678"></a>
+<span class="sourceLineNo">679</span>    LOG.info("Incremental output configured for tables: " + StringUtils.join(allTableNames, ","));<a name="line.679"></a>
+<span class="sourceLineNo">680</span>  }<a name="line.680"></a>
+<span class="sourceLineNo">681</span><a name="line.681"></a>
+<span class="sourceLineNo">682</span>  private static void mergeSerializations(Configuration conf) {<a name="line.682"></a>
+<span class="sourceLineNo">683</span>    List&lt;String&gt; serializations = new ArrayList&lt;&gt;();<a name="line.683"></a>
+<span class="sourceLineNo">684</span><a name="line.684"></a>
+<span class="sourceLineNo">685</span>    // add any existing values that have been set<a name="line.685"></a>
+<span class="sourceLineNo">686</span>    String[] existing = conf.getStrings("io.serializations");<a name="line.686"></a>
+<span class="sourceLineNo">687</span>    if (existing != null) {<a name="line.687"></a>
+<span class="sourceLineNo">688</span>      Collections.addAll(serializations, existing);<a name="line.688"></a>
+<span class="sourceLineNo">689</span>    }<a name="line.689"></a>
+<span class="sourceLineNo">690</span><a name="line.690"></a>
+<span class="sourceLineNo">691</span>    serializations.add(MutationSerialization.class.getName());<a name="line.691"></a>
+<span class="sourceLineNo">692</span>    serializations.add(ResultSerialization.class.getName());<a name="line.692"></a>
+<span class="sourceLineNo">693</span><a name="line.693"></a>
+<span class="sourceLineNo">694</span>    // Add ExtendedCellSerialization, if configured. Order matters here. Hadoop's<a name="line.694"></a>
+<span class="sourceLineNo">695</span>    // SerializationFactory runs through serializations in the order they are registered.<a name="line.695"></a>
+<span class="sourceLineNo">696</span>    // We want to register ExtendedCellSerialization before CellSerialization because both<a name="line.696"></a>
+<span class="sourceLineNo">697</span>    // work for ExtendedCells but only ExtendedCellSerialization handles them properly.<a name="line.697"></a>
+<span class="sourceLineNo">698</span>    if (<a name="line.698"></a>
+<span class="sourceLineNo">699</span>      conf.getBoolean(EXTENDED_CELL_SERIALIZATION_ENABLED_KEY,<a name="line.699"></a>
+<span class="sourceLineNo">700</span>        EXTENDED_CELL_SERIALIZATION_ENABLED_DEFULT)<a name="line.700"></a>
+<span class="sourceLineNo">701</span>    ) {<a name="line.701"></a>
+<span class="sourceLineNo">702</span>      serializations.add(ExtendedCellSerialization.class.getName());<a name="line.702"></a>
+<span class="sourceLineNo">703</span>    }<a name="line.703"></a>
+<span class="sourceLineNo">704</span>    serializations.add(CellSerialization.class.getName());<a name="line.704"></a>
+<span class="sourceLineNo">705</span><a name="line.705"></a>
+<span class="sourceLineNo">706</span>    conf.setStrings("io.serializations", serializations.toArray(new String[0]));<a name="line.706"></a>
+<span class="sourceLineNo">707</span>  }<a name="line.707"></a>
+<span class="sourceLineNo">708</span><a name="line.708"></a>
+<span class="sourceLineNo">709</span>  public static void configureIncrementalLoadMap(Job job, TableDescriptor tableDescriptor)<a name="line.709"></a>
+<span class="sourceLineNo">710</span>    throws IOException {<a name="line.710"></a>
+<span class="sourceLineNo">711</span>    Configuration conf = job.getConfiguration();<a name="line.711"></a>
+<span class="sourceLineNo">712</span><a name="line.712"></a>
+<span class="sourceLineNo">713</span>    job.setOutputKeyClass(ImmutableBytesWritable.class);<a name="line.713"></a>
+<span class="sourceLineNo">714</span>    job.setOutputValueClass(MapReduceExtendedCell.class);<a name="line.714"></a>
+<span class="sourceLineNo">715</span>    job.setOutputFormatClass(HFileOutputFormat2.class);<a name="line.715"></a>
+<span class="sourceLineNo">716</span><a name="line.716"></a>
+<span class="sourceLineNo">717</span>    ArrayList&lt;TableDescriptor&gt; singleTableDescriptor = new ArrayList&lt;&gt;(1);<a name="line.717"></a>
+<span class="sourceLineNo">718</span>    singleTableDescriptor.add(tableDescriptor);<a name="line.718"></a>
+<span class="sourceLineNo">719</span><a name="line.719"></a>
+<span class="sourceLineNo">720</span>    conf.set(OUTPUT_TABLE_NAME_CONF_KEY, tableDescriptor.getTableName().getNameAsString());<a name="line.720"></a>
+<span class="sourceLineNo">721</span>    // Set compression algorithms based on column families<a name="line.721"></a>
+<span class="sourceLineNo">722</span>    conf.set(COMPRESSION_FAMILIES_CONF_KEY,<a name="line.722"></a>
+<span class="sourceLineNo">723</span>      serializeColumnFamilyAttribute(compressionDetails, singleTableDescriptor));<a name="line.723"></a>
+<span class="sourceLineNo">724</span>    conf.set(BLOCK_SIZE_FAMILIES_CONF_KEY,<a name="line.724"></a>
+<span class="sourceLineNo">725</span>      serializeColumnFamilyAttribute(blockSizeDetails, singleTableDescriptor));<a name="line.725"></a>
+<span class="sourceLineNo">726</span>    conf.set(BLOOM_TYPE_FAMILIES_CONF_KEY,<a name="line.726"></a>
+<span class="sourceLineNo">727</span>      serializeColumnFamilyAttribute(bloomTypeDetails, singleTableDescriptor));<a name="line.727"></a>
+<span class="sourceLineNo">728</span>    conf.set(BLOOM_PARAM_FAMILIES_CONF_KEY,<a name="line.728"></a>
+<span class="sourceLineNo">729</span>      serializeColumnFamilyAttribute(bloomParamDetails, singleTableDescriptor));<a name="line.729"></a>
+<span class="sourceLineNo">730</span>    conf.set(DATABLOCK_ENCODING_FAMILIES_CONF_KEY,<a name="line.730"></a>
+<span class="sourceLineNo">731</span>      serializeColumnFamilyAttribute(dataBlockEncodingDetails, singleTableDescriptor));<a name="line.731"></a>
+<span class="sourceLineNo">732</span><a name="line.732"></a>
+<span class="sourceLineNo">733</span>    TableMapReduceUtil.addDependencyJars(job);<a name="line.733"></a>
+<span class="sourceLineNo">734</span>    TableMapReduceUtil.initCredentials(job);<a name="line.734"></a>
+<span class="sourceLineNo">735</span>    LOG.info("Incremental table " + tableDescriptor.getTableName() + " output configured.");<a name="line.735"></a>
+<span class="sourceLineNo">736</span>  }<a name="line.736"></a>
+<span class="sourceLineNo">737</span><a name="line.737"></a>
+<span class="sourceLineNo">738</span>  /**<a name="line.738"></a>
+<span class="sourceLineNo">739</span>   * Configure HBase cluster key for remote cluster to load region location for locality-sensitive<a name="line.739"></a>
+<span class="sourceLineNo">740</span>   * if it's enabled. It's not necessary to call this method explicitly when the cluster key for<a name="line.740"></a>
+<span class="sourceLineNo">741</span>   * HBase cluster to be used to load region location is configured in the job configuration. Call<a name="line.741"></a>
+<span class="sourceLineNo">742</span>   * this method when another HBase cluster key is configured in the job configuration. For example,<a name="line.742"></a>
+<span class="sourceLineNo">743</span>   * you should call when you load data from HBase cluster A using {@link TableInputFormat} and<a name="line.743"></a>
+<span class="sourceLineNo">744</span>   * generate hfiles for HBase cluster B. Otherwise, HFileOutputFormat2 fetch location from cluster<a name="line.744"></a>
+<span class="sourceLineNo">745</span>   * A and locality-sensitive won't working correctly.<a name="line.745"></a>
+<span class="sourceLineNo">746</span>   * {@link #configureIncrementalLoad(Job, Table, RegionLocator)} calls this method using<a name="line.746"></a>
+<span class="sourceLineNo">747</span>   * {@link Table#getConfiguration} as clusterConf. See HBASE-25608.<a name="line.747"></a>
+<span class="sourceLineNo">748</span>   * @param job         which has configuration to be updated<a name="line.748"></a>
+<span class="sourceLineNo">749</span>   * @param clusterConf which contains cluster key of the HBase cluster to be locality-sensitive<a name="line.749"></a>
+<span class="sourceLineNo">750</span>   * @see #configureIncrementalLoad(Job, Table, RegionLocator)<a name="line.750"></a>
+<span class="sourceLineNo">751</span>   * @see #LOCALITY_SENSITIVE_CONF_KEY<a name="line.751"></a>
+<span class="sourceLineNo">752</span>   * @see #REMOTE_CLUSTER_ZOOKEEPER_QUORUM_CONF_KEY<a name="line.752"></a>
+<span class="sourceLineNo">753</span>   * @see #REMOTE_CLUSTER_ZOOKEEPER_CLIENT_PORT_CONF_KEY<a name="line.753"></a>
+<span class="sourceLineNo">754</span>   * @see #REMOTE_CLUSTER_ZOOKEEPER_ZNODE_PARENT_CONF_KEY<a name="line.754"></a>
+<span class="sourceLineNo">755</span>   */<a name="line.755"></a>
+<span class="sourceLineNo">756</span>  public static void configureRemoteCluster(Job job, Configuration clusterConf) {<a name="line.756"></a>
+<span class="sourceLineNo">757</span>    Configuration conf = job.getConfiguration();<a name="line.757"></a>
+<span class="sourceLineNo">758</span><a name="line.758"></a>
+<span class="sourceLineNo">759</span>    if (!conf.getBoolean(LOCALITY_SENSITIVE_CONF_KEY, DEFAULT_LOCALITY_SENSITIVE)) {<a name="line.759"></a>
+<span class="sourceLineNo">760</span>      return;<a name="line.760"></a>
+<span class="sourceLineNo">761</span>    }<a name="line.761"></a>
+<span class="sourceLineNo">762</span><a name="line.762"></a>
+<span class="sourceLineNo">763</span>    final String quorum = clusterConf.get(HConstants.ZOOKEEPER_QUORUM);<a name="line.763"></a>
+<span class="sourceLineNo">764</span>    final int clientPort = clusterConf.getInt(HConstants.ZOOKEEPER_CLIENT_PORT,<a name="line.764"></a>
+<span class="sourceLineNo">765</span>      HConstants.DEFAULT_ZOOKEEPER_CLIENT_PORT);<a name="line.765"></a>
+<span class="sourceLineNo">766</span>    final String parent =<a name="line.766"></a>
+<span class="sourceLineNo">767</span>      clusterConf.get(HConstants.ZOOKEEPER_ZNODE_PARENT, HConstants.DEFAULT_ZOOKEEPER_ZNODE_PARENT);<a name="line.767"></a>
+<span class="sourceLineNo">768</span><a name="line.768"></a>
+<span class="sourceLineNo">769</span>    conf.set(REMOTE_CLUSTER_ZOOKEEPER_QUORUM_CONF_KEY, quorum);<a name="line.769"></a>
+<span class="sourceLineNo">770</span>    conf.setInt(REMOTE_CLUSTER_ZOOKEEPER_CLIENT_PORT_CONF_KEY, clientPort);<a name="line.770"></a>
+<span class="sourceLineNo">771</span>    conf.set(REMOTE_CLUSTER_ZOOKEEPER_ZNODE_PARENT_CONF_KEY, parent);<a name="line.771"></a>
+<span class="sourceLineNo">772</span><a name="line.772"></a>
+<span class="sourceLineNo">773</span>    LOG.info("ZK configs for remote cluster of bulkload is configured: " + quorum + ":" + clientPort<a name="line.773"></a>
+<span class="sourceLineNo">774</span>      + "/" + parent);<a name="line.774"></a>
+<span class="sourceLineNo">775</span>  }<a name="line.775"></a>
+<span class="sourceLineNo">776</span><a name="line.776"></a>
+<span class="sourceLineNo">777</span>  /**<a name="line.777"></a>
+<span class="sourceLineNo">778</span>   * Runs inside the task to deserialize column family to compression algorithm map from the<a name="line.778"></a>
+<span class="sourceLineNo">779</span>   * configuration.<a name="line.779"></a>
+<span class="sourceLineNo">780</span>   * @param conf to read the serialized values from<a name="line.780"></a>
+<span class="sourceLineNo">781</span>   * @return a map from column family to the configured compression algorithm<a name="line.781"></a>
+<span class="sourceLineNo">782</span>   */<a name="line.782"></a>
+<span class="sourceLineNo">783</span>  @InterfaceAudience.Private<a name="line.783"></a>
+<span class="sourceLineNo">784</span>  static Map&lt;byte[], Algorithm&gt; createFamilyCompressionMap(Configuration conf) {<a name="line.784"></a>
+<span class="sourceLineNo">785</span>    Map&lt;byte[], String&gt; stringMap = createFamilyConfValueMap(conf, COMPRESSION_FAMILIES_CONF_KEY);<a name="line.785"></a>
+<span class="sourceLineNo">786</span>    Map&lt;byte[], Algorithm&gt; compressionMap = new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.786"></a>
+<span class="sourceLineNo">787</span>    for (Map.Entry&lt;byte[], String&gt; e : stringMap.entrySet()) {<a name="line.787"></a>
+<span class="sourceLineNo">788</span>      Algorithm algorithm = HFileWriterImpl.compressionByName(e.getValue());<a name="line.788"></a>
+<span class="sourceLineNo">789</span>      compressionMap.put(e.getKey(), algorithm);<a name="line.789"></a>
+<span class="sourceLineNo">790</span>    }<a name="line.790"></a>
+<span class="sourceLineNo">791</span>    return compressionMap;<a name="line.791"></a>
+<span class="sourceLineNo">792</span>  }<a name="line.792"></a>
+<span class="sourceLineNo">793</span><a name="line.793"></a>
+<span class="sourceLineNo">794</span>  /**<a name="line.794"></a>
+<span class="sourceLineNo">795</span>   * Runs inside the task to deserialize column family to bloom filter type map from the<a name="line.795"></a>
+<span class="sourceLineNo">796</span>   * configuration.<a name="line.796"></a>
+<span class="sourceLineNo">797</span>   * @param conf to read the serialized values from<a name="line.797"></a>
+<span class="sourceLineNo">798</span>   * @return a map from column family to the the configured bloom filter type<a name="line.798"></a>
+<span class="sourceLineNo">799</span>   */<a name="line.799"></a>
+<span class="sourceLineNo">800</span>  @InterfaceAudience.Private<a name="line.800"></a>
+<span class="sourceLineNo">801</span>  static Map&lt;byte[], BloomType&gt; createFamilyBloomTypeMap(Configuration conf) {<a name="line.801"></a>
+<span class="sourceLineNo">802</span>    Map&lt;byte[], String&gt; stringMap = createFamilyConfValueMap(conf, BLOOM_TYPE_FAMILIES_CONF_KEY);<a name="line.802"></a>
+<span class="sourceLineNo">803</span>    Map&lt;byte[], BloomType&gt; bloomTypeMap = new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.803"></a>
+<span class="sourceLineNo">804</span>    for (Map.Entry&lt;byte[], String&gt; e : stringMap.entrySet()) {<a name="line.804"></a>
+<span class="sourceLineNo">805</span>      BloomType bloomType = BloomType.valueOf(e.getValue());<a name="line.805"></a>
+<span class="sourceLineNo">806</span>      bloomTypeMap.put(e.getKey(), bloomType);<a name="line.806"></a>
+<span class="sourceLineNo">807</span>    }<a name="line.807"></a>
+<span class="sourceLineNo">808</span>    return bloomTypeMap;<a name="line.808"></a>
+<span class="sourceLineNo">809</span>  }<a name="line.809"></a>
+<span class="sourceLineNo">810</span><a name="line.810"></a>
+<span class="sourceLineNo">811</span>  /**<a name="line.811"></a>
+<span class="sourceLineNo">812</span>   * Runs inside the task to deserialize column family to bloom filter param map from the<a name="line.812"></a>
+<span class="sourceLineNo">813</span>   * configuration.<a name="line.813"></a>
+<span class="sourceLineNo">814</span>   * @param conf to read the serialized values from<a name="line.814"></a>
+<span class="sourceLineNo">815</span>   * @return a map from column family to the the configured bloom filter param<a name="line.815"></a>
+<span class="sourceLineNo">816</span>   */<a name="line.816"></a>
+<span class="sourceLineNo">817</span>  @InterfaceAudience.Private<a name="line.817"></a>
+<span class="sourceLineNo">818</span>  static Map&lt;byte[], String&gt; createFamilyBloomParamMap(Configuration conf) {<a name="line.818"></a>
+<span class="sourceLineNo">819</span>    return createFamilyConfValueMap(conf, BLOOM_PARAM_FAMILIES_CONF_KEY);<a name="line.819"></a>
+<span class="sourceLineNo">820</span>  }<a name="line.820"></a>
+<span class="sourceLineNo">821</span><a name="line.821"></a>
+<span class="sourceLineNo">822</span>  /**<a name="line.822"></a>
+<span class="sourceLineNo">823</span>   * Runs inside the task to deserialize column family to block size map from the configuration.<a name="line.823"></a>
+<span class="sourceLineNo">824</span>   * @param conf to read the serialized values from<a name="line.824"></a>
+<span class="sourceLineNo">825</span>   * @return a map from column family to the configured block size<a name="line.825"></a>
+<span class="sourceLineNo">826</span>   */<a name="line.826"></a>
+<span class="sourceLineNo">827</span>  @InterfaceAudience.Private<a name="line.827"></a>
+<span class="sourceLineNo">828</span>  static Map&lt;byte[], Integer&gt; createFamilyBlockSizeMap(Configuration conf) {<a name="line.828"></a>
+<span class="sourceLineNo">829</span>    Map&lt;byte[], String&gt; stringMap = createFamilyConfValueMap(conf, BLOCK_SIZE_FAMILIES_CONF_KEY);<a name="line.829"></a>
+<span class="sourceLineNo">830</span>    Map&lt;byte[], Integer&gt; blockSizeMap = new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.830"></a>
+<span class="sourceLineNo">831</span>    for (Map.Entry&lt;byte[], String&gt; e : stringMap.entrySet()) {<a name="line.831"></a>
+<span class="sourceLineNo">832</span>      Integer blockSize = Integer.parseInt(e.getValue());<a name="line.832"></a>
+<span class="sourceLineNo">833</span>      blockSizeMap.put(e.getKey(), blockSize);<a name="line.833"></a>
+<span class="sourceLineNo">834</span>    }<a name="line.834"></a>
+<span class="sourceLineNo">835</span>    return blockSizeMap;<a name="line.835"></a>
+<span class="sourceLineNo">836</span>  }<a name="line.836"></a>
+<span class="sourceLineNo">837</span><a name="line.837"></a>
+<span class="sourceLineNo">838</span>  /**<a name="line.838"></a>
+<span class="sourceLineNo">839</span>   * Runs inside the task to deserialize column family to data block encoding type map from the<a name="line.839"></a>
+<span class="sourceLineNo">840</span>   * configuration.<a name="line.840"></a>
+<span class="sourceLineNo">841</span>   * @param conf to read the serialized values from<a name="line.841"></a>
+<span class="sourceLineNo">842</span>   * @return a map from column family to HFileDataBlockEncoder for the configured data block type<a name="line.842"></a>
+<span class="sourceLineNo">843</span>   *         for the family<a name="line.843"></a>
+<span class="sourceLineNo">844</span>   */<a name="line.844"></a>
+<span class="sourceLineNo">845</span>  @InterfaceAudience.Private<a name="line.845"></a>
+<span class="sourceLineNo">846</span>  static Map&lt;byte[], DataBlockEncoding&gt; createFamilyDataBlockEncodingMap(Configuration conf) {<a name="line.846"></a>
+<span class="sourceLineNo">847</span>    Map&lt;byte[], String&gt; stringMap =<a name="line.847"></a>
+<span class="sourceLineNo">848</span>      createFamilyConfValueMap(conf, DATABLOCK_ENCODING_FAMILIES_CONF_KEY);<a name="line.848"></a>
+<span class="sourceLineNo">849</span>    Map&lt;byte[], DataBlockEncoding&gt; encoderMap = new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.849"></a>
+<span class="sourceLineNo">850</span>    for (Map.Entry&lt;byte[], String&gt; e : stringMap.entrySet()) {<a name="line.850"></a>
+<span class="sourceLineNo">851</span>      encoderMap.put(e.getKey(), DataBlockEncoding.valueOf((e.getValue())));<a name="line.851"></a>
+<span class="sourceLineNo">852</span>    }<a name="line.852"></a>
+<span class="sourceLineNo">853</span>    return encoderMap;<a name="line.853"></a>
+<span class="sourceLineNo">854</span>  }<a name="line.854"></a>
+<span class="sourceLineNo">855</span><a name="line.855"></a>
+<span class="sourceLineNo">856</span>  /**<a name="line.856"></a>
+<span class="sourceLineNo">857</span>   * Run inside the task to deserialize column family to given conf value map.<a name="line.857"></a>
+<span class="sourceLineNo">858</span>   * @param conf     to read the serialized values from<a name="line.858"></a>
+<span class="sourceLineNo">859</span>   * @param confName conf key to read from the configuration<a name="line.859"></a>
+<span class="sourceLineNo">860</span>   * @return a map of column family to the given configuration value<a name="line.860"></a>
+<span class="sourceLineNo">861</span>   */<a name="line.861"></a>
+<span class="sourceLineNo">862</span>  private static Map&lt;byte[], String&gt; createFamilyConfValueMap(Configuration conf, String confName) {<a name="line.862"></a>
+<span class="sourceLineNo">863</span>    Map&lt;byte[], String&gt; confValMap = new TreeMap&lt;&gt;(Bytes.BYTES_COMPARATOR);<a name="line.863"></a>
+<span class="sourceLineNo">864</span>    String confVal = conf.get(confName, "");<a name="line.864"></a>
+<span class="sourceLineNo">865</span>    for (String familyConf : confVal.split("&amp;")) {<a name="line.865"></a>
+<span class="sourceLineNo">866</span>      String[] familySplit = familyConf.split("=");<a name="line.866"></a>
+<span class="sourceLineNo">867</span>      if (familySplit.length != 2) {<a name="line.867"></a>
+<span class="sourceLineNo">868</span>        continue;<a name="line.868"></a>
+<span class="sourceLineNo">869</span>      }<a name="line.869"></a>
+<span class="sourceLineNo">870</span>      try {<a name="line.870"></a>
+<span class="sourceLineNo">871</span>        confValMap.put(Bytes.toBytes(URLDecoder.decode(familySplit[0], "UTF-8")),<a name="line.871"></a>
+<span class="sourceLineNo">872</span>          URLDecoder.decode(familySplit[1], "UTF-8"));<a name="line.872"></a>
+<span class="sourceLineNo">873</span>      } catch (UnsupportedEncodingException e) {<a name="line.873"></a>
+<span class="sourceLineNo">874</span>        // will not happen with UTF-8 encoding<a name="line.874"></a>
+<span class="sourceLineNo">875</span>        throw new AssertionError(e);<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>    return confValMap;<a name="line.878"></a>
+<span class="sourceLineNo">879</span>  }<a name="line.879"></a>
+<span class="sourceLineNo">880</span><a name="line.880"></a>
+<span class="sourceLineNo">881</span>  /**<a name="line.881"></a>
+<span class="sourceLineNo">882</span>   * Configure &lt;code&gt;job&lt;/code&gt; with a TotalOrderPartitioner, partitioning against<a name="line.882"></a>
+<span class="sourceLineNo">883</span>   * &lt;code&gt;splitPoints&lt;/code&gt;. Cleans up the partitions file after job exists.<a name="line.883"></a>
+<span class="sourceLineNo">884</span>   */<a name="line.884"></a>
+<span class="sourceLineNo">885</span>  static void configurePartitioner(Job job, List&lt;ImmutableBytesWritable&gt; splitPoints,<a name="line.885"></a>
+<span class="sourceLineNo">886</span>    boolean writeMultipleTables) throws IOException {<a name="line.886"></a>
+<span class="sourceLineNo">887</span>    Configuration conf = job.getConfiguration();<a name="line.887"></a>
+<span class="sourceLineNo">888</span>    // create the partitions file<a name="line.888"></a>
+<span class="sourceLineNo">889</span>    FileSystem fs = FileSystem.get(conf);<a name="line.889"></a>
+<span class="sourceLineNo">890</span>    String hbaseTmpFsDir =<a name="line.890"></a>
+<span class="sourceLineNo">891</span>      conf.get(HConstants.TEMPORARY_FS_DIRECTORY_KEY, fs.getHomeDirectory() + "/hbase-staging");<a name="line.891"></a>
+<span class="sourceLineNo">892</span>    Path partitionsPath = new Path(hbaseTmpFsDir, "partitions_" + UUID.randomUUID());<a name="line.892"></a>
+<span class="sourceLineNo">893</span>    fs.makeQualified(partitionsPath);<a name="line.893"></a>
+<span class="sourceLineNo">894</span>    writePartitions(conf, partitionsPath, splitPoints, writeMultipleTables);<a name="line.894"></a>
+<span class="sourceLineNo">895</span>    fs.deleteOnExit(partitionsPath);<a name="line.895"></a>
+<span class="sourceLineNo">896</span><a name="line.896"></a>
+<span class="sourceLineNo">897</span>    // configure job to use it<a name="line.897"></a>
+<span class="sourceLineNo">898</span>    job.setPartitionerClass(TotalOrderPartitioner.class);<a name="line.898"></a>
+<span class="sourceLineNo">899</span>    TotalOrderPartitioner.setPartitionFile(conf, partitionsPath);<a name="line.899"></a>
+<span class="sourceLineNo">900</span>  }<a name="line.900"></a>
+<span class="sourceLineNo">901</span><a name="line.901"></a>
+<span class="sourceLineNo">902</span>  @edu.umd.cs.findbugs.annotations.SuppressWarnings(<a name="line.902"></a>
+<span class="sourceLineNo">903</span>      value = "RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE")<a name="line.903"></a>
+<span class="sourceLineNo">904</span>  @InterfaceAudience.Private<a name="line.904"></a>
+<span class="sourceLineNo">905</span>  static String serializeColumnFamilyAttribute(Function&lt;ColumnFamilyDescriptor, String&gt; fn,<a name="line.905"></a>
+<span class="sourceLineNo">906</span>    List&lt;TableDescriptor&gt; allTables) throws UnsupportedEncodingException {<a name="line.906"></a>
+<span class="sourceLineNo">907</span>    StringBuilder attributeValue = new StringBuilder();<a name="line.907"></a>
+<span class="sourceLineNo">908</span>    int i = 0;<a name="line.908"></a>
+<span class="sourceLineNo">909</span>    for (TableDescriptor tableDescriptor : allTables) {<a name="line.909"></a>
+<span class="sourceLineNo">910</span>      if (tableDescriptor == null) {<a name="line.910"></a>
+<span class="sourceLineNo">911</span>        // could happen with mock table instance<a name="line.911"></a>
+<span class="sourceLineNo">912</span>        // CODEREVIEW: Can I set an empty string in conf if mock table instance?<a name="line.912"></a>
+<span class="sourceLineNo">913</span>        return "";<a name="line.913"></a>
+<span class="sourceLineNo">914</span>      }<a name="line.914"></a>
+<span class="sourceLineNo">915</span>      for (ColumnFamilyDescriptor familyDescriptor : tableDescriptor.getColumnFamilies()) {<a name="line.915"></a>
+<span class="sourceLineNo">916</span>        if (i++ &gt; 0) {<a name="line.916"></a>
+<span class="sourceLineNo">917</span>          attributeValue.append('&amp;');<a name="line.917"></a>
+<span class="sourceLineNo">918</span>        }<a name="line.918"></a>
+<span class="sourceLineNo">919</span>        attributeValue.append(URLEncoder<a name="line.919"></a>
+<span class="sourceLineNo">920</span>          .encode(Bytes.toString(combineTableNameSuffix(tableDescriptor.getTableName().getName(),<a name="line.920"></a>
+<span class="sourceLineNo">921</span>            familyDescriptor.getName())), "UTF-8"));<a name="line.921"></a>
+<span class="sourceLineNo">922</span>        attributeValue.append('=');<a name="line.922"></a>
+<span class="sourceLineNo">923</span>        attributeValue.append(URLEncoder.encode(fn.apply(familyDescriptor), "UTF-8"));<a name="line.923"></a>
+<span class="sourceLineNo">924</span>      }<a name="line.924"></a>
+<span class="sourceLineNo">925</span>    }<a name="line.925"></a>
+<span class="sourceLineNo">926</span>    // Get rid of the last ampersand<a name="line.926"></a>
+<span class="sourceLineNo">927</span>    return attributeValue.toString();<a name="line.927"></a>
+<span class="sourceLineNo">928</span>  }<a name="line.928"></a>
+<span class="sourceLineNo">929</span><a name="line.929"></a>
+<span class="sourceLineNo">930</span>  /**<a name="line.930"></a>
+<span class="sourceLineNo">931</span>   * Serialize column family to compression algorithm map to configuration. Invoked while<a name="line.931"></a>
+<span class="sourceLineNo">932</span>   * configuring the MR job for incremental load.<a name="line.932"></a>
+<span class="sourceLineNo">933</span>   */<a name="line.933"></a>
+<span class="sourceLineNo">934</span>  @InterfaceAudience.Private<a name="line.934"></a>
+<span class="sourceLineNo">935</span>  static Function&lt;ColumnFamilyDescriptor, String&gt; compressionDetails =<a name="line.935"></a>
+<span class="sourceLineNo">936</span>    familyDescriptor -&gt; familyDescriptor.getCompressionType().getName();<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>   * Serialize column family to block size map to configuration. Invoked while configuring the MR<a name="line.939"></a>
+<span class="sourceLineNo">940</span>   * job for incremental load.<a name="line.940"></a>
+<span class="sourceLineNo">941</span>   */<a name="line.941"></a>
+<span class="sourceLineNo">942</span>  @InterfaceAudience.Private<a name="line.942"></a>
+<span class="sourceLineNo">943</span>  static Function&lt;ColumnFamilyDescriptor, String&gt; blockSizeDetails =<a name="line.943"></a>
+<span class="sourceLineNo">944</span>    familyDescriptor -&gt; String.valueOf(familyDescriptor.getBlocksize());<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>   * Serialize column family to bloom type map to configuration. Invoked while configuring the MR<a name="line.947"></a>
+<span class="sourceLineNo">948</span>   * job for incremental load.<a name="line.948"></a>
+<span class="sourceLineNo">949</span>   */<a name="line.949"></a>
+<span class="sourceLineNo">950</span>  @InterfaceAudience.Private<a name="line.950"></a>
+<span class="sourceLineNo">951</span>  static Function&lt;ColumnFamilyDescriptor, String&gt; bloomTypeDetails = familyDescriptor -&gt; {<a name="line.951"></a>
+<span class="sourceLineNo">952</span>    String bloomType = familyDescriptor.getBloomFilterType().toString();<a name="line.952"></a>
+<span class="sourceLineNo">953</span>    if (bloomType == null) {<a name="line.953"></a>
+<span class="sourceLineNo">954</span>      bloomType = ColumnFamilyDescriptorBuilder.DEFAULT_BLOOMFILTER.name();<a name="line.954"></a>
+<span class="sourceLineNo">955</span>    }<a name="line.955"></a>
+<span class="sourceLineNo">956</span>    return bloomType;<a name="line.956"></a>
+<span class="sourceLineNo">957</span>  };<a name="line.957"></a>
+<span class="sourceLineNo">958</span><a name="line.958"></a>
+<span class="sourceLineNo">959</span>  /**<a name="line.959"></a>
+<span class="sourceLineNo">960</span>   * Serialize column family to bloom param map to configuration. Invoked while configuring the MR<a name="line.960"></a>
+<span class="sourceLineNo">961</span>   * job for incremental load.<a name="line.961"></a>
+<span class="sourceLineNo">962</span>   */<a name="line.962"></a>
+<span class="sourceLineNo">963</span>  @InterfaceAudience.Private<a name="line.963"></a>
+<span class="sourceLineNo">964</span>  static Function&lt;ColumnFamilyDescriptor, String&gt; bloomParamDetails = familyDescriptor -&gt; {<a name="line.964"></a>
+<span class="sourceLineNo">965</span>    BloomType bloomType = familyDescriptor.getBloomFilterType();<a name="line.965"></a>
+<span class="sourceLineNo">966</span>    String bloomParam = "";<a name="line.966"></a>
+<span class="sourceLineNo">967</span>    if (bloomType == BloomType.ROWPREFIX_FIXED_LENGTH) {<a name="line.967"></a>
+<span class="sourceLineNo">968</span>      bloomParam = familyDescriptor.getConfigurationValue(BloomFilterUtil.PREFIX_LENGTH_KEY);<a name="line.968"></a>
+<span class="sourceLineNo">969</span>    }<a name="line.969"></a>
+<span class="sourceLineNo">970</span>    return bloomParam;<a name="line.970"></a>
+<span class="sourceLineNo">971</span>  };<a name="line.971"></a>
+<span class="sourceLineNo">972</span><a name="line.972"></a>
+<span class="sourceLineNo">973</span>  /**<a name="line.973"></a>
+<span class="sourceLineNo">974</span>   * Serialize column family to data block encoding map to configuration. Invoked while configuring<a name="line.974"></a>
+<span class="sourceLineNo">975</span>   * the MR job for incremental load.<a name="line.975"></a>
+<span class="sourceLineNo">976</span>   */<a name="line.976"></a>
+<span class="sourceLineNo">977</span>  @InterfaceAudience.Private<a name="line.977"></a>
+<span class="sourceLineNo">978</span>  static Function&lt;ColumnFamilyDescriptor, String&gt; dataBlockEncodingDetails = familyDescriptor -&gt; {<a name="line.978"></a>
+<span class="sourceLineNo">979</span>    DataBlockEncoding encoding = familyDescriptor.getDataBlockEncoding();<a name="line.979"></a>
+<span class="sourceLineNo">980</span>    if (encoding == null) {<a name="line.980"></a>
+<span class="sourceLineNo">981</span>      encoding = DataBlockEncoding.NONE;<a name="line.981"></a>
+<span class="sourceLineNo">982</span>    }<a name="line.982"></a>
+<span class="sourceLineNo">983</span>    return encoding.toString();<a name="line.983"></a>
+<span class="sourceLineNo">984</span>  };<a name="line.984"></a>
+<span class="sourceLineNo">985</span><a name="line.985"></a>
+<span class="sourceLineNo">986</span>}<a name="line.986"></a>
 
 
 
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/PutCombiner.html b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/PutCombiner.html
index b5ea84583ce..ed3b86cb3ef 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/PutCombiner.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/PutCombiner.html
@@ -30,76 +30,77 @@
 <span class="sourceLineNo">022</span>import java.util.Map;<a name="line.22"></a>
 <span class="sourceLineNo">023</span>import java.util.Map.Entry;<a name="line.23"></a>
 <span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.Cell;<a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.KeyValue;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.KeyValueUtil;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.client.Put;<a name="line.27"></a>
-<span class="sourceLineNo">028</span>import org.apache.hadoop.mapreduce.Reducer;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.slf4j.Logger;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.slf4j.LoggerFactory;<a name="line.31"></a>
-<span class="sourceLineNo">032</span><a name="line.32"></a>
-<span class="sourceLineNo">033</span>/**<a name="line.33"></a>
-<span class="sourceLineNo">034</span> * Combine Puts. Merges Put instances grouped by &lt;code&gt;K&lt;/code&gt; into a single instance.<a name="line.34"></a>
-<span class="sourceLineNo">035</span> * @see TableMapReduceUtil<a name="line.35"></a>
-<span class="sourceLineNo">036</span> */<a name="line.36"></a>
-<span class="sourceLineNo">037</span>@InterfaceAudience.Public<a name="line.37"></a>
-<span class="sourceLineNo">038</span>public class PutCombiner&lt;K&gt; extends Reducer&lt;K, Put, K, Put&gt; {<a name="line.38"></a>
-<span class="sourceLineNo">039</span>  private static final Logger LOG = LoggerFactory.getLogger(PutCombiner.class);<a name="line.39"></a>
-<span class="sourceLineNo">040</span><a name="line.40"></a>
-<span class="sourceLineNo">041</span>  @Override<a name="line.41"></a>
-<span class="sourceLineNo">042</span>  protected void reduce(K row, Iterable&lt;Put&gt; vals, Context context)<a name="line.42"></a>
-<span class="sourceLineNo">043</span>    throws IOException, InterruptedException {<a name="line.43"></a>
-<span class="sourceLineNo">044</span>    // Using HeapSize to create an upper bound on the memory size of<a name="line.44"></a>
-<span class="sourceLineNo">045</span>    // the puts and flush some portion of the content while looping. This<a name="line.45"></a>
-<span class="sourceLineNo">046</span>    // flush could result in multiple Puts for a single rowkey. That is<a name="line.46"></a>
-<span class="sourceLineNo">047</span>    // acceptable because Combiner is run as an optimization and it's not<a name="line.47"></a>
-<span class="sourceLineNo">048</span>    // critical that all Puts are grouped perfectly.<a name="line.48"></a>
-<span class="sourceLineNo">049</span>    long threshold =<a name="line.49"></a>
-<span class="sourceLineNo">050</span>      context.getConfiguration().getLong("putcombiner.row.threshold", 1L * (1 &lt;&lt; 30));<a name="line.50"></a>
-<span class="sourceLineNo">051</span>    int cnt = 0;<a name="line.51"></a>
-<span class="sourceLineNo">052</span>    long curSize = 0;<a name="line.52"></a>
-<span class="sourceLineNo">053</span>    Put put = null;<a name="line.53"></a>
-<span class="sourceLineNo">054</span>    Map&lt;byte[], List&lt;Cell&gt;&gt; familyMap = null;<a name="line.54"></a>
-<span class="sourceLineNo">055</span>    for (Put p : vals) {<a name="line.55"></a>
-<span class="sourceLineNo">056</span>      cnt++;<a name="line.56"></a>
-<span class="sourceLineNo">057</span>      if (put == null) {<a name="line.57"></a>
-<span class="sourceLineNo">058</span>        put = p;<a name="line.58"></a>
-<span class="sourceLineNo">059</span>        familyMap = put.getFamilyCellMap();<a name="line.59"></a>
-<span class="sourceLineNo">060</span>      } else {<a name="line.60"></a>
-<span class="sourceLineNo">061</span>        for (Entry&lt;byte[], List&lt;Cell&gt;&gt; entry : p.getFamilyCellMap().entrySet()) {<a name="line.61"></a>
-<span class="sourceLineNo">062</span>          List&lt;Cell&gt; cells = familyMap.get(entry.getKey());<a name="line.62"></a>
-<span class="sourceLineNo">063</span>          List&lt;Cell&gt; kvs = (cells != null) ? (List&lt;Cell&gt;) cells : null;<a name="line.63"></a>
-<span class="sourceLineNo">064</span>          for (Cell cell : entry.getValue()) {<a name="line.64"></a>
-<span class="sourceLineNo">065</span>            KeyValue kv = KeyValueUtil.ensureKeyValue(cell);<a name="line.65"></a>
-<span class="sourceLineNo">066</span>            curSize += kv.heapSize();<a name="line.66"></a>
-<span class="sourceLineNo">067</span>            if (kvs != null) {<a name="line.67"></a>
-<span class="sourceLineNo">068</span>              kvs.add(kv);<a name="line.68"></a>
-<span class="sourceLineNo">069</span>            }<a name="line.69"></a>
-<span class="sourceLineNo">070</span>          }<a name="line.70"></a>
-<span class="sourceLineNo">071</span>          if (cells == null) {<a name="line.71"></a>
-<span class="sourceLineNo">072</span>            familyMap.put(entry.getKey(), entry.getValue());<a name="line.72"></a>
-<span class="sourceLineNo">073</span>          }<a name="line.73"></a>
-<span class="sourceLineNo">074</span>        }<a name="line.74"></a>
-<span class="sourceLineNo">075</span>        if (cnt % 10 == 0) context.setStatus("Combine " + cnt);<a name="line.75"></a>
-<span class="sourceLineNo">076</span>        if (curSize &gt; threshold) {<a name="line.76"></a>
-<span class="sourceLineNo">077</span>          if (LOG.isDebugEnabled()) {<a name="line.77"></a>
-<span class="sourceLineNo">078</span>            LOG.debug(String.format("Combined %d Put(s) into %d.", cnt, 1));<a name="line.78"></a>
-<span class="sourceLineNo">079</span>          }<a name="line.79"></a>
-<span class="sourceLineNo">080</span>          context.write(row, put);<a name="line.80"></a>
-<span class="sourceLineNo">081</span>          put = null;<a name="line.81"></a>
-<span class="sourceLineNo">082</span>          curSize = 0;<a name="line.82"></a>
-<span class="sourceLineNo">083</span>          cnt = 0;<a name="line.83"></a>
-<span class="sourceLineNo">084</span>        }<a name="line.84"></a>
-<span class="sourceLineNo">085</span>      }<a name="line.85"></a>
-<span class="sourceLineNo">086</span>    }<a name="line.86"></a>
-<span class="sourceLineNo">087</span>    if (put != null) {<a name="line.87"></a>
-<span class="sourceLineNo">088</span>      if (LOG.isDebugEnabled()) {<a name="line.88"></a>
-<span class="sourceLineNo">089</span>        LOG.debug(String.format("Combined %d Put(s) into %d.", cnt, 1));<a name="line.89"></a>
-<span class="sourceLineNo">090</span>      }<a name="line.90"></a>
-<span class="sourceLineNo">091</span>      context.write(row, put);<a name="line.91"></a>
-<span class="sourceLineNo">092</span>    }<a name="line.92"></a>
-<span class="sourceLineNo">093</span>  }<a name="line.93"></a>
-<span class="sourceLineNo">094</span>}<a name="line.94"></a>
+<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.ExtendedCell;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.KeyValue;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.KeyValueUtil;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.client.Put;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.mapreduce.Reducer;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.slf4j.Logger;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.slf4j.LoggerFactory;<a name="line.32"></a>
+<span class="sourceLineNo">033</span><a name="line.33"></a>
+<span class="sourceLineNo">034</span>/**<a name="line.34"></a>
+<span class="sourceLineNo">035</span> * Combine Puts. Merges Put instances grouped by &lt;code&gt;K&lt;/code&gt; into a single instance.<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * @see TableMapReduceUtil<a name="line.36"></a>
+<span class="sourceLineNo">037</span> */<a name="line.37"></a>
+<span class="sourceLineNo">038</span>@InterfaceAudience.Public<a name="line.38"></a>
+<span class="sourceLineNo">039</span>public class PutCombiner&lt;K&gt; extends Reducer&lt;K, Put, K, Put&gt; {<a name="line.39"></a>
+<span class="sourceLineNo">040</span>  private static final Logger LOG = LoggerFactory.getLogger(PutCombiner.class);<a name="line.40"></a>
+<span class="sourceLineNo">041</span><a name="line.41"></a>
+<span class="sourceLineNo">042</span>  @Override<a name="line.42"></a>
+<span class="sourceLineNo">043</span>  protected void reduce(K row, Iterable&lt;Put&gt; vals, Context context)<a name="line.43"></a>
+<span class="sourceLineNo">044</span>    throws IOException, InterruptedException {<a name="line.44"></a>
+<span class="sourceLineNo">045</span>    // Using HeapSize to create an upper bound on the memory size of<a name="line.45"></a>
+<span class="sourceLineNo">046</span>    // the puts and flush some portion of the content while looping. This<a name="line.46"></a>
+<span class="sourceLineNo">047</span>    // flush could result in multiple Puts for a single rowkey. That is<a name="line.47"></a>
+<span class="sourceLineNo">048</span>    // acceptable because Combiner is run as an optimization and it's not<a name="line.48"></a>
+<span class="sourceLineNo">049</span>    // critical that all Puts are grouped perfectly.<a name="line.49"></a>
+<span class="sourceLineNo">050</span>    long threshold =<a name="line.50"></a>
+<span class="sourceLineNo">051</span>      context.getConfiguration().getLong("putcombiner.row.threshold", 1L * (1 &lt;&lt; 30));<a name="line.51"></a>
+<span class="sourceLineNo">052</span>    int cnt = 0;<a name="line.52"></a>
+<span class="sourceLineNo">053</span>    long curSize = 0;<a name="line.53"></a>
+<span class="sourceLineNo">054</span>    Put put = null;<a name="line.54"></a>
+<span class="sourceLineNo">055</span>    Map&lt;byte[], List&lt;Cell&gt;&gt; familyMap = null;<a name="line.55"></a>
+<span class="sourceLineNo">056</span>    for (Put p : vals) {<a name="line.56"></a>
+<span class="sourceLineNo">057</span>      cnt++;<a name="line.57"></a>
+<span class="sourceLineNo">058</span>      if (put == null) {<a name="line.58"></a>
+<span class="sourceLineNo">059</span>        put = p;<a name="line.59"></a>
+<span class="sourceLineNo">060</span>        familyMap = put.getFamilyCellMap();<a name="line.60"></a>
+<span class="sourceLineNo">061</span>      } else {<a name="line.61"></a>
+<span class="sourceLineNo">062</span>        for (Entry&lt;byte[], List&lt;Cell&gt;&gt; entry : p.getFamilyCellMap().entrySet()) {<a name="line.62"></a>
+<span class="sourceLineNo">063</span>          List&lt;Cell&gt; cells = familyMap.get(entry.getKey());<a name="line.63"></a>
+<span class="sourceLineNo">064</span>          List&lt;Cell&gt; kvs = (cells != null) ? (List&lt;Cell&gt;) cells : null;<a name="line.64"></a>
+<span class="sourceLineNo">065</span>          for (Cell cell : entry.getValue()) {<a name="line.65"></a>
+<span class="sourceLineNo">066</span>            KeyValue kv = KeyValueUtil.ensureKeyValue((ExtendedCell) cell);<a name="line.66"></a>
+<span class="sourceLineNo">067</span>            curSize += kv.heapSize();<a name="line.67"></a>
+<span class="sourceLineNo">068</span>            if (kvs != null) {<a name="line.68"></a>
+<span class="sourceLineNo">069</span>              kvs.add(kv);<a name="line.69"></a>
+<span class="sourceLineNo">070</span>            }<a name="line.70"></a>
+<span class="sourceLineNo">071</span>          }<a name="line.71"></a>
+<span class="sourceLineNo">072</span>          if (cells == null) {<a name="line.72"></a>
+<span class="sourceLineNo">073</span>            familyMap.put(entry.getKey(), entry.getValue());<a name="line.73"></a>
+<span class="sourceLineNo">074</span>          }<a name="line.74"></a>
+<span class="sourceLineNo">075</span>        }<a name="line.75"></a>
+<span class="sourceLineNo">076</span>        if (cnt % 10 == 0) context.setStatus("Combine " + cnt);<a name="line.76"></a>
+<span class="sourceLineNo">077</span>        if (curSize &gt; threshold) {<a name="line.77"></a>
+<span class="sourceLineNo">078</span>          if (LOG.isDebugEnabled()) {<a name="line.78"></a>
+<span class="sourceLineNo">079</span>            LOG.debug(String.format("Combined %d Put(s) into %d.", cnt, 1));<a name="line.79"></a>
+<span class="sourceLineNo">080</span>          }<a name="line.80"></a>
+<span class="sourceLineNo">081</span>          context.write(row, put);<a name="line.81"></a>
+<span class="sourceLineNo">082</span>          put = null;<a name="line.82"></a>
+<span class="sourceLineNo">083</span>          curSize = 0;<a name="line.83"></a>
+<span class="sourceLineNo">084</span>          cnt = 0;<a name="line.84"></a>
+<span class="sourceLineNo">085</span>        }<a name="line.85"></a>
+<span class="sourceLineNo">086</span>      }<a name="line.86"></a>
+<span class="sourceLineNo">087</span>    }<a name="line.87"></a>
+<span class="sourceLineNo">088</span>    if (put != null) {<a name="line.88"></a>
+<span class="sourceLineNo">089</span>      if (LOG.isDebugEnabled()) {<a name="line.89"></a>
+<span class="sourceLineNo">090</span>        LOG.debug(String.format("Combined %d Put(s) into %d.", cnt, 1));<a name="line.90"></a>
+<span class="sourceLineNo">091</span>      }<a name="line.91"></a>
+<span class="sourceLineNo">092</span>      context.write(row, put);<a name="line.92"></a>
+<span class="sourceLineNo">093</span>    }<a name="line.93"></a>
+<span class="sourceLineNo">094</span>  }<a name="line.94"></a>
+<span class="sourceLineNo">095</span>}<a name="line.95"></a>
 
 
 
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html
index b3296d57677..ed70646b471 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html
@@ -34,116 +34,117 @@
 <span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.ArrayBackedTag;<a name="line.26"></a>
 <span class="sourceLineNo">027</span>import org.apache.hadoop.hbase.Cell;<a name="line.27"></a>
 <span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.CellComparator;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.KeyValue;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.KeyValueUtil;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.Tag;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.TagType;<a name="line.32"></a>
-<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.TagUtil;<a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.client.Put;<a name="line.34"></a>
-<span class="sourceLineNo">035</span>import org.apache.hadoop.hbase.exceptions.DeserializationException;<a name="line.35"></a>
-<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.io.ImmutableBytesWritable;<a name="line.36"></a>
-<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.security.visibility.CellVisibility;<a name="line.37"></a>
-<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.38"></a>
-<span class="sourceLineNo">039</span>import org.apache.hadoop.mapreduce.Reducer;<a name="line.39"></a>
-<span class="sourceLineNo">040</span>import org.apache.hadoop.util.StringUtils;<a name="line.40"></a>
-<span class="sourceLineNo">041</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.41"></a>
-<span class="sourceLineNo">042</span><a name="line.42"></a>
-<span class="sourceLineNo">043</span>/**<a name="line.43"></a>
-<span class="sourceLineNo">044</span> * Emits sorted Puts. Reads in all Puts from passed Iterator, sorts them, then emits Puts in sorted<a name="line.44"></a>
-<span class="sourceLineNo">045</span> * order. If lots of columns per row, it will use lots of memory sorting.<a name="line.45"></a>
-<span class="sourceLineNo">046</span> * @see HFileOutputFormat2<a name="line.46"></a>
-<span class="sourceLineNo">047</span> * @see CellSortReducer<a name="line.47"></a>
-<span class="sourceLineNo">048</span> */<a name="line.48"></a>
-<span class="sourceLineNo">049</span>@InterfaceAudience.Public<a name="line.49"></a>
-<span class="sourceLineNo">050</span>public class PutSortReducer<a name="line.50"></a>
-<span class="sourceLineNo">051</span>  extends Reducer&lt;ImmutableBytesWritable, Put, ImmutableBytesWritable, KeyValue&gt; {<a name="line.51"></a>
-<span class="sourceLineNo">052</span>  // the cell creator<a name="line.52"></a>
-<span class="sourceLineNo">053</span>  private CellCreator kvCreator;<a name="line.53"></a>
-<span class="sourceLineNo">054</span><a name="line.54"></a>
-<span class="sourceLineNo">055</span>  @Override<a name="line.55"></a>
-<span class="sourceLineNo">056</span>  protected void<a name="line.56"></a>
-<span class="sourceLineNo">057</span>    setup(Reducer&lt;ImmutableBytesWritable, Put, ImmutableBytesWritable, KeyValue&gt;.Context context)<a name="line.57"></a>
-<span class="sourceLineNo">058</span>      throws IOException, InterruptedException {<a name="line.58"></a>
-<span class="sourceLineNo">059</span>    Configuration conf = context.getConfiguration();<a name="line.59"></a>
-<span class="sourceLineNo">060</span>    this.kvCreator = new CellCreator(conf);<a name="line.60"></a>
-<span class="sourceLineNo">061</span>  }<a name="line.61"></a>
-<span class="sourceLineNo">062</span><a name="line.62"></a>
-<span class="sourceLineNo">063</span>  @Override<a name="line.63"></a>
-<span class="sourceLineNo">064</span>  protected void reduce(ImmutableBytesWritable row, java.lang.Iterable&lt;Put&gt; puts,<a name="line.64"></a>
-<span class="sourceLineNo">065</span>    Reducer&lt;ImmutableBytesWritable, Put, ImmutableBytesWritable, KeyValue&gt;.Context context)<a name="line.65"></a>
-<span class="sourceLineNo">066</span>    throws java.io.IOException, InterruptedException {<a name="line.66"></a>
-<span class="sourceLineNo">067</span>    // although reduce() is called per-row, handle pathological case<a name="line.67"></a>
-<span class="sourceLineNo">068</span>    long threshold =<a name="line.68"></a>
-<span class="sourceLineNo">069</span>      context.getConfiguration().getLong("putsortreducer.row.threshold", 1L * (1 &lt;&lt; 30));<a name="line.69"></a>
-<span class="sourceLineNo">070</span>    Iterator&lt;Put&gt; iter = puts.iterator();<a name="line.70"></a>
-<span class="sourceLineNo">071</span>    while (iter.hasNext()) {<a name="line.71"></a>
-<span class="sourceLineNo">072</span>      TreeSet&lt;KeyValue&gt; map = new TreeSet&lt;&gt;(CellComparator.getInstance());<a name="line.72"></a>
-<span class="sourceLineNo">073</span>      long curSize = 0;<a name="line.73"></a>
-<span class="sourceLineNo">074</span>      // stop at the end or the RAM threshold<a name="line.74"></a>
-<span class="sourceLineNo">075</span>      List&lt;Tag&gt; tags = new ArrayList&lt;&gt;();<a name="line.75"></a>
-<span class="sourceLineNo">076</span>      while (iter.hasNext() &amp;&amp; curSize &lt; threshold) {<a name="line.76"></a>
-<span class="sourceLineNo">077</span>        // clear the tags<a name="line.77"></a>
-<span class="sourceLineNo">078</span>        tags.clear();<a name="line.78"></a>
-<span class="sourceLineNo">079</span>        Put p = iter.next();<a name="line.79"></a>
-<span class="sourceLineNo">080</span>        long t = p.getTTL();<a name="line.80"></a>
-<span class="sourceLineNo">081</span>        if (t != Long.MAX_VALUE) {<a name="line.81"></a>
-<span class="sourceLineNo">082</span>          // add TTL tag if found<a name="line.82"></a>
-<span class="sourceLineNo">083</span>          tags.add(new ArrayBackedTag(TagType.TTL_TAG_TYPE, Bytes.toBytes(t)));<a name="line.83"></a>
-<span class="sourceLineNo">084</span>        }<a name="line.84"></a>
-<span class="sourceLineNo">085</span>        byte[] acl = p.getACL();<a name="line.85"></a>
-<span class="sourceLineNo">086</span>        if (acl != null) {<a name="line.86"></a>
-<span class="sourceLineNo">087</span>          // add ACL tag if found<a name="line.87"></a>
-<span class="sourceLineNo">088</span>          tags.add(new ArrayBackedTag(TagType.ACL_TAG_TYPE, acl));<a name="line.88"></a>
-<span class="sourceLineNo">089</span>        }<a name="line.89"></a>
-<span class="sourceLineNo">090</span>        try {<a name="line.90"></a>
-<span class="sourceLineNo">091</span>          CellVisibility cellVisibility = p.getCellVisibility();<a name="line.91"></a>
-<span class="sourceLineNo">092</span>          if (cellVisibility != null) {<a name="line.92"></a>
-<span class="sourceLineNo">093</span>            // add the visibility labels if any<a name="line.93"></a>
-<span class="sourceLineNo">094</span>            tags.addAll(kvCreator.getVisibilityExpressionResolver()<a name="line.94"></a>
-<span class="sourceLineNo">095</span>              .createVisibilityExpTags(cellVisibility.getExpression()));<a name="line.95"></a>
-<span class="sourceLineNo">096</span>          }<a name="line.96"></a>
-<span class="sourceLineNo">097</span>        } catch (DeserializationException e) {<a name="line.97"></a>
-<span class="sourceLineNo">098</span>          // We just throw exception here. Should we allow other mutations to proceed by<a name="line.98"></a>
-<span class="sourceLineNo">099</span>          // just ignoring the bad one?<a name="line.99"></a>
-<span class="sourceLineNo">100</span>          throw new IOException("Invalid visibility expression found in mutation " + p, e);<a name="line.100"></a>
-<span class="sourceLineNo">101</span>        }<a name="line.101"></a>
-<span class="sourceLineNo">102</span>        for (List&lt;Cell&gt; cells : p.getFamilyCellMap().values()) {<a name="line.102"></a>
-<span class="sourceLineNo">103</span>          for (Cell cell : cells) {<a name="line.103"></a>
-<span class="sourceLineNo">104</span>            // Creating the KV which needs to be directly written to HFiles. Using the Facade<a name="line.104"></a>
-<span class="sourceLineNo">105</span>            // KVCreator for creation of kvs.<a name="line.105"></a>
-<span class="sourceLineNo">106</span>            KeyValue kv = null;<a name="line.106"></a>
-<span class="sourceLineNo">107</span>            TagUtil.carryForwardTags(tags, cell);<a name="line.107"></a>
-<span class="sourceLineNo">108</span>            if (!tags.isEmpty()) {<a name="line.108"></a>
-<span class="sourceLineNo">109</span>              kv = (KeyValue) kvCreator.create(cell.getRowArray(), cell.getRowOffset(),<a name="line.109"></a>
-<span class="sourceLineNo">110</span>                cell.getRowLength(), cell.getFamilyArray(), cell.getFamilyOffset(),<a name="line.110"></a>
-<span class="sourceLineNo">111</span>                cell.getFamilyLength(), cell.getQualifierArray(), cell.getQualifierOffset(),<a name="line.111"></a>
-<span class="sourceLineNo">112</span>                cell.getQualifierLength(), cell.getTimestamp(), cell.getValueArray(),<a name="line.112"></a>
-<span class="sourceLineNo">113</span>                cell.getValueOffset(), cell.getValueLength(), tags);<a name="line.113"></a>
-<span class="sourceLineNo">114</span>            } else {<a name="line.114"></a>
-<span class="sourceLineNo">115</span>              kv = KeyValueUtil.ensureKeyValue(cell);<a name="line.115"></a>
-<span class="sourceLineNo">116</span>            }<a name="line.116"></a>
-<span class="sourceLineNo">117</span>            if (map.add(kv)) {// don't count duplicated kv into size<a name="line.117"></a>
-<span class="sourceLineNo">118</span>              curSize += kv.heapSize();<a name="line.118"></a>
-<span class="sourceLineNo">119</span>            }<a name="line.119"></a>
-<span class="sourceLineNo">120</span>          }<a name="line.120"></a>
-<span class="sourceLineNo">121</span>        }<a name="line.121"></a>
-<span class="sourceLineNo">122</span>      }<a name="line.122"></a>
-<span class="sourceLineNo">123</span>      context.setStatus("Read " + map.size() + " entries of " + map.getClass() + "("<a name="line.123"></a>
-<span class="sourceLineNo">124</span>        + StringUtils.humanReadableInt(curSize) + ")");<a name="line.124"></a>
-<span class="sourceLineNo">125</span>      int index = 0;<a name="line.125"></a>
-<span class="sourceLineNo">126</span>      for (KeyValue kv : map) {<a name="line.126"></a>
-<span class="sourceLineNo">127</span>        context.write(row, kv);<a name="line.127"></a>
-<span class="sourceLineNo">128</span>        if (++index % 100 == 0) context.setStatus("Wrote " + index);<a name="line.128"></a>
-<span class="sourceLineNo">129</span>      }<a name="line.129"></a>
-<span class="sourceLineNo">130</span><a name="line.130"></a>
-<span class="sourceLineNo">131</span>      // if we have more entries to process<a name="line.131"></a>
-<span class="sourceLineNo">132</span>      if (iter.hasNext()) {<a name="line.132"></a>
-<span class="sourceLineNo">133</span>        // force flush because we cannot guarantee intra-row sorted order<a name="line.133"></a>
-<span class="sourceLineNo">134</span>        context.write(null, null);<a name="line.134"></a>
-<span class="sourceLineNo">135</span>      }<a name="line.135"></a>
-<span class="sourceLineNo">136</span>    }<a name="line.136"></a>
-<span class="sourceLineNo">137</span>  }<a name="line.137"></a>
-<span class="sourceLineNo">138</span>}<a name="line.138"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.ExtendedCell;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.KeyValue;<a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.KeyValueUtil;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.Tag;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.TagType;<a name="line.33"></a>
+<span class="sourceLineNo">034</span>import org.apache.hadoop.hbase.TagUtil;<a name="line.34"></a>
+<span class="sourceLineNo">035</span>import org.apache.hadoop.hbase.client.Put;<a name="line.35"></a>
+<span class="sourceLineNo">036</span>import org.apache.hadoop.hbase.exceptions.DeserializationException;<a name="line.36"></a>
+<span class="sourceLineNo">037</span>import org.apache.hadoop.hbase.io.ImmutableBytesWritable;<a name="line.37"></a>
+<span class="sourceLineNo">038</span>import org.apache.hadoop.hbase.security.visibility.CellVisibility;<a name="line.38"></a>
+<span class="sourceLineNo">039</span>import org.apache.hadoop.hbase.util.Bytes;<a name="line.39"></a>
+<span class="sourceLineNo">040</span>import org.apache.hadoop.mapreduce.Reducer;<a name="line.40"></a>
+<span class="sourceLineNo">041</span>import org.apache.hadoop.util.StringUtils;<a name="line.41"></a>
+<span class="sourceLineNo">042</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.42"></a>
+<span class="sourceLineNo">043</span><a name="line.43"></a>
+<span class="sourceLineNo">044</span>/**<a name="line.44"></a>
+<span class="sourceLineNo">045</span> * Emits sorted Puts. Reads in all Puts from passed Iterator, sorts them, then emits Puts in sorted<a name="line.45"></a>
+<span class="sourceLineNo">046</span> * order. If lots of columns per row, it will use lots of memory sorting.<a name="line.46"></a>
+<span class="sourceLineNo">047</span> * @see HFileOutputFormat2<a name="line.47"></a>
+<span class="sourceLineNo">048</span> * @see CellSortReducer<a name="line.48"></a>
+<span class="sourceLineNo">049</span> */<a name="line.49"></a>
+<span class="sourceLineNo">050</span>@InterfaceAudience.Public<a name="line.50"></a>
+<span class="sourceLineNo">051</span>public class PutSortReducer<a name="line.51"></a>
+<span class="sourceLineNo">052</span>  extends Reducer&lt;ImmutableBytesWritable, Put, ImmutableBytesWritable, KeyValue&gt; {<a name="line.52"></a>
+<span class="sourceLineNo">053</span>  // the cell creator<a name="line.53"></a>
+<span class="sourceLineNo">054</span>  private CellCreator kvCreator;<a name="line.54"></a>
+<span class="sourceLineNo">055</span><a name="line.55"></a>
+<span class="sourceLineNo">056</span>  @Override<a name="line.56"></a>
+<span class="sourceLineNo">057</span>  protected void<a name="line.57"></a>
+<span class="sourceLineNo">058</span>    setup(Reducer&lt;ImmutableBytesWritable, Put, ImmutableBytesWritable, KeyValue&gt;.Context context)<a name="line.58"></a>
+<span class="sourceLineNo">059</span>      throws IOException, InterruptedException {<a name="line.59"></a>
+<span class="sourceLineNo">060</span>    Configuration conf = context.getConfiguration();<a name="line.60"></a>
+<span class="sourceLineNo">061</span>    this.kvCreator = new CellCreator(conf);<a name="line.61"></a>
+<span class="sourceLineNo">062</span>  }<a name="line.62"></a>
+<span class="sourceLineNo">063</span><a name="line.63"></a>
+<span class="sourceLineNo">064</span>  @Override<a name="line.64"></a>
+<span class="sourceLineNo">065</span>  protected void reduce(ImmutableBytesWritable row, java.lang.Iterable&lt;Put&gt; puts,<a name="line.65"></a>
+<span class="sourceLineNo">066</span>    Reducer&lt;ImmutableBytesWritable, Put, ImmutableBytesWritable, KeyValue&gt;.Context context)<a name="line.66"></a>
+<span class="sourceLineNo">067</span>    throws java.io.IOException, InterruptedException {<a name="line.67"></a>
+<span class="sourceLineNo">068</span>    // although reduce() is called per-row, handle pathological case<a name="line.68"></a>
+<span class="sourceLineNo">069</span>    long threshold =<a name="line.69"></a>
+<span class="sourceLineNo">070</span>      context.getConfiguration().getLong("putsortreducer.row.threshold", 1L * (1 &lt;&lt; 30));<a name="line.70"></a>
+<span class="sourceLineNo">071</span>    Iterator&lt;Put&gt; iter = puts.iterator();<a name="line.71"></a>
+<span class="sourceLineNo">072</span>    while (iter.hasNext()) {<a name="line.72"></a>
+<span class="sourceLineNo">073</span>      TreeSet&lt;KeyValue&gt; map = new TreeSet&lt;&gt;(CellComparator.getInstance());<a name="line.73"></a>
+<span class="sourceLineNo">074</span>      long curSize = 0;<a name="line.74"></a>
+<span class="sourceLineNo">075</span>      // stop at the end or the RAM threshold<a name="line.75"></a>
+<span class="sourceLineNo">076</span>      List&lt;Tag&gt; tags = new ArrayList&lt;&gt;();<a name="line.76"></a>
+<span class="sourceLineNo">077</span>      while (iter.hasNext() &amp;&amp; curSize &lt; threshold) {<a name="line.77"></a>
+<span class="sourceLineNo">078</span>        // clear the tags<a name="line.78"></a>
+<span class="sourceLineNo">079</span>        tags.clear();<a name="line.79"></a>
+<span class="sourceLineNo">080</span>        Put p = iter.next();<a name="line.80"></a>
+<span class="sourceLineNo">081</span>        long t = p.getTTL();<a name="line.81"></a>
+<span class="sourceLineNo">082</span>        if (t != Long.MAX_VALUE) {<a name="line.82"></a>
+<span class="sourceLineNo">083</span>          // add TTL tag if found<a name="line.83"></a>
+<span class="sourceLineNo">084</span>          tags.add(new ArrayBackedTag(TagType.TTL_TAG_TYPE, Bytes.toBytes(t)));<a name="line.84"></a>
+<span class="sourceLineNo">085</span>        }<a name="line.85"></a>
+<span class="sourceLineNo">086</span>        byte[] acl = p.getACL();<a name="line.86"></a>
+<span class="sourceLineNo">087</span>        if (acl != null) {<a name="line.87"></a>
+<span class="sourceLineNo">088</span>          // add ACL tag if found<a name="line.88"></a>
+<span class="sourceLineNo">089</span>          tags.add(new ArrayBackedTag(TagType.ACL_TAG_TYPE, acl));<a name="line.89"></a>
+<span class="sourceLineNo">090</span>        }<a name="line.90"></a>
+<span class="sourceLineNo">091</span>        try {<a name="line.91"></a>
+<span class="sourceLineNo">092</span>          CellVisibility cellVisibility = p.getCellVisibility();<a name="line.92"></a>
+<span class="sourceLineNo">093</span>          if (cellVisibility != null) {<a name="line.93"></a>
+<span class="sourceLineNo">094</span>            // add the visibility labels if any<a name="line.94"></a>
+<span class="sourceLineNo">095</span>            tags.addAll(kvCreator.getVisibilityExpressionResolver()<a name="line.95"></a>
+<span class="sourceLineNo">096</span>              .createVisibilityExpTags(cellVisibility.getExpression()));<a name="line.96"></a>
+<span class="sourceLineNo">097</span>          }<a name="line.97"></a>
+<span class="sourceLineNo">098</span>        } catch (DeserializationException e) {<a name="line.98"></a>
+<span class="sourceLineNo">099</span>          // We just throw exception here. Should we allow other mutations to proceed by<a name="line.99"></a>
+<span class="sourceLineNo">100</span>          // just ignoring the bad one?<a name="line.100"></a>
+<span class="sourceLineNo">101</span>          throw new IOException("Invalid visibility expression found in mutation " + p, e);<a name="line.101"></a>
+<span class="sourceLineNo">102</span>        }<a name="line.102"></a>
+<span class="sourceLineNo">103</span>        for (List&lt;Cell&gt; cells : p.getFamilyCellMap().values()) {<a name="line.103"></a>
+<span class="sourceLineNo">104</span>          for (ExtendedCell cell : (List&lt;ExtendedCell&gt;) (List) cells) {<a name="line.104"></a>
+<span class="sourceLineNo">105</span>            // Creating the KV which needs to be directly written to HFiles. Using the Facade<a name="line.105"></a>
+<span class="sourceLineNo">106</span>            // KVCreator for creation of kvs.<a name="line.106"></a>
+<span class="sourceLineNo">107</span>            KeyValue kv = null;<a name="line.107"></a>
+<span class="sourceLineNo">108</span>            TagUtil.carryForwardTags(tags, cell);<a name="line.108"></a>
+<span class="sourceLineNo">109</span>            if (!tags.isEmpty()) {<a name="line.109"></a>
+<span class="sourceLineNo">110</span>              kv = (KeyValue) kvCreator.create(cell.getRowArray(), cell.getRowOffset(),<a name="line.110"></a>
+<span class="sourceLineNo">111</span>                cell.getRowLength(), cell.getFamilyArray(), cell.getFamilyOffset(),<a name="line.111"></a>
+<span class="sourceLineNo">112</span>                cell.getFamilyLength(), cell.getQualifierArray(), cell.getQualifierOffset(),<a name="line.112"></a>
+<span class="sourceLineNo">113</span>                cell.getQualifierLength(), cell.getTimestamp(), cell.getValueArray(),<a name="line.113"></a>
+<span class="sourceLineNo">114</span>                cell.getValueOffset(), cell.getValueLength(), tags);<a name="line.114"></a>
+<span class="sourceLineNo">115</span>            } else {<a name="line.115"></a>
+<span class="sourceLineNo">116</span>              kv = KeyValueUtil.ensureKeyValue(cell);<a name="line.116"></a>
+<span class="sourceLineNo">117</span>            }<a name="line.117"></a>
+<span class="sourceLineNo">118</span>            if (map.add(kv)) {// don't count duplicated kv into size<a name="line.118"></a>
+<span class="sourceLineNo">119</span>              curSize += kv.heapSize();<a name="line.119"></a>
+<span class="sourceLineNo">120</span>            }<a name="line.120"></a>
+<span class="sourceLineNo">121</span>          }<a name="line.121"></a>
+<span class="sourceLineNo">122</span>        }<a name="line.122"></a>
+<span class="sourceLineNo">123</span>      }<a name="line.123"></a>
+<span class="sourceLineNo">124</span>      context.setStatus("Read " + map.size() + " entries of " + map.getClass() + "("<a name="line.124"></a>
+<span class="sourceLineNo">125</span>        + StringUtils.humanReadableInt(curSize) + ")");<a name="line.125"></a>
+<span class="sourceLineNo">126</span>      int index = 0;<a name="line.126"></a>
+<span class="sourceLineNo">127</span>      for (KeyValue kv : map) {<a name="line.127"></a>
+<span class="sourceLineNo">128</span>        context.write(row, kv);<a name="line.128"></a>
+<span class="sourceLineNo">129</span>        if (++index % 100 == 0) context.setStatus("Wrote " + index);<a name="line.129"></a>
+<span class="sourceLineNo">130</span>      }<a name="line.130"></a>
+<span class="sourceLineNo">131</span><a name="line.131"></a>
+<span class="sourceLineNo">132</span>      // if we have more entries to process<a name="line.132"></a>
+<span class="sourceLineNo">133</span>      if (iter.hasNext()) {<a name="line.133"></a>
+<span class="sourceLineNo">134</span>        // force flush because we cannot guarantee intra-row sorted order<a name="line.134"></a>
+<span class="sourceLineNo">135</span>        context.write(null, null);<a name="line.135"></a>
+<span class="sourceLineNo">136</span>      }<a name="line.136"></a>
+<span class="sourceLineNo">137</span>    }<a name="line.137"></a>
+<span class="sourceLineNo">138</span>  }<a name="line.138"></a>
+<span class="sourceLineNo">139</span>}<a name="line.139"></a>
 
 
 
diff --git a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/TextSortReducer.html b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/TextSortReducer.html
index 857b1bde823..0ed45d356cf 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/TextSortReducer.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/TextSortReducer.html
@@ -34,8 +34,8 @@
 <span class="sourceLineNo">026</span>import java.util.TreeSet;<a name="line.26"></a>
 <span class="sourceLineNo">027</span>import org.apache.hadoop.conf.Configuration;<a name="line.27"></a>
 <span class="sourceLineNo">028</span>import org.apache.hadoop.hbase.ArrayBackedTag;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.Cell;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.CellComparator;<a name="line.30"></a>
+<span class="sourceLineNo">029</span>import org.apache.hadoop.hbase.CellComparator;<a name="line.29"></a>
+<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.ExtendedCell;<a name="line.30"></a>
 <span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.KeyValue;<a name="line.31"></a>
 <span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.KeyValueUtil;<a name="line.32"></a>
 <span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.Tag;<a name="line.33"></a>
@@ -176,10 +176,10 @@
 <span class="sourceLineNo">168</span>            }<a name="line.168"></a>
 <span class="sourceLineNo">169</span>            // Creating the KV which needs to be directly written to HFiles. Using the Facade<a name="line.169"></a>
 <span class="sourceLineNo">170</span>            // KVCreator for creation of kvs.<a name="line.170"></a>
-<span class="sourceLineNo">171</span>            Cell cell = this.kvCreator.create(lineBytes, parsed.getRowKeyOffset(),<a name="line.171"></a>
-<span class="sourceLineNo">172</span>              parsed.getRowKeyLength(), parser.getFamily(i), 0, parser.getFamily(i).length,<a name="line.172"></a>
-<span class="sourceLineNo">173</span>              parser.getQualifier(i), 0, parser.getQualifier(i).length, ts, lineBytes,<a name="line.173"></a>
-<span class="sourceLineNo">174</span>              parsed.getColumnOffset(i), parsed.getColumnLength(i), tags);<a name="line.174"></a>
+<span class="sourceLineNo">171</span>            ExtendedCell cell = (ExtendedCell) this.kvCreator.create(lineBytes,<a name="line.171"></a>
+<span class="sourceLineNo">172</span>              parsed.getRowKeyOffset(), parsed.getRowKeyLength(), parser.getFamily(i), 0,<a name="line.172"></a>
+<span class="sourceLineNo">173</span>              parser.getFamily(i).length, parser.getQualifier(i), 0, parser.getQualifier(i).length,<a name="line.173"></a>
+<span class="sourceLineNo">174</span>              ts, lineBytes, parsed.getColumnOffset(i), parsed.getColumnLength(i), tags);<a name="line.174"></a>
 <span class="sourceLineNo">175</span>            KeyValue kv = KeyValueUtil.ensureKeyValue(cell);<a name="line.175"></a>
 <span class="sourceLineNo">176</span>            kvs.add(kv);<a name="line.176"></a>
 <span class="sourceLineNo">177</span>            curSize += kv.heapSize();<a name="line.177"></a>
diff --git a/book.html b/book.html
index b04707b1936..7f37979f0c7 100644
--- a/book.html
+++ b/book.html
@@ -49305,7 +49305,7 @@ org/apache/hadoop/hbase/security/access/AccessControlClient.revoke:(Lorg/apache/
 <div id="footer">
 <div id="footer-text">
 Version 4.0.0-alpha-1-SNAPSHOT<br>
-Last updated 2024-06-20 14:31:00 UTC
+Last updated 2024-06-21 14:30:52 UTC
 </div>
 </div>
 <script type="text/x-mathjax-config">
diff --git a/bulk-loads.html b/bulk-loads.html
index 281e314882e..9c99e9da35a 100644
--- a/bulk-loads.html
+++ b/bulk-loads.html
@@ -175,7 +175,7 @@
         All other marks mentioned may be trademarks or registered trademarks of their respective owners.
       </div>
       <div style="float: right">
-        Last Published: 2024-06-20
+        Last Published: 2024-06-21
       </div>
         </div>
         <p id="poweredBy" class="pull-right"><a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"><img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" /></a>
diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html
index 2ff4169db3c..e071300993e 100644
--- a/checkstyle-aggregate.html
+++ b/checkstyle-aggregate.html
@@ -167,7 +167,7 @@
 <td>4979</td>
 <td>0</td>
 <td>0</td>
-<td>1741</td></tr></table></section><section>
+<td>1732</td></tr></table></section><section>
 <h2><a name="Files"></a>Files</h2>
 <table border="0" class="table table-striped">
 <tr class="a">
@@ -989,7 +989,7 @@
 <td><a href="#org.apache.hadoop.hbase.io.HalfStoreFileReader.java">org/apache/hadoop/hbase/io/HalfStoreFileReader.java</a></td>
 <td>0</td>
 <td>0</td>
-<td>6</td></tr>
+<td>3</td></tr>
 <tr class="a">
 <td><a href="#org.apache.hadoop.hbase.io.ImmutableBytesWritable.java">org/apache/hadoop/hbase/io/ImmutableBytesWritable.java</a></td>
 <td>0</td>
@@ -1129,7 +1129,7 @@
 <td><a href="#org.apache.hadoop.hbase.io.hfile.HFileBlockIndex.java">org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java</a></td>
 <td>0</td>
 <td>0</td>
-<td>12</td></tr>
+<td>11</td></tr>
 <tr class="a">
 <td><a href="#org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.java">org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java</a></td>
 <td>0</td>
@@ -1159,7 +1159,7 @@
 <td><a href="#org.apache.hadoop.hbase.io.hfile.NoOpIndexBlockEncoder.java">org/apache/hadoop/hbase/io/hfile/NoOpIndexBlockEncoder.java</a></td>
 <td>0</td>
 <td>0</td>
-<td>3</td></tr>
+<td>2</td></tr>
 <tr class="a">
 <td><a href="#org.apache.hadoop.hbase.io.hfile.RandomKeyValueUtil.java">org/apache/hadoop/hbase/io/hfile/RandomKeyValueUtil.java</a></td>
 <td>0</td>
@@ -2029,7 +2029,7 @@
 <td><a href="#org.apache.hadoop.hbase.regionserver.HRegion.java">org/apache/hadoop/hbase/regionserver/HRegion.java</a></td>
 <td>0</td>
 <td>0</td>
-<td>18</td></tr>
+<td>16</td></tr>
 <tr class="a">
 <td><a href="#org.apache.hadoop.hbase.regionserver.HRegionFileSystem.java">org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java</a></td>
 <td>0</td>
@@ -2189,7 +2189,7 @@
 <td><a href="#org.apache.hadoop.hbase.regionserver.TestCellFlatSet.java">org/apache/hadoop/hbase/regionserver/TestCellFlatSet.java</a></td>
 <td>0</td>
 <td>0</td>
-<td>3</td></tr>
+<td>1</td></tr>
 <tr class="a">
 <td><a href="#org.apache.hadoop.hbase.regionserver.TestCellSkipListSet.java">org/apache/hadoop/hbase/regionserver/TestCellSkipListSet.java</a></td>
 <td>0</td>
@@ -3245,7 +3245,7 @@
 <tr class="a">
 <td></td>
 <td><a class="externalLink" href="http://checkstyle.sourceforge.net/config_blocks.html#NeedBraces">NeedBraces</a></td>
-<td>920</td>
+<td>913</td>
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td></tr>
 <tr class="b">
 <td>coding</td>
@@ -3315,7 +3315,7 @@
 <tr class="a">
 <td>misc</td>
 <td><a class="externalLink" href="http://checkstyle.sourceforge.net/config_misc.html#ArrayTypeStyle">ArrayTypeStyle</a></td>
-<td>112</td>
+<td>110</td>
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td></tr>
 <tr class="b">
 <td></td>
@@ -7493,7 +7493,7 @@
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>MethodLength</td>
-<td>Method length is 178 lines (max allowed is 150).</td>
+<td>Method length is 183 lines (max allowed is 150).</td>
 <td>98</td></tr>
 <tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
@@ -7506,34 +7506,16 @@
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>108</td></tr>
-<tr class="b">
-<td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
-<td>blocks</td>
-<td>NeedBraces</td>
-<td>'if' construct must use '{}'s.</td>
-<td>114</td></tr>
-<tr class="a">
-<td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
-<td>blocks</td>
-<td>NeedBraces</td>
-<td>'if' construct must use '{}'s.</td>
-<td>121</td></tr>
-<tr class="b">
-<td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
-<td>blocks</td>
-<td>NeedBraces</td>
-<td>'if' construct must use '{}'s.</td>
-<td>128</td></tr></table></section><section>
+<td>134</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.ImmutableBytesWritable.java">org/apache/hadoop/hbase/io/ImmutableBytesWritable.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -7541,49 +7523,49 @@
 <td>139</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.Reference.java">org/apache/hadoop/hbase/io/Reference.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>162</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>209</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>210</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>211</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>214</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>215</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -7591,13 +7573,13 @@
 <td>216</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.TestByteBufferOutputStream.java">org/apache/hadoop/hbase/io/TestByteBufferOutputStream.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>imports</td>
 <td>AvoidStarImport</td>
@@ -7605,25 +7587,25 @@
 <td>20</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.TestFileLink.java">org/apache/hadoop/hbase/io/TestFileLink.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>239</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>240</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -7631,25 +7613,25 @@
 <td>347</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.TestHFileLink.java">org/apache/hadoop/hbase/io/TestHFileLink.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
 <td>Array brackets at illegal position.</td>
 <td>55</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
 <td>Array brackets at illegal position.</td>
 <td>100</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
@@ -7657,33 +7639,33 @@
 <td>111</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.TestHalfStoreFileReader.java">org/apache/hadoop/hbase/io/TestHalfStoreFileReader.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 104).</td>
-<td>267</td></tr></table></section><section>
+<td>268</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.TestHeapSize.java">org/apache/hadoop/hbase/io/TestHeapSize.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>MethodLength</td>
 <td>Method length is 177 lines (max allowed is 150).</td>
 <td>116</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>MethodLength</td>
@@ -7691,19 +7673,19 @@
 <td>299</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.TestImmutableBytesWritable.java">org/apache/hadoop/hbase/io/TestImmutableBytesWritable.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>91</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -7711,13 +7693,13 @@
 <td>92</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.asyncfs.FanOutOneBlockAsyncDFSOutputHelper.java">org/apache/hadoop/hbase/io/asyncfs/FanOutOneBlockAsyncDFSOutputHelper.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>coding</td>
 <td>InnerAssignment</td>
@@ -7725,43 +7707,43 @@
 <td>313</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.compress.Compression.java">org/apache/hadoop/hbase/io/compress/Compression.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
 <td>Array brackets at illegal position.</td>
 <td>108</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>461</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>476</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>485</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>502</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -7769,19 +7751,19 @@
 <td>505</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.crypto.Encryption.java">org/apache/hadoop/hbase/io/crypto/Encryption.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>FinalClass</td>
 <td>Class Context should be declared as final.</td>
 <td>99</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
@@ -7789,13 +7771,13 @@
 <td>409</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.crypto.aes.CryptoAES.java">org/apache/hadoop/hbase/io/crypto/aes/CryptoAES.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
@@ -7803,13 +7785,13 @@
 <td>212</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.crypto.tls.X509Util.java">org/apache/hadoop/hbase/io/crypto/tls/X509Util.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -7817,13 +7799,13 @@
 <td>555</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.encoding.CopyKeyDataBlockEncoder.java">org/apache/hadoop/hbase/io/encoding/CopyKeyDataBlockEncoder.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>FinalClass</td>
@@ -7831,13 +7813,13 @@
 <td>95</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.encoding.DiffKeyDeltaEncoder.java">org/apache/hadoop/hbase/io/encoding/DiffKeyDeltaEncoder.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>FinalClass</td>
@@ -7845,13 +7827,13 @@
 <td>389</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.encoding.FastDiffDeltaEncoder.java">org/apache/hadoop/hbase/io/encoding/FastDiffDeltaEncoder.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>FinalClass</td>
@@ -7859,13 +7841,13 @@
 <td>375</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.encoding.PrefixKeyDeltaEncoder.java">org/apache/hadoop/hbase/io/encoding/PrefixKeyDeltaEncoder.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>FinalClass</td>
@@ -7873,25 +7855,25 @@
 <td>191</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.BlockCacheUtil.java">org/apache/hadoop/hbase/io/hfile/BlockCacheUtil.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>HideUtilityClassConstructor</td>
 <td>Utility classes should not have a public or default constructor.</td>
 <td>47</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>165</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -7899,19 +7881,19 @@
 <td>324</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.BlockCachesIterator.java">org/apache/hadoop/hbase/io/hfile/BlockCachesIterator.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>39</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -7919,19 +7901,19 @@
 <td>41</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.BlockType.java">org/apache/hadoop/hbase/io/hfile/BlockType.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'for' construct must use '{}'s.</td>
 <td>155</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -7939,31 +7921,31 @@
 <td>156</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.CacheStats.java">org/apache/hadoop/hbase/io/hfile/CacheStats.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>148</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>149</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>194</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -7971,19 +7953,19 @@
 <td>195</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.CacheTestUtils.java">org/apache/hadoop/hbase/io/hfile/CacheTestUtils.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>HideUtilityClassConstructor</td>
 <td>Utility classes should not have a public or default constructor.</td>
 <td>46</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
@@ -7991,13 +7973,13 @@
 <td>230</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.CacheableDeserializerIdManager.java">org/apache/hadoop/hbase/io/hfile/CacheableDeserializerIdManager.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>HideUtilityClassConstructor</td>
@@ -8005,13 +7987,13 @@
 <td>32</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.ChecksumUtil.java">org/apache/hadoop/hbase/io/hfile/ChecksumUtil.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>HideUtilityClassConstructor</td>
@@ -8019,27 +8001,27 @@
 <td>34</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.CompoundBloomFilterWriter.java">org/apache/hadoop/hbase/io/hfile/CompoundBloomFilterWriter.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 132).</td>
-<td>238</td></tr></table></section><section>
+<td>239</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.FixedFileTrailer.java">org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -8047,13 +8029,13 @@
 <td>374</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.HFileBlock.java">org/apache/hadoop/hbase/io/hfile/HFileBlock.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>MethodLength</td>
@@ -8061,84 +8043,78 @@
 <td>1695</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.HFileBlockIndex.java">org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>HideUtilityClassConstructor</td>
 <td>Utility classes should not have a public or default constructor.</td>
-<td>61</td></tr>
-<tr class="a">
-<td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
-<td>blocks</td>
-<td>NeedBraces</td>
-<td>'if' construct must use '{}'s.</td>
-<td>385</td></tr>
+<td>62</td></tr>
 <tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>775</td></tr>
+<td>779</td></tr>
 <tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>777</td></tr>
+<td>781</td></tr>
 <tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'else' construct must use '{}'s.</td>
-<td>778</td></tr>
+<td>782</td></tr>
 <tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>1068</td></tr>
+<td>1072</td></tr>
 <tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>1102</td></tr>
+<td>1106</td></tr>
 <tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>1104</td></tr>
+<td>1108</td></tr>
 <tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>1247</td></tr>
+<td>1251</td></tr>
 <tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>1271</td></tr>
+<td>1275</td></tr>
 <tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>1459</td></tr>
+<td>1463</td></tr>
 <tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>1554</td></tr></table></section><section>
+<td>1558</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.HFilePrettyPrinter.java">org/apache/hadoop/hbase/io/hfile/HFilePrettyPrinter.java</h3>
 <table border="0" class="table table-striped">
 <tr class="b">
@@ -8294,88 +8270,82 @@
 <td>design</td>
 <td>FinalClass</td>
 <td>Class NoOpIndexBlockEncoder should be declared as final.</td>
-<td>42</td></tr>
+<td>43</td></tr>
 <tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'for' construct must use '{}'s.</td>
-<td>86</td></tr>
-<tr class="a">
-<td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
-<td>blocks</td>
-<td>NeedBraces</td>
-<td>'if' construct must use '{}'s.</td>
-<td>254</td></tr></table></section><section>
+<td>87</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.RandomKeyValueUtil.java">org/apache/hadoop/hbase/io/hfile/RandomKeyValueUtil.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>HideUtilityClassConstructor</td>
 <td>Utility classes should not have a public or default constructor.</td>
 <td>27</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>34</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>37</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>40</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'for' construct must use '{}'s.</td>
 <td>56</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>83</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'else' construct must use '{}'s.</td>
 <td>84</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'for' construct must use '{}'s.</td>
 <td>88</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>100</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'else' construct must use '{}'s.</td>
 <td>101</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -8383,13 +8353,13 @@
 <td>105</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.TestCacheConfig.java">org/apache/hadoop/hbase/io/hfile/TestCacheConfig.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -8397,19 +8367,19 @@
 <td>357</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.TestChecksum.java">org/apache/hadoop/hbase/io/hfile/TestChecksum.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'for' construct must use '{}'s.</td>
 <td>87</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -8417,13 +8387,13 @@
 <td>217</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.TestFixedFileTrailer.java">org/apache/hadoop/hbase/io/hfile/TestFixedFileTrailer.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -8431,19 +8401,19 @@
 <td>91</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks.java">org/apache/hadoop/hbase/io/hfile/TestForceCacheImportantBlocks.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>125</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -8451,31 +8421,31 @@
 <td>126</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.TestHFileBlock.java">org/apache/hadoop/hbase/io/hfile/TestHFileBlock.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>imports</td>
 <td>AvoidStarImport</td>
 <td>Using the '.*' form of import should be avoided - org.junit.Assert.*.</td>
 <td>23</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'for' construct must use '{}'s.</td>
 <td>178</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'for' construct must use '{}'s.</td>
 <td>366</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -8483,37 +8453,37 @@
 <td>842</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex.java">org/apache/hadoop/hbase/io/hfile/TestHFileBlockIndex.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
 <td>Array brackets at illegal position.</td>
 <td>347</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'while' construct must use '{}'s.</td>
 <td>356</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'for' construct must use '{}'s.</td>
 <td>373</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>643</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -8521,13 +8491,13 @@
 <td>694</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.TestHFileWriterV3.java">org/apache/hadoop/hbase/io/hfile/TestHFileWriterV3.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>MethodLength</td>
@@ -8535,217 +8505,217 @@
 <td>124</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.TestPrefetch.java">org/apache/hadoop/hbase/io/hfile/TestPrefetch.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'block' child has incorrect indentation level 6, expected level should be 8.</td>
 <td>151</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' has incorrect indentation level 6, expected level should be 8.</td>
 <td>152</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child has incorrect indentation level 10, expected level should be 12.</td>
 <td>154</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rparen' has incorrect indentation level 6, expected level should be 8.</td>
 <td>155</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child has incorrect indentation level 8, expected level should be 10.</td>
 <td>156</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rcurly' has incorrect indentation level 6, expected level should be 8.</td>
 <td>157</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'block rcurly' has incorrect indentation level 4, expected level should be 6.</td>
 <td>158</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'block' child has incorrect indentation level 6, expected level should be 8.</td>
 <td>185</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' has incorrect indentation level 6, expected level should be 8.</td>
 <td>186</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child has incorrect indentation level 10, expected level should be 12.</td>
 <td>188</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rparen' has incorrect indentation level 6, expected level should be 8.</td>
 <td>189</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' has incorrect indentation level 8, expected level should be 10.</td>
 <td>190</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child has incorrect indentation level 10, expected level should be 12.</td>
 <td>191</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rcurly' has incorrect indentation level 8, expected level should be 10.</td>
 <td>192</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'else' child has incorrect indentation level 10, expected level should be 12.</td>
 <td>193</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'else rcurly' has incorrect indentation level 8, expected level should be 10.</td>
 <td>194</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rcurly' has incorrect indentation level 6, expected level should be 8.</td>
 <td>195</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'block rcurly' has incorrect indentation level 4, expected level should be 6.</td>
 <td>196</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'block' child has incorrect indentation level 6, expected level should be 8.</td>
 <td>256</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' has incorrect indentation level 6, expected level should be 8.</td>
 <td>257</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child has incorrect indentation level 10, expected level should be 12.</td>
 <td>259</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rparen' has incorrect indentation level 6, expected level should be 8.</td>
 <td>260</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child has incorrect indentation level 8, expected level should be 10.</td>
 <td>261</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rcurly' has incorrect indentation level 6, expected level should be 8.</td>
 <td>262</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'block rcurly' has incorrect indentation level 4, expected level should be 6.</td>
 <td>263</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'block' child has incorrect indentation level 6, expected level should be 8.</td>
 <td>276</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' has incorrect indentation level 6, expected level should be 8.</td>
 <td>277</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child has incorrect indentation level 8, expected level should be 10.</td>
 <td>278</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rcurly' has incorrect indentation level 6, expected level should be 8.</td>
 <td>279</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child has incorrect indentation level 10, expected level should be 12.</td>
 <td>281</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rparen' has incorrect indentation level 6, expected level should be 8.</td>
 <td>282</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child has incorrect indentation level 8, expected level should be 10.</td>
 <td>283</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rcurly' has incorrect indentation level 6, expected level should be 8.</td>
 <td>284</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'block' child has incorrect indentation level 6, expected level should be 8.</td>
 <td>285</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
@@ -8753,49 +8723,49 @@
 <td>286</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.TestPrefetchWithBucketCache.java">org/apache/hadoop/hbase/io/hfile/TestPrefetchWithBucketCache.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'block' child has incorrect indentation level 6, expected level should be 8.</td>
 <td>280</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' has incorrect indentation level 6, expected level should be 8.</td>
 <td>281</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child has incorrect indentation level 10, expected level should be 12.</td>
 <td>283</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rparen' has incorrect indentation level 6, expected level should be 8.</td>
 <td>284</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if' child has incorrect indentation level 8, expected level should be 10.</td>
 <td>285</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
 <td>'if rcurly' has incorrect indentation level 6, expected level should be 8.</td>
 <td>286</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>indentation</td>
 <td>Indentation</td>
@@ -8803,13 +8773,13 @@
 <td>287</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingKeyRange.java">org/apache/hadoop/hbase/io/hfile/TestScannerSelectionUsingKeyRange.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>EmptyBlock</td>
@@ -8817,133 +8787,133 @@
 <td>131</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.bucket.BucketAllocator.java">org/apache/hadoop/hbase/io/hfile/bucket/BucketAllocator.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
 <td>Array brackets at illegal position.</td>
 <td>55</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'for' construct must use '{}'s.</td>
 <td>71</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>131</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>137</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>138</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>140</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>161</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>207</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>209</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>219</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>220</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>253</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>254</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
 <td>Array brackets at illegal position.</td>
 <td>291</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'for' construct must use '{}'s.</td>
 <td>300</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>301</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>325</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>426</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>462</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>470</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -8951,49 +8921,49 @@
 <td>687</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.java">org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>annotation</td>
 <td>MissingDeprecated</td>
 <td>Javadoc comment at column 62 has parse error. Missed HTML close tag 'parentEncRegion'. Sometimes it means that close tag missed for one of previous tags.</td>
 <td>568</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>1581</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'for' construct must use '{}'s.</td>
 <td>1586</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'for' construct must use '{}'s.</td>
 <td>1599</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>coding</td>
 <td>NoFinalizer</td>
 <td>Avoid using finalizer method.</td>
 <td>1631</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>1925</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9001,19 +8971,19 @@
 <td>1928</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.bucket.TestBucketCache.java">org/apache/hadoop/hbase/io/hfile/bucket/TestBucketCache.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>186</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9021,13 +8991,13 @@
 <td>862</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.hfile.bucket.TestBucketWriterThread.java">org/apache/hadoop/hbase/io/hfile/bucket/TestBucketWriterThread.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9035,25 +9005,25 @@
 <td>103</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.util.LRUDictionary.java">org/apache/hadoop/hbase/io/util/LRUDictionary.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>66</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>coding</td>
 <td>InnerAssignment</td>
 <td>Inner assignments should be avoided.</td>
 <td>132</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>coding</td>
 <td>InnerAssignment</td>
@@ -9061,19 +9031,19 @@
 <td>144</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.util.MemorySizeUtil.java">org/apache/hadoop/hbase/io/util/MemorySizeUtil.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>HideUtilityClassConstructor</td>
 <td>Utility classes should not have a public or default constructor.</td>
 <td>34</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9081,67 +9051,67 @@
 <td>137</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.io.util.StreamUtils.java">org/apache/hadoop/hbase/io/util/StreamUtils.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>HideUtilityClassConstructor</td>
 <td>Utility classes should not have a public or default constructor.</td>
 <td>38</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>coding</td>
 <td>InnerAssignment</td>
 <td>Inner assignments should be avoided.</td>
 <td>59</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>coding</td>
 <td>InnerAssignment</td>
 <td>Inner assignments should be avoided.</td>
 <td>63</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>coding</td>
 <td>InnerAssignment</td>
 <td>Inner assignments should be avoided.</td>
 <td>67</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>coding</td>
 <td>InnerAssignment</td>
 <td>Inner assignments should be avoided.</td>
 <td>71</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>coding</td>
 <td>InnerAssignment</td>
 <td>Inner assignments should be avoided.</td>
 <td>93</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>coding</td>
 <td>InnerAssignment</td>
 <td>Inner assignments should be avoided.</td>
 <td>97</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>coding</td>
 <td>InnerAssignment</td>
 <td>Inner assignments should be avoided.</td>
 <td>101</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>coding</td>
 <td>InnerAssignment</td>
 <td>Inner assignments should be avoided.</td>
 <td>105</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9149,13 +9119,13 @@
 <td>260</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.ipc.BlockingRpcConnection.java">org/apache/hadoop/hbase/ipc/BlockingRpcConnection.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9163,19 +9133,19 @@
 <td>627</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.ipc.BufferCallBeforeInitHandler.java">org/apache/hadoop/hbase/ipc/BufferCallBeforeInitHandler.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>VisibilityModifier</td>
 <td>Variable 'action' must be private and have accessor methods.</td>
 <td>50</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>VisibilityModifier</td>
@@ -9183,13 +9153,13 @@
 <td>52</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.ipc.BufferChain.java">org/apache/hadoop/hbase/ipc/BufferChain.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9197,13 +9167,13 @@
 <td>48</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.ipc.IPCUtil.java">org/apache/hadoop/hbase/ipc/IPCUtil.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>HideUtilityClassConstructor</td>
@@ -9211,31 +9181,31 @@
 <td>64</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.ipc.RpcServer.java">org/apache/hadoop/hbase/ipc/RpcServer.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>407</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>408</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>508</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9243,25 +9213,25 @@
 <td>509</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.ipc.RpcServerFactory.java">org/apache/hadoop/hbase/ipc/RpcServerFactory.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>FinalClass</td>
 <td>Class RpcServerFactory should be declared as final.</td>
 <td>33</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>60</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9269,31 +9239,31 @@
 <td>61</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.ipc.SimpleRpcServer.java">org/apache/hadoop/hbase/ipc/SimpleRpcServer.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>annotation</td>
 <td>MissingDeprecated</td>
 <td>Must include both @java.lang.Deprecated annotation and @deprecated Javadoc tag with description.</td>
 <td>72</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>220</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>223</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9301,25 +9271,25 @@
 <td>258</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.ipc.SimpleRpcServerResponder.java">org/apache/hadoop/hbase/ipc/SimpleRpcServerResponder.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>annotation</td>
 <td>MissingDeprecated</td>
 <td>Must include both @java.lang.Deprecated annotation and @deprecated Javadoc tag with description.</td>
 <td>42</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>89</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9327,13 +9297,13 @@
 <td>96</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.ipc.SimpleServerCall.java">org/apache/hadoop/hbase/ipc/SimpleServerCall.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>annotation</td>
 <td>MissingDeprecated</td>
@@ -9341,19 +9311,19 @@
 <td>37</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.ipc.SimpleServerRpcConnection.java">org/apache/hadoop/hbase/ipc/SimpleServerRpcConnection.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>annotation</td>
 <td>MissingDeprecated</td>
 <td>Must include both @java.lang.Deprecated annotation and @deprecated Javadoc tag with description.</td>
 <td>55</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9361,13 +9331,13 @@
 <td>182</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.ipc.TestRWQueueRpcExecutor.java">org/apache/hadoop/hbase/ipc/TestRWQueueRpcExecutor.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>imports</td>
 <td>AvoidStarImport</td>
@@ -9375,13 +9345,13 @@
 <td>25</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.log.HBaseMarkers.java">org/apache/hadoop/hbase/log/HBaseMarkers.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>FinalClass</td>
@@ -9389,13 +9359,13 @@
 <td>24</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapred.Driver.java">org/apache/hadoop/hbase/mapred/Driver.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>HideUtilityClassConstructor</td>
@@ -9403,19 +9373,19 @@
 <td>28</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapred.HRegionPartitioner.java">org/apache/hadoop/hbase/mapred/HRegionPartitioner.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>37</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
@@ -9423,13 +9393,13 @@
 <td>38</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapred.MultiTableSnapshotInputFormat.java">org/apache/hadoop/hbase/mapred/MultiTableSnapshotInputFormat.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -9437,19 +9407,19 @@
 <td>51</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapred.TableMapReduceUtil.java">org/apache/hadoop/hbase/mapred/TableMapReduceUtil.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>HideUtilityClassConstructor</td>
 <td>Utility classes should not have a public or default constructor.</td>
 <td>52</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -9457,31 +9427,31 @@
 <td>355</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapred.TestGroupingTableMap.java">org/apache/hadoop/hbase/mapred/TestGroupingTableMap.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>87</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>120</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>168</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9489,19 +9459,19 @@
 <td>179</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapred.TestIdentityTableMap.java">org/apache/hadoop/hbase/mapred/TestIdentityTableMap.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'for' construct must use '{}'s.</td>
 <td>57</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9509,13 +9479,13 @@
 <td>62</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapred.TestRowCounter.java">org/apache/hadoop/hbase/mapred/TestRowCounter.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9523,37 +9493,37 @@
 <td>90</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapred.TestTableInputFormat.java">org/apache/hadoop/hbase/mapred/TestTableInputFormat.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>276</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>286</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>UpperEll</td>
 <td>Should use uppercase 'L'.</td>
 <td>360</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>UpperEll</td>
 <td>Should use uppercase 'L'.</td>
 <td>364</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>UpperEll</td>
@@ -9561,25 +9531,25 @@
 <td>368</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapred.TestTableMapReduceUtil.java">org/apache/hadoop/hbase/mapred/TestTableMapReduceUtil.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>182</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>202</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9587,25 +9557,25 @@
 <td>215</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.CellCounter.java">org/apache/hadoop/hbase/mapreduce/CellCounter.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
 <td>Array brackets at illegal position.</td>
 <td>245</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>256</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9613,13 +9583,13 @@
 <td>282</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.CellSortReducer.java">org/apache/hadoop/hbase/mapreduce/CellSortReducer.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9627,31 +9597,31 @@
 <td>53</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.CopyTable.java">org/apache/hadoop/hbase/mapreduce/CopyTable.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 104).</td>
 <td>246</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 104).</td>
 <td>247</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 104).</td>
 <td>255</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -9659,13 +9629,13 @@
 <td>258</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.Driver.java">org/apache/hadoop/hbase/mapreduce/Driver.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>FinalClass</td>
@@ -9673,13 +9643,13 @@
 <td>32</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.ExportUtils.java">org/apache/hadoop/hbase/mapreduce/ExportUtils.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9687,51 +9657,51 @@
 <td>86</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.java">org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>MethodLength</td>
 <td>Method length is 275 lines (max allowed is 150).</td>
-<td>193</td></tr></table></section><section>
+<td>194</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.Import.java">org/apache/hadoop/hbase/mapreduce/Import.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>178</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>209</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>273</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>336</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9739,49 +9709,49 @@
 <td>416</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.ImportTsv.java">org/apache/hadoop/hbase/mapreduce/ImportTsv.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>394</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'else' construct must use '{}'s.</td>
 <td>395</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>636</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 101).</td>
 <td>664</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>726</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>736</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9789,19 +9759,19 @@
 <td>745</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.IntegrationTestBulkLoad.java">org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>187</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9809,19 +9779,19 @@
 <td>228</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.IntegrationTestImportTsv.java">org/apache/hadoop/hbase/mapreduce/IntegrationTestImportTsv.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>168</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9829,13 +9799,13 @@
 <td>176</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.MapreduceTestingShim.java">org/apache/hadoop/hbase/mapreduce/MapreduceTestingShim.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9843,13 +9813,13 @@
 <td>104</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.MultiTableInputFormatBase.java">org/apache/hadoop/hbase/mapreduce/MultiTableInputFormatBase.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9857,13 +9827,13 @@
 <td>158</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.MultiTableInputFormatTestBase.java">org/apache/hadoop/hbase/mapreduce/MultiTableInputFormatTestBase.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9871,13 +9841,13 @@
 <td>153</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.MultiTableOutputFormat.java">org/apache/hadoop/hbase/mapreduce/MultiTableOutputFormat.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9885,13 +9855,13 @@
 <td>132</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.MultiTableSnapshotInputFormat.java">org/apache/hadoop/hbase/mapreduce/MultiTableSnapshotInputFormat.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -9899,41 +9869,41 @@
 <td>42</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.PutCombiner.java">org/apache/hadoop/hbase/mapreduce/PutCombiner.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>75</td></tr></table></section><section>
+<td>76</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.PutSortReducer.java">org/apache/hadoop/hbase/mapreduce/PutSortReducer.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
-<td>128</td></tr></table></section><section>
+<td>129</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.ResultSerialization.java">org/apache/hadoop/hbase/mapreduce/ResultSerialization.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9941,13 +9911,13 @@
 <td>115</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.RoundRobinTableInputFormat.java">org/apache/hadoop/hbase/mapreduce/RoundRobinTableInputFormat.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>annotation</td>
 <td>MissingDeprecated</td>
@@ -9955,19 +9925,19 @@
 <td>46</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.SimpleTotalOrderPartitioner.java">org/apache/hadoop/hbase/mapreduce/SimpleTotalOrderPartitioner.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>39</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9975,13 +9945,13 @@
 <td>105</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.java">org/apache/hadoop/hbase/mapreduce/TableInputFormatBase.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -9989,49 +9959,49 @@
 <td>608</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.java">org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>HideUtilityClassConstructor</td>
 <td>Utility classes should not have a public or default constructor.</td>
 <td>74</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>174</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>175</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>879</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>880</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>929</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10039,13 +10009,13 @@
 <td>997</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.TableSnapshotInputFormat.java">org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormat.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -10053,13 +10023,13 @@
 <td>53</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.TableSnapshotInputFormatImpl.java">org/apache/hadoop/hbase/mapreduce/TableSnapshotInputFormatImpl.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>HideUtilityClassConstructor</td>
@@ -10067,13 +10037,13 @@
 <td>69</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.TestGroupingTableMapper.java">org/apache/hadoop/hbase/mapreduce/TestGroupingTableMapper.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>imports</td>
 <td>AvoidStarImport</td>
@@ -10081,91 +10051,91 @@
 <td>20</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2.java">org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat2.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
 <td>Array brackets at illegal position.</td>
 <td>198</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
 <td>Array brackets at illegal position.</td>
 <td>199</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
 <td>Array brackets at illegal position.</td>
 <td>262</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
 <td>Array brackets at illegal position.</td>
 <td>263</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>UpperEll</td>
 <td>Should use uppercase 'L'.</td>
 <td>284</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>345</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>417</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>529</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>MethodLength</td>
 <td>Method length is 169 lines (max allowed is 150).</td>
 <td>622</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>1163</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
 <td>Array brackets at illegal position.</td>
 <td>1183</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
 <td>Array brackets at illegal position.</td>
 <td>1185</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
 <td>Array brackets at illegal position.</td>
 <td>1382</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
@@ -10173,19 +10143,19 @@
 <td>1386</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.TestImportTSVWithVisibilityLabels.java">org/apache/hadoop/hbase/mapreduce/TestImportTSVWithVisibilityLabels.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>367</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10193,13 +10163,13 @@
 <td>368</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.TestRoundRobinTableInputFormat.java">org/apache/hadoop/hbase/mapreduce/TestRoundRobinTableInputFormat.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -10207,19 +10177,19 @@
 <td>106</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.TestRowCounter.java">org/apache/hadoop/hbase/mapreduce/TestRowCounter.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>71</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
@@ -10227,31 +10197,31 @@
 <td>82</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.TestTableInputFormat.java">org/apache/hadoop/hbase/mapreduce/TestTableInputFormat.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>imports</td>
 <td>AvoidStarImport</td>
 <td>Using the '.*' form of import should be avoided - org.mockito.Mockito.*.</td>
 <td>23</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>UpperEll</td>
 <td>Should use uppercase 'L'.</td>
 <td>360</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>UpperEll</td>
 <td>Should use uppercase 'L'.</td>
 <td>364</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>UpperEll</td>
@@ -10259,13 +10229,13 @@
 <td>368</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScanBase.java">org/apache/hadoop/hbase/mapreduce/TestTableInputFormatScanBase.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10273,13 +10243,13 @@
 <td>133</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.TextSortReducer.java">org/apache/hadoop/hbase/mapreduce/TextSortReducer.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10287,13 +10257,13 @@
 <td>194</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.mapreduce.replication.VerifyReplication.java">org/apache/hadoop/hbase/mapreduce/replication/VerifyReplication.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>MethodLength</td>
@@ -10301,13 +10271,13 @@
 <td>605</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.AssignmentVerificationReport.java">org/apache/hadoop/hbase/master/AssignmentVerificationReport.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>MethodLength</td>
@@ -10315,13 +10285,13 @@
 <td>85</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.ClusterSchemaServiceImpl.java">org/apache/hadoop/hbase/master/ClusterSchemaServiceImpl.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10329,49 +10299,49 @@
 <td>111</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.HMaster.java">org/apache/hadoop/hbase/master/HMaster.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>854</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>MethodLength</td>
 <td>Method length is 431 lines (max allowed is 150).</td>
 <td>954</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>2007</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>3617</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>3619</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'for' construct must use '{}'s.</td>
 <td>3760</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10379,19 +10349,19 @@
 <td>3803</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.HMasterCommandLine.java">org/apache/hadoop/hbase/master/HMasterCommandLine.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
 <td>Array brackets at illegal position.</td>
 <td>80</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10399,13 +10369,13 @@
 <td>255</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.MasterWalManager.java">org/apache/hadoop/hbase/master/MasterWalManager.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10413,13 +10383,13 @@
 <td>233</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.MockRegionServer.java">org/apache/hadoop/hbase/master/MockRegionServer.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10427,43 +10397,43 @@
 <td>258</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.RegionPlacementMaintainer.java">org/apache/hadoop/hbase/master/RegionPlacementMaintainer.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'for' construct must use '{}'s.</td>
 <td>131</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>MethodLength</td>
 <td>Method length is 246 lines (max allowed is 150).</td>
 <td>183</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>586</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>889</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>MethodLength</td>
 <td>Method length is 160 lines (max allowed is 150).</td>
 <td>898</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>misc</td>
 <td>ArrayTypeStyle</td>
@@ -10471,13 +10441,13 @@
 <td>898</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.ServerManager.java">org/apache/hadoop/hbase/master/ServerManager.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10485,13 +10455,13 @@
 <td>633</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.SnapshotOfRegionAssignmentFromMeta.java">org/apache/hadoop/hbase/master/SnapshotOfRegionAssignmentFromMeta.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10499,85 +10469,85 @@
 <td>212</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.SplitLogManager.java">org/apache/hadoop/hbase/master/SplitLogManager.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 143).</td>
 <td>157</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>VisibilityModifier</td>
 <td>Variable 'installed' must be private and have accessor methods.</td>
 <td>479</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>VisibilityModifier</td>
 <td>Variable 'done' must be private and have accessor methods.</td>
 <td>480</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>VisibilityModifier</td>
 <td>Variable 'error' must be private and have accessor methods.</td>
 <td>481</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>VisibilityModifier</td>
 <td>Variable 'isDead' must be private and have accessor methods.</td>
 <td>482</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>VisibilityModifier</td>
 <td>Variable 'last_update' must be private and have accessor methods.</td>
 <td>495</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>VisibilityModifier</td>
 <td>Variable 'last_version' must be private and have accessor methods.</td>
 <td>496</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>VisibilityModifier</td>
 <td>Variable 'cur_worker_name' must be private and have accessor methods.</td>
 <td>497</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>VisibilityModifier</td>
 <td>Variable 'batch' must be private and have accessor methods.</td>
 <td>498</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>VisibilityModifier</td>
 <td>Variable 'status' must be private and have accessor methods.</td>
 <td>499</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>VisibilityModifier</td>
 <td>Variable 'incarnation' must be private and have accessor methods.</td>
 <td>500</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>VisibilityModifier</td>
 <td>Variable 'unforcedResubmits' must be private and have accessor methods.</td>
 <td>501</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>VisibilityModifier</td>
@@ -10585,13 +10555,13 @@
 <td>502</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.TestHMasterCommandLine.java">org/apache/hadoop/hbase/master/TestHMasterCommandLine.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>imports</td>
 <td>AvoidStarImport</td>
@@ -10599,13 +10569,13 @@
 <td>20</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.TestMasterOperationsForRegionReplicas.java">org/apache/hadoop/hbase/master/TestMasterOperationsForRegionReplicas.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10613,19 +10583,19 @@
 <td>169</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.TestMasterTransitions.java">org/apache/hadoop/hbase/master/TestMasterTransitions.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>coding</td>
 <td>InnerAssignment</td>
 <td>Inner assignments should be avoided.</td>
 <td>309</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10633,31 +10603,31 @@
 <td>311</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.TestWarmupRegion.java">org/apache/hadoop/hbase/master/TestWarmupRegion.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>73</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>81</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
 <td>At-clause should have a non-empty description.</td>
 <td>89</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>javadoc</td>
 <td>NonEmptyAtclauseDescription</td>
@@ -10665,13 +10635,13 @@
 <td>119</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.assignment.AssignProcedure.java">org/apache/hadoop/hbase/master/assignment/AssignProcedure.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10679,13 +10649,13 @@
 <td>135</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.assignment.AssignmentManager.java">org/apache/hadoop/hbase/master/assignment/AssignmentManager.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -10693,31 +10663,31 @@
 <td>1509</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.assignment.RegionStateStore.java">org/apache/hadoop/hbase/master/assignment/RegionStateStore.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>152</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>155</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>159</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10725,37 +10695,37 @@
 <td>162</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.assignment.RegionStates.java">org/apache/hadoop/hbase/master/assignment/RegionStates.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>168</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>180</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>189</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>198</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10763,13 +10733,13 @@
 <td>735</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.assignment.TestAssignmentOnRSCrash.java">org/apache/hadoop/hbase/master/assignment/TestAssignmentOnRSCrash.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10777,13 +10747,13 @@
 <td>110</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.assignment.TestRegionStates.java">org/apache/hadoop/hbase/master/assignment/TestRegionStates.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10791,19 +10761,19 @@
 <td>87</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.assignment.TestSplitTableRegionProcedure.java">org/apache/hadoop/hbase/master/assignment/TestSplitTableRegionProcedure.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>207</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10811,13 +10781,13 @@
 <td>231</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.balancer.BalancerClusterState.java">org/apache/hadoop/hbase/master/balancer/BalancerClusterState.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>MethodLength</td>
@@ -10825,19 +10795,19 @@
 <td>144</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.balancer.BalancerTestBase.java">org/apache/hadoop/hbase/master/balancer/BalancerTestBase.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>337</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10845,19 +10815,19 @@
 <td>427</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.balancer.CacheAwareLoadBalancer.java">org/apache/hadoop/hbase/master/balancer/CacheAwareLoadBalancer.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 101).</td>
 <td>20</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -10865,13 +10835,13 @@
 <td>462</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.balancer.ClusterLoadState.java">org/apache/hadoop/hbase/master/balancer/ClusterLoadState.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10879,19 +10849,19 @@
 <td>48</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.balancer.RegionInfoComparator.java">org/apache/hadoop/hbase/master/balancer/RegionInfoComparator.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>33</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10899,13 +10869,13 @@
 <td>34</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.balancer.SimpleLoadBalancer.java">org/apache/hadoop/hbase/master/balancer/SimpleLoadBalancer.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>MethodLength</td>
@@ -10913,13 +10883,13 @@
 <td>255</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.balancer.TestBaseLoadBalancer.java">org/apache/hadoop/hbase/master/balancer/TestBaseLoadBalancer.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10927,19 +10897,19 @@
 <td>389</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.balancer.TestSimpleLoadBalancer.java">org/apache/hadoop/hbase/master/balancer/TestSimpleLoadBalancer.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>98</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10947,13 +10917,13 @@
 <td>150</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.balancer.TestStochasticBalancerJmxMetrics.java">org/apache/hadoop/hbase/master/balancer/TestStochasticBalancerJmxMetrics.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10961,13 +10931,13 @@
 <td>208</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.cleaner.DirScanPool.java">org/apache/hadoop/hbase/master/cleaner/DirScanPool.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>FinalClass</td>
@@ -10975,19 +10945,19 @@
 <td>35</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.cleaner.TestHFileCleaner.java">org/apache/hadoop/hbase/master/cleaner/TestHFileCleaner.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>242</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -10995,19 +10965,19 @@
 <td>244</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.http.MasterStatusServlet.java">org/apache/hadoop/hbase/master/http/MasterStatusServlet.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>72</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -11015,13 +10985,13 @@
 <td>73</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.janitor.TestCatalogJanitor.java">org/apache/hadoop/hbase/master/janitor/TestCatalogJanitor.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -11029,13 +10999,13 @@
 <td>702</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.locking.LockManager.java">org/apache/hadoop/hbase/master/locking/LockManager.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -11043,31 +11013,31 @@
 <td>235</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.locking.LockProcedure.java">org/apache/hadoop/hbase/master/locking/LockProcedure.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>207</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>210</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>237</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -11075,85 +11045,85 @@
 <td>341</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.normalizer.package-info.java">org/apache/hadoop/hbase/master/normalizer/package-info.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 103).</td>
 <td>42</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 116).</td>
 <td>43</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 103).</td>
 <td>46</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 116).</td>
 <td>47</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 127).</td>
 <td>50</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 125).</td>
 <td>51</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 115).</td>
 <td>54</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 128).</td>
 <td>55</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 101).</td>
 <td>57</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 114).</td>
 <td>58</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 127).</td>
 <td>59</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
 <td>Line is longer than 100 characters (found 107).</td>
 <td>61</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -11161,13 +11131,13 @@
 <td>62</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv.java">org/apache/hadoop/hbase/master/procedure/MasterProcedureEnv.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -11175,19 +11145,19 @@
 <td>134</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.procedure.MasterProcedureScheduler.java">org/apache/hadoop/hbase/master/procedure/MasterProcedureScheduler.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
 <td>'if' construct must use '{}'s.</td>
 <td>386</td></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -11195,19 +11165,19 @@
 <td>725</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.procedure.MasterProcedureTestingUtility.java">org/apache/hadoop/hbase/master/procedure/MasterProcedureTestingUtility.java</h3>
 <table border="0" class="table table-striped">
-<tr class="b">
+<tr class="a">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="a">
+<tr class="b">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>FinalClass</td>
 <td>Class MasterProcedureTestingUtility should be declared as final.</td>
 <td>74</td></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -11215,13 +11185,13 @@
 <td>283</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.procedure.MasterProcedureUtil.java">org/apache/hadoop/hbase/master/procedure/MasterProcedureUtil.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -11229,13 +11199,13 @@
 <td>135</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.procedure.ModifyTableProcedure.java">org/apache/hadoop/hbase/master/procedure/ModifyTableProcedure.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>LineLength</td>
@@ -11243,13 +11213,13 @@
 <td>122</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.procedure.ProcedureDescriber.java">org/apache/hadoop/hbase/master/procedure/ProcedureDescriber.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>design</td>
 <td>FinalClass</td>
@@ -11257,13 +11227,13 @@
 <td>37</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.procedure.ProcedureSyncWait.java">org/apache/hadoop/hbase/master/procedure/ProcedureSyncWait.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -11271,13 +11241,13 @@
 <td>219</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.procedure.ServerCrashProcedure.java">org/apache/hadoop/hbase/master/procedure/ServerCrashProcedure.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>sizes</td>
 <td>MethodLength</td>
@@ -11285,13 +11255,13 @@
 <td>141</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.procedure.TestMasterProcedureEvents.java">org/apache/hadoop/hbase/master/procedure/TestMasterProcedureEvents.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
 <th>Severity</th>
 <th>Category</th>
 <th>Rule</th>
 <th>Message</th>
 <th>Line</th></tr>
-<tr class="b">
+<tr class="a">
 <td><figure><img src="images/icon_error_sml.gif" alt="" /></figure>&#160;Error</td>
 <td>blocks</td>
 <td>NeedBraces</td>
@@ -11299,13 +11269,13 @@
 <td>138</td></tr></table></section><section>
 <h3 id="org.apache.hadoop.hbase.master.procedure.TestMasterProcedureSchedulerConcurrency.java">org/apache/hadoop/hbase/master/procedure/TestMasterProcedureSchedulerConcurrency.java</h3>
 <table border="0" class="table table-striped">
-<tr class="a">
+<tr class="b">
... 763265 lines suppressed ...