hbase git commit: HBASE-18796 Admin#isTableAvailable returns incorrect result before daughter regions are opened

2017-09-25 Thread achouhan
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 0068ae83b -> 1b3a745f8


HBASE-18796 Admin#isTableAvailable returns incorrect result before daughter 
regions are opened

Signed-off-by: Andrew Purtell 
Signed-off-by: Abhishek Singh Chouhan 


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

Branch: refs/heads/branch-1.3
Commit: 1b3a745f8640b52b33fec245917eb4796e7f4421
Parents: 0068ae8
Author: Abhishek Singh Chouhan 
Authored: Mon Sep 18 14:56:14 2017 +0530
Committer: Abhishek Singh Chouhan 
Committed: Mon Sep 25 19:41:15 2017 +0530

--
 .../apache/hadoop/hbase/MetaTableAccessor.java  | 13 +++-
 .../hadoop/hbase/TestMetaTableAccessor.java | 41 +
 .../TestEndToEndSplitTransaction.java   | 62 
 3 files changed, 114 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/1b3a745f/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
--
diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
index a09ff88..3f11558 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/MetaTableAccessor.java
@@ -1297,8 +1297,8 @@ public class MetaTableAccessor {
   Put putA = makePutFromRegionInfo(splitA);
   Put putB = makePutFromRegionInfo(splitB);
 
-  addLocation(putA, sn, 1, -1, splitA.getReplicaId()); //new regions, 
openSeqNum = 1 is fine.
-  addLocation(putB, sn, 1, -1, splitB.getReplicaId());
+  addSequenceNum(putA, 1, -1, splitA.getReplicaId()); //new regions, 
openSeqNum = 1 is fine.
+  addSequenceNum(putB, 1, -1, splitB.getReplicaId());
 
   // Add empty locations for region replicas of daughters so that number 
of replicas can be
   // cached whenever the primary region is looked up from meta
@@ -1540,6 +1540,15 @@ public class MetaTableAccessor {
 return p;
   }
 
+  public static Put addSequenceNum(final Put p, long openSeqNum, long time, 
int replicaId) {
+if (time <= 0) {
+  time = EnvironmentEdgeManager.currentTime();
+}
+p.addImmutable(HConstants.CATALOG_FAMILY, getSeqNumColumn(replicaId), time,
+  Bytes.toBytes(openSeqNum));
+return p;
+  }
+
   /**
* Checks whether hbase:meta contains any info:server entry.
* @param connection connection we're using

http://git-wip-us.apache.org/repos/asf/hbase/blob/1b3a745f/hbase-server/src/test/java/org/apache/hadoop/hbase/TestMetaTableAccessor.java
--
diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/TestMetaTableAccessor.java 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/TestMetaTableAccessor.java
index 3955a4c..cb2494b 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/TestMetaTableAccessor.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/TestMetaTableAccessor.java
@@ -644,5 +644,46 @@ public class TestMetaTableAccessor {
   assertTrue(prevCalls < scheduler.numPriorityCalls);
 }
   }
+
+  @Test
+  public void testEmptyMetaDaughterLocationDuringSplit() throws IOException {
+long regionId = System.currentTimeMillis();
+ServerName serverName0 = ServerName.valueOf("foo", 60010, 
random.nextLong());
+HRegionInfo parent = new HRegionInfo(TableName.valueOf("table_foo"), 
HConstants.EMPTY_START_ROW,
+HConstants.EMPTY_END_ROW, false, regionId, 0);
+HRegionInfo splitA = new HRegionInfo(TableName.valueOf("table_foo"), 
HConstants.EMPTY_START_ROW,
+Bytes.toBytes("a"), false, regionId + 1, 0);
+HRegionInfo splitB = new HRegionInfo(TableName.valueOf("table_foo"), 
Bytes.toBytes("a"),
+HConstants.EMPTY_END_ROW, false, regionId + 1, 0);
+
+Table meta = MetaTableAccessor.getMetaHTable(connection);
+try {
+  List regionInfos = Lists.newArrayList(parent);
+  MetaTableAccessor.addRegionsToMeta(connection, regionInfos, 3);
+
+  MetaTableAccessor.splitRegion(connection, parent, splitA, splitB, 
serverName0, 3);
+  Get get1 = new Get(splitA.getRegionName());
+  Result resultA = meta.get(get1);
+  Cell serverCellA = resultA.getColumnLatestCell(HConstants.CATALOG_FAMILY,
+MetaTableAccessor.getServerColumn(splitA.getReplicaId()));
+  Cell startCodeCellA = 
resultA.getColumnLatestCell(HConstants.CATALOG_FAMILY,
+MetaTableAccessor.getStartCodeColumn(splitA.getReplicaId()));
+  assertNull(serverCellA);
+   

hbase git commit: HBASE-18467 remove tabs.

2017-09-25 Thread busbey
Repository: hbase
Updated Branches:
  refs/heads/HBASE-18467 fabff5aa2 -> 7b1264a91


HBASE-18467 remove tabs.


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

Branch: refs/heads/HBASE-18467
Commit: 7b1264a91825c2d47d876a29f87bc14d344e181b
Parents: fabff5a
Author: Sean Busbey 
Authored: Mon Sep 25 09:52:22 2017 -0500
Committer: Sean Busbey 
Committed: Mon Sep 25 09:52:22 2017 -0500

--
 dev-support/Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/7b1264a9/dev-support/Jenkinsfile
--
diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 4cda58b..ad47608 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -383,7 +383,7 @@ END
} else {
   comment += "(x) *{color:red}-1 overall{color}*\n"
   // Ideally get the committer our of the change and @ mention 
them in the per-jira comment
-  comment += " Committer, please check your recent inclusion 
of a patch for this issue.\n\n"
+  comment += "Committer, please check your recent inclusion of 
a patch for this issue.\n\n"
}
echo ""
echo "[DEBUG] trying to aggregate step-wise results"
@@ -397,7 +397,7 @@ END
}
 } catch (Exception exception) {
   echo "Got exception: ${exception}"
-  echo "   ${exception.getStackTrace()}"
+  echo "${exception.getStackTrace()}"
 }
   }
 }



[14/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileWriter.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileWriter.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileWriter.html
index 5c20366..5e487cb 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileWriter.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileWriter.html
@@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.Private
-public class StoreFileWriter
+public class StoreFileWriter
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 implements CellSink, ShipperListener
 A StoreFile writer.  Use this to read/write HBase Store 
Files. It is package
@@ -388,7 +388,7 @@ implements 
 
 LOG
-private static final org.apache.commons.logging.Log LOG
+private static final org.apache.commons.logging.Log LOG
 
 
 
@@ -397,7 +397,7 @@ implements 
 
 dash
-private static final http://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html?is-external=true";
 title="class or interface in java.util.regex">Pattern dash
+private static final http://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html?is-external=true";
 title="class or interface in java.util.regex">Pattern dash
 
 
 
@@ -406,7 +406,7 @@ implements 
 
 generalBloomFilterWriter
-private final BloomFilterWriter generalBloomFilterWriter
+private final BloomFilterWriter generalBloomFilterWriter
 
 
 
@@ -415,7 +415,7 @@ implements 
 
 deleteFamilyBloomFilterWriter
-private final BloomFilterWriter deleteFamilyBloomFilterWriter
+private final BloomFilterWriter deleteFamilyBloomFilterWriter
 
 
 
@@ -424,7 +424,7 @@ implements 
 
 bloomType
-private final BloomType bloomType
+private final BloomType bloomType
 
 
 
@@ -433,7 +433,7 @@ implements 
 
 earliestPutTs
-private long earliestPutTs
+private long earliestPutTs
 
 
 
@@ -442,7 +442,7 @@ implements 
 
 deleteFamilyCnt
-private long deleteFamilyCnt
+private long deleteFamilyCnt
 
 
 
@@ -451,7 +451,7 @@ implements 
 
 bloomContext
-private BloomContext bloomContext
+private BloomContext bloomContext
 
 
 
@@ -460,7 +460,7 @@ implements 
 
 deleteFamilyBloomContext
-private BloomContext deleteFamilyBloomContext
+private BloomContext deleteFamilyBloomContext
 
 
 
@@ -469,7 +469,7 @@ implements 
 
 timeRangeTrackerSet
-private final boolean timeRangeTrackerSet
+private final boolean timeRangeTrackerSet
 timeRangeTrackerSet is used to figure if we were passed a 
filled-out TimeRangeTracker or not.
  When flushing a memstore, we set the TimeRangeTracker that it accumulated 
during updates to
  memstore in here into this Writer and use this variable to indicate that we 
do not need to
@@ -483,7 +483,7 @@ implements 
 
 timeRangeTracker
-final TimeRangeTracker timeRangeTracker
+final TimeRangeTracker timeRangeTracker
 
 
 
@@ -492,7 +492,7 @@ implements 
 
 writer
-protected HFile.Writer writer
+protected HFile.Writer writer
 
 
 
@@ -509,7 +509,7 @@ implements 
 
 StoreFileWriter
-StoreFileWriter(org.apache.hadoop.fs.FileSystem fs,
+StoreFileWriter(org.apache.hadoop.fs.FileSystem fs,
 org.apache.hadoop.fs.Path path,
 org.apache.hadoop.conf.Configuration conf,
 CacheConfig cacheConf,
@@ -543,7 +543,7 @@ implements 
 
 StoreFileWriter
-private StoreFileWriter(org.apache.hadoop.fs.FileSystem fs,
+private StoreFileWriter(org.apache.hadoop.fs.FileSystem fs,
 org.apache.hadoop.fs.Path path,
 org.apache.hadoop.conf.Configuration conf,
 CacheConfig cacheConf,
@@ -588,7 +588,7 @@ implements 
 
 appendMetadata
-public void appendMetadata(long maxSequenceId,
+public void appendMetadata(long maxSequenceId,
boolean majorCompaction)
 throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 Writes meta data.
@@ -608,7 +608,7 @@ implements 
 
 appendMetadata
-public void appendMetadata(long maxSequenceId,
+public void appendMetadata(long maxSequenceId,
boolean majorCompaction,
long mobCellsCount)
 throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
@@ -630,7 +630,7 @@ implements 
 
 appendTrackedTimestampsToMetadata
-public void appendTrackedTimestampsToMetadata()
+public void appendTrackedTimestampsToMetadata()
throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 Add TimestampRange and

[28/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/DefaultStoreFileManager.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/DefaultStoreFileManager.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/DefaultStoreFileManager.html
index ff23b32..40244c8 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/DefaultStoreFileManager.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/DefaultStoreFileManager.html
@@ -18,7 +18,7 @@
 catch(err) {
 }
 //-->
-var methods = 
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10};
+var methods = 
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance 
Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.Private
-class DefaultStoreFileManager
+class DefaultStoreFileManager
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 implements StoreFileManager
 Default implementation of StoreFileManager. Not 
thread-safe.
@@ -141,30 +141,30 @@ implements blockingFileCount 
 
 
+private CellComparator
+cellComparator 
+
+
 private CompactionConfiguration
 comConf 
 
-
-private http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
+
+private 
org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList
 compactedfiles
 List of compacted files inside this store that needs to be 
excluded in reads
  because further new reads will be using only the newly created files out of 
compaction.
 
 
-
-private CellComparator
-kvComparator 
-
 
 private static 
org.apache.commons.logging.Log
 LOG 
 
 
-private http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true";
 title="class or interface in java.util">Comparator
+private http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true";
 title="class or interface in java.util">Comparator
 storeFileComparator 
 
 
-private 
org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList
+private 
org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList
 storefiles
 List of store files inside this store.
 
@@ -184,8 +184,8 @@ implements Constructor and Description
 
 
-DefaultStoreFileManager(CellComparator kvComparator,
-   http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true";
 title="class or interface in java.util">Comparator storeFileComparator,
+DefaultStoreFileManager(CellComparator cellComparator,
+   http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true";
 title="class or interface in java.util">Comparator storeFileComparator,
org.apache.hadoop.conf.Configuration conf,
CompactionConfiguration comConf) 
 
@@ -206,31 +206,31 @@ implements 
 void
-addCompactionResults(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection newCompactedfiles,
-http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection results)
+addCompactionResults(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection newCompactedfiles,
+http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection results)
 Adds only the new compaction results into the 
structure.
 
 
 
-http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection
+http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection
 clearCompactedFiles()
 Clears all the compacted files and returns them.
 
 
 
-org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableCollection
+org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableCollection
 clearFiles()
 Clears all the files currently in use and returns 
them.
 
 
 
-http://docs.oracle.com/j

[32/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/mob/MobFile.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/mob/MobFile.html 
b/devapidocs/org/apache/hadoop/hbase/mob/MobFile.html
index a9d277c..213175c 100644
--- a/devapidocs/org/apache/hadoop/hbase/mob/MobFile.html
+++ b/devapidocs/org/apache/hadoop/hbase/mob/MobFile.html
@@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.Private
-public class MobFile
+public class MobFile
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 The mob file.
 
@@ -136,7 +136,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 Field and Description
 
 
-private StoreFile
+private HStoreFile
 sf 
 
 
@@ -160,7 +160,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 protected 
-MobFile(StoreFile sf) 
+MobFile(HStoreFile sf) 
 
 
 
@@ -253,7 +253,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 sf
-private StoreFile sf
+private HStoreFile sf
 
 
 
@@ -270,16 +270,16 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 MobFile
-protected MobFile()
+protected MobFile()
 
 
-
+
 
 
 
 
 MobFile
-protected MobFile(StoreFile sf)
+protected MobFile(HStoreFile sf)
 
 
 
@@ -296,7 +296,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 getScanner
-public StoreFileScanner getScanner()
+public StoreFileScanner getScanner()
 throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 Internal use only. This is used by the sweeper.
 
@@ -313,7 +313,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 readCell
-public Cell readCell(Cell search,
+public Cell readCell(Cell search,
  boolean cacheMobBlocks)
   throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 Reads a cell from the mob file.
@@ -334,7 +334,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 readCell
-public Cell readCell(Cell search,
+public Cell readCell(Cell search,
  boolean cacheMobBlocks,
  long readPt)
   throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
@@ -357,7 +357,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 getFileName
-public http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String getFileName()
+public http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String getFileName()
 Gets the file name.
 
 Returns:
@@ -371,7 +371,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 open
-public void open()
+public void open()
   throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 Opens the underlying reader.
  It's not thread-safe. Use MobFileCache.openFile() instead.
@@ -387,7 +387,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 close
-public void close()
+public void close()
throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 Closes the underlying reader, but do no evict blocks 
belonging to this file.
  It's not thread-safe. Use MobFileCache.closeFile() instead.
@@ -403,7 +403,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 create
-public static MobFile create(org.apache.hadoop.fs.FileSystem fs,
+public static MobFile create(org.apache.hadoop.fs.FileSystem fs,
  org.apache.hadoop.fs.Path path,
  org.apache.hadoop.conf.Configuration conf,
  CacheConfig cacheConf)

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/mob/MobStoreEngine.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/mob/MobStoreEngine.html 
b/devapidocs/org/apache/hadoop/hbase/mob/MobStoreEngine.html
index fed1668..0ab57a0 100644
--- a/devapidocs/org/apache/hadoop/hbase/mob/MobStoreEngine.html
+++ b/devapidocs/org/apache/hadoop/hbase/mob/MobStoreEngine.html
@@ -182,15 +182,15 @@ extends 
 protected void
-createCompactor(org.apache.hadoop.conf.Configuration conf

[07/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/ImmutableSegment.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/ImmutableSegment.html
 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/ImmutableSegment.html
index 5e04f99..ba6e2c0 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/ImmutableSegment.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/ImmutableSegment.html
@@ -343,10 +343,10 @@
  http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List segments) 
 
 
-MemStoreCompactorSegmentsIterator(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List segments,
+MemStoreCompactorSegmentsIterator(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List segments,
  CellComparator comparator,
  int compactionKVMax,
- Store store) 
+ HStore store) 
 
 
 MemStoreMergerSegmentsIterator(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List segments,

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/InternalScanner.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/InternalScanner.html
 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/InternalScanner.html
index 7617d79..63af021 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/InternalScanner.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/InternalScanner.html
@@ -510,7 +510,7 @@
 
 
 InternalScanner
-RegionCoprocessorHost.preCompact(Store store,
+RegionCoprocessorHost.preCompact(HStore store,
   InternalScanner scanner,
   ScanType scanType,
   CompactionLifeCycleTracker tracker,
@@ -520,7 +520,7 @@
 
 
 InternalScanner
-RegionCoprocessorHost.preCompactScannerOpen(Store store,
+RegionCoprocessorHost.preCompactScannerOpen(HStore store,
  http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners,
  ScanType scanType,
  long earliestPutTs,
@@ -534,14 +534,14 @@
 
 
 InternalScanner
-RegionCoprocessorHost.preFlush(Store store,
+RegionCoprocessorHost.preFlush(HStore store,
 InternalScanner scanner)
 Invoked before a memstore flush
 
 
 
 InternalScanner
-RegionCoprocessorHost.preFlushScannerOpen(Store store,
+RegionCoprocessorHost.preFlushScannerOpen(HStore store,
http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners,
long readPoint)
 See
@@ -587,7 +587,7 @@
 
 
 InternalScanner
-RegionCoprocessorHost.preCompact(Store store,
+RegionCoprocessorHost.preCompact(HStore store,
   InternalScanner scanner,
   ScanType scanType,
   CompactionLifeCycleTracker tracker,
@@ -597,7 +597,7 @@
 
 
 InternalScanner
-RegionCoprocessorHost.preFlush(Store store,
+RegionCoprocessorHost.preFlush(HStore store,
 InternalScanner scanner)
 Invoked before a memstore flush
 
@@ -627,22 +627,8 @@
 
 
 
-InternalScanner
-Compactor.InternalScannerFactory.createScanner(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners,
- ScanType scanType,
- Compactor.FileDetails fd,
- long smallestReadPoint) 
-
-
-InternalScanner
-StripeCompactor.StripeInternalScannerFactory.createScanner(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners,
- ScanType scanType,
- Compactor.FileDetails fd,
- long smallestReadPoint) 
-
-
 protected InternalScanner
-Compactor.createScanner(Store store,
+Compactor.createScanner(HStore store,
  http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners,
  long smallestReadPoint,
  long earliestPutTs,
@@ -651,13 +637,27 @@
 
 
 protected InternalScanner
-Compactor.createScanner(Store store,
+Compactor

[23/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html
index ea8bcaf..bc55a4d 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.html
@@ -18,7 +18,7 @@
 catch(err) {
 }
 //-->
-var methods = 
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":9,"i15":10,"i16":9,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":9,"i24":9,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":9,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":9,"i43":10,"i44":10,"i45":10,"i46":10,"i47":9,"i48":10,"i49":10,"i50":9,"i51":9,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":9,"i59":10,"i60":9,"i61":10,"i62":10};
+var methods = 
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":9,"i14":10,"i15":9,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":9,"i23":9,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":9,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":9,"i42":10,"i43":10,"i44":10,"i45":10,"i46":9,"i47":10,"i48":10,"i49":9,"i50":9,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":9,"i58":10,"i59":9,"i60":10,"i61":10};
 var tabs = {65535:["t0","All Methods"],1:["t1","Static 
Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -314,18 +314,12 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 
-(package private) void
-commitStoreFiles(http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">MapList> storeFiles)
-Moves multiple store files to the relative region's family 
store directory.
-
-
-
 (package private) boolean
 createDir(org.apache.hadoop.fs.Path dir)
 Creates a directory.
 
 
-
+
 private static boolean
 createDirOnFileSystem(org.apache.hadoop.fs.FileSystem fs,
  org.apache.hadoop.conf.Configuration conf,
@@ -333,13 +327,13 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 Creates a directory for a filesystem and configuration 
object.
 
 
-
+
 void
 createMergesDir()
 Create the region merges directory.
 
 
-
+
 static HRegionFileSystem
 createRegionOnFileSystem(org.apache.hadoop.conf.Configuration conf,
 org.apache.hadoop.fs.FileSystem fs,
@@ -348,43 +342,43 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 Create a new Region on file-system.
 
 
-
+
 void
 createSplitsDir()
 Create the region splits directory.
 
 
-
+
 (package private) 
org.apache.hadoop.fs.Path
 createStoreDir(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String familyName)
 Create the store directory for the specified family 
name
 
 
-
+
 org.apache.hadoop.fs.Path
 createTempName()
 Generate a unique temporary Path.
 
 
-
+
 org.apache.hadoop.fs.Path
 createTempName(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String suffix)
 Generate a unique temporary Path.
 
 
-
+
 (package private) boolean
 deleteDir(org.apache.hadoop.fs.Path dir)
 Deletes a directory.
 
 
-
+
 void
 deleteFamily(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String familyName)
 Remove the region family from disk, archiving the store 
files.
 
 
-
+
 static void
 deleteRegionFromFileSystem(org.apache.hadoop.conf.Configuration conf,
   org.apache.hadoop.fs.FileSystem fs,
@@ -393,96 +387,96 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 Remove the region from the table directory, archiving the 
region's hfiles.
 
 
-
+
 private static http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String
 generateUniqueName(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String suffix)
 Generate a unique file name, used by createTempName() and 
commitStoreFile()
 
 
-
+
 http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or inter

[27/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/HMobStore.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/HMobStore.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/HMobStore.html
index 9cf3400..29b35d8 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/HMobStore.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HMobStore.html
@@ -302,7 +302,7 @@ extends 
 protected StoreEngine
-createStoreEngine(Store store,
+createStoreEngine(HStore store,
  org.apache.hadoop.conf.Configuration conf,
  CellComparator cellComparator)
 Creates the mob store engine.
@@ -472,7 +472,7 @@ extends HStore
-add,
 add,
 addChangedReaderObserver,
 areWritesEnabled,
 assertBulkLoadHFileOk,
 bulkLoadHFile,
 bulkLoadHFile,
 cancelRequestedCompaction,
 canSplit,
 close,
 closeAndArchiveCompactedFiles,
 compact,
 compact,
 compactRecentForTestingAssumingDefaultPolicy,
 completeCompaction,
 createFlushContext,
 createWriterInTmp,
 createWriterInTmp,
 createWriterInTmp,
 deleteChangedReaderObserver,
 deregisterChildren,
 determineTTLFromFamily,
 flushCache, 
getAvgStoreFileAge,
 getBlockingFileCount,
 getBytesPerChecksum,
 getCacheConfig,
 getChecksumType,
 getCloseCheckInterval,
 getColumnFamilyDescriptor,
 
 getColumnFamilyName,
 getCompactedCellsCount,
 getCompactedCellsSize,
 getCompactedFiles,
 getCompactedFilesCount,
 getCompactionCheckMultiplier,
 getCompactionPressure,
 getCompactionProgr
 ess, getCompactPriority,
 getComparator,
 getCoprocessorHost,
 getDataBlockEncoder,
 getFileSystem,
 getFlushableSize,
 getFlushedCellsCount,
 getFlushedCellsSize,
 getFlushedOutputFileSize, 
getHFilesSize,
 getHRegion,
 getLastCompactSize,
 getMajorCompactedCellsCount,
 getMajorCompactedCellsSize,
 getMaxMemstoreTS,
 getMaxSequenceId,
 getMaxStoreFileAge, getMemstoreFlushSize,
 getMemStoreSize,
 getMinStoreFileAge,
 getNumHFiles,
 getNumReferenceFiles,
 getOffPeakHours,
 getRegionFileSystem,
 getRegionInfo,
 getScanInfo, getScanner,
 getScanners,
 getScanners,
 getSize,
 getSizeOfMemStore,
 getSizeOfSnapshot, getSizeToFlush,
 getSmallestReadPoint,
 getSnapshotSize,
 getSplitPoint,
 getStoreEngine,
 getStorefiles,
 getStorefilesCount,
 getStorefilesIndexSize,
 getStorefilesSize,
 getStoreFileTtl,
 getStoreHomedir,
 getStoreHomedir,
 getStoreSizeUncompressed,
 getTableName,
 getTotalStaticBloomSize,
 getTotalStaticIndexSize, hasReferences,
 hasTooManyStoreFiles,
 heapSize,
 isMajorCompaction,
 isPrimaryReplicaStore,
 isSloppyMemstore,
 moveFileIntoPlace,
 needsCompaction,
 onConfigurationChange,
 postSnapshotOperation,
 preBulkLoadHFile,
 preFlushSeqIDEstimation,
 preSnapshotOperation,
 recreateScanners,
 refreshStoreFiles, refreshStoreFiles,
 registerChildren,
 replaceStoreFiles,
 replayCompactionMarker,
 requestCompaction,
 setDataBlockEncoderInTest,
 setScanInfo,
 snapshot,
 startReplayingFromWAL,
 stopReplayingFromWAL,
 throttleCompaction,
 timeOfOldestEdit,
 toString,
 triggerMajorCompaction,
 upsert,
 versionsToReturn
+add,
 add,
 addChangedReaderObserver,
 areWritesEnabled,
 assertBulkLoadHFileOk,
 bulkLoadHFile,
 bulkLoadHFile,
 cancelRequestedCompaction,
 canSplit,
 close,
 closeAndArchiveCompactedFiles,
 compact,
 compact,
 compactRecentForTestingAssumingDefaultPolicy,
 completeCompaction,
 createFlushContext,
 createWriterInTmp,
 createWriterInTmp,
 createWriterInTmp,
 deleteChangedReaderObserver,
 deregisterChildren,
 determineTTLFromFamily,
 flushCache, 
getAvgStoreFileAge,
 getBlockingFileCount,
 getBytesPerChecksum,
 getCacheConfig,
 getChecksumType,
 getCloseCheckInterval,
 getColumnFamilyDescriptor,
 
 getColumnFamilyName,
 getCompactedCellsCount,
 getCompactedCellsSize,
 getCompactedFiles,
 getCompactedFilesCount,
 getCompactionCheckMultiplier,
 getCompactionPressure,
 getCompactionProgr
 ess, getCompactPriority,
 getComparator,
 getCoprocessorHost,
 getDataBlockEncoder,
 getFileSystem,
 getFlushableSize,
 getFlushedCellsCount,
 getFlushedCellsSize,
 getFlushedOutputFileSize, 
getHFilesSize,
 getHRegion,
 getLastCompactSize,
 getMajorCompactedCellsCount,
 getMajorCompactedCellsSize,
 getMaxMemstoreTS,
 getMaxSequenceId,
 getMaxStoreFileAge, getMemstoreFlushSize,
 getMemStoreSize,
 getMinStoreFileAge,
 getNumHFiles,
 getNumReferenceFiles,
 getOffPeakHours,
 getRegionFileSystem,
 getRegionInfo,
 getScanInfo, getScanner,
 getScanners,
 getScanners,
 getScanners,
 getScanners,
 getSize,
 getSizeOfMemStore,
 getSizeOfSnapshot,
 getSizeToFlush,
 getSmallestReadPoint,
 getSnapshotSize,
 getSplitPoint,
 getStoreEngine,
 getStorefiles,
 getStorefilesCount,
 getStorefilesIndexSize,
 getStorefilesSize,
 getStoreFileTtl,
 getStoreHomedir,
 
 getStoreHomedir, getStoreSizeUncompressed,
 getTableName,
 getTotalStaticBloomSize,
 getTotalStaticIndexSize,
 hasReferences,
 hasTooManyStoreFiles,
 heapSize,
 isMajorCompaction,
 isPri

[10/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFileManager.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFileManager.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFileManager.html
index 95ebd76..a65aad3 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFileManager.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFileManager.html
@@ -18,7 +18,7 @@
 catch(err) {
 }
 //-->
-var methods = 
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":9,"i32":10,"i33":9,"i34":9,"i35":9,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10};
+var methods = 
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":9,"i31":10,"i32":9,"i33":9,"i34":9,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10};
 var tabs = {65535:["t0","All Methods"],1:["t1","Static 
Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -195,11 +195,11 @@ implements config 
 
 
-private http://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html?is-external=true";
 title="class or interface in java.util">HashMap
+private http://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html?is-external=true";
 title="class or interface in java.util">HashMap
 fileEnds 
 
 
-private http://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html?is-external=true";
 title="class or interface in java.util">HashMap
+private http://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html?is-external=true";
 title="class or interface in java.util">HashMap
 fileStarts
 Cached file metadata (or overrides as the case may be)
 
@@ -279,19 +279,19 @@ implements 
 void
-addCompactionResults(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection compactedFiles,
-http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection results)
+addCompactionResults(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection compactedFiles,
+http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection results)
 Adds only the new compaction results into the 
structure.
 
 
 
-org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableCollection
+org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableCollection
 clearCompactedFiles()
 Clears all the compacted files and returns them.
 
 
 
-org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableCollection
+org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableCollection
 clearFiles()
 Clears all the files currently in use and returns 
them.
 
@@ -302,23 +302,23 @@ implements 
 private byte[]
-endOf(StoreFile sf) 
+endOf(HStoreFile sf) 
 
 
 private void
-ensureEdgeStripeMetadata(http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true";
 title="class or interface in java.util">ArrayList stripe,
+ensureEdgeStripeMetadata(http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true";
 title="class or interface in java.util">ArrayList stripe,
 boolean isFirst) 
 
 
 private void
-ensureLevel0Metadata(StoreFile sf) 
+ensureLevel0Metadata(HStoreFile sf) 
 
 
-private http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection
-findExpiredFiles(org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList stripe,
+private http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection
+findExpiredFiles(org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList stripe,
 long maxTs,
-http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-ext

[45/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/backup/HFileArchiver.FileableStoreFile.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/backup/HFileArchiver.FileableStoreFile.html
 
b/devapidocs/org/apache/hadoop/hbase/backup/HFileArchiver.FileableStoreFile.html
index 83c8628..aec2720 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/backup/HFileArchiver.FileableStoreFile.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/backup/HFileArchiver.FileableStoreFile.html
@@ -120,7 +120,7 @@ var activeTableTab = "activeTableTab";
 
 private static class HFileArchiver.FileableStoreFile
 extends HFileArchiver.File
-HFileArchiver.File adapter for 
a StoreFile living on a 
FileSystem
+HFileArchiver.File adapter for 
a HStoreFile living on a 
FileSystem
  .
 
 
@@ -141,7 +141,7 @@ extends Field and Description
 
 
-(package private) StoreFile
+(package private) HStoreFile
 file 
 
 
@@ -166,8 +166,8 @@ extends Constructor and Description
 
 
-FileableStoreFile(org.apache.hadoop.fs.FileSystem fs,
- StoreFile store) 
+FileableStoreFile(org.apache.hadoop.fs.FileSystem fs,
+ HStoreFile store) 
 
 
 
@@ -249,7 +249,7 @@ extends 
 
 file
-StoreFile file
+HStoreFile file
 
 
 
@@ -260,14 +260,14 @@ extends 
+
 
 
 
 
 FileableStoreFile
 public FileableStoreFile(org.apache.hadoop.fs.FileSystem fs,
- StoreFile store)
+ HStoreFile store)
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/backup/HFileArchiver.StoreToFile.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/backup/HFileArchiver.StoreToFile.html 
b/devapidocs/org/apache/hadoop/hbase/backup/HFileArchiver.StoreToFile.html
index f835c0d..963d200 100644
--- a/devapidocs/org/apache/hadoop/hbase/backup/HFileArchiver.StoreToFile.html
+++ b/devapidocs/org/apache/hadoop/hbase/backup/HFileArchiver.StoreToFile.html
@@ -100,7 +100,7 @@ var activeTableTab = "activeTableTab";
 http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">java.lang.Object
 
 
-org.apache.hadoop.hbase.backup.HFileArchiver.FileConverter
+org.apache.hadoop.hbase.backup.HFileArchiver.FileConverter
 
 
 org.apache.hadoop.hbase.backup.HFileArchiver.StoreToFile
@@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab";
 
 
 All Implemented Interfaces:
-http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true";
 title="class or interface in java.util.function">Function
+http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true";
 title="class or interface in java.util.function">Function
 
 
 Enclosing class:
@@ -123,8 +123,8 @@ var activeTableTab = "activeTableTab";
 
 
 private static class HFileArchiver.StoreToFile
-extends HFileArchiver.FileConverter
-Convert the StoreFile into something 
we can manage in the archive
+extends HFileArchiver.FileConverter
+Convert the HStoreFile into 
something we can manage in the archive
  methods
 
 
@@ -178,7 +178,7 @@ extends 
 HFileArchiver.File
-apply(StoreFile input) 
+apply(HStoreFile input) 
 
 
 
@@ -233,13 +233,13 @@ extends 
+
 
 
 
 
 apply
-public HFileArchiver.File apply(StoreFile input)
+public HFileArchiver.File apply(HStoreFile input)
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/backup/HFileArchiver.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/backup/HFileArchiver.html 
b/devapidocs/org/apache/hadoop/hbase/backup/HFileArchiver.html
index fbe2e10..9be298a 100644
--- a/devapidocs/org/apache/hadoop/hbase/backup/HFileArchiver.html
+++ b/devapidocs/org/apache/hadoop/hbase/backup/HFileArchiver.html
@@ -112,7 +112,7 @@ var activeTableTab = "activeTableTab";
 @InterfaceAudience.Private
 public class HFileArchiver
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
-Utility class to handle the removal of HFiles (or the 
respective StoreFiles)
+Utility class to handle the removal of HFiles (or the 
respective StoreFiles)
  for a HRegion from the FileSystem. The hfiles will be archived 
or deleted, depending on
  the state of the system.
 
@@ -148,7 +148,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 private static class 
 HFileArchiver.FileableStoreFile
-HFileArchiver.File adapter for 
a StoreFile living on a 
FileSystem
+HFileArchiver.File adapter for 
a HStoreFile living on a 
FileSystem
  .
 
 
@@ -168,7 +168,7 @@ extends http://docs.oracle.com/java

[04/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFile.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFile.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFile.html
index f9547e8..e216199 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFile.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFile.html
@@ -83,109 +83,20 @@
 
 
 
-org.apache.hadoop.hbase.backup
- 
-
-
 org.apache.hadoop.hbase.coprocessor
 
 Table of Contents
 
 
-
-org.apache.hadoop.hbase.master.assignment
- 
-
-
-org.apache.hadoop.hbase.mob
- 
-
-
-org.apache.hadoop.hbase.mob.compactions
- 
-
 
 org.apache.hadoop.hbase.regionserver
  
 
-
-org.apache.hadoop.hbase.regionserver.compactions
- 
-
 
 
 
 
 
-
-
-
-Uses of StoreFile in org.apache.hadoop.hbase.backup
-
-Fields in org.apache.hadoop.hbase.backup
 declared as StoreFile 
-
-Modifier and Type
-Field and Description
-
-
-
-(package private) StoreFile
-HFileArchiver.FileableStoreFile.file 
-
-
-
-
-Methods in org.apache.hadoop.hbase.backup
 with parameters of type StoreFile 
-
-Modifier and Type
-Method and Description
-
-
-
-HFileArchiver.File
-HFileArchiver.StoreToFile.apply(StoreFile input) 
-
-
-
-
-Method parameters in org.apache.hadoop.hbase.backup
 with type arguments of type StoreFile 
-
-Modifier and Type
-Method and Description
-
-
-
-static void
-HFileArchiver.archiveStoreFiles(org.apache.hadoop.conf.Configuration conf,
- org.apache.hadoop.fs.FileSystem fs,
- HRegionInfo regionInfo,
- org.apache.hadoop.fs.Path tableDir,
- byte[] family,
- http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection compactedFiles)
-Remove the store files, either by archiving them or 
outright deletion
-
-
-
-private static void
-HFileArchiver.deleteStoreFilesWithoutArchiving(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection compactedFiles)
-Just do a simple delete of the given store files
-
-
-
-
-
-Constructors in org.apache.hadoop.hbase.backup
 with parameters of type StoreFile 
-
-Constructor and Description
-
-
-
-FileableStoreFile(org.apache.hadoop.fs.FileSystem fs,
- StoreFile store) 
-
-
-
-
 
 
 
@@ -227,7 +138,7 @@
 default void
 RegionObserver.postCompactSelection(ObserverContext c,
 Store store,
-
org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList selected,
+
org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList selected,
 CompactionLifeCycleTracker tracker)
 Called after the StoreFiles to compact 
have been selected from the available
  candidates.
@@ -237,7 +148,7 @@
 default void
 RegionObserver.preCompactSelection(ObserverContext c,
Store store,
-   http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List candidates,
+   http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List candidates,
CompactionLifeCycleTracker tracker)
 Called prior to selecting the StoreFiles to compact 
from the list of
  available candidates.
@@ -246,214 +157,6 @@
 
 
 
-
-
-
-Uses of StoreFile in org.apache.hadoop.hbase.master.assignment
-
-Fields in org.apache.hadoop.hbase.master.assignment
 declared as StoreFile 
-
-Modifier and Type
-Field and Description
-
-
-
-private StoreFile
-SplitTableRegionProcedure.StoreFileSplitter.sf 
-
-
-
-
-Methods in org.apache.hadoop.hbase.master.assignment
 with parameters of type StoreFile 
-
-Modifier and Type
-Method and Description
-
-
-
-private Pair
-SplitTableRegionProcedure.splitStoreFile(HRegionFileSystem regionFs,
-  byte[] family,
-  StoreFile sf) 
-
-
-
-
-Constructors in org.apache.hadoop.hbase.master.assignment
 with parameters of type StoreFile 
-
-Constructor and Description
-
-
-
-StoreFileSplitter(HRegionFileSystem regionFs,
- byte[] family,
- StoreFile sf)
-Constructor that takes what it needs to split
-
-
-
-
-
-
-
-
-Uses of StoreFile in org.apache.hadoop.hbase.mob
-
-Fields in org.apache.hadoop.hbase.mob
 declared as StoreFile 
-
-Modifier and Type
-Field and Description
-
-
-
-private StoreFile
-MobFile.sf 
-
-
-
-
-Method parameters in org.apache.hadoop.hbase.mob
 w

[40/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.html 
b/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.html
index ead3fe9..ae1cfd0 100644
--- a/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.html
+++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.html
@@ -110,7 +110,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.Private
-public class HFile
+public class HFile
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 File format for hbase.
  A file of sorted key/value pairs. Both keys and values are byte arrays.
@@ -520,7 +520,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 LOG
-static final org.apache.commons.logging.Log LOG
+static final org.apache.commons.logging.Log LOG
 
 
 
@@ -529,7 +529,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 MAXIMUM_KEY_LENGTH
-public static final int MAXIMUM_KEY_LENGTH
+public static final int MAXIMUM_KEY_LENGTH
 Maximum length of key in HFile.
 
 See Also:
@@ -543,7 +543,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 DEFAULT_COMPRESSION_ALGORITHM
-public static final Compression.Algorithm 
DEFAULT_COMPRESSION_ALGORITHM
+public static final Compression.Algorithm 
DEFAULT_COMPRESSION_ALGORITHM
 Default compression: none.
 
 
@@ -553,7 +553,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 MIN_FORMAT_VERSION
-public static final int MIN_FORMAT_VERSION
+public static final int MIN_FORMAT_VERSION
 Minimum supported HFile format version
 
 See Also:
@@ -567,7 +567,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 MAX_FORMAT_VERSION
-public static final int MAX_FORMAT_VERSION
+public static final int MAX_FORMAT_VERSION
 Maximum supported HFile format version
 
 See Also:
@@ -581,7 +581,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 MIN_FORMAT_VERSION_WITH_TAGS
-public static final int MIN_FORMAT_VERSION_WITH_TAGS
+public static final int MIN_FORMAT_VERSION_WITH_TAGS
 Minimum HFile format version with support for persisting 
cell tags
 
 See Also:
@@ -595,7 +595,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 DEFAULT_COMPRESSION
-public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String DEFAULT_COMPRESSION
+public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String DEFAULT_COMPRESSION
 Default compression name: none.
 
 
@@ -605,7 +605,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 BLOOM_FILTER_DATA_KEY
-public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String BLOOM_FILTER_DATA_KEY
+public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String BLOOM_FILTER_DATA_KEY
 Meta data block name for bloom filter bits.
 
 See Also:
@@ -619,7 +619,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 MIN_NUM_HFILE_PATH_LEVELS
-public static final int MIN_NUM_HFILE_PATH_LEVELS
+public static final int MIN_NUM_HFILE_PATH_LEVELS
 We assume that HFile path ends with
  ROOT_DIR/TABLE_NAME/REGION_NAME/CF_NAME/HFILE, so it has at least this
  many levels of nesting. This is needed for identifying table and CF name
@@ -636,7 +636,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 DEFAULT_BYTES_PER_CHECKSUM
-public static final int DEFAULT_BYTES_PER_CHECKSUM
+public static final int DEFAULT_BYTES_PER_CHECKSUM
 The number of bytes per checksum.
 
 See Also:
@@ -650,7 +650,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 CHECKSUM_FAILURES
-static final http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/LongAdder.html?is-external=true";
 title="class or interface in java.util.concurrent.atomic">LongAdder CHECKSUM_FAILURES
+static final http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/LongAdder.html?is-external=true";
 title="class or interface in java.util.concurrent.atomic">LongAdder CHECKSUM_FAILURES
 
 
 
@@ -659,7 +659,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 DATABLOCK_READ_COUNT
-public static final http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/LongAdder.html?is-external=true";
 title="class or interface in java.util.concurrent.atomic">LongAdder DATABLOCK_READ_COUNT
+publ

[41/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.FileInfo.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.FileInfo.html 
b/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.FileInfo.html
index b97665c..a6ecf29 100644
--- a/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.FileInfo.html
+++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.FileInfo.html
@@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-public static class HFile.FileInfo
+public static class HFile.FileInfo
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap.html?is-external=true";
 title="class or interface in 
java.util">SortedMap
 Metadata for this file. Conjured by the writer. Read in by 
the reader.
@@ -376,7 +376,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap
 
 
 RESERVED_PREFIX
-static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String RESERVED_PREFIX
+static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String RESERVED_PREFIX
 
 See Also:
 Constant
 Field Values
@@ -389,7 +389,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap
 
 
 RESERVED_PREFIX_BYTES
-static final byte[] RESERVED_PREFIX_BYTES
+static final byte[] RESERVED_PREFIX_BYTES
 
 
 
@@ -398,7 +398,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap
 
 
 LASTKEY
-static final byte[] LASTKEY
+static final byte[] LASTKEY
 
 
 
@@ -407,7 +407,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap
 
 
 AVG_KEY_LEN
-static final byte[] AVG_KEY_LEN
+static final byte[] AVG_KEY_LEN
 
 
 
@@ -416,7 +416,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap
 
 
 AVG_VALUE_LEN
-static final byte[] AVG_VALUE_LEN
+static final byte[] AVG_VALUE_LEN
 
 
 
@@ -425,7 +425,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap
 
 
 CREATE_TIME_TS
-static final byte[] CREATE_TIME_TS
+static final byte[] CREATE_TIME_TS
 
 
 
@@ -434,7 +434,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap
 
 
 COMPARATOR
-static final byte[] COMPARATOR
+static final byte[] COMPARATOR
 
 
 
@@ -443,7 +443,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap
 
 
 TAGS_COMPRESSED
-static final byte[] TAGS_COMPRESSED
+static final byte[] TAGS_COMPRESSED
 
 
 
@@ -452,7 +452,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap
 
 
 MAX_TAGS_LEN
-public static final byte[] MAX_TAGS_LEN
+public static final byte[] MAX_TAGS_LEN
 
 
 
@@ -461,7 +461,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap
 
 
 map
-private final http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap.html?is-external=true";
 title="class or interface in java.util">SortedMap map
+private final http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap.html?is-external=true";
 title="class or interface in java.util">SortedMap map
 
 
 
@@ -478,7 +478,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap
 
 
 FileInfo
-public FileInfo()
+public FileInfo()
 
 
 
@@ -495,7 +495,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap
 
 
 append
-public HFile.FileInfo append(byte[] k,
+public HFile.FileInfo append(byte[] k,
  byte[] v,
  boolean checkPrefix)
   throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
@@ -520,7 +520,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap
 
 
 clear
-public void clear()
+public void clear()
 
 Specified by:
 http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#clear--";
 title="class or interface in java.util">clear in 
interface http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in 
java.util">Map
@@ -533,7 +533,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap
 
 
 comparator
-public http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true";
 title="class or interface in java.util">Comparator comparator()
+public http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true";
 title="class or interface in java.util">Comparator comparator()
 
 Specified by:
 http://docs.oracle.com/javase

[17/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileComparators.GetPathName.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileComparators.GetPathName.html
 
b/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileComparators.GetPathName.html
index bbc0862..cb07eb5 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileComparators.GetPathName.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileComparators.GetPathName.html
@@ -109,7 +109,7 @@ var activeTableTab = "activeTableTab";
 
 
 All Implemented Interfaces:
-http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true";
 title="class or interface in java.util.function">FunctionString>
+http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true";
 title="class or interface in java.util.function">FunctionString>
 
 
 Enclosing class:
@@ -119,7 +119,7 @@ var activeTableTab = "activeTableTab";
 
 private static class StoreFileComparators.GetPathName
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
-implements 
org.apache.hadoop.hbase.shaded.com.google.common.base.FunctionString>
+implements 
org.apache.hadoop.hbase.shaded.com.google.common.base.FunctionString>
 
 
 
@@ -159,7 +159,7 @@ implements 
org.apache.hadoop.hbase.shaded.com.google.common.base.Function<
 
 http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String
-apply(StoreFile sf) 
+apply(HStoreFile sf) 
 
 
 
@@ -214,16 +214,16 @@ implements 
org.apache.hadoop.hbase.shaded.com.google.common.base.Function<
 
 Method Detail
-
+
 
 
 
 
 apply
-public http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String apply(StoreFile sf)
+public http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String apply(HStoreFile sf)
 
 Specified by:
-http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true#apply-T-";
 title="class or interface in java.util.function">apply in 
interface http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true";
 title="class or interface in java.util.function">FunctionString>
+http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true#apply-T-";
 title="class or interface in java.util.function">apply in 
interface http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true";
 title="class or interface in java.util.function">FunctionString>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileComparators.GetSeqId.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileComparators.GetSeqId.html
 
b/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileComparators.GetSeqId.html
index 1867280..bc4bbd1 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileComparators.GetSeqId.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileComparators.GetSeqId.html
@@ -109,7 +109,7 @@ var activeTableTab = "activeTableTab";
 
 
 All Implemented Interfaces:
-http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true";
 title="class or interface in java.util.function">FunctionLong>
+http://docs.oracle.com/javase/8/docs/api/java/util/function/Function.html?is-external=true";
 title="class or interface in java.util.function">FunctionLong>

[12/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/StoreUtils.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/StoreUtils.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/StoreUtils.html
index 5c0c3f0..fba9014 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/StoreUtils.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/StoreUtils.html
@@ -18,7 +18,7 @@
 catch(err) {
 }
 //-->
-var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9};
+var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9};
 var tabs = {65535:["t0","All Methods"],1:["t1","Static 
Methods"],8:["t4","Concrete Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -169,45 +169,51 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 static http://docs.oracle.com/javase/8/docs/api/java/util/OptionalInt.html?is-external=true";
 title="class or interface in java.util">OptionalInt
-getDeterministicRandomSeed(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection files)
+getDeterministicRandomSeed(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection files)
 Creates a deterministic hash code for store file 
collection.
 
 
 
 (package private) static http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
-getFileSplitPoint(StoreFile file,
+getFileSplitPoint(HStoreFile file,
  CellComparator comparator)
 Gets the approximate mid-point of the given file that is 
optimal for use in splitting it.
 
 
 
-(package private) static http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
-getLargestFile(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection candidates)
+(package private) static http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
+getLargestFile(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection candidates)
 Gets the largest file (with reader) out of the list of 
files.
 
 
 
 static long
-getLowestTimestamp(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection candidates)
+getLowestTimestamp(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection candidates)
 Gets lowest timestamp from candidate StoreFiles
 
 
 
 static long
-getMaxMemstoreTSInList(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection sfs)
+getMaxMemstoreTSInList(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection sfs)
 Return the largest memstoreTS found across all storefiles 
in the given list.
 
 
 
 static long
-getMaxSequenceIdInList(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection sfs)
-Return the highest sequence ID found across all storefiles 
in
- the given list.
+getMaxSequenceIdInList(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection sfs)
+Return the highest sequence ID found across all storefiles 
in the given list.
 
 
 
+(package private) static http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
+getSplitPoint(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection storefiles,
+ CellComparator comparator)
+Gets the mid point of the largest file passed in as split 
point.
+
+
+
 static boolean
-hasReferences(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection files)
+hasReferences(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection files)
 Determines whether any files in the collection are 
references.
 

[01/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
Repository: hbase-site
Updated Branches:
  refs/heads/asf-site 7305da78a -> bd3bcf4e7


http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/DateTieredCompactor.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/DateTieredCompactor.html
 
b/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/DateTieredCompactor.html
index d8a4300..17da3c4 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/DateTieredCompactor.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/DateTieredCompactor.html
@@ -182,8 +182,8 @@ extends Constructor and Description
 
 
-DateTieredCompactor(org.apache.hadoop.conf.Configuration conf,
-   Store store) 
+DateTieredCompactor(org.apache.hadoop.conf.Configuration conf,
+   HStore store) 
 
 
 
@@ -230,7 +230,7 @@ extends Compactor
-compact,
 createFileScanners,
 createScanner,
 createScanner, createTmpWriter,
 getFileDetails,
 getProgress,
 getSmallestReadPoint,
 performCompaction,
 postCreateCoprocScanner,
 preCreateCoprocScanner
+compact,
 createFileScanners,
 createScanner,
 createScanner, createTmpWriter,
 getFileDetails,
 getProgress,
 getSmallestReadPoint,
 performCompaction,
 postCreateCoprocScanner,
 preCreateCoprocScanner
 
 
 
@@ -270,14 +270,14 @@ extends 
+
 
 
 
 
 DateTieredCompactor
 public DateTieredCompactor(org.apache.hadoop.conf.Configuration conf,
-   Store store)
+   HStore store)
 
 
 



[06/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/ScanInfo.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/ScanInfo.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/ScanInfo.html
index b9f79a1..84076e6 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/ScanInfo.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/ScanInfo.html
@@ -179,29 +179,21 @@
 
 
 
-MobStoreScanner(Store store,
+MobStoreScanner(HStore store,
ScanInfo scanInfo,
Scan scan,
http://docs.oracle.com/javase/8/docs/api/java/util/NavigableSet.html?is-external=true";
 title="class or interface in 
java.util">NavigableSet columns,
long readPt) 
 
 
-ReversedMobStoreScanner(Store store,
+ReversedMobStoreScanner(HStore store,
ScanInfo scanInfo,
Scan scan,
http://docs.oracle.com/javase/8/docs/api/java/util/NavigableSet.html?is-external=true";
 title="class or interface in 
java.util">NavigableSet columns,
long readPt) 
 
 
-ReversedStoreScanner(Scan scan,
-ScanInfo scanInfo,
-http://docs.oracle.com/javase/8/docs/api/java/util/NavigableSet.html?is-external=true";
 title="class or interface in 
java.util">NavigableSet columns,
-http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners)
-Constructor for testing.
-
-
-
-ReversedStoreScanner(Store store,
+ReversedStoreScanner(HStore store,
 ScanInfo scanInfo,
 Scan scan,
 http://docs.oracle.com/javase/8/docs/api/java/util/NavigableSet.html?is-external=true";
 title="class or interface in 
java.util">NavigableSet columns,
@@ -209,36 +201,16 @@
 Opens a scanner across memstore, snapshot, and all 
StoreFiles.
 
 
-
-StoreScanner(http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional store,
-Scan scan,
-ScanInfo scanInfo,
-int numColumns,
-long readPt,
-boolean cacheBlocks,
-ScanType scanType)
-An internal constructor.
-
-
-
-StoreScanner(ScanInfo scanInfo,
-http://docs.oracle.com/javase/8/docs/api/java/util/OptionalInt.html?is-external=true";
 title="class or interface in java.util">OptionalInt maxVersions,
-ScanType scanType,
-http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners) 
-
-
-StoreScanner(ScanInfo scanInfo,
-ScanType scanType,
-http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners) 
-
 
-StoreScanner(Scan scan,
-ScanInfo scanInfo,
-http://docs.oracle.com/javase/8/docs/api/java/util/NavigableSet.html?is-external=true";
 title="class or interface in 
java.util">NavigableSet columns,
-http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners) 
+ReversedStoreScanner(Scan scan,
+ScanInfo scanInfo,
+http://docs.oracle.com/javase/8/docs/api/java/util/NavigableSet.html?is-external=true";
 title="class or interface in 
java.util">NavigableSet columns,
+http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners)
+Constructor for testing.
+
 
 
-StoreScanner(Store store,
+StoreScanner(HStore store,
 ScanInfo scanInfo,
 http://docs.oracle.com/javase/8/docs/api/java/util/OptionalInt.html?is-external=true";
 title="class or interface in java.util">OptionalInt maxVersions,
 http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners,
@@ -250,7 +222,7 @@
 
 
 
-StoreScanner(Store store,
+StoreScanner(HStore store,
 ScanInfo scanInfo,
 http://docs.oracle.com/javase/8/docs/api/java/util/OptionalInt.html?is-external=true";
 title="class or interface in java.util">OptionalInt maxVersions,
 http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners,
@@ -261,7 +233,7 @@
 
 
 

[29/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/DateTieredStoreEngine.DateTieredCompactionContext.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/DateTieredStoreEngine.DateTieredCompactionContext.html
 
b/devapidocs/org/apache/hadoop/hbase/regionserver/DateTieredStoreEngine.DateTieredCompactionContext.html
index 08b71c7..c7275e3 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/DateTieredStoreEngine.DateTieredCompactionContext.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/DateTieredStoreEngine.DateTieredCompactionContext.html
@@ -184,15 +184,15 @@ extends 
-http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
-preSelect(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesCompacting)
+http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
+preSelect(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesCompacting)
 Called before coprocessor preCompactSelection and should 
filter the candidates
  for coprocessor; i.e.
 
 
 
 boolean
-select(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesCompacting,
+select(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesCompacting,
   boolean isUserCompaction,
   boolean mayUseOffPeak,
   boolean forceMajor)
@@ -251,7 +251,7 @@ extends 
 
 preSelect
-public http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List preSelect(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesCompacting)
+public http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List preSelect(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesCompacting)
 Description copied from 
class: CompactionContext
 Called before coprocessor preCompactSelection and should 
filter the candidates
  for coprocessor; i.e. exclude the files that definitely cannot be compacted 
at this time.
@@ -271,7 +271,7 @@ extends 
 
 select
-public boolean select(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesCompacting,
+public boolean select(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesCompacting,
   boolean isUserCompaction,
   boolean mayUseOffPeak,
   boolean forceMajor)

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/DateTieredStoreEngine.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/DateTieredStoreEngine.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/DateTieredStoreEngine.html
index a5d005d..512c5ac 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/DateTieredStoreEngine.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/DateTieredStoreEngine.html
@@ -199,15 +199,15 @@ extends 
 protected void
-createComponents(org.apache.hadoop.conf.Configuration conf,
-Store store,
+createComponents(org.apache.hadoop.conf.Configuration conf,
+HStore store,
 CellComparator kvComparator)
 Create the StoreEngine's components.
 
 
 
 boolean
-needsCompaction(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesCompacting) 
+needsCompaction(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesCompacting) 
 
 
 
@@ -215,7 +215,7 @@ extends StoreEngine
-create,
 getCompactionPolicy,
 getCompactor,
 getStoreFileManager,
 getStoreFlusher
+create,
 getCompactionPolicy,
 getCompactor,
 getStoreFileManager,
 getStoreFlusher
 
 
 
@@ -261,7 +261,7 @@ extends 
 
 needsCompaction
-public boolean needsCompaction(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesCompac

[15/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileScanner.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileScanner.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileScanner.html
index dd48fbb..df35290 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileScanner.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileScanner.html
@@ -115,7 +115,7 @@ var activeTableTab = "activeTableTab";
 
 @InterfaceAudience.LimitedPrivate(value="Phoenix")
  @InterfaceStability.Evolving
-public class StoreFileScanner
+public class StoreFileScanner
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 implements KeyValueScanner
 KeyValueScanner adaptor over the Reader.  It also provides 
hooks into
@@ -288,7 +288,7 @@ implements 
 static http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
-getScannersForCompaction(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection files,
+getScannersForCompaction(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection files,
 boolean canUseDropBehind,
 long readPt)
 Get scanners for compaction.
@@ -296,7 +296,7 @@ implements 
 static http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
-getScannersForStoreFiles(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection files,
+getScannersForStoreFiles(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection files,
 boolean cacheBlocks,
 boolean usePread,
 boolean isCompaction,
@@ -307,7 +307,7 @@ implements 
 static http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
-getScannersForStoreFiles(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection files,
+getScannersForStoreFiles(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection files,
 boolean cacheBlocks,
 boolean usePread,
 boolean isCompaction,
@@ -320,7 +320,7 @@ implements 
 static http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
-getScannersForStoreFiles(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection files,
+getScannersForStoreFiles(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection files,
 boolean cacheBlocks,
 boolean usePread,
 long readPt)
@@ -461,7 +461,7 @@ implements 
 
 reader
-private final StoreFileReader reader
+private final StoreFileReader reader
 
 
 
@@ -470,7 +470,7 @@ implements 
 
 hfs
-private final HFileScanner hfs
+private final HFileScanner hfs
 
 
 
@@ -479,7 +479,7 @@ implements 
 
 cur
-private Cell cur
+private Cell cur
 
 
 
@@ -488,7 +488,7 @@ implements 
 
 closed
-private boolean closed
+private boolean closed
 
 
 
@@ -497,7 +497,7 @@ implements 
 
 realSeekDone
-private boolean realSeekDone
+private boolean realSeekDone
 
 
 
@@ -506,7 +506,7 @@ implements 
 
 delayedReseek
-private boolean delayedReseek
+private boolean delayedReseek
 
 
 
@@ -515,7 +515,7 @@ implements 
 
 delayedSeekKV
-private Cell delayedSeekKV
+private Cell delayedSeekKV
 
 
 
@@ -524,7 +524,7 @@ implements 
 
 enforceMVCC
-private final boolean enforceMVCC
+private final boolean enforceMVCC
 
 
 
@@ -533,7 +533,7 @@ implements 
 
 hasMVCCInfo
-private final boolean hasMVCCInfo
+private final boolean hasMVCCInfo
 
 
 
@@ -542,7 +542,7 @@ implements 
 
 stopSkippingKVsIfNextRow
-private boolean stopSkippingKVsIfNextRow
+private boolean stopSkippingKVsIfNextRow
 
 
 
@@ -551,7 +551,7 @@ implements 
 
 seekCount
-private static http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/LongAdder.html?is-

[24/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.html
index 1354589..f33de9a 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.html
@@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.Private
-public class HRegion
+public class HRegion
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 implements HeapSize, PropagatingConfigurationObserver, Region
 
@@ -884,13 +884,13 @@ implements clearSplit() 
 
 
-http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">MapList>
+http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">MapList>
 close()
 Close down this HRegion.
 
 
 
-http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">MapList>
+http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">MapList>
 close(boolean abort)
 Close down this HRegion.
 
@@ -1048,7 +1048,7 @@ implements 
 
 
-private http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">MapList>
+private http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">MapList>
 doClose(boolean abort,
MonitoredTask status) 
 
@@ -2338,7 +2338,7 @@ implements 
 
 LOG
-private static final org.apache.commons.logging.Log LOG
+private static final org.apache.commons.logging.Log LOG
 
 
 
@@ -2347,7 +2347,7 @@ implements 
 
 LOAD_CFS_ON_DEMAND_CONFIG_KEY
-public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String LOAD_CFS_ON_DEMAND_CONFIG_KEY
+public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String LOAD_CFS_ON_DEMAND_CONFIG_KEY
 
 See Also:
 Constant
 Field Values
@@ -2360,7 +2360,7 @@ implements 
 
 HBASE_MAX_CELL_SIZE_KEY
-public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String HBASE_MAX_CELL_SIZE_KEY
+public static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String HBASE_MAX_CELL_SIZE_KEY
 
 See Also:
 Constant
 Field Values
@@ -2373,7 +2373,7 @@ implements 
 
 DEFAULT_MAX_CELL_SIZE
-public static final int DEFAULT_MAX_CELL_SIZE
+public static final int DEFAULT_MAX_CELL_SIZE
 
 See Also:
 Constant
 Field Values
@@ -2386,7 +2386,7 @@ implements 
 
 DEFAULT_DURABILITY
-private static final Durability DEFAULT_DURABILITY
+private static final Durability DEFAULT_DURABILITY
 This is the global default value for durability. All 
tables/mutations not
  defining a durability or using USE_DEFAULT will default to this value.
 
@@ -2397,7 +2397,7 @@ implements 
 
 closed
-final http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true";
 title="class or interface in java.util.concurrent.atomic">AtomicBoolean closed
+final http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true";
 title="class or interface in java.util.concurrent.atomic">AtomicBoolean closed
 
 
 
@@ -2406,7 +2406,7 @@ implements 
 
 closing
-final http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true";
 title="class or interface in java.util.concurrent.atomic">AtomicBoolean closing
+final http://docs.oracle.com/ja

[13/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/StoreScanner.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/StoreScanner.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/StoreScanner.html
index fe3bb1c..5ff9ed3 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/StoreScanner.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/StoreScanner.html
@@ -128,7 +128,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.Private
-public class StoreScanner
+public class StoreScanner
 extends NonReversedNonLazyKeyValueScanner
 implements KeyValueScanner, 
InternalScanner, 
ChangedReadersObserver
 Scanner scans both the memstore and the Store. Coalesce 
KeyValue stream into List
@@ -198,7 +198,7 @@ implements flushed 
 
 
-private http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
+private http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
 flushedStoreFiles 
 
 
@@ -304,7 +304,7 @@ implements scanUsePread 
 
 
-protected http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
+protected http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
 store 
 
 
@@ -357,40 +357,8 @@ implements Constructor and Description
 
 
-private 
-StoreScanner(http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional store,
-Scan scan,
-ScanInfo scanInfo,
-int numColumns,
-long readPt,
-boolean cacheBlocks,
-ScanType scanType)
-An internal constructor.
-
-
-
-(package private)
-StoreScanner(ScanInfo scanInfo,
-http://docs.oracle.com/javase/8/docs/api/java/util/OptionalInt.html?is-external=true";
 title="class or interface in java.util">OptionalInt maxVersions,
-ScanType scanType,
-http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners) 
-
-
- 
-StoreScanner(ScanInfo scanInfo,
-ScanType scanType,
-http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners) 
-
-
-(package private)
-StoreScanner(Scan scan,
-ScanInfo scanInfo,
-http://docs.oracle.com/javase/8/docs/api/java/util/NavigableSet.html?is-external=true";
 title="class or interface in 
java.util">NavigableSet columns,
-http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners) 
-
-
  
-StoreScanner(Store store,
+StoreScanner(HStore store,
 ScanInfo scanInfo,
 http://docs.oracle.com/javase/8/docs/api/java/util/OptionalInt.html?is-external=true";
 title="class or interface in java.util">OptionalInt maxVersions,
 http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners,
@@ -403,7 +371,7 @@ implements 
  
-StoreScanner(Store store,
+StoreScanner(HStore store,
 ScanInfo scanInfo,
 http://docs.oracle.com/javase/8/docs/api/java/util/OptionalInt.html?is-external=true";
 title="class or interface in java.util">OptionalInt maxVersions,
 http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners,
@@ -415,7 +383,7 @@ implements 
 private 
-StoreScanner(Store store,
+StoreScanner(HStore store,
 ScanInfo scanInfo,
 http://docs.oracle.com/javase/8/docs/api/java/util/OptionalInt.html?is-external=true";
 title="class or interface in java.util">OptionalInt maxVersions,
 http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners,
@@ -427,7 +395,7 @@ implements 
  
-StoreScanner(Store store,
+StoreScanner(HStore store,
 ScanInfo scanInfo,
 Scan scan,
 http://docs.oracle.com/javase/8/docs/api/java/util/NavigableSet.html?is-external=true";
 title="class or interface in 
java.util">NavigableSet columns,
@@ -435,6 +403,38 @@ implements Opens a scanner across memstore, snapshot, and all 
StoreFiles.
 
 
+
+private 
+StoreScanner(http://docs.oracle.com/javase

[09/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFlusher.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFlusher.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFlusher.html
index 3517de1..e6bd61b 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFlusher.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFlusher.html
@@ -208,8 +208,8 @@ extends Constructor and Description
 
 
-StripeStoreFlusher(org.apache.hadoop.conf.Configuration conf,
-  Store store,
+StripeStoreFlusher(org.apache.hadoop.conf.Configuration conf,
+  HStore store,
   StripeCompactionPolicy policy,
   StripeStoreFileManager stripes) 
 
@@ -315,14 +315,14 @@ extends 
+
 
 
 
 
 StripeStoreFlusher
 public StripeStoreFlusher(org.apache.hadoop.conf.Configuration conf,
-  Store store,
+  HStore store,
   StripeCompactionPolicy policy,
   StripeStoreFileManager stripes)
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/BloomType.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/BloomType.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/BloomType.html
index c1472e1..8bfbf66 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/BloomType.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/BloomType.html
@@ -392,19 +392,6 @@ the order they are declared.
 
 
 
-HStoreFile(org.apache.hadoop.fs.FileSystem fs,
-  org.apache.hadoop.fs.Path p,
-  org.apache.hadoop.conf.Configuration conf,
-  CacheConfig cacheConf,
-  BloomType cfBloomType)
-Deprecated. 
-Now we will specific 
whether the StoreFile is for primary replica when
- constructing, so please use HStoreFile.HStoreFile(FileSystem,
 Path, Configuration,
- CacheConfig, BloomType, boolean) directly.
-
-
-
-
 HStoreFile(org.apache.hadoop.fs.FileSystem fs,
   org.apache.hadoop.fs.Path p,
   org.apache.hadoop.conf.Configuration conf,
@@ -414,19 +401,6 @@ the order they are declared.
 Constructor, loads a reader and it's indices, etc.
 
 
-
-HStoreFile(org.apache.hadoop.fs.FileSystem fs,
-  StoreFileInfo fileInfo,
-  org.apache.hadoop.conf.Configuration conf,
-  CacheConfig cacheConf,
-  BloomType cfBloomType)
-Deprecated. 
-Now we will specific 
whether the StoreFile is for primary replica when
- constructing, so please use HStoreFile.HStoreFile(FileSystem,
 StoreFileInfo,
- Configuration, CacheConfig, BloomType, boolean) 
directly.
-
-
-
 
 HStoreFile(org.apache.hadoop.fs.FileSystem fs,
   StoreFileInfo fileInfo,
@@ -531,7 +505,7 @@ the order they are declared.
  int maxKeys,
  HFile.Writer writer)
 Creates a new general (Row or RowCol) Bloom filter at the 
time of
- StoreFile writing.
+ HStoreFile writing.
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/HRegionFileSystem.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/HRegionFileSystem.html
 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/HRegionFileSystem.html
index 98a5231..11e9088 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/HRegionFileSystem.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/HRegionFileSystem.html
@@ -133,9 +133,9 @@
 
 
 private Pair
-SplitTableRegionProcedure.splitStoreFile(HRegionFileSystem regionFs,
+SplitTableRegionProcedure.splitStoreFile(HRegionFileSystem regionFs,
   byte[] family,
-  StoreFile sf) 
+  HStoreFile sf) 
 
 
 private PairInteger,http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true";
 title="class or interface in java.lang">Integer>
@@ -153,9 +153,9 @@
 
 
 
-StoreFileSplitter(HRegionFileSystem regionFs,
+StoreFileSplitter(HRegionFileSystem regionFs,
  byte[] family,
- StoreFile sf)
+ HStoreFile sf)
 Constructor that takes what it needs to split
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/HStore.html
-

[33/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.html
 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.html
index b40ce67..dbc8af7 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.html
@@ -123,7 +123,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.LimitedPrivate(value="Configuration")
-public class StochasticLoadBalancer
+public class StochasticLoadBalancer
 extends BaseLoadBalancer
 This is a best effort load balancer. Given a Cost 
function F(C) => x It will
  randomly try and mutate the cluster to Cprime. If F(Cprime) < F(C) then the
@@ -221,7 +221,7 @@ extends (package private) static class 
 StochasticLoadBalancer.LocalityBasedCostFunction
 Compute a cost of a potential cluster configuration based 
upon where
- StoreFiles are 
located.
+ HStoreFiles are 
located.
 
 
 
@@ -664,7 +664,7 @@ extends 
 
 STEPS_PER_REGION_KEY
-protected static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String STEPS_PER_REGION_KEY
+protected static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String STEPS_PER_REGION_KEY
 
 See Also:
 Constant
 Field Values
@@ -677,7 +677,7 @@ extends 
 
 MAX_STEPS_KEY
-protected static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String MAX_STEPS_KEY
+protected static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String MAX_STEPS_KEY
 
 See Also:
 Constant
 Field Values
@@ -690,7 +690,7 @@ extends 
 
 RUN_MAX_STEPS_KEY
-protected static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String RUN_MAX_STEPS_KEY
+protected static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String RUN_MAX_STEPS_KEY
 
 See Also:
 Constant
 Field Values
@@ -703,7 +703,7 @@ extends 
 
 MAX_RUNNING_TIME_KEY
-protected static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String MAX_RUNNING_TIME_KEY
+protected static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String MAX_RUNNING_TIME_KEY
 
 See Also:
 Constant
 Field Values
@@ -716,7 +716,7 @@ extends 
 
 KEEP_REGION_LOADS
-protected static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String KEEP_REGION_LOADS
+protected static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String KEEP_REGION_LOADS
 
 See Also:
 Constant
 Field Values
@@ -729,7 +729,7 @@ extends 
 
 TABLE_FUNCTION_SEP
-private static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String TABLE_FUNCTION_SEP
+private static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String TABLE_FUNCTION_SEP
 
 See Also:
 Constant
 Field Values
@@ -742,7 +742,7 @@ extends 
 
 MIN_COST_NEED_BALANCE_KEY
-protected static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String MIN_COST_NEED_BALANCE_KEY
+protected static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String MIN_COST_NEED_BALANCE_KEY
 
 See Also:
 Constant
 Field Values
@@ -755,7 +755,7 @@ extends 
 
 RANDOM
-protected static final http://docs.oracle.com/javase/8/docs/api/java/util/Random.html?is-external=true";
 title="class or interface in java.util">Random RANDOM
+protected static final http://docs.oracle.com/javase/8/docs/api/java/util/Random.html?is-external=true";
 title="class or interface in java.util">Random RANDOM
 
 
 
@@ -764,7 +764,7 @@ extends 
 
 LOG
-private static final org.apache.commons.logging.Log LOG
+private static final org.apache.commons.logging.Log LOG
 
 
 
@@ -773,7 +773,7 @@ extends 
 
 loads
-http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in java.util">Map

[16/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileReader.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileReader.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileReader.html
index 971ce2f..3c69548 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileReader.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/StoreFileReader.html
@@ -115,7 +115,7 @@ var activeTableTab = "activeTableTab";
 
 @InterfaceAudience.LimitedPrivate(value="Phoenix")
  @InterfaceStability.Evolving
-public class StoreFileReader
+public class StoreFileReader
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 Reader for a StoreFile.
 
@@ -298,7 +298,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 
-Cell
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
 getFirstKey() 
 
 
@@ -318,11 +318,11 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 getHFileVersion() 
 
 
-Cell
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
 getLastKey() 
 
 
-byte[]
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
 getLastRowKey() 
 
 
@@ -412,8 +412,8 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 loadFileInfo() 
 
 
-Cell
-midkey() 
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
+midKey() 
 
 
 (package private) boolean
@@ -514,7 +514,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 LOG
-private static final org.apache.commons.logging.Log LOG
+private static final org.apache.commons.logging.Log LOG
 
 
 
@@ -523,7 +523,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 generalBloomFilter
-protected BloomFilter generalBloomFilter
+protected BloomFilter generalBloomFilter
 
 
 
@@ -532,7 +532,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 deleteFamilyBloomFilter
-protected BloomFilter deleteFamilyBloomFilter
+protected BloomFilter deleteFamilyBloomFilter
 
 
 
@@ -541,7 +541,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 bloomFilterType
-protected BloomType bloomFilterType
+protected BloomType bloomFilterType
 
 
 
@@ -550,7 +550,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 reader
-private final HFile.Reader reader
+private final HFile.Reader reader
 
 
 
@@ -559,7 +559,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 sequenceID
-protected long sequenceID
+protected long sequenceID
 
 
 
@@ -568,7 +568,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 timeRange
-protected TimeRange timeRange
+protected TimeRange timeRange
 
 
 
@@ -577,7 +577,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 lastBloomKey
-private byte[] lastBloomKey
+private byte[] lastBloomKey
 
 
 
@@ -586,7 +586,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 deleteFamilyCnt
-private long deleteFamilyCnt
+private long deleteFamilyCnt
 
 
 
@@ -595,7 +595,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 bulkLoadResult
-private boolean bulkLoadResult
+private boolean bulkLoadResult
 
 
 
@@ -604,7 +604,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 lastBloomKeyOnlyKV
-private KeyValue.KeyOnlyKeyValue lastBloomKeyOnlyKV
+private KeyValue.KeyOnlyKeyValue lastBloomKeyOnlyKV
 
 
 
@@ -613,7 +613,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 skipResetSeqId
-private boolean skipResetSeqId
+private boolean skipResetSeqId
 
 
 
@@ -622,7 +622,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 refCount
-private final http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true";
 title="class or interface in java.util.concurrent.atomic">AtomicInteger refCount
+private final http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true";
 title="class or interface in java.util.concurrent.atomic">AtomicInteger refCount
 
 
 
@@ -631,7 +631,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 shared
-final boolean shared
+final boolean shared
 
 
 
@@ -648,7 +648,7 @@ extends http://docs.oracle.com/javase/8/docs/api/jav

[11/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFileManager.KeyBeforeConcatenatedLists.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFileManager.KeyBeforeConcatenatedLists.html
 
b/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFileManager.KeyBeforeConcatenatedLists.html
index d1adff4..b94aab7 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFileManager.KeyBeforeConcatenatedLists.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFileManager.KeyBeforeConcatenatedLists.html
@@ -103,7 +103,7 @@ var activeTableTab = "activeTableTab";
 http://docs.oracle.com/javase/8/docs/api/java/util/AbstractCollection.html?is-external=true";
 title="class or interface in 
java.util">java.util.AbstractCollection
 
 
-org.apache.hadoop.hbase.util.ConcatenatedLists
+org.apache.hadoop.hbase.util.ConcatenatedLists
 
 
 
org.apache.hadoop.hbase.regionserver.StripeStoreFileManager.KeyBeforeConcatenatedLists
@@ -119,7 +119,7 @@ var activeTableTab = "activeTableTab";
 
 
 All Implemented Interfaces:
-http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true";
 title="class or interface in java.lang">Iterable, http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection
+http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true";
 title="class or interface in java.lang">Iterable, http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection
 
 
 Enclosing class:
@@ -127,8 +127,8 @@ var activeTableTab = "activeTableTab";
 
 
 
-private static class StripeStoreFileManager.KeyBeforeConcatenatedLists
-extends ConcatenatedLists
+private static class StripeStoreFileManager.KeyBeforeConcatenatedLists
+extends ConcatenatedLists
 An extension of ConcatenatedLists that has several peculiar 
properties.
  First, one can cut the tail of the logical list by removing last several 
sub-lists.
  Second, items can be removed thru iterator.
@@ -208,7 +208,7 @@ extends Method and Description
 
 
-http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true";
 title="class or interface in java.util">Iterator
+http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true";
 title="class or interface in java.util">Iterator
 iterator() 
 
 
@@ -267,7 +267,7 @@ extends 
 
 KeyBeforeConcatenatedLists
-private KeyBeforeConcatenatedLists()
+private KeyBeforeConcatenatedLists()
 
 
 
@@ -284,14 +284,14 @@ extends 
 
 iterator
-public http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true";
 title="class or interface in java.util">Iterator iterator()
+public http://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true";
 title="class or interface in java.util">Iterator iterator()
 
 Specified by:
-http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#iterator--";
 title="class or interface in java.lang">iterator in 
interface http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true";
 title="class or interface in java.lang">Iterable
+http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#iterator--";
 title="class or interface in java.lang">iterator in 
interface http://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true";
 title="class or interface in java.lang">Iterable
 Specified by:
-http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#iterator--";
 title="class or interface in java.util">iterator in 
interface http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection
+http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#iterator--";
 title="class or interface in java.util">iterator in 
interface http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection
 Overrides:
-iterator in
 class ConcatenatedLists
+iterator in
 class ConcatenatedLists
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFileManager.State.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFileManager.State.html
 
b/devapidocs/org/apache/hadoop/hbase/regionserver/StripeStoreFile

[22/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/HStore.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/HStore.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/HStore.html
index 975f219..8e7e862 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/HStore.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HStore.html
@@ -18,7 +18,7 @@
 catch(err) {
 }
 //-->
-var methods = 
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":9,"i32":10,"i33":10,"i34":10,"i35":10,"i36":9,"i37":10,"i38":9,"i39":9,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":42,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":42,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":42,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":41,"i93":41,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109"
 
:10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":10,"i124":10,"i125":10,"i126":10,"i127":10,"i128":10,"i129":10,"i130":10,"i131":10,"i132":10,"i133":10,"i134":10,"i135":10,"i136":10,"i137":10,"i138":10,"i139":10};
+var methods = 
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":9,"i32":10,"i33":10,"i34":10,"i35":10,"i36":9,"i37":10,"i38":9,"i39":9,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":42,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":42,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":42,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":41,"i97":41,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109"
 
:10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":10,"i124":10,"i125":10,"i126":10,"i127":10,"i128":10,"i129":10,"i130":10,"i131":10,"i132":10,"i133":10,"i134":10,"i135":10,"i136":10,"i137":10,"i138":10,"i139":10,"i140":10,"i141":10,"i142":10,"i143":10,"i144":10};
 var tabs = {65535:["t0","All Methods"],1:["t1","Static 
Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 
Methods"],32:["t6","Deprecated Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -118,7 +118,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.Private
-public class HStore
+public class HStore
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 implements Store
 A Store holds a column family in a Region.  Its a memstore 
and a set of zero
@@ -270,7 +270,7 @@ implements family 
 
 
-(package private) http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
+(package private) http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
 filesCompacting 
 
 
@@ -432,7 +432,7 @@ implements 
 private void
-addToCompactingFiles(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection filesToAdd)
+addToCompactingFiles(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection filesToAdd)
 Adds the files to compacting files.
 
 
@@ -455,7 +455,7 @@ implements 
 private void
-bulkLoadHFile(StoreFile sf) 
+bulkLoadHFile(HStoreFile sf) 
 
 
 void
@@ -471,10 +471,10 @@ implements 
 private void
-clearCompactedfiles(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesToRemove) 
+clearCompactedfiles(http://docs.orac

[39/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.HFileScannerImpl.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.HFileScannerImpl.html
 
b/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.HFileScannerImpl.html
index 1afe745..f3826c0 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.HFileScannerImpl.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.HFileScannerImpl.html
@@ -121,7 +121,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-protected static class HFileReaderImpl.HFileScannerImpl
+protected static class HFileReaderImpl.HFileScannerImpl
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 implements HFileScanner
 
@@ -503,7 +503,7 @@ implements 
 
 blockBuffer
-private ByteBuff blockBuffer
+private ByteBuff blockBuffer
 
 
 
@@ -512,7 +512,7 @@ implements 
 
 cacheBlocks
-protected final boolean cacheBlocks
+protected final boolean cacheBlocks
 
 
 
@@ -521,7 +521,7 @@ implements 
 
 pread
-protected final boolean pread
+protected final boolean pread
 
 
 
@@ -530,7 +530,7 @@ implements 
 
 isCompaction
-protected final boolean isCompaction
+protected final boolean isCompaction
 
 
 
@@ -539,7 +539,7 @@ implements 
 
 currKeyLen
-private int currKeyLen
+private int currKeyLen
 
 
 
@@ -548,7 +548,7 @@ implements 
 
 currValueLen
-private int currValueLen
+private int currValueLen
 
 
 
@@ -557,7 +557,7 @@ implements 
 
 currMemstoreTSLen
-private int currMemstoreTSLen
+private int currMemstoreTSLen
 
 
 
@@ -566,7 +566,7 @@ implements 
 
 currMemstoreTS
-private long currMemstoreTS
+private long currMemstoreTS
 
 
 
@@ -575,7 +575,7 @@ implements 
 
 blockFetches
-protected http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true";
 title="class or interface in java.util.concurrent.atomic">AtomicInteger blockFetches
+protected http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true";
 title="class or interface in java.util.concurrent.atomic">AtomicInteger blockFetches
 
 
 
@@ -584,7 +584,7 @@ implements 
 
 reader
-protected final HFile.Reader reader
+protected final HFile.Reader reader
 
 
 
@@ -593,7 +593,7 @@ implements 
 
 currTagsLen
-private int currTagsLen
+private int currTagsLen
 
 
 
@@ -602,7 +602,7 @@ implements 
 
 bufBackedKeyOnlyKv
-private ByteBufferKeyOnlyKeyValue bufBackedKeyOnlyKv
+private ByteBufferKeyOnlyKeyValue bufBackedKeyOnlyKv
 
 
 
@@ -611,7 +611,7 @@ implements 
 
 pair
-final ObjectIntPairByteBuffer> pair
+final ObjectIntPairByteBuffer> pair
 
 
 
@@ -620,7 +620,7 @@ implements 
 
 nextIndexedKey
-protected Cell nextIndexedKey
+protected Cell nextIndexedKey
 The next indexed key is to keep track of the indexed key of 
the next data block.
  If the nextIndexedKey is HConstants.NO_NEXT_INDEXED_KEY, it means that the
  current data block is the last data block.
@@ -634,7 +634,7 @@ implements 
 
 curBlock
-protected HFileBlock curBlock
+protected HFileBlock curBlock
 
 
 
@@ -643,7 +643,7 @@ implements 
 
 prevBlocks
-protected final http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true";
 title="class or interface in java.util">ArrayList prevBlocks
+protected final http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true";
 title="class or interface in java.util">ArrayList prevBlocks
 
 
 
@@ -660,7 +660,7 @@ implements 
 
 HFileScannerImpl
-public HFileScannerImpl(HFile.Reader reader,
+public HFileScannerImpl(HFile.Reader reader,
 boolean cacheBlocks,
 boolean pread,
 boolean isCompaction)
@@ -680,7 +680,7 @@ implements 
 
 updateCurrBlockRef
-void updateCurrBlockRef(HFileBlock block)
+void updateCurrBlockRef(HFileBlock block)
 
 
 
@@ -689,7 +689,7 @@ implements 
 
 reset
-void reset()
+void reset()
 
 
 
@@ -698,7 +698,7 @@ implements 
 
 returnBlockToCache
-private void returnBlockToCache(HFileBlock block)
+private void returnBlockToCache(HFileBlock block)
 
 
 
@@ -707,7 +707,7 @@ implements 
 
 returnBlocks
-private void returnBlocks(boolean returnAll)
+private void returnBlocks(boolean returnAll)
 
 
 
@@ -716,7 +716,7 @@ implements 
 
 isSeeked
-public boolean isSeeked()
+public boolean isSeeked()
 
 Specified by:
 isSeeked in
 interface HFileScanner
@@ -733,7 +733,7 @@ implements 
 
 toString
-public http://docs.oracle.com/javase/8/docs/api/java/lang/String

[38/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.html 
b/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.html
index 2a4e694..1b16efb 100644
--- a/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.html
+++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.html
@@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.Private
-public class HFileReaderImpl
+public class HFileReaderImpl
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 implements HFile.Reader, 
org.apache.hadoop.conf.Configurable
 Implementation that can handle all hfile versions of HFile.Reader.
@@ -480,11 +480,11 @@ implements 
-Cell
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
 getFirstKey() 
 
 
-byte[]
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
 getFirstRowKey()
 TODO left from HFile 
version 1: move this to StoreFile after Ryan's
  patch goes in to eliminate KeyValue here.
@@ -497,11 +497,11 @@ implements 
-Cell
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
 getLastKey() 
 
 
-byte[]
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
 getLastRowKey()
 TODO left from HFile 
version 1: move this to StoreFile after
  Ryan's patch goes in to eliminate KeyValue here.
@@ -586,8 +586,8 @@ implements loadFileInfo() 
 
 
-Cell
-midkey() 
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
+midKey() 
 
 
 boolean
@@ -628,11 +628,11 @@ implements toString() 
 
 
-private http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String
+private http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">OptionalString>
 toStringFirstKey() 
 
 
-private http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String
+private http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">OptionalString>
 toStringLastKey() 
 
 
@@ -677,7 +677,7 @@ implements 
 
 LOG
-private static final org.apache.commons.logging.Log LOG
+private static final org.apache.commons.logging.Log LOG
 
 
 
@@ -686,7 +686,7 @@ implements 
 
 dataBlockIndexReader
-private HFileBlockIndex.CellBasedKeyBlockIndexReader
 dataBlockIndexReader
+private HFileBlockIndex.CellBasedKeyBlockIndexReader
 dataBlockIndexReader
 Data block index reader keeping the root data index in 
memory
 
 
@@ -696,7 +696,7 @@ implements 
 
 metaBlockIndexReader
-private HFileBlockIndex.ByteArrayKeyBlockIndexReader
 metaBlockIndexReader
+private HFileBlockIndex.ByteArrayKeyBlockIndexReader
 metaBlockIndexReader
 Meta block index reader -- always single level
 
 
@@ -706,7 +706,7 @@ implements 
 
 trailer
-private final FixedFileTrailer trailer
+private final FixedFileTrailer trailer
 
 
 
@@ -715,7 +715,7 @@ implements 
 
 compressAlgo
-private final Compression.Algorithm 
compressAlgo
+private final Compression.Algorithm 
compressAlgo
 Filled when we read in the trailer.
 
 
@@ -725,7 +725,7 @@ implements 
 
 primaryReplicaReader
-private final boolean primaryReplicaReader
+private final boolean primaryReplicaReader
 
 
 
@@ -734,7 +734,7 @@ implements 
 
 dataBlockEncoder
-private HFileDataBlockEncoder dataBlockEncoder
+private HFileDataBlockEncoder dataBlockEncoder
 What kind of data block encoding should be used while 
reading, writing,
  and handling cache.
 
@@ -745,7 +745,7 @@ implements 
 
 lastKeyCell
-private Cell lastKeyCell
+private Cell lastKeyCell
 Last key in the file. Filled in when we read in the file 
info
 
 
@@ -755,7 +755,7 @@ implements 
 
 avgKeyLen
-private int avgKeyLen
+private int avgKeyLen
 Average key length read from file info
 
 
@@ -765,7 +765,7 @@ implements 
 
 avgValueLen
-private int avgValueLen
+private int avgValueLen
 Average value length read from file info
 
 
@@ -775,7 +775,7 @@ implements 
 
 comparator
-private CellComparator comparator

[20/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreCompactor.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreCompactor.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreCompactor.html
index 64f6353..f2601fb 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreCompactor.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreCompactor.html
@@ -541,7 +541,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 initiateAction
-void initiateAction(MemoryCompactionPolicy compType)
+void initiateAction(MemoryCompactionPolicy compType)
 --
  Initiate the action according to user config, after its default is 
Action.MERGE
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreCompactorSegmentsIterator.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreCompactorSegmentsIterator.html
 
b/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreCompactorSegmentsIterator.html
index 31bd1ad..c9baa32 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreCompactorSegmentsIterator.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreCompactorSegmentsIterator.html
@@ -179,10 +179,10 @@ extends Constructor and Description
 
 
-MemStoreCompactorSegmentsIterator(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List segments,
+MemStoreCompactorSegmentsIterator(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List segments,
  CellComparator comparator,
  int compactionKVMax,
- Store store) 
+ HStore store) 
 
 
 
@@ -205,7 +205,7 @@ extends 
 private StoreScanner
-createScanner(Store store,
+createScanner(HStore store,
  http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners)
 Creates the scanner for compacting the pipeline.
 
@@ -299,7 +299,7 @@ extends 
+
 
 
 
@@ -308,7 +308,7 @@ extends MemStoreCompactorSegmentsIterator(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List segments,
  CellComparator comparator,
  int compactionKVMax,
- Store store)
+ HStore store)
   throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 
 Throws:
@@ -330,7 +330,7 @@ extends 
 
 hasNext
-public boolean hasNext()
+public boolean hasNext()
 
 
 
@@ -339,7 +339,7 @@ extends 
 
 next
-public Cell next()
+public Cell next()
 
 
 
@@ -348,7 +348,7 @@ extends 
 
 close
-public void close()
+public void close()
 
 Specified by:
 close in
 class MemStoreSegmentsIterator
@@ -361,16 +361,16 @@ extends 
 
 remove
-public void remove()
+public void remove()
 
 
-
+
 
 
 
 
 createScanner
-private StoreScanner createScanner(Store store,
+private StoreScanner createScanner(HStore store,
http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners)
 throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 Creates the scanner for compacting the pipeline.
@@ -388,7 +388,7 @@ extends 
 
 refillKVS
-private boolean refillKVS()
+private boolean refillKVS()
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/MobStoreScanner.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/MobStoreScanner.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/MobStoreScanner.html
index 3bf9cb6..747bf0b 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/MobStoreScanner.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/MobStoreScanner.html
@@ -196,7 +196,7 @@ extends Constructor and Description
 
 
-MobStoreScanner(Store store,
+MobStoreScanner(HStore store,
ScanInfo scanInfo,
Scan 

[08/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/HStoreFile.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/HStoreFile.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/HStoreFile.html
index 752105f..9584726 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/HStoreFile.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/HStoreFile.html
@@ -72,7 +72,1807 @@
 
 Uses of 
Classorg.apache.hadoop.hbase.regionserver.HStoreFile
 
-No usage of 
org.apache.hadoop.hbase.regionserver.HStoreFile
+
+
+
+
+Packages that use HStoreFile 
+
+Package
+Description
+
+
+
+org.apache.hadoop.hbase.backup
+ 
+
+
+org.apache.hadoop.hbase.master.assignment
+ 
+
+
+org.apache.hadoop.hbase.mob
+ 
+
+
+org.apache.hadoop.hbase.mob.compactions
+ 
+
+
+org.apache.hadoop.hbase.regionserver
+ 
+
+
+org.apache.hadoop.hbase.regionserver.compactions
+ 
+
+
+
+
+
+
+
+
+
+Uses of HStoreFile in org.apache.hadoop.hbase.backup
+
+Fields in org.apache.hadoop.hbase.backup
 declared as HStoreFile 
+
+Modifier and Type
+Field and Description
+
+
+
+(package private) HStoreFile
+HFileArchiver.FileableStoreFile.file 
+
+
+
+
+Methods in org.apache.hadoop.hbase.backup
 with parameters of type HStoreFile 
+
+Modifier and Type
+Method and Description
+
+
+
+HFileArchiver.File
+HFileArchiver.StoreToFile.apply(HStoreFile input) 
+
+
+
+
+Method parameters in org.apache.hadoop.hbase.backup
 with type arguments of type HStoreFile 
+
+Modifier and Type
+Method and Description
+
+
+
+static void
+HFileArchiver.archiveStoreFiles(org.apache.hadoop.conf.Configuration conf,
+ org.apache.hadoop.fs.FileSystem fs,
+ HRegionInfo regionInfo,
+ org.apache.hadoop.fs.Path tableDir,
+ byte[] family,
+ http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection compactedFiles)
+Remove the store files, either by archiving them or 
outright deletion
+
+
+
+private static void
+HFileArchiver.deleteStoreFilesWithoutArchiving(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection compactedFiles)
+Just do a simple delete of the given store files
+
+
+
+
+
+Constructors in org.apache.hadoop.hbase.backup
 with parameters of type HStoreFile 
+
+Constructor and Description
+
+
+
+FileableStoreFile(org.apache.hadoop.fs.FileSystem fs,
+ HStoreFile store) 
+
+
+
+
+
+
+
+Uses of HStoreFile in org.apache.hadoop.hbase.master.assignment
+
+Fields in org.apache.hadoop.hbase.master.assignment
 declared as HStoreFile 
+
+Modifier and Type
+Field and Description
+
+
+
+private HStoreFile
+SplitTableRegionProcedure.StoreFileSplitter.sf 
+
+
+
+
+Methods in org.apache.hadoop.hbase.master.assignment
 with parameters of type HStoreFile 
+
+Modifier and Type
+Method and Description
+
+
+
+private Pair
+SplitTableRegionProcedure.splitStoreFile(HRegionFileSystem regionFs,
+  byte[] family,
+  HStoreFile sf) 
+
+
+
+
+Constructors in org.apache.hadoop.hbase.master.assignment
 with parameters of type HStoreFile 
+
+Constructor and Description
+
+
+
+StoreFileSplitter(HRegionFileSystem regionFs,
+ byte[] family,
+ HStoreFile sf)
+Constructor that takes what it needs to split
+
+
+
+
+
+
+
+
+Uses of HStoreFile in org.apache.hadoop.hbase.mob
+
+Fields in org.apache.hadoop.hbase.mob
 declared as HStoreFile 
+
+Modifier and Type
+Field and Description
+
+
+
+private HStoreFile
+MobFile.sf 
+
+
+
+
+Method parameters in org.apache.hadoop.hbase.mob
 with type arguments of type HStoreFile 
+
+Modifier and Type
+Method and Description
+
+
+
+static void
+MobUtils.removeMobFiles(org.apache.hadoop.conf.Configuration conf,
+  org.apache.hadoop.fs.FileSystem fs,
+  TableName tableName,
+  org.apache.hadoop.fs.Path tableDir,
+  byte[] family,
+  http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection storeFiles)
+Archives the mob files.
+
+
+
+
+
+Constructors in org.apache.hadoop.hbase.mob
 with parameters of type HStoreFile 
+
+Constructor and Description
+
+
+
+CachedMobFile(HStoreFile sf) 
+
+
+MobFile(HStoreFile sf) 
+
+
+
+
+
+
+
+Uses of HStoreFile in org.apache.hadoop.hbase.mob.compactions
+
+Fields in org.apache.hadoop.hbase.mob.compactions
 with type parameters of type HStoreFile 
+
+Modifier and Type
+Field and Description
+
+
+
+private http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java

[47/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/checkstyle.rss
--
diff --git a/checkstyle.rss b/checkstyle.rss
index 8dc0344..ce3e6af 100644
--- a/checkstyle.rss
+++ b/checkstyle.rss
@@ -26,7 +26,7 @@ under the License.
 ©2007 - 2017 The Apache Software Foundation
 
   File: 2042,
- Errors: 14001,
+ Errors: 13912,
  Warnings: 0,
  Infos: 0
   
@@ -993,7 +993,7 @@ under the License.
   0
 
 
-  55
+  63
 
   
   
@@ -2295,7 +2295,7 @@ under the License.
   0
 
 
-  16
+  15
 
   
   
@@ -2449,7 +2449,7 @@ under the License.
   0
 
 
-  1
+  0
 
   
   
@@ -3163,7 +3163,7 @@ under the License.
   0
 
 
-  1
+  0
 
   
   
@@ -3933,7 +3933,7 @@ under the License.
   0
 
 
-  3
+  0
 
   
   
@@ -4031,7 +4031,7 @@ under the License.
   0
 
 
-  50
+  48
 
   
   
@@ -4087,7 +4087,7 @@ under the License.
   0
 
 
-  8
+  6
 
   
   
@@ -4843,7 +4843,7 @@ under the License.
   0
 
 
-  1
+  0
 
   
   
@@ -5165,7 +5165,7 @@ under the License.
   0
 
 
-  178
+  170
 
   
   
@@ -5515,7 +5515,7 @@ under the License.
   0
 
 
-  1
+  0
 
   
   
@@ -6033,7 +6033,7 @@ under the License.
   0
 
 
-  12
+  11
 
   
   
@@ -6929,7 +6929,7 @@ under the License.
   0
 
 
-  3
+  2
 
   
   
@@ -7643,7 +7643,7 @@ under the License.
   0
 
 
-  1
+  0
 
   
   
@@ -8077,7 +8077,7 @@ under the License.
   0
 
 
-  53
+  52
 
   
   
@@ -8105,7 +8105,7 @@ under the License.
   0
 
 
-  1
+  0
 
   
   
@@ -10401,7 +10401,7 @@ under the License.
   0
 
 
-  25
+  20
 
   
   
@@ -10765,7 +10765,7 @@ under the License.
   0
 
 
-  4
+  3
 
   
   
@@ -5,7 +5,7 @@ under the License.
   0
 
 
-  12
+  11
 
   
   
@@ -11227,7 +11227,7 @@ under the License.
   0
 
 
-  1
+  0
 
   
   
@@ -11969,7 +11969,7 @@ under the License.
   0
 
 
-  2
+  1
 
   
   
@@ -12403,7 +12403,7 @@ under the License.
   0
 
 
-  1
+  0
 
   
   
@@ -12613,7 +12613,7 @@ under the License.
   0
 
 
-  21
+  20
 
   
   
@@ -13243,7 +13243,7 @@ under

[18/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/StoreEngine.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/StoreEngine.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/StoreEngine.html
index 2e82e4e..94468ec 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/StoreEngine.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/StoreEngine.html
@@ -198,9 +198,9 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 static StoreEngine
-create(Store store,
+create(HStore store,
   org.apache.hadoop.conf.Configuration conf,
-  CellComparator kvComparator)
+  CellComparator cellComparator)
 Create the StoreEngine configured for the given Store.
 
 
@@ -212,17 +212,17 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 protected abstract void
-createComponents(org.apache.hadoop.conf.Configuration conf,
-Store store,
-CellComparator kvComparator)
+createComponents(org.apache.hadoop.conf.Configuration conf,
+HStore store,
+CellComparator cellComparator)
 Create the StoreEngine's components.
 
 
 
 private void
-createComponentsOnce(org.apache.hadoop.conf.Configuration conf,
-Store store,
-CellComparator kvComparator) 
+createComponentsOnce(org.apache.hadoop.conf.Configuration conf,
+HStore store,
+CellComparator cellComparator) 
 
 
 CompactionPolicy
@@ -242,7 +242,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 abstract boolean
-needsCompaction(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesCompacting) 
+needsCompaction(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesCompacting) 
 
 
 
@@ -409,7 +409,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 needsCompaction
-public abstract boolean needsCompaction(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesCompacting)
+public abstract boolean needsCompaction(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesCompacting)
 
 Parameters:
 filesCompacting - Files currently compacting
@@ -436,15 +436,15 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 
-
+
 
 
 
 
 createComponents
 protected abstract void createComponents(org.apache.hadoop.conf.Configuration conf,
- Store store,
- CellComparator kvComparator)
+ HStore store,
+ CellComparator cellComparator)
   throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 Create the StoreEngine's components.
 
@@ -453,15 +453,15 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 
-
+
 
 
 
 
 createComponentsOnce
 private void createComponentsOnce(org.apache.hadoop.conf.Configuration conf,
-  Store store,
-  CellComparator kvComparator)
+  HStore store,
+  CellComparator cellComparator)
throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 
 Throws:
@@ -469,15 +469,15 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 
-
+
 
 
 
 
 create
-public static StoreEngine create(Store store,
+public static StoreEngine create(HStore store,
   
org.apache.hadoop.conf.Configuration conf,
-  CellComparator kvComparator)
+  CellComparator cellComparator)
throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 Create the StoreEngine configured for the given Store.
 
@@ -485,7 +485,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 store - The store. An unfortunate dependency needed due to it
   being passed to coprocessors via the compactor.
 conf - Store configuration.
-kvComparator - KVComparator for storeFileManager.
+cellC

[37/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheConfig.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheConfig.html 
b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheConfig.html
index 0b526b7..842143d 100644
--- a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheConfig.html
+++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheConfig.html
@@ -599,23 +599,19 @@
 
 
 CacheConfig
-StoreFile.getCacheConf() 
-
-
-CacheConfig
 HStoreFile.getCacheConf() 
 
-
+
 CacheConfig
 HRegionServer.getCacheConfig() 
 
-
+
 CacheConfig
 Store.getCacheConfig()
 Used for tests.
 
 
-
+
 CacheConfig
 HStore.getCacheConfig() 
 
@@ -673,19 +669,6 @@
org.apache.hadoop.fs.FileSystem fs) 
 
 
-HStoreFile(org.apache.hadoop.fs.FileSystem fs,
-  org.apache.hadoop.fs.Path p,
-  org.apache.hadoop.conf.Configuration conf,
-  CacheConfig cacheConf,
-  BloomType cfBloomType)
-Deprecated. 
-Now we will specific 
whether the StoreFile is for primary replica when
- constructing, so please use HStoreFile.HStoreFile(FileSystem,
 Path, Configuration,
- CacheConfig, BloomType, boolean) directly.
-
-
-
-
 HStoreFile(org.apache.hadoop.fs.FileSystem fs,
   org.apache.hadoop.fs.Path p,
   org.apache.hadoop.conf.Configuration conf,
@@ -695,19 +678,6 @@
 Constructor, loads a reader and it's indices, etc.
 
 
-
-HStoreFile(org.apache.hadoop.fs.FileSystem fs,
-  StoreFileInfo fileInfo,
-  org.apache.hadoop.conf.Configuration conf,
-  CacheConfig cacheConf,
-  BloomType cfBloomType)
-Deprecated. 
-Now we will specific 
whether the StoreFile is for primary replica when
- constructing, so please use HStoreFile.HStoreFile(FileSystem,
 StoreFileInfo,
- Configuration, CacheConfig, BloomType, boolean) 
directly.
-
-
-
 
 HStoreFile(org.apache.hadoop.fs.FileSystem fs,
   StoreFileInfo fileInfo,
@@ -909,7 +879,7 @@
 int maxKeys,
 HFile.Writer writer)
 Creates a new Delete Family Bloom filter at the time of
- StoreFile writing.
+ HStoreFile writing.
 
 
 
@@ -920,7 +890,7 @@
  int maxKeys,
  HFile.Writer writer)
 Creates a new general (Row or RowCol) Bloom filter at the 
time of
- StoreFile writing.
+ HStoreFile writing.
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/HFile.Writer.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/HFile.Writer.html 
b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/HFile.Writer.html
index 7125b9f..7d29f77 100644
--- a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/HFile.Writer.html
+++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/HFile.Writer.html
@@ -223,7 +223,7 @@
 int maxKeys,
 HFile.Writer writer)
 Creates a new Delete Family Bloom filter at the time of
- StoreFile writing.
+ HStoreFile writing.
 
 
 
@@ -234,7 +234,7 @@
  int maxKeys,
  HFile.Writer writer)
 Creates a new general (Row or RowCol) Bloom filter at the 
time of
- StoreFile writing.
+ HStoreFile writing.
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html 
b/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
index 0b63f49..1590409 100644
--- a/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
+++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html
@@ -273,12 +273,12 @@
 
 java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true";
 title="class or interface in java.lang">Enum (implements java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true";
 title="class or interface in java.lang">Comparable, java.io.http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true";
 title="class or interface in java.io">Serializable)
 
-org.apache.hadoop.hbase.io.hfile.CacheConfig.ExternalBlockCaches
+org.apache.hadoop.hbase.io.hfile.HFileBlock.Writer.State
 org.apache.hadoop.hbase.io.hfile.BlockPriority
 org.apache.hadoop.hbase.io.hfile.BlockType.BlockCategory
 org.apache.hadoop.hbase.io.hfile.Cacheable.MemoryType
+org.apache.hadoop.hbase.io.hfile.CacheConfig.ExternalBlockCaches
 org.apache.hadoop.hbase.io.hfile.BlockType
-org.apache.hadoop.hbase.io.hfile.HFileBlock.Writer.State
 
 
 

http://git-wip-us

[50/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html
--
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 0d6002e..38d76b6 100644
--- a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html
+++ b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html
@@ -25,889 +25,893 @@
 017 */
 018package 
org.apache.hadoop.hbase.mapreduce;
 019
-020import java.io.IOException;
-021import 
java.io.UnsupportedEncodingException;
-022import java.net.InetSocketAddress;
-023import java.net.URLDecoder;
-024import java.net.URLEncoder;
-025import 
java.nio.charset.StandardCharsets;
-026import java.util.ArrayList;
-027import java.util.Arrays;
-028import java.util.List;
-029import java.util.Map;
-030import java.util.Set;
-031import java.util.TreeMap;
-032import java.util.TreeSet;
-033import java.util.UUID;
-034import java.util.function.Function;
-035import java.util.stream.Collectors;
-036
-037import 
org.apache.commons.lang3.StringUtils;
-038import org.apache.commons.logging.Log;
-039import 
org.apache.commons.logging.LogFactory;
-040import 
org.apache.hadoop.conf.Configuration;
-041import org.apache.hadoop.fs.FileSystem;
-042import org.apache.hadoop.fs.Path;
-043import org.apache.hadoop.hbase.Cell;
-044import 
org.apache.hadoop.hbase.CellComparator;
-045import 
org.apache.hadoop.hbase.CellUtil;
-046import 
org.apache.yetus.audience.InterfaceAudience;
-047import 
org.apache.hadoop.hbase.client.TableDescriptor;
-048import 
org.apache.hadoop.hbase.client.ColumnFamilyDescriptor;
-049import 
org.apache.hadoop.hbase.client.ColumnFamilyDescriptorBuilder;
-050import 
org.apache.hadoop.hbase.client.Connection;
-051import 
org.apache.hadoop.hbase.client.ConnectionFactory;
-052import 
org.apache.hadoop.hbase.client.Put;
-053import 
org.apache.hadoop.hbase.client.RegionLocator;
-054import 
org.apache.hadoop.hbase.client.Table;
-055import 
org.apache.hadoop.hbase.fs.HFileSystem;
-056import 
org.apache.hadoop.hbase.HConstants;
-057import 
org.apache.hadoop.hbase.HRegionLocation;
-058import 
org.apache.hadoop.hbase.HTableDescriptor;
-059import 
org.apache.hadoop.hbase.io.ImmutableBytesWritable;
-060import 
org.apache.hadoop.hbase.io.compress.Compression;
-061import 
org.apache.hadoop.hbase.io.compress.Compression.Algorithm;
-062import 
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding;
-063import 
org.apache.hadoop.hbase.io.hfile.CacheConfig;
-064import 
org.apache.hadoop.hbase.io.hfile.HFile;
-065import 
org.apache.hadoop.hbase.io.hfile.HFileContext;
-066import 
org.apache.hadoop.hbase.io.hfile.HFileContextBuilder;
-067import 
org.apache.hadoop.hbase.io.hfile.HFileWriterImpl;
-068import 
org.apache.hadoop.hbase.KeyValue;
-069import 
org.apache.hadoop.hbase.KeyValueUtil;
-070import 
org.apache.hadoop.hbase.regionserver.BloomType;
-071import 
org.apache.hadoop.hbase.regionserver.HStore;
-072import 
org.apache.hadoop.hbase.regionserver.StoreFile;
-073import 
org.apache.hadoop.hbase.regionserver.StoreFileWriter;
-074import 
org.apache.hadoop.hbase.TableName;
-075import 
org.apache.hadoop.hbase.util.Bytes;
-076import 
org.apache.hadoop.hbase.util.EnvironmentEdgeManager;
-077import 
org.apache.hadoop.hbase.util.FSUtils;
-078import 
org.apache.hadoop.io.NullWritable;
-079import 
org.apache.hadoop.io.SequenceFile;
-080import org.apache.hadoop.io.Text;
-081import org.apache.hadoop.mapreduce.Job;
-082import 
org.apache.hadoop.mapreduce.OutputFormat;
-083import 
org.apache.hadoop.mapreduce.RecordWriter;
-084import 
org.apache.hadoop.mapreduce.TaskAttemptContext;
-085import 
org.apache.hadoop.mapreduce.lib.output.FileOutputCommitter;
-086import 
org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;
-087import 
org.apache.hadoop.mapreduce.lib.partition.TotalOrderPartitioner;
-088
-089import 
org.apache.hadoop.hbase.shaded.com.google.common.annotations.VisibleForTesting;
-090
-091/**
-092 * Writes HFiles. Passed Cells must 
arrive in order.
-093 * Writes current time as the sequence id 
for the file. Sets the major compacted
-094 * attribute on created @{link {@link 
HFile}s. Calling write(null,null) will forcibly roll
-095 * all HFiles being written.
-096 * 

-097 * Using this class as part of a MapReduce job is best done -098 * using {@link #configureIncrementalLoad(Job, TableDescriptor, RegionLocator)}. -099 */ -100@InterfaceAudience.Public -101public class HFileOutputFormat2 -102extends FileOutputFormat { -103 private static final Log LOG = LogFactory.getLog(HFileOutputFormat2.class); -104 static class TableInfo { -105private TableDescriptor tableDesctiptor; -106private RegionLocator regionLocator; -107 -108public TableInfo(TableDescriptor tableDesctiptor, RegionLocator regionL


[30/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/mob/compactions/PartitionedMobCompactor.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/mob/compactions/PartitionedMobCompactor.html
 
b/devapidocs/org/apache/hadoop/hbase/mob/compactions/PartitionedMobCompactor.html
index 3e934bf..1a40d8f 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/mob/compactions/PartitionedMobCompactor.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/mob/compactions/PartitionedMobCompactor.html
@@ -115,7 +115,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.Private
-public class PartitionedMobCompactor
+public class PartitionedMobCompactor
 extends MobCompactor
 An implementation of MobCompactor that 
compacts the mob files in partitions.
 
@@ -267,7 +267,7 @@ extends 
 private void
-closeStoreFileReaders(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List storeFiles)
+closeStoreFileReaders(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List storeFiles)
 Closes the readers of store files.
 
 
@@ -288,7 +288,7 @@ extends 
 private org.apache.hadoop.fs.Path
 compactDelFilesInBatch(PartitionedMobCompactionRequest request,
-  http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List delFiles)
+  http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List delFiles)
 Compacts the del file in a batch.
 
 
@@ -296,7 +296,7 @@ extends private http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in 
java.util">List
 compactMobFilePartition(PartitionedMobCompactionRequest request,
PartitionedMobCompactionRequest.CompactionPartition partition,
-   http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List delFiles,
+   http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List delFiles,
Connection connection,
Table table)
 Compacts a partition of selected small mob files and all 
the del files.
@@ -314,7 +314,7 @@ extends PartitionedMobCompactionRequest.CompactionPartition partition,
   Connection connection,
   Table table,
-  http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesToCompact,
+  http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesToCompact,
   int batch,
   org.apache.hadoop.fs.Path bulkloadPathOfPartition,
   org.apache.hadoop.fs.Path bulkloadColumnPath,
@@ -324,7 +324,7 @@ extends 
 private StoreScanner
-createScanner(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesToCompact,
+createScanner(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List filesToCompact,
  ScanType scanType)
 Creates a store scanner.
 
@@ -337,7 +337,7 @@ extends 
 private PairLong,http://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true";
 title="class or interface in java.lang">Long>
-getFileInfo(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List storeFiles)
+getFileInfo(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List storeFiles)
 Gets the max seqId and number of cells of the store 
files.
 
 
@@ -346,7 +346,7 @@ extends getLinkedFileStatus(HFileLink link) 
 
 
-(package private) http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
+(package private) http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
 getListOfDelFilesForPartition(PartitionedMobCompactionRequest.CompactionPartition partition,
  http://

[34/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaHostCostFunction.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaHostCostFunction.html
 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaHostCostFunction.html
index 3c2ad57..03f60d4 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaHostCostFunction.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaHostCostFunction.html
@@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-static class StochasticLoadBalancer.RegionReplicaHostCostFunction
+static class StochasticLoadBalancer.RegionReplicaHostCostFunction
 extends StochasticLoadBalancer.CostFunction
 A cost function for region replicas. We give a very high 
cost to hosting
  replicas of the same region in the same host. We do not prevent the case
@@ -272,7 +272,7 @@ extends 
 
 REGION_REPLICA_HOST_COST_KEY
-private static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String REGION_REPLICA_HOST_COST_KEY
+private static final http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String REGION_REPLICA_HOST_COST_KEY
 
 See Also:
 Constant
 Field Values
@@ -285,7 +285,7 @@ extends 
 
 DEFAULT_REGION_REPLICA_HOST_COST_KEY
-private static final float DEFAULT_REGION_REPLICA_HOST_COST_KEY
+private static final float DEFAULT_REGION_REPLICA_HOST_COST_KEY
 
 See Also:
 Constant
 Field Values
@@ -298,7 +298,7 @@ extends 
 
 maxCost
-long maxCost
+long maxCost
 
 
 
@@ -307,7 +307,7 @@ extends 
 
 costsPerGroup
-long[] costsPerGroup
+long[] costsPerGroup
 
 
 
@@ -316,7 +316,7 @@ extends 
 
 primariesOfRegionsPerGroup
-int[][] primariesOfRegionsPerGroup
+int[][] primariesOfRegionsPerGroup
 
 
 
@@ -333,7 +333,7 @@ extends 
 
 RegionReplicaHostCostFunction
-public RegionReplicaHostCostFunction(org.apache.hadoop.conf.Configuration conf)
+public RegionReplicaHostCostFunction(org.apache.hadoop.conf.Configuration conf)
 
 
 
@@ -350,7 +350,7 @@ extends 
 
 init
-void init(BaseLoadBalancer.Cluster cluster)
+void init(BaseLoadBalancer.Cluster cluster)
 Description copied from 
class: StochasticLoadBalancer.CostFunction
 Called once per LB invocation to give the cost function
  to initialize it's state, and perform any costly calculation.
@@ -366,7 +366,7 @@ extends 
 
 getMaxCost
-long getMaxCost(BaseLoadBalancer.Cluster cluster)
+long getMaxCost(BaseLoadBalancer.Cluster cluster)
 
 
 
@@ -375,7 +375,7 @@ extends 
 
 isNeeded
-boolean isNeeded()
+boolean isNeeded()
 
 Overrides:
 isNeeded in
 class StochasticLoadBalancer.CostFunction
@@ -388,7 +388,7 @@ extends 
 
 cost
-double cost()
+double cost()
 
 Specified by:
 cost in
 class StochasticLoadBalancer.CostFunction
@@ -401,7 +401,7 @@ extends 
 
 costPerGroup
-protected long costPerGroup(int[] primariesOfRegions)
+protected long costPerGroup(int[] primariesOfRegions)
 For each primary region, it computes the total number of 
replicas in the array (numReplicas)
  and returns a sum of numReplicas-1 squared. For example, if the server hosts
  regions a, b, c, d, e, f where a and b are same replicas, and c,d,e are same 
replicas, it
@@ -420,7 +420,7 @@ extends 
 
 regionMoved
-protected void regionMoved(int region,
+protected void regionMoved(int region,
int oldServer,
int newServer)
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaRackCandidateGenerator.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaRackCandidateGenerator.html
 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaRackCandidateGenerator.html
index b5e0481..fccb038 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaRackCandidateGenerator.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.RegionReplicaRackCandidateGenerator.html
@@ -123,7 +123,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-static class StochasticLoadBalancer.RegionReplicaRackCandidateGenerator
+static class StochasticLoadBalancer.RegionReplicaRackCandidateGenerator
 extends StochasticLoadBalancer.RegionReplicaCandidateGenerator
 Generates candidates which moves the replicas out of the 
rack for
  co-hosted region replicas in the same rack
@@ -223,7 +223,7 @@ extends 
 
 RegionReplicaRackCandidateGenerator
-RegionRepli

[44/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html 
b/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html
index dac47bb..af68a4d 100644
--- a/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html
+++ b/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html
@@ -3386,33 +3386,42 @@ service.
 
 
 
-private Cell
-HalfStoreFileReader.firstKey 
-
-
 protected Cell
 HalfStoreFileReader.splitCell 
 
 
 
+
+Fields in org.apache.hadoop.hbase.io
 with type parameters of type Cell 
+
+Modifier and Type
+Field and Description
+
+
+
+private http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
+HalfStoreFileReader.firstKey 
+
+
+
 
-Methods in org.apache.hadoop.hbase.io
 that return Cell 
+Methods in org.apache.hadoop.hbase.io
 that return types with arguments of type Cell 
 
 Modifier and Type
 Method and Description
 
 
 
-Cell
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
 HalfStoreFileReader.getFirstKey() 
 
 
-Cell
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
 HalfStoreFileReader.getLastKey() 
 
 
-Cell
-HalfStoreFileReader.midkey() 
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
+HalfStoreFileReader.midKey() 
 
 
 
@@ -3865,14 +3874,6 @@ service.
 HFileReaderImpl.EncodedScanner.getCell() 
 
 
-Cell
-HFile.Reader.getFirstKey() 
-
-
-Cell
-HFileReaderImpl.getFirstKey() 
-
-
 protected Cell
 HFileReaderImpl.HFileScannerImpl.getFirstKeyCellInBlock(HFileBlock curBlock) 
 
@@ -3895,14 +3896,6 @@ service.
 HFileReaderImpl.EncodedScanner.getKey() 
 
 
-Cell
-HFile.Reader.getLastKey() 
-
-
-Cell
-HFileReaderImpl.getLastKey() 
-
-
 static Cell
 HFileWriterImpl.getMidpoint(CellComparator comparator,
Cell left,
@@ -3945,13 +3938,38 @@ service.
 An approximation to the HFile's mid-key.
 
 
+
+
+
+Methods in org.apache.hadoop.hbase.io.hfile
 that return types with arguments of type Cell 
+
+Modifier and Type
+Method and Description
+
+
+
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
+HFile.Reader.getFirstKey() 
+
 
-Cell
-HFile.Reader.midkey() 
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
+HFileReaderImpl.getFirstKey() 
 
 
-Cell
-HFileReaderImpl.midkey() 
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
+HFile.Reader.getLastKey() 
+
+
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
+HFileReaderImpl.getLastKey() 
+
+
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
+HFile.Reader.midKey() 
+
+
+http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
+HFileReaderImpl.midKey() 
 
 
 
@@ -4553,31 +4571,23 @@ service.
 StoreFileScanner.delayedSeekKV 
 
 
-private Cell
-HStoreFile.firstKey 
-
-
 protected Cell
 HRegion.RegionScannerImpl.joinedContinuationRow
 If the joined heap data gathering is interrupted due to 
scan limits, this will
  contain the row for which we are populating the values.
 
 
-
-private Cell
-SegmentScanner.last 
-
 
 private Cell
-StripeMultiFileWriter.BoundaryMultiWriter.lastCell 
+SegmentScanner.last 
 
 
 private Cell
-StripeMultiFileWriter.SizeMultiWriter.lastCell 
+StripeMultiFileWriter.BoundaryMultiWriter.lastCell 
 
 
 private Cell
-HStoreFile.lastKey 
+StripeMultiFileWriter.SizeMultiWriter.lastCell 
 
 
 private Cell
@@ -4604,21 +4614,21 @@ service.
 
 
 
-private http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true";
 title="class or interface in java.util">Comparator
-HStoreFile.comparator 
-
-
 private http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true";
 title="class or interface in java.util">Comparator
 CellFlatMap.comparator 
 
-
+
 private http://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true";
 title="class or interface in java.util">NavigableMap
 CellSet.delegatee 
 
-
+
 private http://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true";
 title="class or interface in java.util">NavigableMap
 CellSet.dele

[03/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFileInfo.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFileInfo.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFileInfo.html
index fd2f2cf..95fb768 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFileInfo.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFileInfo.html
@@ -125,13 +125,9 @@
 
 
 StoreFileInfo
-StoreFile.getFileInfo() 
-
-
-StoreFileInfo
 HStoreFile.getFileInfo() 
 
-
+
 (package private) StoreFileInfo
 HRegionFileSystem.getStoreFileInfo(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String familyName,
 http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String fileName)
@@ -178,7 +174,7 @@
 HStore.bulkLoadHFile(StoreFileInfo fileInfo) 
 
 
-private StoreFile
+private HStoreFile
 HStore.createStoreFileAndReader(StoreFileInfo info) 
 
 
@@ -191,7 +187,7 @@
 
 
 
-private http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
+private http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
 HStore.openStoreFiles(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection files) 
 
 
@@ -211,19 +207,6 @@
 
 
 
-HStoreFile(org.apache.hadoop.fs.FileSystem fs,
-  StoreFileInfo fileInfo,
-  org.apache.hadoop.conf.Configuration conf,
-  CacheConfig cacheConf,
-  BloomType cfBloomType)
-Deprecated. 
-Now we will specific 
whether the StoreFile is for primary replica when
- constructing, so please use HStoreFile.HStoreFile(FileSystem,
 StoreFileInfo,
- Configuration, CacheConfig, BloomType, boolean) 
directly.
-
-
-
-
 HStoreFile(org.apache.hadoop.fs.FileSystem fs,
   StoreFileInfo fileInfo,
   org.apache.hadoop.conf.Configuration conf,

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFileReader.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFileReader.html
 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFileReader.html
index 1b200ae..fa12402 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFileReader.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFileReader.html
@@ -245,13 +245,9 @@
 
 
 StoreFileReader
-StoreFile.getReader() 
-
-
-StoreFileReader
 HStoreFile.getReader() 
 
-
+
 StoreFileReader
 StoreFileInfo.open(org.apache.hadoop.fs.FileSystem fs,
 CacheConfig cacheConf,
@@ -263,7 +259,7 @@
 Open a Reader for the StoreFile
 
 
-
+
 StoreFileReader
 RegionCoprocessorHost.postStoreFileReaderOpen(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p,
@@ -273,7 +269,7 @@
Reference r,
StoreFileReader reader) 
 
-
+
 StoreFileReader
 RegionCoprocessorHost.preStoreFileReaderOpen(org.apache.hadoop.fs.FileSystem fs,
   org.apache.hadoop.fs.Path p,
@@ -307,6 +303,19 @@
 
 
 
+
+Method parameters in org.apache.hadoop.hbase.regionserver
 with type arguments of type StoreFileReader 
+
+Modifier and Type
+Method and Description
+
+
+
+private long
+HStore.getStoreFileFieldSize(http://docs.oracle.com/javase/8/docs/api/java/util/function/ToLongFunction.html?is-external=true";
 title="class or interface in java.util.function">ToLongFunction f) 
+
+
+
 
 Constructors in org.apache.hadoop.hbase.regionserver
 with parameters of type StoreFileReader 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFileScanner.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFileScanner.html
 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFileScanner.html
index 475db5f..8ff4e0f 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFileScanner.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/StoreFileScanner.html
@@ -132,22 +132,15 @@
 
 
 StoreFileScanner
-StoreFile.getPreadScanner(boolean cacheBlocks,
+HStoreFile.getPreadScanner(boolean cacheBlocks,
long readPt,
long scannerOrder,

[19/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/Store.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/Store.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/Store.html
index 0d9c635..b2499e4 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/Store.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/Store.html
@@ -18,7 +18,7 @@
 catch(err) {
 }
 //-->
-var methods = 
{"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":38,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":38,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":38,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":18,"i47":6,"i48":18,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":38,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6,"i61":6,"i62":6,"i63":6,"i64":6,"i65":6,"i66":6,"i67":6,"i68":6,"i69":6,"i70":6,"i71":6,"i72":6,"i73":6,"i74":18,"i75":6,"i76":6,"i77":6,"i78":6};
+var methods = 
{"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":38,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":38,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":38,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":38,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6,"i61":6,"i62":6,"i63":6,"i64":6,"i65":6,"i66":6,"i67":6,"i68":6,"i69":18,"i70":6,"i71":6,"i72":6,"i73":6};
 var tabs = {65535:["t0","All Methods"],2:["t2","Instance 
Methods"],4:["t3","Abstract Methods"],16:["t5","Default 
Methods"],32:["t6","Deprecated Methods"]};
 var altColor = "altColor";
 var rowColor = "rowColor";
@@ -111,7 +111,7 @@ var activeTableTab = "activeTableTab";
 
 @InterfaceAudience.LimitedPrivate(value="Coprocesssor")
  @InterfaceStability.Evolving
-public interface Store
+public interface Store
 extends HeapSize, StoreConfigInformation, PropagatingConfigurationObserver
 Interface for objects that hold a column family in a 
Region. Its a memstore and a set of zero or
  more StoreFiles, which stretch backwards over time.
@@ -175,7 +175,7 @@ extends canSplit() 
 
 
-http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection
+http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection
 close()
 Close all the readers We don't need to worry about 
subsequent requests because the Region
  holds a write lock that will prevent any more reads or writes.
@@ -188,7 +188,7 @@ extends 
 
 
-http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
+http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
 compact(CompactionContext compaction,
ThroughputController throughputController)
 Deprecated. 
@@ -197,7 +197,7 @@ extends 
 
 
-http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
+http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
 compact(CompactionContext compaction,
ThroughputController throughputController,
User user) 
@@ -264,7 +264,7 @@ extends getCompactedCellsSize() 
 
 
-http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection
+http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection
 getCompactedFiles() 
 
 
@@ -394,86 +394,26 @@ extends 
 
 
-default http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
-getScanners(boolean cacheBlocks,
-   boolean isGet,
-   boolean usePread,
-   boolean isCompaction,
-   ScanQueryMatcher matcher,
-   byte[] startRow,
-   byte[] stopRow,
-   long readPt)
-Get all scanners with no filtering based on TTL (that 
happens further down the line).
-
-
-
-http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
-getScanners(boolean cacheBlocks,
-   boolean usePread,
-   boolean isCompaction,
-   ScanQueryMatcher matc

[42/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionObserver.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionObserver.html 
b/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionObserver.html
index 3de7a02..810100a 100644
--- a/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionObserver.html
+++ b/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionObserver.html
@@ -297,7 +297,7 @@ extends default void
 postCompactSelection(ObserverContext c,
 Store store,
-
org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList selected,
+
org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList selected,
 CompactionLifeCycleTracker tracker)
 Called after the StoreFiles to compact 
have been selected from the available
  candidates.
@@ -589,7 +589,7 @@ extends default void
 preCompactSelection(ObserverContext c,
Store store,
-   http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List candidates,
+   http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List candidates,
CompactionLifeCycleTracker tracker)
 Called prior to selecting the StoreFiles to compact 
from the list of
  available candidates.
@@ -940,7 +940,7 @@ extends preCompactSelection
 default void preCompactSelection(ObserverContext c,
  Store store,
- http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List candidates,
+ http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List candidates,
  CompactionLifeCycleTracker tracker)
   throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
 Called prior to selecting the StoreFiles to compact 
from the list of
@@ -965,7 +965,7 @@ extends postCompactSelection
 default void postCompactSelection(ObserverContext c,
   Store store,
-  
org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList selected,
+  
org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList selected,
   CompactionLifeCycleTracker tracker)
 Called after the StoreFiles to compact 
have been selected from the available
  candidates.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html 
b/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html
index 48d8a67..9cd9b35 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html
@@ -420,7 +420,7 @@
 default void
 RegionObserver.postCompactSelection(ObserverContext c,
 Store store,
-
org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList selected,
+
org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList selected,
 CompactionLifeCycleTracker tracker)
 Called after the StoreFiles to compact 
have been selected from the available
  candidates.
@@ -1313,7 +1313,7 @@
 default void
 RegionObserver.preCompactSelection(ObserverContext c,
Store store,
-   http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List candidates,
+   http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List candidates,
CompactionLifeCycleTracker tracker)
 Called prior to selecting the StoreFiles to compact 
from the list of
  available candidates.

http://git-wip-us.apache.org/rep

[51/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
Published site at .


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

Branch: refs/heads/asf-site
Commit: bd3bcf4e73c3313d5b6e6068bd07dc4f4bb2d392
Parents: 7305da7
Author: jenkins 
Authored: Mon Sep 25 15:13:13 2017 +
Committer: jenkins 
Committed: Mon Sep 25 15:13:13 2017 +

--
 acid-semantics.html | 4 +-
 apache_hbase_reference_guide.pdf| 4 +-
 .../hbase/mapreduce/HFileOutputFormat2.html |26 +-
 .../hbase/mapreduce/HFileOutputFormat2.html |  1740 +-
 book.html   | 2 +-
 bulk-loads.html | 4 +-
 checkstyle-aggregate.html   | 16066 -
 checkstyle.rss  |   104 +-
 coc.html| 4 +-
 cygwin.html | 4 +-
 dependencies.html   | 4 +-
 dependency-convergence.html | 4 +-
 dependency-info.html| 4 +-
 dependency-management.html  | 4 +-
 devapidocs/constant-values.html |32 +-
 devapidocs/deprecated-list.html |14 -
 devapidocs/index-all.html   |   595 +-
 .../backup/HFileArchiver.FileableStoreFile.html |14 +-
 .../hbase/backup/HFileArchiver.StoreToFile.html |14 +-
 .../hadoop/hbase/backup/HFileArchiver.html  |14 +-
 .../class-use/FailedArchiveException.html   | 2 +-
 .../backup/class-use/HFileArchiver.File.html| 4 +-
 .../class-use/HFileArchiver.FileConverter.html  | 2 +-
 .../hadoop/hbase/backup/package-summary.html| 6 +-
 .../hadoop/hbase/backup/package-tree.html   | 2 +-
 .../org/apache/hadoop/hbase/class-use/Cell.html |   266 +-
 .../hadoop/hbase/class-use/CellComparator.html  |81 +-
 .../hadoop/hbase/class-use/HRegionInfo.html |10 +-
 .../apache/hadoop/hbase/class-use/KeyValue.html |18 +-
 .../hadoop/hbase/class-use/TableName.html   | 2 +-
 .../hbase/client/class-use/Connection.html  | 4 +-
 .../hadoop/hbase/client/class-use/Scan.html |42 +-
 .../hadoop/hbase/client/class-use/Table.html| 4 +-
 .../hadoop/hbase/client/package-tree.html   |24 +-
 .../RegionObserver.MutationType.html| 4 +-
 .../hbase/coprocessor/RegionObserver.html   | 8 +-
 .../coprocessor/class-use/ObserverContext.html  | 4 +-
 .../class-use/RegionCoprocessorEnvironment.html | 4 +-
 .../ZooKeeperScanPolicyObserver.ZKWatcher.html  |16 +-
 .../example/ZooKeeperScanPolicyObserver.html|20 +-
 .../hadoop/hbase/filter/package-tree.html   | 6 +-
 .../hadoop/hbase/io/HalfStoreFileReader.html|54 +-
 .../io/hfile/HFile.CachingBlockReader.html  | 6 +-
 .../hadoop/hbase/io/hfile/HFile.FileInfo.html   |74 +-
 .../hadoop/hbase/io/hfile/HFile.Reader.html |82 +-
 .../hadoop/hbase/io/hfile/HFile.Writer.html |18 +-
 .../hbase/io/hfile/HFile.WriterFactory.html |36 +-
 .../org/apache/hadoop/hbase/io/hfile/HFile.html |74 +-
 ...ReaderImpl.BlockIndexNotLoadedException.html | 4 +-
 .../hfile/HFileReaderImpl.EncodedScanner.html   |40 +-
 .../hfile/HFileReaderImpl.HFileScannerImpl.html |   126 +-
 .../HFileReaderImpl.NotSeekedException.html | 4 +-
 .../hadoop/hbase/io/hfile/HFileReaderImpl.html  |   186 +-
 .../hbase/io/hfile/class-use/CacheConfig.html   |40 +-
 .../hbase/io/hfile/class-use/HFile.Writer.html  | 4 +-
 .../hadoop/hbase/io/hfile/package-tree.html | 4 +-
 .../mapreduce/HFileOutputFormat2.TableInfo.html |14 +-
 .../HFileOutputFormat2.WriterLength.html| 8 +-
 .../hbase/mapreduce/HFileOutputFormat2.html |74 +-
 .../hadoop/hbase/mapreduce/package-tree.html| 4 +-
 ...tTableRegionProcedure.StoreFileSplitter.html |22 +-
 .../assignment/SplitTableRegionProcedure.html   |90 +-
 ...ochasticLoadBalancer.CandidateGenerator.html |22 +-
 ...lancer.CostFromRegionLoadAsRateFunction.html | 6 +-
 ...LoadBalancer.CostFromRegionLoadFunction.html |20 +-
 .../StochasticLoadBalancer.CostFunction.html|28 +-
 ...sticLoadBalancer.LoadCandidateGenerator.html |10 +-
 ...alancer.LocalityBasedCandidateGenerator.html |14 +-
 ...cLoadBalancer.LocalityBasedCostFunction.html |28 +-
 ...icLoadBalancer.MemstoreSizeCostFunction.html |10 +-
 ...StochasticLoadBalancer.MoveCostFunction.html |18 +-
 ...ncer.PrimaryRegionCountSkewCostFunction.html |12 +-
 ...icLoadBalancer.RackLocalityCostFunction.html |10 +-
 ...icLoadBalancer

[46/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/index-all.html
--
diff --git a/devapidocs/index-all.html b/devapidocs/index-all.html
index 07378eb..406cd71 100644
--- a/devapidocs/index-all.html
+++ b/devapidocs/index-all.html
@@ -403,7 +403,7 @@
 Base class for implementing a Compactor which will generate 
multiple output files after
  compaction.
 
-AbstractMultiOutputCompactor(Configuration,
 Store) - Constructor for class 
org.apache.hadoop.hbase.regionserver.compactions.AbstractMultiOutputCompactor
+AbstractMultiOutputCompactor(Configuration,
 HStore) - Constructor for class 
org.apache.hadoop.hbase.regionserver.compactions.AbstractMultiOutputCompactor
  
 AbstractPositionedByteRange - Class in org.apache.hadoop.hbase.util
 
@@ -1471,13 +1471,13 @@
 
 Convenience method to parse a string representation of an 
array of column specifiers.
 
-addCompactionResults(Collection,
 Collection) - Method in class 
org.apache.hadoop.hbase.regionserver.DefaultStoreFileManager
+addCompactionResults(Collection,
 Collection) - Method in class 
org.apache.hadoop.hbase.regionserver.DefaultStoreFileManager
  
-addCompactionResults(Collection,
 Collection) - Method in interface 
org.apache.hadoop.hbase.regionserver.StoreFileManager
+addCompactionResults(Collection,
 Collection) - Method in interface 
org.apache.hadoop.hbase.regionserver.StoreFileManager
 
 Adds only the new compaction results into the 
structure.
 
-addCompactionResults(Collection,
 Collection) - Method in class 
org.apache.hadoop.hbase.regionserver.StripeStoreFileManager
+addCompactionResults(Collection,
 Collection) - Method in class 
org.apache.hadoop.hbase.regionserver.StripeStoreFileManager
  
 addConfig(RegionServerStatusProtos.RegionServerStartupResponse.Builder,
 String) - Method in class org.apache.hadoop.hbase.master.MasterRpcServices
  
@@ -2348,7 +2348,7 @@
 
 addStatistic(byte[],
 ClientProtos.RegionLoadStats) - Method in class 
org.apache.hadoop.hbase.client.MultiResponse
  
-addStoreFile(StoreFile)
 - Method in class org.apache.hadoop.hbase.mob.compactions.PartitionedMobCompactionRequest.CompactionDelPartition
+addStoreFile(HStoreFile)
 - Method in class org.apache.hadoop.hbase.mob.compactions.PartitionedMobCompactionRequest.CompactionDelPartition
  
 addStoreFile(HRegionInfo,
 String, SnapshotProtos.SnapshotRegionManifest.StoreFile, Map) - Method in class org.apache.hadoop.hbase.snapshot.SnapshotInfo.SnapshotStats
 
@@ -2414,7 +2414,7 @@
  
 addToCachedServers(RegionLocations)
 - Method in class org.apache.hadoop.hbase.client.MetaCache
  
-addToCompactingFiles(Collection)
 - Method in class org.apache.hadoop.hbase.regionserver.HStore
+addToCompactingFiles(Collection)
 - Method in class org.apache.hadoop.hbase.regionserver.HStore
 
 Adds the files to compacting files.
 
@@ -3233,17 +3233,17 @@
 
 apply(FileStatus)
 - Method in class org.apache.hadoop.hbase.backup.HFileArchiver.FileStatusConverter
  
-apply(StoreFile)
 - Method in class org.apache.hadoop.hbase.backup.HFileArchiver.StoreToFile
+apply(HStoreFile)
 - Method in class org.apache.hadoop.hbase.backup.HFileArchiver.StoreToFile
  
-apply(StoreFile)
 - Method in class org.apache.hadoop.hbase.regionserver.StoreFileComparators.GetBulkTime
+apply(HStoreFile)
 - Method in class org.apache.hadoop.hbase.regionserver.StoreFileComparators.GetBulkTime
  
-apply(StoreFile)
 - Method in class org.apache.hadoop.hbase.regionserver.StoreFileComparators.GetFileSize
+apply(HStoreFile)
 - Method in class org.apache.hadoop.hbase.regionserver.StoreFileComparators.GetFileSize
  
-apply(StoreFile)
 - Method in class org.apache.hadoop.hbase.regionserver.StoreFileComparators.GetMaxTimestamp
+apply(HStoreFile)
 - Method in class org.apache.hadoop.hbase.regionserver.StoreFileComparators.GetMaxTimestamp
  
-apply(StoreFile)
 - Method in class org.apache.hadoop.hbase.regionserver.StoreFileComparators.GetPathName
+apply(HStoreFile)
 - Method in class org.apache.hadoop.hbase.regionserver.StoreFileComparators.GetPathName
  
-apply(StoreFile)
 - Method in class org.apache.hadoop.hbase.regionserver.StoreFileComparators.GetSeqId
+apply(HStoreFile)
 - Method in class org.apache.hadoop.hbase.regionserver.StoreFileComparators.GetSeqId
  
 apply(byte)
 - Method in enum org.apache.hadoop.hbase.util.Order
 
@@ -3270,11 +3270,11 @@
 Apply the settings in the given key to the given 
configuration, this is
  used to communicate with distant clusters
 
-applyCompactionPolicy(ArrayList,
 boolean, boolean) - Method in class 
org.apache.hadoop.hbase.regionserver.compactions.ExploringCompactionPolicy
+applyCompactionPolicy(ArrayList,
 boolean, boolean) - Method in class 
org.apache.hadoop.hbase.regionserver.compactions.ExploringCompactionPo

[36/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.html
 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.html
index d449d30..89d67a1 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/assignment/SplitTableRegionProcedure.html
@@ -134,7 +134,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.Private
-public class SplitTableRegionProcedure
+public class SplitTableRegionProcedure
 extends AbstractStateMachineRegionProcedure
 The procedure to split a region in a table.
  Takes lock on the parent region.
@@ -436,9 +436,9 @@ extends 
 private Pair
-splitStoreFile(HRegionFileSystem regionFs,
+splitStoreFile(HRegionFileSystem regionFs,
   byte[] family,
-  StoreFile sf) 
+  HStoreFile sf) 
 
 
 private PairInteger,http://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true";
 title="class or interface in java.lang">Integer>
@@ -516,7 +516,7 @@ extends 
 
 LOG
-private static final org.apache.commons.logging.Log LOG
+private static final org.apache.commons.logging.Log LOG
 
 
 
@@ -525,7 +525,7 @@ extends 
 
 traceEnabled
-private http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true";
 title="class or interface in java.lang">Boolean traceEnabled
+private http://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true";
 title="class or interface in java.lang">Boolean traceEnabled
 
 
 
@@ -534,7 +534,7 @@ extends 
 
 daughter_1_HRI
-private HRegionInfo daughter_1_HRI
+private HRegionInfo daughter_1_HRI
 
 
 
@@ -543,7 +543,7 @@ extends 
 
 daughter_2_HRI
-private HRegionInfo daughter_2_HRI
+private HRegionInfo daughter_2_HRI
 
 
 
@@ -552,7 +552,7 @@ extends 
 
 bestSplitRow
-private byte[] bestSplitRow
+private byte[] bestSplitRow
 
 
 
@@ -561,7 +561,7 @@ extends 
 
 EXPECTED_SPLIT_STATES
-private static RegionState.State[] EXPECTED_SPLIT_STATES
+private static RegionState.State[] EXPECTED_SPLIT_STATES
 
 
 
@@ -578,7 +578,7 @@ extends 
 
 SplitTableRegionProcedure
-public SplitTableRegionProcedure()
+public SplitTableRegionProcedure()
 
 
 
@@ -587,7 +587,7 @@ extends 
 
 SplitTableRegionProcedure
-public SplitTableRegionProcedure(MasterProcedureEnv env,
+public SplitTableRegionProcedure(MasterProcedureEnv env,
  HRegionInfo regionToSplit,
  byte[] splitRow)
   throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
@@ -611,7 +611,7 @@ extends 
 
 checkSplittable
-private void checkSplittable(MasterProcedureEnv env,
+private void checkSplittable(MasterProcedureEnv env,
  HRegionInfo regionToSplit,
  byte[] splitRow)
   throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException
@@ -632,7 +632,7 @@ extends 
 
 getDaughterRegionIdTimestamp
-private static long getDaughterRegionIdTimestamp(HRegionInfo hri)
+private static long getDaughterRegionIdTimestamp(HRegionInfo hri)
 Calculate daughter regionid to use.
 
 Parameters:
@@ -648,7 +648,7 @@ extends 
 
 executeFromState
-protected StateMachineProcedure.Flow executeFromState(MasterProcedureEnv env,
+protected StateMachineProcedure.Flow executeFromState(MasterProcedureEnv env,
   
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.SplitTableRegionState state)
throws http://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true";
 title="class or interface in java.lang">InterruptedException
 Description copied from 
class: StateMachineProcedure
@@ -671,7 +671,7 @@ extends 
 
 rollbackState
-protected void rollbackState(MasterProcedureEnv env,
+protected void rollbackState(MasterProcedureEnv env,
  
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.SplitTableRegionState state)
   throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true";
 title="class or interface in java.io">IOException,
  htt

[25/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.RowLockImpl.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.RowLockImpl.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.RowLockImpl.html
index 7e995c8..c20935f 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.RowLockImpl.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.RowLockImpl.html
@@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-public static class HRegion.RowLockImpl
+public static class HRegion.RowLockImpl
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 implements Region.RowLock
 Class used to represent a lock on a row.
@@ -226,7 +226,7 @@ implements 
 
 context
-private final HRegion.RowLockContext context
+private final HRegion.RowLockContext context
 
 
 
@@ -235,7 +235,7 @@ implements 
 
 lock
-private final http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/locks/Lock.html?is-external=true";
 title="class or interface in java.util.concurrent.locks">Lock lock
+private final http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/locks/Lock.html?is-external=true";
 title="class or interface in java.util.concurrent.locks">Lock lock
 
 
 
@@ -252,7 +252,7 @@ implements 
 
 RowLockImpl
-public RowLockImpl(HRegion.RowLockContext context,
+public RowLockImpl(HRegion.RowLockContext context,
http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/locks/Lock.html?is-external=true";
 title="class or interface in 
java.util.concurrent.locks">Lock lock)
 
 
@@ -270,7 +270,7 @@ implements 
 
 getLock
-public http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/locks/Lock.html?is-external=true";
 title="class or interface in java.util.concurrent.locks">Lock getLock()
+public http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/locks/Lock.html?is-external=true";
 title="class or interface in java.util.concurrent.locks">Lock getLock()
 
 
 
@@ -279,7 +279,7 @@ implements 
 
 getContext
-public HRegion.RowLockContext getContext()
+public HRegion.RowLockContext getContext()
 
 
 
@@ -288,7 +288,7 @@ implements 
 
 release
-public void release()
+public void release()
 Description copied from 
interface: Region.RowLock
 Release the given lock.  If there are no remaining locks 
held by the current thread
  then unlock the row and allow other threads to acquire the lock.
@@ -304,7 +304,7 @@ implements 
 
 toString
-public http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String toString()
+public http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String toString()
 
 Overrides:
 http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--";
 title="class or interface in java.lang">toString in 
class http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.WriteState.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.WriteState.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.WriteState.html
index 2e05134..83e4bdd 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.WriteState.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.WriteState.html
@@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-static class HRegion.WriteState
+static class HRegion.WriteState
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 
 
@@ -239,7 +239,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 flushing
-volatile boolean flushing
+volatile boolean flushing
 
 
 
@@ -248,7 +248,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 flushRequested
-volatile boolean flushRequested
+volatile boolean flushRequested
 
 
 
@@ -257,7 +257,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 compacting
-http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true";
 title="class or interface in java.util.concurrent.atomic">AtomicInteger compacting
+http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true";
 title="class or interface in java.util.concurrent.atomic">AtomicInteger compacting
 
 
 
@@ -266,7 +266,7 @@ extends http://docs.

[31/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/mob/compactions/PartitionedMobCompactionRequest.CompactionDelPartition.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/mob/compactions/PartitionedMobCompactionRequest.CompactionDelPartition.html
 
b/devapidocs/org/apache/hadoop/hbase/mob/compactions/PartitionedMobCompactionRequest.CompactionDelPartition.html
index bb23752..7f5c4d2 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/mob/compactions/PartitionedMobCompactionRequest.CompactionDelPartition.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/mob/compactions/PartitionedMobCompactionRequest.CompactionDelPartition.html
@@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-protected static class PartitionedMobCompactionRequest.CompactionDelPartition
+protected static class PartitionedMobCompactionRequest.CompactionDelPartition
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 The delete file partition in the mob compaction.
  The delete partition is defined as [startKey, endKey] pair.
@@ -146,7 +146,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 id 
 
 
-private http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
+private http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
 storeFiles 
 
 
@@ -191,7 +191,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 void
-addStoreFile(StoreFile file) 
+addStoreFile(HStoreFile file) 
 
 
 (package private) void
@@ -206,7 +206,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 getId() 
 
 
-http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
+http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List
 getStoreFiles() 
 
 
@@ -241,7 +241,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 delFiles
-private http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in 
java.util">List delFiles
+private http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in 
java.util">List delFiles
 
 
 
@@ -250,7 +250,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 storeFiles
-private http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List storeFiles
+private http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List storeFiles
 
 
 
@@ -259,7 +259,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 id
-private PartitionedMobCompactionRequest.CompactionDelPartitionId
 id
+private PartitionedMobCompactionRequest.CompactionDelPartitionId
 id
 
 
 
@@ -276,7 +276,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 CompactionDelPartition
-public CompactionDelPartition(PartitionedMobCompactionRequest.CompactionDelPartitionId id)
+public CompactionDelPartition(PartitionedMobCompactionRequest.CompactionDelPartitionId id)
 
 
 
@@ -293,7 +293,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 getId
-public PartitionedMobCompactionRequest.CompactionDelPartitionId getId()
+public PartitionedMobCompactionRequest.CompactionDelPartitionId getId()
 
 
 
@@ -302,16 +302,16 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 addDelFile
-void addDelFile(org.apache.hadoop.fs.FileStatus file)
+void addDelFile(org.apache.hadoop.fs.FileStatus file)
 
 
-
+
 
 
 
 
 addStoreFile
-public void addStoreFile(StoreFile file)
+public void addStoreFile(HStoreFile file)
 
 
 
@@ -320,7 +320,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 getStoreFiles
-public http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List getStoreFiles()
+public http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List getStoreFiles()
 
 
 
@@ -329,7 +329,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 listDelFiles
-http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in 
java.util">List listDelFiles()
+http:/

[02/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/Compactor.FileDetails.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/Compactor.FileDetails.html
 
b/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/Compactor.FileDetails.html
index a429ba3..edcbaad 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/Compactor.FileDetails.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/Compactor.FileDetails.html
@@ -107,7 +107,7 @@
 
 
 
-protected static class Compactor.FileDetails
+protected static class Compactor.FileDetails
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 The sole reason this class exists is that java has no 
ref/out/pointer parameters.
 
@@ -225,7 +225,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 maxKeyCount
-public long maxKeyCount
+public long maxKeyCount
 Maximum key count after compaction (for blooms)
 
 
@@ -235,7 +235,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 earliestPutTs
-public long earliestPutTs
+public long earliestPutTs
 Earliest put timestamp if major compaction
 
 
@@ -245,7 +245,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 latestPutTs
-public long latestPutTs
+public long latestPutTs
 Latest put timestamp
 
 
@@ -255,7 +255,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 maxSeqId
-public long maxSeqId
+public long maxSeqId
 The last key in the files we're compacting.
 
 
@@ -265,7 +265,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 maxMVCCReadpoint
-public long maxMVCCReadpoint
+public long maxMVCCReadpoint
 Latest memstore read point found in any of the involved 
files
 
 
@@ -275,7 +275,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 maxTagsLength
-public int maxTagsLength
+public int maxTagsLength
 Max tags length
 
 
@@ -285,7 +285,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 minSeqIdToKeep
-public long minSeqIdToKeep
+public long minSeqIdToKeep
 Min SeqId to keep during a major compaction
 
 
@@ -303,7 +303,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 FileDetails
-protected FileDetails()
+protected FileDetails()
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/Compactor.InternalScannerFactory.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/Compactor.InternalScannerFactory.html
 
b/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/Compactor.InternalScannerFactory.html
index 45bf739..1e57b39 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/Compactor.InternalScannerFactory.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/Compactor.InternalScannerFactory.html
@@ -109,7 +109,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-protected static interface Compactor.InternalScannerFactory
+protected static interface Compactor.InternalScannerFactory
 
 
 
@@ -160,7 +160,7 @@ var activeTableTab = "activeTableTab";
 
 
 getScanType
-ScanType getScanType(CompactionRequest request)
+ScanType getScanType(CompactionRequest request)
 
 
 
@@ -169,7 +169,7 @@ var activeTableTab = "activeTableTab";
 
 
 createScanner
-InternalScanner createScanner(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners,
+InternalScanner createScanner(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List scanners,
   ScanType scanType,
   Compactor.FileDetails fd,
   long smallestReadPoint)

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/Compactor.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/Compactor.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/Compactor.html
index dc80e86..69fb90f 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/Compactor.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/compactions/Compactor.html
@@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.Private
-public abstract class Compactor
+public abstract clas

[05/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/Store.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/Store.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/Store.html
index c8860a5..9ee3c22 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/Store.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/class-use/Store.html
@@ -93,22 +93,18 @@
  
 
 
-org.apache.hadoop.hbase.mob
- 
-
-
 org.apache.hadoop.hbase.regionserver
  
 
-
+
 org.apache.hadoop.hbase.regionserver.compactions
  
 
-
+
 org.apache.hadoop.hbase.regionserver.throttle
  
 
-
+
 org.apache.hadoop.hbase.security.access
  
 
@@ -141,7 +137,7 @@
 default void
 RegionObserver.postCompactSelection(ObserverContext c,
 Store store,
-
org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList selected,
+
org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList selected,
 CompactionLifeCycleTracker tracker)
 Called after the StoreFiles to compact 
have been selected from the available
  candidates.
@@ -184,7 +180,7 @@
 default void
 RegionObserver.preCompactSelection(ObserverContext c,
Store store,
-   http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List candidates,
+   http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true";
 title="class or interface in java.util">List candidates,
CompactionLifeCycleTracker tracker)
 Called prior to selecting the StoreFiles to compact 
from the list of
  available candidates.
@@ -270,48 +266,6 @@
 
 
 
-
-
-
-Uses of Store in org.apache.hadoop.hbase.mob
-
-Methods in org.apache.hadoop.hbase.mob
 with parameters of type Store 
-
-Modifier and Type
-Method and Description
-
-
-
-protected void
-MobStoreEngine.createCompactor(org.apache.hadoop.conf.Configuration conf,
-   Store store)
-Creates the DefaultMobCompactor.
-
-
-
-protected void
-MobStoreEngine.createStoreFlusher(org.apache.hadoop.conf.Configuration conf,
-  Store store) 
-
-
-
-
-Constructors in org.apache.hadoop.hbase.mob
 with parameters of type Store 
-
-Constructor and Description
-
-
-
-DefaultMobStoreCompactor(org.apache.hadoop.conf.Configuration conf,
-Store store) 
-
-
-DefaultMobStoreFlusher(org.apache.hadoop.conf.Configuration conf,
-  Store store) 
-
-
-
-
 
 
 
@@ -337,36 +291,6 @@
 
 
 
-
-Fields in org.apache.hadoop.hbase.regionserver
 declared as Store 
-
-Modifier and Type
-Field and Description
-
-
-
-protected Store
-StoreFlusher.store 
-
-
-private Store
-CompactingMemStore.store 
-
-
-
-
-Fields in org.apache.hadoop.hbase.regionserver
 with type parameters of type Store 
-
-Modifier and Type
-Field and Description
-
-
-
-protected http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
-StoreScanner.store 
-
-
-
 
 Methods in org.apache.hadoop.hbase.regionserver
 that return Store 
 
@@ -376,10 +300,6 @@
 
 
 Store
-CompactingMemStore.getStore() 
-
-
-Store
 Region.getStore(byte[] family)
 Return the Store for the given family
 
@@ -409,183 +329,19 @@
 
 
 
-static StoreEngine
-StoreEngine.create(Store store,
-  org.apache.hadoop.conf.Configuration conf,
-  CellComparator kvComparator)
-Create the StoreEngine configured for the given Store.
-
-
-
-protected void
-DefaultStoreEngine.createCompactionPolicy(org.apache.hadoop.conf.Configuration conf,
-  Store store) 
-
-
-protected void
-DefaultStoreEngine.createCompactor(org.apache.hadoop.conf.Configuration conf,
-   Store store) 
-
-
-protected abstract void
-StoreEngine.createComponents(org.apache.hadoop.conf.Configuration conf,
-Store store,
-CellComparator kvComparator)
-Create the StoreEngine's components.
-
-
-
-protected void
-StripeStoreEngine.createComponents(org.apache.hadoop.conf.Configuration conf,
-Store store,
-CellComparator comparator) 
-
-
-protected void
-DateTieredStoreEngine.createComponents(org.apache.hadoop.conf.Configuration conf,
-Store store,
-CellComparator kvComparator) 
-
-
-protected void
-DefaultStoreEngine.createComponents(org.apache.hadoop.conf.Configuration conf,
-Store store,
-CellComparator kvComparator) 
-
-
-private void
-StoreEngine.createComponentsOnce(org.apache.hadoop.conf.Configuration conf,
-Store 

[48/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/checkstyle-aggregate.html
--
diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html
index c3bd090..4f3f751 100644
--- a/checkstyle-aggregate.html
+++ b/checkstyle-aggregate.html
@@ -7,7 +7,7 @@
   
 
 
-
+
 
 Apache HBase – Checkstyle Results
 
@@ -289,7 +289,7 @@
 2042
 0
 0
-14001
+13912
 
 Files
 
@@ -717,7 +717,7 @@
 org/apache/hadoop/hbase/backup/HFileArchiver.java
 0
 0
-21
+20
 
 org/apache/hadoop/hbase/backup/LogUtils.java
 0
@@ -1957,7 +1957,7 @@
 org/apache/hadoop/hbase/coprocessor/RegionObserver.java
 0
 0
-24
+25
 
 org/apache/hadoop/hbase/coprocessor/RegionServerObserver.java
 0
@@ -1994,2302 +1994,2292 @@
 0
 1
 
-org/apache/hadoop/hbase/coprocessor/example/ZooKeeperScanPolicyObserver.java
-0
-0
-21
-
 org/apache/hadoop/hbase/coprocessor/package-info.java
 0
 0
 1
-
+
 org/apache/hadoop/hbase/errorhandling/ForeignException.java
 0
 0
 8
-
+
 org/apache/hadoop/hbase/errorhandling/ForeignExceptionDispatcher.java
 0
 0
 1
-
+
 org/apache/hadoop/hbase/errorhandling/TimeoutExceptionInjector.java
 0
 0
 2
-
+
 org/apache/hadoop/hbase/errorprone/AlwaysPasses.java
 0
 0
 4
-
+
 org/apache/hadoop/hbase/exceptions/ClientExceptionsUtil.java
 0
 0
 2
-
+
 org/apache/hadoop/hbase/exceptions/FailedSanityCheckException.java
 0
 0
 3
-
+
 org/apache/hadoop/hbase/exceptions/MergeRegionException.java
 0
 0
 1
-
+
 org/apache/hadoop/hbase/exceptions/UnexpectedStateException.java
 0
 0
 1
-
+
 org/apache/hadoop/hbase/executor/EventHandler.java
 0
 0
 2
-
+
 org/apache/hadoop/hbase/executor/EventType.java
 0
 0
 40
-
+
 org/apache/hadoop/hbase/executor/ExecutorService.java
 0
 0
 5
-
+
 org/apache/hadoop/hbase/executor/ExecutorType.java
 0
 0
 19
-
+
 org/apache/hadoop/hbase/favored/FavoredNodeAssignmentHelper.java
 0
 0
 29
-
+
 org/apache/hadoop/hbase/favored/FavoredNodeLoadBalancer.java
 0
 0
 9
-
+
 org/apache/hadoop/hbase/favored/FavoredNodesManager.java
 0
 0
 3
-
+
 org/apache/hadoop/hbase/favored/FavoredNodesPlan.java
 0
 0
 7
-
+
 org/apache/hadoop/hbase/favored/FavoredNodesPromoter.java
 0
 0
 1
-
+
 org/apache/hadoop/hbase/favored/StartcodeAgnosticServerName.java
 0
 0
 4
-
+
 org/apache/hadoop/hbase/filter/BinaryComparator.java
 0
 0
 7
-
+
 org/apache/hadoop/hbase/filter/BinaryPrefixComparator.java
 0
 0
 7
-
+
 org/apache/hadoop/hbase/filter/BitComparator.java
 0
 0
 9
-
+
 org/apache/hadoop/hbase/filter/ByteArrayComparable.java
 0
 0
 5
-
+
 org/apache/hadoop/hbase/filter/ColumnCountGetFilter.java
 0
 0
 8
-
+
 org/apache/hadoop/hbase/filter/ColumnPaginationFilter.java
 0
 0
 12
-
+
 org/apache/hadoop/hbase/filter/ColumnPrefixFilter.java
 0
 0
 11
-
+
 org/apache/hadoop/hbase/filter/ColumnRangeFilter.java
 0
 0
 20
-
+
 org/apache/hadoop/hbase/filter/CompareFilter.java
 0
 0
 26
-
+
 org/apache/hadoop/hbase/filter/DependentColumnFilter.java
 0
 0
 11
-
+
 org/apache/hadoop/hbase/filter/FamilyFilter.java
 0
 0
 10
-
+
 org/apache/hadoop/hbase/filter/Filter.java
 0
 0
 5
-
+
 org/apache/hadoop/hbase/filter/FilterBase.java
 0
 0
 4
-
+
 org/apache/hadoop/hbase/filter/FilterList.java
 0
 0
 56
-
+
 org/apache/hadoop/hbase/filter/FilterWrapper.java
 0
 0
 11
-
+
 org/apache/hadoop/hbase/filter/FirstKeyOnlyFilter.java
 0
 0
 8
-
+
 org/apache/hadoop/hbase/filter/FirstKeyValueMatchingQualifiersFilter.java
 0
 0
 9
-
+
 org/apache/hadoop/hbase/filter/FuzzyRowFilter.java
 0
 0
 18
-
+
 org/apache/hadoop/hbase/filter/InclusiveStopFilter.java
 0
 0
 11
-
+
 org/apache/hadoop/hbase/filter/KeyOnlyFilter.java
 0
 0
 9
-
+
 org/apache/hadoop/hbase/filter/LongComparator.java
 0
 0
 23
-
+
 org/apache/hadoop/hbase/filter/MultiRowRangeFilter.java
 0
 0
 8
-
+
 org/apache/hadoop/hbase/filter/MultipleColumnPrefixFilter.java
 0
 0
 13
-
+
 org/apache/hadoop/hbase/filter/NullComparator.java
 0
 0
 7
-
+
 org/apache/hadoop/hbase/filter/PageFilter.java
 0
 0
 8
-
+
 org/apache/hadoop/hbase/filter/ParseConstants.java
 0
 0
 1
-
+
 org/apache/hadoop/hbase/filter/ParseFilter.java
 0
 0
 48
-
+
 org/apache/hadoop/hbase/filter/PrefixFilter.java
 0
 0
 12
-
+
 org/apache/hadoop/hbase/filter/QualifierFilter.java
 0
 0
 7
-
+
 org/apache/hadoop/hbase/filter/RandomRowFilter.java
 0
 0
 9
-
+
 org/apache/hadoop/hbase/filter/RegexStringComparator.java
 0
 0
 13
-
+
 org/apache/hadoop/hbase/filter/RowFilter.java
 0
 0
 6
-
+
 org/apache/hadoop/hbase/filter/SingleColumnValueExcludeFilter.java
 0
 0
 22
-
+
 org/apache/hadoop/hbase/filter/SingleColumnValueFilter.java
 0
 0
 21
-
+
 org/apache/hadoop/hbase/filter/SkipFilter.java
 0
 0
 7
-
+
 org/apache/hadoop/hbase/filter/SubstringComparator.java
 0
 0
 7
-
+
 org/apache/hadoop/hbase/filter/TimestampsFilter.java
 0
 0
 8
-
+
 org/apache/hadoop/hbase/filter/ValueFilter.java
 0
 0
 8
-
+
 org/apache/hadoop/hbase/filter/WhileMatchFilter.java
 0
 0
 8
-
+
 org/apache/hadoop/hbase/fs/HFileSystem.java
 0
 0
 32
-
+
 org/ap

[26/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.PrepareFlushResult.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.PrepareFlushResult.html
 
b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.PrepareFlushResult.html
index 2853155..79cc932 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.PrepareFlushResult.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.PrepareFlushResult.html
@@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-static class HRegion.PrepareFlushResult
+static class HRegion.PrepareFlushResult
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 A result object from prepare flush cache stage
 
@@ -258,7 +258,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 result
-final HRegion.FlushResultImpl result
+final HRegion.FlushResultImpl result
 
 
 
@@ -267,7 +267,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 storeFlushCtxs
-final http://docs.oracle.com/javase/8/docs/api/java/util/TreeMap.html?is-external=true";
 title="class or interface in java.util">TreeMap storeFlushCtxs
+final http://docs.oracle.com/javase/8/docs/api/java/util/TreeMap.html?is-external=true";
 title="class or interface in java.util">TreeMap storeFlushCtxs
 
 
 
@@ -276,7 +276,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 committedFiles
-final http://docs.oracle.com/javase/8/docs/api/java/util/TreeMap.html?is-external=true";
 title="class or interface in java.util">TreeMapList> committedFiles
+final http://docs.oracle.com/javase/8/docs/api/java/util/TreeMap.html?is-external=true";
 title="class or interface in java.util">TreeMapList> committedFiles
 
 
 
@@ -285,7 +285,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 storeFlushableSize
-final http://docs.oracle.com/javase/8/docs/api/java/util/TreeMap.html?is-external=true";
 title="class or interface in java.util">TreeMap storeFlushableSize
+final http://docs.oracle.com/javase/8/docs/api/java/util/TreeMap.html?is-external=true";
 title="class or interface in java.util">TreeMap storeFlushableSize
 
 
 
@@ -294,7 +294,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 startTime
-final long startTime
+final long startTime
 
 
 
@@ -303,7 +303,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 flushOpSeqId
-final long flushOpSeqId
+final long flushOpSeqId
 
 
 
@@ -312,7 +312,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 flushedSeqId
-final long flushedSeqId
+final long flushedSeqId
 
 
 
@@ -321,7 +321,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 totalFlushableSize
-final MemstoreSize totalFlushableSize
+final MemstoreSize totalFlushableSize
 
 
 
@@ -338,7 +338,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 PrepareFlushResult
-PrepareFlushResult(HRegion.FlushResultImpl result,
+PrepareFlushResult(HRegion.FlushResultImpl result,
long flushSeqId)
 Constructs an early exit case
 
@@ -349,7 +349,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 PrepareFlushResult
-PrepareFlushResult(http://docs.oracle.com/javase/8/docs/api/java/util/TreeMap.html?is-external=true";
 title="class or interface in java.util">TreeMap storeFlushCtxs,
+PrepareFlushResult(http://docs.oracle.com/javase/8/docs/api/java/util/TreeMap.html?is-external=true";
 title="class or interface in java.util">TreeMap storeFlushCtxs,
http://docs.oracle.com/javase/8/docs/api/java/util/TreeMap.html?is-external=true";
 title="class or interface in java.util">TreeMapList> committedFiles,
http://docs.oracle.com/javase/8/docs/api/java/util/TreeMap.html?is-external=true";
 title="class or interface in java.util">TreeMap storeFlushableSize,
long startTime,
@@ -365,7 +365,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 PrepareFlushResult
-private Prepa

[35/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.CostFunction.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.CostFunction.html
 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.CostFunction.html
index aa7584d..48e7892 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.CostFunction.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.CostFunction.html
@@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-abstract static class StochasticLoadBalancer.CostFunction
+abstract static class StochasticLoadBalancer.CostFunction
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 Base class of StochasticLoadBalancer's Cost Functions.
 
@@ -260,7 +260,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 multiplier
-private float multiplier
+private float multiplier
 
 
 
@@ -269,7 +269,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 cluster
-protected BaseLoadBalancer.Cluster cluster
+protected BaseLoadBalancer.Cluster cluster
 
 
 
@@ -286,7 +286,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 CostFunction
-CostFunction(org.apache.hadoop.conf.Configuration c)
+CostFunction(org.apache.hadoop.conf.Configuration c)
 
 
 
@@ -303,7 +303,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 isNeeded
-boolean isNeeded()
+boolean isNeeded()
 
 
 
@@ -312,7 +312,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 getMultiplier
-float getMultiplier()
+float getMultiplier()
 
 
 
@@ -321,7 +321,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 setMultiplier
-void setMultiplier(float m)
+void setMultiplier(float m)
 
 
 
@@ -330,7 +330,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 init
-void init(BaseLoadBalancer.Cluster cluster)
+void init(BaseLoadBalancer.Cluster cluster)
 Called once per LB invocation to give the cost function
  to initialize it's state, and perform any costly calculation.
 
@@ -341,7 +341,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 postAction
-void postAction(BaseLoadBalancer.Cluster.Action action)
+void postAction(BaseLoadBalancer.Cluster.Action action)
 Called once per cluster Action to give the cost function
  an opportunity to update it's state. postAction() is always
  called at least once before cost() is called with the cluster
@@ -354,7 +354,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 regionMoved
-protected void regionMoved(int region,
+protected void regionMoved(int region,
int oldServer,
int newServer)
 
@@ -365,7 +365,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 cost
-abstract double cost()
+abstract double cost()
 
 
 
@@ -374,7 +374,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 costFromArray
-protected double costFromArray(double[] stats)
+protected double costFromArray(double[] stats)
 Function to compute a scaled cost using 
org.apache.commons.math3.stat.descriptive.DescriptiveStatistics.
  It assumes that this is a zero sum set of costs.  It assumes that the worst 
case
  possible is all of the elements in one region server and the rest having 
0.
@@ -392,7 +392,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 getSum
-private double getSum(double[] stats)
+private double getSum(double[] stats)
 
 
 
@@ -401,7 +401,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?
 
 
 scale
-protected double scale(double min,
+protected double scale(double min,
double max,
double value)
 Scale the value between 0 and 1.

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.LoadCandidateGenerator.html
--
diff --git 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.LoadCandidateGenerator.html
 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.LoadCandidateGenerator.html
index 7634c1b..f9e4882 100644
--- 
a/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.LoadCandidateGenerator.html
+++ 
b/devapidocs/org/apache/hadoop/hbase/master/balancer/StochasticLoadBalancer.LoadCandidateGenerator.html
@@ -118,7 +118,7 @@ var activeTableTab = "activeTableTab";
 
 
 
-static 

[49/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/book.html
--
diff --git a/book.html b/book.html
index b4bc63f..9c910aa 100644
--- a/book.html
+++ b/book.html
@@ -35210,7 +35210,7 @@ The server will return cellblocks compressed using this 
same compressor as long
 
 
 Version 3.0.0-SNAPSHOT
-Last updated 2017-09-24 14:29:46 UTC
+Last updated 2017-09-25 14:29:36 UTC
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/bulk-loads.html
--
diff --git a/bulk-loads.html b/bulk-loads.html
index acebe55..46071df 100644
--- a/bulk-loads.html
+++ b/bulk-loads.html
@@ -7,7 +7,7 @@
   
 
 
-
+
 
 Apache HBase –  
   Bulk Loads in Apache HBase (TM)
@@ -311,7 +311,7 @@ under the License. -->
 https://www.apache.org/";>The Apache Software 
Foundation.
 All rights reserved.  
 
-  Last Published: 
2017-09-24
+  Last Published: 
2017-09-25
 
 
 



[21/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/HStoreFile.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/HStoreFile.html 
b/devapidocs/org/apache/hadoop/hbase/regionserver/HStoreFile.html
index ac76478..1f3144c 100644
--- a/devapidocs/org/apache/hadoop/hbase/regionserver/HStoreFile.html
+++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HStoreFile.html
@@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab";
 
 
 @InterfaceAudience.Private
-public class HStoreFile
+public class HStoreFile
 extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true";
 title="class or interface in java.lang">Object
 implements StoreFile
 A Store data file.  Stores usually have one or more of 
these files.  They
@@ -147,27 +147,61 @@ implements Field and Description
 
 
+static byte[]
+BLOOM_FILTER_TYPE_KEY
+Bloom filter Type in FileInfo
+
+
+
+static byte[]
+BULKLOAD_TASK_KEY
+Meta key set when store file is a result of a bulk 
load
+
+
+
+static byte[]
+BULKLOAD_TIME_KEY 
+
+
 private CacheConfig
 cacheConf 
 
-
+
 private BloomType
 cfBloomType
 Bloom filter type specified in column family 
configuration.
 
 
-
+
 private boolean
 compactedAway 
 
-
-private http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true";
 title="class or interface in java.util">Comparator
+
+private CellComparator
 comparator 
 
-
+
 private static boolean
 DEFAULT_STORE_FILE_READER_NO_READAHEAD 
 
+
+static byte[]
+DELETE_FAMILY_COUNT
+Delete Family Count in FileInfo
+
+
+
+static byte[]
+EARLIEST_PUT_TS
+Key for timestamp of earliest-put in metadata
+
+
+
+static byte[]
+EXCLUDE_FROM_MINOR_COMPACTION_KEY
+Minor compaction flag in FileInfo
+
+
 
 private boolean
 excludeFromMinorCompaction 
@@ -177,7 +211,7 @@ implements fileInfo 
 
 
-private Cell
+private http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
 firstKey 
 
 
@@ -185,27 +219,51 @@ implements fs 
 
 
-private Cell
-lastKey 
+static byte[]
+LAST_BLOOM_KEY
+Last Bloom filter key in FileInfo
+
 
 
+private http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
+lastKey 
+
+
 private static 
org.apache.commons.logging.Log
 LOG 
 
+
+static byte[]
+MAJOR_COMPACTION_KEY
+Major compaction flag in FileInfo
+
+
 
 private http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicBoolean.html?is-external=true";
 title="class or interface in 
java.util.concurrent.atomic">AtomicBoolean
 majorCompaction 
 
 
+static byte[]
+MAX_SEQ_ID_KEY
+Max Sequence ID in FileInfo
+
+
+
 private long
 maxMemstoreTS 
 
-
+
 private http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true";
 title="class or interface in 
java.util">Map
 metadataMap
 Map of the metadata entries in the corresponding 
HFile.
 
 
+
+static byte[]
+MOB_CELLS_COUNT
+Key for the number of mob cells in metadata
+
+
 
 private boolean
 noReadahead 
@@ -226,14 +284,23 @@ implements private long
 sequenceid 
 
+
+static byte[]
+SKIP_RESET_SEQ_ID
+Key for skipping resetting sequence id in metadata.
+
+
+
+static http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true";
 title="class or interface in java.lang">String
+STORE_FILE_READER_NO_READAHEAD 
+
+
+static byte[]
+TIMERANGE_KEY
+Key for Timerange information in metadata
+
+
 
-
-
-
-
-Fields inherited from 
interface org.apache.hadoop.hbase.regionserver.StoreFile
-BLOOM_FILTER_TYPE_KEY,
 BULKLOAD_TASK_KEY,
 BULKLOAD_TIME_KEY,
 DELETE_FAMILY_COUNT,
 EARLIEST_PUT_TS,
 EXCLUDE_FROM_MINOR_COMPACTION_KEY,
 LAST_BLOOM_KEY,
 MAJOR_COMPACTION_KEY,
 MAX_SEQ_ID_KEY,
 MOB_CELLS_COUNT,
 SKIP_RESET_SEQ_ID,
 STORE_FILE_READER_NO_READAHEAD,
 TIMERANGE_KEY
-
 
 
 
@@ -248,19 +315,6 @@ implements Constructor and Description
 
 
-HStoreFile(org.apache.hadoop.fs.FileSystem fs,
-  org.apache.hadoop.fs.Path p,
-  org.apache.hadoop.conf.Configuration conf,
-  CacheConfig cacheConf,
-  BloomType cfBloomType)
-Deprecated. 
-Now we will specific 
whether the StoreFile is for primary replica when
- constructing, so please use HStoreFile(FileSystem,
 Path, Configuration,
- CacheConfig, BloomType, boolean) directly.
-
-
-
-
 HStoreFile(org.apache.hadoop.fs.FileSystem fs,
   org.apache.hadoop.fs.Path p,
   org.apache.hadoop.conf.Configuration conf,
@@ -270,19 +324,6 @@ implements Constructor, loads a reader and it's indices, etc.
 
 
-
-HStoreFile(org.apache.hadoop.fs.FileSystem fs,
-  StoreFileInfo fileInfo,
-  org.apache.hadoop.conf.Configuration conf,
-  CacheConfig cacheConf,
-  BloomType cfBloomType)
-Deprecated. 
-Now we will specific 
whethe

[43/51] [partial] hbase-site git commit: Published site at .

2017-09-25 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html
--
diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html 
b/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html
index 618f7ed..7024741 100644
--- a/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html
+++ b/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html
@@ -521,20 +521,28 @@
 
 
 private CellComparator
-StripeStoreFileManager.cellComparator 
+DefaultStoreFileManager.cellComparator 
 
 
 private CellComparator
-StoreFileWriter.Builder.comparator 
+StripeStoreFileManager.cellComparator 
 
 
+private CellComparator
+StoreFileWriter.Builder.comparator 
+
+
 protected CellComparator
 StripeStoreFlusher.StripeFlushRequest.comparator 
 
-
+
 private CellComparator
 AbstractMemStore.comparator 
 
+
+private CellComparator
+HStoreFile.comparator 
+
 
 private CellComparator
 Segment.comparator 
@@ -556,10 +564,6 @@
 HStore.comparator 
 
 
-private CellComparator
-DefaultStoreFileManager.kvComparator 
-
-
 protected CellComparator
 KeyValueHeap.KVScannerComparator.kvComparator 
 
@@ -599,20 +603,24 @@
 KeyValueHeap.KVScannerComparator.getComparator() 
 
 
+CellComparator
+HStoreFile.getComparator() 
+
+
 protected CellComparator
 Segment.getComparator()
 Returns the Cell comparator used by this segment
 
 
-
+
 CellComparator
 ScanInfo.getComparator() 
 
-
+
 CellComparator
 Store.getComparator() 
 
-
+
 CellComparator
 HStore.getComparator() 
 
@@ -641,43 +649,43 @@
 
 
 static StoreEngine
-StoreEngine.create(Store store,
+StoreEngine.create(HStore store,
   org.apache.hadoop.conf.Configuration conf,
-  CellComparator kvComparator)
+  CellComparator cellComparator)
 Create the StoreEngine configured for the given Store.
 
 
 
 protected abstract void
-StoreEngine.createComponents(org.apache.hadoop.conf.Configuration conf,
-Store store,
-CellComparator kvComparator)
+StoreEngine.createComponents(org.apache.hadoop.conf.Configuration conf,
+HStore store,
+CellComparator cellComparator)
 Create the StoreEngine's components.
 
 
 
 protected void
-StripeStoreEngine.createComponents(org.apache.hadoop.conf.Configuration conf,
-Store store,
+StripeStoreEngine.createComponents(org.apache.hadoop.conf.Configuration conf,
+HStore store,
 CellComparator comparator) 
 
 
 protected void
-DateTieredStoreEngine.createComponents(org.apache.hadoop.conf.Configuration conf,
-Store store,
+DateTieredStoreEngine.createComponents(org.apache.hadoop.conf.Configuration conf,
+HStore store,
 CellComparator kvComparator) 
 
 
 protected void
-DefaultStoreEngine.createComponents(org.apache.hadoop.conf.Configuration conf,
-Store store,
+DefaultStoreEngine.createComponents(org.apache.hadoop.conf.Configuration conf,
+HStore store,
 CellComparator kvComparator) 
 
 
 private void
-StoreEngine.createComponentsOnce(org.apache.hadoop.conf.Configuration conf,
-Store store,
-CellComparator kvComparator) 
+StoreEngine.createComponentsOnce(org.apache.hadoop.conf.Configuration conf,
+HStore store,
+CellComparator cellComparator) 
 
 
 CompositeImmutableSegment
@@ -722,7 +730,7 @@
 
 
 protected StoreEngine
-HMobStore.createStoreEngine(Store store,
+HMobStore.createStoreEngine(HStore store,
  org.apache.hadoop.conf.Configuration conf,
  CellComparator cellComparator)
 Creates the mob store engine.
@@ -730,7 +738,7 @@
 
 
 protected StoreEngine
-HStore.createStoreEngine(Store store,
+HStore.createStoreEngine(HStore store,
  org.apache.hadoop.conf.Configuration conf,
  CellComparator kvComparator)
 Creates the store engine configured for the given 
Store.
@@ -744,22 +752,29 @@
 
 
 (package private) static http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
-StoreUtils.getFileSplitPoint(StoreFile file,
+StoreUtils.getFileSplitPoint(HStoreFile file,
  CellComparator comparator)
 Gets the approximate mid-point of the given file that is 
optimal for use in splitting it.
 
 
 
+(package private) static http://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true";
 title="class or interface in java.util">Optional
+StoreUtils.getSplitPoint(http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true";
 title="class or interface in java.util">Collection storefiles,
+ CellComparator comparator)
+Gets the mid point of the largest file passed in 

hbase-site git commit: INFRA-10751 Empty commit

2017-09-25 Thread git-site-role
Repository: hbase-site
Updated Branches:
  refs/heads/asf-site bd3bcf4e7 -> 2c00980be


INFRA-10751 Empty commit


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

Branch: refs/heads/asf-site
Commit: 2c00980be4549b1a3224572aeec0209b48b05da2
Parents: bd3bcf4
Author: jenkins 
Authored: Mon Sep 25 15:13:58 2017 +
Committer: jenkins 
Committed: Mon Sep 25 15:13:58 2017 +

--

--




hbase git commit: HBASE-18876 Backup create command fails to take queue parameter as option (Amit Kabra)

2017-09-25 Thread tedyu
Repository: hbase
Updated Branches:
  refs/heads/master a5f84430a -> 0ebd4b843


HBASE-18876 Backup create command fails to take queue parameter as option (Amit 
Kabra)


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

Branch: refs/heads/master
Commit: 0ebd4b8433cda51c422260f84cc9f60568a2a45c
Parents: a5f8443
Author: tedyu 
Authored: Mon Sep 25 12:57:54 2017 -0700
Committer: tedyu 
Committed: Mon Sep 25 12:57:54 2017 -0700

--
 .../main/java/org/apache/hadoop/hbase/backup/BackupDriver.java   | 4 
 1 file changed, 4 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/0ebd4b84/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupDriver.java
--
diff --git 
a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupDriver.java 
b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupDriver.java
index 03e2e65..5f918f3 100644
--- 
a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupDriver.java
+++ 
b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupDriver.java
@@ -31,6 +31,8 @@ import static 
org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_TABLE
 import static 
org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_TABLE_DESC;
 import static 
org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_WORKERS;
 import static 
org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_WORKERS_DESC;
+import static 
org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_YARN_QUEUE_NAME;
+import static 
org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_YARN_QUEUE_NAME_DESC;
 
 import java.io.IOException;
 import java.net.URI;
@@ -154,6 +156,8 @@ public class BackupDriver extends AbstractHBaseTool {
 addOptWithArg(OPTION_RECORD_NUMBER, OPTION_RECORD_NUMBER_DESC);
 addOptWithArg(OPTION_SET, OPTION_SET_DESC);
 addOptWithArg(OPTION_PATH, OPTION_PATH_DESC);
+addOptWithArg(OPTION_YARN_QUEUE_NAME, OPTION_YARN_QUEUE_NAME_DESC);
+
   }
 
   @Override



hbase git commit: HBASE-18876 Backup create command fails to take queue parameter as option (Amit Kabra)

2017-09-25 Thread tedyu
Repository: hbase
Updated Branches:
  refs/heads/branch-2 06d8a2353 -> ad60bc5f6


HBASE-18876 Backup create command fails to take queue parameter as option (Amit 
Kabra)


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

Branch: refs/heads/branch-2
Commit: ad60bc5f6052c66259d0b55d619ff1087221cb09
Parents: 06d8a23
Author: tedyu 
Authored: Mon Sep 25 12:58:32 2017 -0700
Committer: tedyu 
Committed: Mon Sep 25 12:58:32 2017 -0700

--
 .../main/java/org/apache/hadoop/hbase/backup/BackupDriver.java   | 4 
 1 file changed, 4 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/ad60bc5f/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupDriver.java
--
diff --git 
a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupDriver.java 
b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupDriver.java
index 03e2e65..5f918f3 100644
--- 
a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupDriver.java
+++ 
b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/BackupDriver.java
@@ -31,6 +31,8 @@ import static 
org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_TABLE
 import static 
org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_TABLE_DESC;
 import static 
org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_WORKERS;
 import static 
org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_WORKERS_DESC;
+import static 
org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_YARN_QUEUE_NAME;
+import static 
org.apache.hadoop.hbase.backup.BackupRestoreConstants.OPTION_YARN_QUEUE_NAME_DESC;
 
 import java.io.IOException;
 import java.net.URI;
@@ -154,6 +156,8 @@ public class BackupDriver extends AbstractHBaseTool {
 addOptWithArg(OPTION_RECORD_NUMBER, OPTION_RECORD_NUMBER_DESC);
 addOptWithArg(OPTION_SET, OPTION_SET_DESC);
 addOptWithArg(OPTION_PATH, OPTION_PATH_DESC);
+addOptWithArg(OPTION_YARN_QUEUE_NAME, OPTION_YARN_QUEUE_NAME_DESC);
+
   }
 
   @Override



hbase git commit: HBASE-18875 Thrift server supports read-only mode

2017-09-25 Thread tedyu
Repository: hbase
Updated Branches:
  refs/heads/master 0ebd4b843 -> cfb6a54f6


HBASE-18875 Thrift server supports read-only mode

Signed-off-by: tedyu 


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

Branch: refs/heads/master
Commit: cfb6a54f69b1d847142afab56bdc1504638f118d
Parents: 0ebd4b8
Author: Guangxu Cheng 
Authored: Tue Sep 26 00:29:24 2017 +0800
Committer: tedyu 
Committed: Mon Sep 25 15:11:03 2017 -0700

--
 .../thrift2/ThriftHBaseServiceHandler.java  |  27 +-
 .../hadoop/hbase/thrift2/ThriftServer.java  |  10 +
 ...stThriftHBaseServiceHandlerWithReadOnly.java | 467 +++
 3 files changed, 503 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/cfb6a54f/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
--
diff --git 
a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
 
b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
index 031d093..b34241c 100644
--- 
a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
+++ 
b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
@@ -49,6 +49,7 @@ import java.util.concurrent.atomic.AtomicInteger;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.hbase.DoNotRetryIOException;
 import org.apache.hadoop.hbase.HRegionLocation;
 import org.apache.yetus.audience.InterfaceAudience;
 import org.apache.hadoop.hbase.client.RegionLocator;
@@ -94,6 +95,10 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
   static final String CLEANUP_INTERVAL = 
"hbase.thrift.connection.cleanup-interval";
   static final String MAX_IDLETIME = "hbase.thrift.connection.max-idletime";
 
+  private static final IOException ioe
+  = new DoNotRetryIOException("Thrift Server is in Read-only mode.");
+  private boolean isReadOnly;
+
   public static THBaseService.Iface newInstance(
   THBaseService.Iface handler, ThriftMetrics metrics) {
 return (THBaseService.Iface) 
Proxy.newProxyInstance(handler.getClass().getClassLoader(),
@@ -174,6 +179,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
 int maxIdleTime = conf.getInt(MAX_IDLETIME, 10 * 60 * 1000);
 connectionCache = new ConnectionCache(
   conf, userProvider, cleanInterval, maxIdleTime);
+isReadOnly = conf.getBoolean("hbase.thrift.readonly", false);
   }
 
   private Table getTable(ByteBuffer tableName) {
@@ -294,6 +300,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
 
   @Override
   public void put(ByteBuffer table, TPut put) throws TIOError, TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   htable.put(putFromThrift(put));
@@ -307,6 +314,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
   @Override
   public boolean checkAndPut(ByteBuffer table, ByteBuffer row, ByteBuffer 
family,
   ByteBuffer qualifier, ByteBuffer value, TPut put) throws TIOError, 
TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   return htable.checkAndPut(byteBufferToByteArray(row), 
byteBufferToByteArray(family),
@@ -321,6 +329,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
 
   @Override
   public void putMultiple(ByteBuffer table, List puts) throws TIOError, 
TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   htable.put(putsFromThrift(puts));
@@ -333,6 +342,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
 
   @Override
   public void deleteSingle(ByteBuffer table, TDelete deleteSingle) throws 
TIOError, TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   htable.delete(deleteFromThrift(deleteSingle));
@@ -346,6 +356,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
   @Override
   public List deleteMultiple(ByteBuffer table, List deletes) 
throws TIOError,
   TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   htable.delete(deletesFromThrift(deletes));
@@ -361,6 +372,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
   public boolean checkAndMutate(ByteBuffer table, ByteBuffer row, ByteBuffer 
family,
   ByteBuffer qualifier, TComp

hbase git commit: HBASE-18875 Thrift server supports read-only mode

2017-09-25 Thread tedyu
Repository: hbase
Updated Branches:
  refs/heads/branch-2 ad60bc5f6 -> bb81e9f3c


HBASE-18875 Thrift server supports read-only mode

Signed-off-by: tedyu 


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

Branch: refs/heads/branch-2
Commit: bb81e9f3ca669bc17b20e3157f2728309b4a3f3a
Parents: ad60bc5
Author: Guangxu Cheng 
Authored: Tue Sep 26 00:29:24 2017 +0800
Committer: tedyu 
Committed: Mon Sep 25 15:11:23 2017 -0700

--
 .../thrift2/ThriftHBaseServiceHandler.java  |  27 +-
 .../hadoop/hbase/thrift2/ThriftServer.java  |  10 +
 ...stThriftHBaseServiceHandlerWithReadOnly.java | 467 +++
 3 files changed, 503 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/bb81e9f3/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
--
diff --git 
a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
 
b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
index 031d093..b34241c 100644
--- 
a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
+++ 
b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
@@ -49,6 +49,7 @@ import java.util.concurrent.atomic.AtomicInteger;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.hbase.DoNotRetryIOException;
 import org.apache.hadoop.hbase.HRegionLocation;
 import org.apache.yetus.audience.InterfaceAudience;
 import org.apache.hadoop.hbase.client.RegionLocator;
@@ -94,6 +95,10 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
   static final String CLEANUP_INTERVAL = 
"hbase.thrift.connection.cleanup-interval";
   static final String MAX_IDLETIME = "hbase.thrift.connection.max-idletime";
 
+  private static final IOException ioe
+  = new DoNotRetryIOException("Thrift Server is in Read-only mode.");
+  private boolean isReadOnly;
+
   public static THBaseService.Iface newInstance(
   THBaseService.Iface handler, ThriftMetrics metrics) {
 return (THBaseService.Iface) 
Proxy.newProxyInstance(handler.getClass().getClassLoader(),
@@ -174,6 +179,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
 int maxIdleTime = conf.getInt(MAX_IDLETIME, 10 * 60 * 1000);
 connectionCache = new ConnectionCache(
   conf, userProvider, cleanInterval, maxIdleTime);
+isReadOnly = conf.getBoolean("hbase.thrift.readonly", false);
   }
 
   private Table getTable(ByteBuffer tableName) {
@@ -294,6 +300,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
 
   @Override
   public void put(ByteBuffer table, TPut put) throws TIOError, TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   htable.put(putFromThrift(put));
@@ -307,6 +314,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
   @Override
   public boolean checkAndPut(ByteBuffer table, ByteBuffer row, ByteBuffer 
family,
   ByteBuffer qualifier, ByteBuffer value, TPut put) throws TIOError, 
TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   return htable.checkAndPut(byteBufferToByteArray(row), 
byteBufferToByteArray(family),
@@ -321,6 +329,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
 
   @Override
   public void putMultiple(ByteBuffer table, List puts) throws TIOError, 
TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   htable.put(putsFromThrift(puts));
@@ -333,6 +342,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
 
   @Override
   public void deleteSingle(ByteBuffer table, TDelete deleteSingle) throws 
TIOError, TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   htable.delete(deleteFromThrift(deleteSingle));
@@ -346,6 +356,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
   @Override
   public List deleteMultiple(ByteBuffer table, List deletes) 
throws TIOError,
   TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   htable.delete(deletesFromThrift(deletes));
@@ -361,6 +372,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
   public boolean checkAndMutate(ByteBuffer table, ByteBuffer row, ByteBuffer 
family,
   ByteBuffer qualifier, T

[2/4] hbase git commit: Amend HBASE-18786 FileNotFoundException should not be silently handled for primary region replicas

2017-09-25 Thread apurtell
Amend HBASE-18786 FileNotFoundException should not be silently handled for 
primary region replicas

Remove now invalid unit test TestCorruptedRegionStoreFile


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

Branch: refs/heads/branch-2
Commit: fa0b0934dbbe0b21fe248add62bd1e385d1d4408
Parents: bb81e9f
Author: Andrew Purtell 
Authored: Mon Sep 25 17:36:04 2017 -0700
Committer: Andrew Purtell 
Committed: Mon Sep 25 17:36:41 2017 -0700

--
 .../TestCorruptedRegionStoreFile.java   | 266 ---
 1 file changed, 266 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/fa0b0934/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCorruptedRegionStoreFile.java
--
diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCorruptedRegionStoreFile.java
 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCorruptedRegionStoreFile.java
deleted file mode 100644
index a06d40c..000
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCorruptedRegionStoreFile.java
+++ /dev/null
@@ -1,266 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.hadoop.hbase.regionserver;
-
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.util.ArrayList;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.fs.FSDataInputStream;
-import org.apache.hadoop.fs.FileSystem;
-import org.apache.hadoop.fs.Path;
-import org.apache.hadoop.hbase.HBaseTestingUtility;
-import org.apache.hadoop.hbase.TableName;
-import org.apache.hadoop.hbase.client.Scan;
-import org.apache.hadoop.hbase.client.Result;
-import org.apache.hadoop.hbase.client.ResultScanner;
-import org.apache.hadoop.hbase.client.Durability;
-import org.apache.hadoop.hbase.client.Put;
-import org.apache.hadoop.hbase.client.Table;
-import org.apache.hadoop.hbase.io.HFileLink;
-import org.apache.hadoop.hbase.testclassification.MasterTests;
-import org.apache.hadoop.hbase.testclassification.LargeTests;
-import org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread;
-import org.apache.hadoop.hbase.util.Bytes;
-import org.apache.hadoop.hbase.util.FSUtils;
-import org.apache.hadoop.hbase.util.FSVisitor;
-import org.apache.hadoop.hbase.TestTableName;
-
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Ignore;
-import org.junit.Rule;
-import org.junit.Test;
-import org.junit.experimental.categories.Category;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-
-/**
- * HBASE-13651 Handle StoreFileScanner FileNotFoundException
- */
-@Ignore
-@Category({MasterTests.class, LargeTests.class})
-public class TestCorruptedRegionStoreFile {
-  private static final Log LOG = 
LogFactory.getLog(TestCorruptedRegionStoreFile.class);
-
-  private static final HBaseTestingUtility UTIL = new HBaseTestingUtility();
-
-  private static final String FAMILY_NAME_STR = "f";
-  private static final byte[] FAMILY_NAME = Bytes.toBytes(FAMILY_NAME_STR);
-
-  private static final int NUM_FILES = 10;
-  private static final int ROW_PER_FILE = 2000;
-  private static final int NUM_ROWS = NUM_FILES * ROW_PER_FILE;
-
-  @Rule public TestTableName TEST_TABLE = new TestTableName();
-
-  private final ArrayList storeFiles = new ArrayList<>();
-  private Path tableDir;
-  private int rowCount;
-
-  private static void setupConf(Configuration conf) {
-// Disable compaction so the store file count stays constant
-conf.setLong("hbase.hstore.compactionThreshold", NUM_FILES + 1);
-conf.setLong("hbase.hstore.blockingStoreFiles", NUM_FILES * 2);
-  }
-
-  private void setupTable(final TableName tableName) throws IOExce

[3/4] hbase git commit: Amend HBASE-18786 FileNotFoundException should not be silently handled for primary region replicas

2017-09-25 Thread apurtell
Amend HBASE-18786 FileNotFoundException should not be silently handled for 
primary region replicas

Remove now invalid unit test TestCorruptedRegionStoreFile


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

Branch: refs/heads/branch-1
Commit: d74bdc310085470bf573b07daea8ae03c8007987
Parents: 5a3d9cb
Author: Andrew Purtell 
Authored: Mon Sep 25 17:36:04 2017 -0700
Committer: Andrew Purtell 
Committed: Mon Sep 25 17:36:54 2017 -0700

--
 .../TestCorruptedRegionStoreFile.java   | 263 ---
 1 file changed, 263 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/d74bdc31/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCorruptedRegionStoreFile.java
--
diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCorruptedRegionStoreFile.java
 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCorruptedRegionStoreFile.java
deleted file mode 100644
index daa03b7..000
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCorruptedRegionStoreFile.java
+++ /dev/null
@@ -1,263 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.hadoop.hbase.regionserver;
-
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.util.ArrayList;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.fs.FSDataInputStream;
-import org.apache.hadoop.fs.FileSystem;
-import org.apache.hadoop.fs.Path;
-import org.apache.hadoop.hbase.HBaseTestingUtility;
-import org.apache.hadoop.hbase.TableName;
-import org.apache.hadoop.hbase.client.HTable;
-import org.apache.hadoop.hbase.client.Scan;
-import org.apache.hadoop.hbase.client.Result;
-import org.apache.hadoop.hbase.client.ResultScanner;
-import org.apache.hadoop.hbase.client.Durability;
-import org.apache.hadoop.hbase.client.Put;
-import org.apache.hadoop.hbase.client.Table;
-import org.apache.hadoop.hbase.io.HFileLink;
-import org.apache.hadoop.hbase.testclassification.LargeTests;
-import org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread;
-import org.apache.hadoop.hbase.util.Bytes;
-import org.apache.hadoop.hbase.util.FSUtils;
-import org.apache.hadoop.hbase.util.FSVisitor;
-import org.apache.hadoop.hbase.util.TestTableName;
-
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Rule;
-import org.junit.Test;
-import org.junit.experimental.categories.Category;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-
-@Category(LargeTests.class)
-public class TestCorruptedRegionStoreFile {
-  private static final Log LOG = 
LogFactory.getLog(TestCorruptedRegionStoreFile.class);
-
-  private static final HBaseTestingUtility UTIL = new HBaseTestingUtility();
-
-  private static final String FAMILY_NAME_STR = "f";
-  private static final byte[] FAMILY_NAME = Bytes.toBytes(FAMILY_NAME_STR);
-
-  private static final int NUM_FILES = 10;
-  private static final int ROW_PER_FILE = 2000;
-  private static final int NUM_ROWS = NUM_FILES * ROW_PER_FILE;
-
-  @Rule public TestTableName TEST_TABLE = new TestTableName();
-
-  private final ArrayList storeFiles = new ArrayList();
-  private Path tableDir;
-  private int rowCount;
-
-  private static void setupConf(Configuration conf) {
-// Disable compaction so the store file count stays constant
-conf.setLong("hbase.hstore.compactionThreshold", NUM_FILES + 1);
-conf.setLong("hbase.hstore.blockingStoreFiles", NUM_FILES * 2);
-  }
-
-  private void setupTable(final TableName tableName) throws IOException {
-// load the table
-Table table = UTIL.createTable(tableName, FAMILY_NAME);
-try {
-  rowCount = 0;
-  byte[] valu

[1/4] hbase git commit: Amend HBASE-18786 FileNotFoundException should not be silently handled for primary region replicas

2017-09-25 Thread apurtell
Repository: hbase
Updated Branches:
  refs/heads/branch-1 5a3d9cb22 -> d74bdc310
  refs/heads/branch-1.4 0c93008dd -> e6e7ae4aa
  refs/heads/branch-2 bb81e9f3c -> fa0b0934d
  refs/heads/master cfb6a54f6 -> b145286f3


Amend HBASE-18786 FileNotFoundException should not be silently handled for 
primary region replicas

Remove now invalid unit test TestCorruptedRegionStoreFile


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

Branch: refs/heads/master
Commit: b145286f36d1cdd2cec72ec694bbd3d8b62e3765
Parents: cfb6a54
Author: Andrew Purtell 
Authored: Mon Sep 25 17:36:04 2017 -0700
Committer: Andrew Purtell 
Committed: Mon Sep 25 17:36:04 2017 -0700

--
 .../TestCorruptedRegionStoreFile.java   | 266 ---
 1 file changed, 266 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/b145286f/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCorruptedRegionStoreFile.java
--
diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCorruptedRegionStoreFile.java
 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCorruptedRegionStoreFile.java
deleted file mode 100644
index a06d40c..000
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCorruptedRegionStoreFile.java
+++ /dev/null
@@ -1,266 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.hadoop.hbase.regionserver;
-
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.util.ArrayList;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.fs.FSDataInputStream;
-import org.apache.hadoop.fs.FileSystem;
-import org.apache.hadoop.fs.Path;
-import org.apache.hadoop.hbase.HBaseTestingUtility;
-import org.apache.hadoop.hbase.TableName;
-import org.apache.hadoop.hbase.client.Scan;
-import org.apache.hadoop.hbase.client.Result;
-import org.apache.hadoop.hbase.client.ResultScanner;
-import org.apache.hadoop.hbase.client.Durability;
-import org.apache.hadoop.hbase.client.Put;
-import org.apache.hadoop.hbase.client.Table;
-import org.apache.hadoop.hbase.io.HFileLink;
-import org.apache.hadoop.hbase.testclassification.MasterTests;
-import org.apache.hadoop.hbase.testclassification.LargeTests;
-import org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread;
-import org.apache.hadoop.hbase.util.Bytes;
-import org.apache.hadoop.hbase.util.FSUtils;
-import org.apache.hadoop.hbase.util.FSVisitor;
-import org.apache.hadoop.hbase.TestTableName;
-
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Ignore;
-import org.junit.Rule;
-import org.junit.Test;
-import org.junit.experimental.categories.Category;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-
-/**
- * HBASE-13651 Handle StoreFileScanner FileNotFoundException
- */
-@Ignore
-@Category({MasterTests.class, LargeTests.class})
-public class TestCorruptedRegionStoreFile {
-  private static final Log LOG = 
LogFactory.getLog(TestCorruptedRegionStoreFile.class);
-
-  private static final HBaseTestingUtility UTIL = new HBaseTestingUtility();
-
-  private static final String FAMILY_NAME_STR = "f";
-  private static final byte[] FAMILY_NAME = Bytes.toBytes(FAMILY_NAME_STR);
-
-  private static final int NUM_FILES = 10;
-  private static final int ROW_PER_FILE = 2000;
-  private static final int NUM_ROWS = NUM_FILES * ROW_PER_FILE;
-
-  @Rule public TestTableName TEST_TABLE = new TestTableName();
-
-  private final ArrayList storeFiles = new ArrayList<>();
-  private Path tableDir;
-  private int rowCount;
-
-  private static void setupConf(Configuration conf) {
-// Disable compaction so the store file count stays consta

[4/4] hbase git commit: Amend HBASE-18786 FileNotFoundException should not be silently handled for primary region replicas

2017-09-25 Thread apurtell
Amend HBASE-18786 FileNotFoundException should not be silently handled for 
primary region replicas

Remove now invalid unit test TestCorruptedRegionStoreFile


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

Branch: refs/heads/branch-1.4
Commit: e6e7ae4aaeab277961ba0f468ef6a5088c18e305
Parents: 0c93008
Author: Andrew Purtell 
Authored: Mon Sep 25 17:36:04 2017 -0700
Committer: Andrew Purtell 
Committed: Mon Sep 25 17:37:01 2017 -0700

--
 .../TestCorruptedRegionStoreFile.java   | 263 ---
 1 file changed, 263 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/e6e7ae4a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCorruptedRegionStoreFile.java
--
diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCorruptedRegionStoreFile.java
 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCorruptedRegionStoreFile.java
deleted file mode 100644
index daa03b7..000
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestCorruptedRegionStoreFile.java
+++ /dev/null
@@ -1,263 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.hadoop.hbase.regionserver;
-
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.util.ArrayList;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-import org.apache.hadoop.conf.Configuration;
-import org.apache.hadoop.fs.FSDataInputStream;
-import org.apache.hadoop.fs.FileSystem;
-import org.apache.hadoop.fs.Path;
-import org.apache.hadoop.hbase.HBaseTestingUtility;
-import org.apache.hadoop.hbase.TableName;
-import org.apache.hadoop.hbase.client.HTable;
-import org.apache.hadoop.hbase.client.Scan;
-import org.apache.hadoop.hbase.client.Result;
-import org.apache.hadoop.hbase.client.ResultScanner;
-import org.apache.hadoop.hbase.client.Durability;
-import org.apache.hadoop.hbase.client.Put;
-import org.apache.hadoop.hbase.client.Table;
-import org.apache.hadoop.hbase.io.HFileLink;
-import org.apache.hadoop.hbase.testclassification.LargeTests;
-import org.apache.hadoop.hbase.util.JVMClusterUtil.RegionServerThread;
-import org.apache.hadoop.hbase.util.Bytes;
-import org.apache.hadoop.hbase.util.FSUtils;
-import org.apache.hadoop.hbase.util.FSVisitor;
-import org.apache.hadoop.hbase.util.TestTableName;
-
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Rule;
-import org.junit.Test;
-import org.junit.experimental.categories.Category;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-
-@Category(LargeTests.class)
-public class TestCorruptedRegionStoreFile {
-  private static final Log LOG = 
LogFactory.getLog(TestCorruptedRegionStoreFile.class);
-
-  private static final HBaseTestingUtility UTIL = new HBaseTestingUtility();
-
-  private static final String FAMILY_NAME_STR = "f";
-  private static final byte[] FAMILY_NAME = Bytes.toBytes(FAMILY_NAME_STR);
-
-  private static final int NUM_FILES = 10;
-  private static final int ROW_PER_FILE = 2000;
-  private static final int NUM_ROWS = NUM_FILES * ROW_PER_FILE;
-
-  @Rule public TestTableName TEST_TABLE = new TestTableName();
-
-  private final ArrayList storeFiles = new ArrayList();
-  private Path tableDir;
-  private int rowCount;
-
-  private static void setupConf(Configuration conf) {
-// Disable compaction so the store file count stays constant
-conf.setLong("hbase.hstore.compactionThreshold", NUM_FILES + 1);
-conf.setLong("hbase.hstore.blockingStoreFiles", NUM_FILES * 2);
-  }
-
-  private void setupTable(final TableName tableName) throws IOException {
-// load the table
-Table table = UTIL.createTable(tableName, FAMILY_NAME);
-try {
-  rowCount = 0;
-  byte[] va

hbase git commit: HBASE-18875 Thrift server supports read-only mode

2017-09-25 Thread tedyu
Repository: hbase
Updated Branches:
  refs/heads/branch-1 d74bdc310 -> 9485835e5


HBASE-18875 Thrift server supports read-only mode

Signed-off-by: tedyu 


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

Branch: refs/heads/branch-1
Commit: 9485835e555d4d8e317e10af780a3cd520931053
Parents: d74bdc3
Author: Guangxu Cheng 
Authored: Tue Sep 26 08:33:00 2017 +0800
Committer: tedyu 
Committed: Mon Sep 25 18:04:38 2017 -0700

--
 .../thrift2/ThriftHBaseServiceHandler.java  |  27 +-
 .../hadoop/hbase/thrift2/ThriftServer.java  |  10 +
 ...stThriftHBaseServiceHandlerWithReadOnly.java | 467 +++
 3 files changed, 503 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/9485835e/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
--
diff --git 
a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
 
b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
index b508a1f..185cd39 100644
--- 
a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
+++ 
b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
@@ -49,6 +49,7 @@ import java.util.concurrent.atomic.AtomicInteger;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.hbase.DoNotRetryIOException;
 import org.apache.hadoop.hbase.HRegionLocation;
 import org.apache.hadoop.hbase.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.client.RegionLocator;
@@ -94,6 +95,10 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
   static final String CLEANUP_INTERVAL = 
"hbase.thrift.connection.cleanup-interval";
   static final String MAX_IDLETIME = "hbase.thrift.connection.max-idletime";
 
+  private static final IOException ioe
+  = new DoNotRetryIOException("Thrift Server is in Read-only mode.");
+  private boolean isReadOnly;
+
   public static THBaseService.Iface newInstance(
   THBaseService.Iface handler, ThriftMetrics metrics) {
 return (THBaseService.Iface) 
Proxy.newProxyInstance(handler.getClass().getClassLoader(),
@@ -174,6 +179,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
 int maxIdleTime = conf.getInt(MAX_IDLETIME, 10 * 60 * 1000);
 connectionCache = new ConnectionCache(
   conf, userProvider, cleanInterval, maxIdleTime);
+isReadOnly = conf.getBoolean("hbase.thrift.readonly", false);
   }
 
   private Table getTable(ByteBuffer tableName) {
@@ -294,6 +300,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
 
   @Override
   public void put(ByteBuffer table, TPut put) throws TIOError, TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   htable.put(putFromThrift(put));
@@ -307,6 +314,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
   @Override
   public boolean checkAndPut(ByteBuffer table, ByteBuffer row, ByteBuffer 
family,
   ByteBuffer qualifier, ByteBuffer value, TPut put) throws TIOError, 
TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   return htable.checkAndPut(byteBufferToByteArray(row), 
byteBufferToByteArray(family),
@@ -321,6 +329,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
 
   @Override
   public void putMultiple(ByteBuffer table, List puts) throws TIOError, 
TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   htable.put(putsFromThrift(puts));
@@ -333,6 +342,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
 
   @Override
   public void deleteSingle(ByteBuffer table, TDelete deleteSingle) throws 
TIOError, TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   htable.delete(deleteFromThrift(deleteSingle));
@@ -346,6 +356,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
   @Override
   public List deleteMultiple(ByteBuffer table, List deletes) 
throws TIOError,
   TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   htable.delete(deletesFromThrift(deletes));
@@ -361,6 +372,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
   public boolean checkAndMutate(ByteBuffer table, ByteBuffer row, ByteBuffer 
family,
   ByteBuffer

hbase git commit: HBASE-18875 Thrift server supports read-only mode

2017-09-25 Thread tedyu
Repository: hbase
Updated Branches:
  refs/heads/branch-1.4 e6e7ae4aa -> 9a940be13


HBASE-18875 Thrift server supports read-only mode

Signed-off-by: tedyu 


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

Branch: refs/heads/branch-1.4
Commit: 9a940be1339bfed35721daaccaa65d15f00c75d9
Parents: e6e7ae4
Author: Guangxu Cheng 
Authored: Tue Sep 26 08:33:00 2017 +0800
Committer: tedyu 
Committed: Mon Sep 25 18:05:07 2017 -0700

--
 .../thrift2/ThriftHBaseServiceHandler.java  |  27 +-
 .../hadoop/hbase/thrift2/ThriftServer.java  |  10 +
 ...stThriftHBaseServiceHandlerWithReadOnly.java | 467 +++
 3 files changed, 503 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/9a940be1/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
--
diff --git 
a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
 
b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
index b508a1f..185cd39 100644
--- 
a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
+++ 
b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java
@@ -49,6 +49,7 @@ import java.util.concurrent.atomic.AtomicInteger;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.hbase.DoNotRetryIOException;
 import org.apache.hadoop.hbase.HRegionLocation;
 import org.apache.hadoop.hbase.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.client.RegionLocator;
@@ -94,6 +95,10 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
   static final String CLEANUP_INTERVAL = 
"hbase.thrift.connection.cleanup-interval";
   static final String MAX_IDLETIME = "hbase.thrift.connection.max-idletime";
 
+  private static final IOException ioe
+  = new DoNotRetryIOException("Thrift Server is in Read-only mode.");
+  private boolean isReadOnly;
+
   public static THBaseService.Iface newInstance(
   THBaseService.Iface handler, ThriftMetrics metrics) {
 return (THBaseService.Iface) 
Proxy.newProxyInstance(handler.getClass().getClassLoader(),
@@ -174,6 +179,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
 int maxIdleTime = conf.getInt(MAX_IDLETIME, 10 * 60 * 1000);
 connectionCache = new ConnectionCache(
   conf, userProvider, cleanInterval, maxIdleTime);
+isReadOnly = conf.getBoolean("hbase.thrift.readonly", false);
   }
 
   private Table getTable(ByteBuffer tableName) {
@@ -294,6 +300,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
 
   @Override
   public void put(ByteBuffer table, TPut put) throws TIOError, TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   htable.put(putFromThrift(put));
@@ -307,6 +314,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
   @Override
   public boolean checkAndPut(ByteBuffer table, ByteBuffer row, ByteBuffer 
family,
   ByteBuffer qualifier, ByteBuffer value, TPut put) throws TIOError, 
TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   return htable.checkAndPut(byteBufferToByteArray(row), 
byteBufferToByteArray(family),
@@ -321,6 +329,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
 
   @Override
   public void putMultiple(ByteBuffer table, List puts) throws TIOError, 
TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   htable.put(putsFromThrift(puts));
@@ -333,6 +342,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
 
   @Override
   public void deleteSingle(ByteBuffer table, TDelete deleteSingle) throws 
TIOError, TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   htable.delete(deleteFromThrift(deleteSingle));
@@ -346,6 +356,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
   @Override
   public List deleteMultiple(ByteBuffer table, List deletes) 
throws TIOError,
   TException {
+checkReadOnlyMode();
 Table htable = getTable(table);
 try {
   htable.delete(deletesFromThrift(deletes));
@@ -361,6 +372,7 @@ public class ThriftHBaseServiceHandler implements 
THBaseService.Iface {
   public boolean checkAndMutate(ByteBuffer table, ByteBuffer row, ByteBuffer 
family,
   ByteBu

hbase git commit: HBASE-18875 Thrift server supports read-only mode - addendum fixes compilation of TestThriftHBaseServiceHandlerWithReadOnly

2017-09-25 Thread tedyu
Repository: hbase
Updated Branches:
  refs/heads/branch-1 9485835e5 -> d6d62a546


HBASE-18875 Thrift server supports read-only mode - addendum fixes compilation 
of TestThriftHBaseServiceHandlerWithReadOnly


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

Branch: refs/heads/branch-1
Commit: d6d62a546724672acaff71b5acc4c687a4df119e
Parents: 9485835
Author: tedyu 
Authored: Mon Sep 25 18:41:55 2017 -0700
Committer: tedyu 
Committed: Mon Sep 25 18:41:55 2017 -0700

--
 .../hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/d6d62a54/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java
--
diff --git 
a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java
 
b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java
index d9a6c3c..bc7bea3 100644
--- 
a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java
+++ 
b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java
@@ -85,7 +85,7 @@ public class TestThriftHBaseServiceHandlerWithReadOnly {
 UTIL.getConfiguration().setBoolean("hbase.thrift.readonly", true);
 UTIL.getConfiguration().set("hbase.client.retries.number", "3");
 UTIL.startMiniCluster();
-Admin admin = UTIL.getAdmin();
+Admin admin = UTIL.getHBaseAdmin();
 HTableDescriptor tableDescriptor = new 
HTableDescriptor(TableName.valueOf(tableAname));
 for (HColumnDescriptor family : families) {
   tableDescriptor.addFamily(family);
@@ -464,4 +464,4 @@ public class TestThriftHBaseServiceHandlerWithReadOnly {
   assertFalse(exceptionCaught);
 }
   }
-}
\ No newline at end of file
+}



hbase git commit: HBASE-18875 Thrift server supports read-only mode - addendum fixes compilation of TestThriftHBaseServiceHandlerWithReadOnly

2017-09-25 Thread tedyu
Repository: hbase
Updated Branches:
  refs/heads/branch-1.4 9a940be13 -> 1af5bf110


HBASE-18875 Thrift server supports read-only mode - addendum fixes compilation 
of TestThriftHBaseServiceHandlerWithReadOnly


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

Branch: refs/heads/branch-1.4
Commit: 1af5bf110544e369c8da50404862a6e527008e62
Parents: 9a940be
Author: tedyu 
Authored: Mon Sep 25 18:42:27 2017 -0700
Committer: tedyu 
Committed: Mon Sep 25 18:42:27 2017 -0700

--
 .../hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/1af5bf11/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java
--
diff --git 
a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java
 
b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java
index d9a6c3c..bc7bea3 100644
--- 
a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java
+++ 
b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandlerWithReadOnly.java
@@ -85,7 +85,7 @@ public class TestThriftHBaseServiceHandlerWithReadOnly {
 UTIL.getConfiguration().setBoolean("hbase.thrift.readonly", true);
 UTIL.getConfiguration().set("hbase.client.retries.number", "3");
 UTIL.startMiniCluster();
-Admin admin = UTIL.getAdmin();
+Admin admin = UTIL.getHBaseAdmin();
 HTableDescriptor tableDescriptor = new 
HTableDescriptor(TableName.valueOf(tableAname));
 for (HColumnDescriptor family : families) {
   tableDescriptor.addFamily(family);
@@ -464,4 +464,4 @@ public class TestThriftHBaseServiceHandlerWithReadOnly {
   assertFalse(exceptionCaught);
 }
   }
-}
\ No newline at end of file
+}



[3/8] hbase git commit: HBASE-18830 TestCanaryTool does not check Canary monitor's error code

2017-09-25 Thread apurtell
HBASE-18830 TestCanaryTool does not check Canary monitor's error code

Added assertion checks to make sure that the error code for the
ToolRunner run() method is used.

Testing Done: Checked that TestCanaryTool unit tests fail when there is
an error code in the current Canary run.

Signed-off-by: Andrew Purtell 


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

Branch: refs/heads/master
Commit: 4b208eb2b653add87ebb679da69ff98777bb74a4
Parents: 176571a
Author: Chinmay Kulkarni 
Authored: Fri Sep 15 17:06:52 2017 -0700
Committer: Andrew Purtell 
Committed: Mon Sep 25 19:06:36 2017 -0700

--
 .../org/apache/hadoop/hbase/tool/TestCanaryTool.java| 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/4b208eb2/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java
--
diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java
index 190d5a9..ae34d1b 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java
@@ -89,7 +89,7 @@ public class TestCanaryTool {
 Canary.ZookeeperStdOutSink sink = spy(new Canary.ZookeeperStdOutSink());
 Canary canary = new Canary(executor, sink);
 String[] args = { "-t", "1", "-zookeeper" };
-ToolRunner.run(testingUtility.getConfiguration(), canary, args);
+assertEquals(0, ToolRunner.run(testingUtility.getConfiguration(), canary, 
args));
 
 String baseZnode = testingUtility.getConfiguration()
 .get(HConstants.ZOOKEEPER_ZNODE_PARENT, 
HConstants.DEFAULT_ZOOKEEPER_ZNODE_PARENT);
@@ -112,7 +112,7 @@ public class TestCanaryTool {
 Canary.RegionStdOutSink sink = spy(new Canary.RegionStdOutSink());
 Canary canary = new Canary(executor, sink);
 String[] args = { "-writeSniffing", "-t", "1", name.getMethodName() };
-ToolRunner.run(testingUtility.getConfiguration(), canary, args);
+assertEquals(0, ToolRunner.run(testingUtility.getConfiguration(), canary, 
args));
 assertEquals("verify no read error count", 0, 
canary.getReadFailures().size());
 assertEquals("verify no write error count", 0, 
canary.getWriteFailures().size());
 verify(sink, atLeastOnce()).publishReadTiming(isA(ServerName.class), 
isA(HRegionInfo.class),
@@ -142,7 +142,7 @@ public class TestCanaryTool {
 String configuredTimeoutStr = tableNames[0].getNameAsString() + "=" + 
Long.MAX_VALUE + "," +
   tableNames[1].getNameAsString() + "=0";
 String[] args = { "-readTableTimeouts", configuredTimeoutStr, 
name.getMethodName() + "1", name.getMethodName() + "2"};
-ToolRunner.run(testingUtility.getConfiguration(), canary, args);
+assertEquals(0, ToolRunner.run(testingUtility.getConfiguration(), canary, 
args));
 verify(sink, 
times(tableNames.length)).initializeAndGetReadLatencyForTable(isA(String.class));
 for (int i=0; i<2; i++) {
   assertNotEquals("verify non-null read latency", null, 
sink.getReadLatencyMap().get(tableNames[i].getNameAsString()));
@@ -170,7 +170,7 @@ public class TestCanaryTool {
 Canary.RegionStdOutSink sink = spy(new Canary.RegionStdOutSink());
 Canary canary = new Canary(executor, sink);
 String[] args = { "-writeSniffing", "-writeTableTimeout", 
String.valueOf(Long.MAX_VALUE)};
-ToolRunner.run(testingUtility.getConfiguration(), canary, args);
+assertEquals(0, ToolRunner.run(testingUtility.getConfiguration(), canary, 
args));
 assertNotEquals("verify non-null write latency", null, 
sink.getWriteLatency());
 assertNotEquals("verify non-zero write latency", 0L, 
sink.getWriteLatency());
 verify(mockAppender, times(1)).doAppend(argThat(new 
ArgumentMatcher() {
@@ -225,7 +225,7 @@ public class TestCanaryTool {
 org.apache.hadoop.conf.Configuration conf =
   new 
org.apache.hadoop.conf.Configuration(testingUtility.getConfiguration());
 conf.setBoolean(HConstants.HBASE_CANARY_READ_RAW_SCAN_KEY, true);
-ToolRunner.run(conf, canary, args);
+assertEquals(0, ToolRunner.run(conf, canary, args));
 verify(sink, atLeastOnce())
 .publishReadTiming(isA(ServerName.class), isA(HRegionInfo.class),
 isA(ColumnFamilyDescriptor.class), anyLong());
@@ -236,7 +236,7 @@ public class TestCanaryTool {
 ExecutorService executor = new ScheduledThreadPoolExecutor(1);
 Canary canary = new Canary(executor, new Canary.RegionServerStdOutSink());
 S

[7/8] hbase git commit: HBASE-18762 Canary sink type cast error

2017-09-25 Thread apurtell
HBASE-18762 Canary sink type cast error

Changed the type hierarchy of Canary sinks to reduce confusion and avoid
cast errors.

Testing Done: Ran the TestCanaryTool.java test suite and confirmed that
the working is correct.

Signed-off-by: Andrew Purtell 
Amending-Author: Andrew Purtell 


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

Branch: refs/heads/branch-1.4
Commit: eace8b14b3443b61562c434d84ded51bb9843a56
Parents: 1af5bf1
Author: Chinmay Kulkarni 
Authored: Fri Sep 15 16:35:17 2017 -0700
Committer: Andrew Purtell 
Committed: Mon Sep 25 19:17:26 2017 -0700

--
 .../org/apache/hadoop/hbase/tool/Canary.java| 193 ++-
 1 file changed, 102 insertions(+), 91 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/eace8b14/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
index 60c2079..755dae0 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
@@ -114,23 +114,12 @@ public final class Canary implements Tool {
   public interface Sink {
 public long getReadFailureCount();
 public long incReadFailureCount();
-public void publishReadFailure(ServerName serverName, HRegionInfo region, 
Exception e);
-public void publishReadFailure(ServerName serverName, HRegionInfo region, 
HColumnDescriptor column, Exception e);
-public void updateReadFailedHostList(HRegionInfo region, String 
serverName);
 public Map getReadFailures();
-public void publishReadTiming(ServerName serverName, HRegionInfo region, 
HColumnDescriptor column, long msTime);
+public void updateReadFailures(String regionName, String serverName);
 public long getWriteFailureCount();
-public void publishWriteFailure(ServerName serverName, HRegionInfo region, 
Exception e);
-public void publishWriteFailure(ServerName serverName, HRegionInfo region, 
HColumnDescriptor column, Exception e);
-public void publishWriteTiming(ServerName serverName, HRegionInfo region, 
HColumnDescriptor column, long msTime);
-public void updateWriteFailedHostList(HRegionInfo region, String 
serverName);
+public long incWriteFailureCount();
 public Map getWriteFailures();
-  }
-  // new extended sink for output regionserver mode info
-  // do not change the Sink interface directly due to maintaining the API
-  public interface ExtendedSink extends Sink {
-public void publishReadFailure(String table, String server);
-public void publishReadTiming(String table, String server, long msTime);
+public void updateWriteFailures(String regionName, String serverName);
   }
 
   // Simple implementation of canary sink that allows to plot on
@@ -153,37 +142,13 @@ public final class Canary implements Tool {
 }
 
 @Override
-public void publishReadFailure(ServerName serverName, HRegionInfo region, 
Exception e) {
-  readFailureCount.incrementAndGet();
-  LOG.error(String.format("read from region %s on regionserver %s failed", 
region.getRegionNameAsString(), serverName), e);
-}
-
-@Override
-public void publishReadFailure(ServerName serverName, HRegionInfo region, 
HColumnDescriptor column, Exception e) {
-  readFailureCount.incrementAndGet();
-  LOG.error(String.format("read from region %s on regionserver %s column 
family %s failed",
-region.getRegionNameAsString(), serverName, 
column.getNameAsString()), e);
-}
-
-@Override
-public void updateReadFailedHostList(HRegionInfo region, String 
serverName) {
-  readFailures.put(region.getRegionNameAsString(), serverName);
-}
-
-@Override
-public void publishReadTiming(ServerName serverName, HRegionInfo region, 
HColumnDescriptor column, long msTime) {
-  LOG.info(String.format("read from region %s on regionserver %s column 
family %s in %dms",
-region.getRegionNameAsString(), serverName, column.getNameAsString(), 
msTime));
-}
-
-@Override
 public Map getReadFailures() {
   return readFailures;
 }
 
 @Override
-public Map getWriteFailures() {
-  return writeFailures;
+public void updateReadFailures(String regionName, String serverName) {
+  readFailures.put(regionName, serverName);
 }
 
 @Override
@@ -192,53 +157,42 @@ public final class Canary implements Tool {
 }
 
 @Override
-public void publishWriteFailure(

[5/8] hbase git commit: HBASE-18762 Canary sink type cast error

2017-09-25 Thread apurtell
HBASE-18762 Canary sink type cast error

Changed the type hierarchy of Canary sinks to reduce confusion and avoid
cast errors.

Testing Done: Ran the TestCanaryTool.java test suite and confirmed that
the working is correct.

Signed-off-by: Andrew Purtell 
Amending-Author: Andrew Purtell 


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

Branch: refs/heads/branch-1
Commit: 414e0ca2927c83cb810fbbb89ea06741d5c79a6a
Parents: d6d62a5
Author: Chinmay Kulkarni 
Authored: Fri Sep 15 16:35:17 2017 -0700
Committer: Andrew Purtell 
Committed: Mon Sep 25 19:17:22 2017 -0700

--
 .../org/apache/hadoop/hbase/tool/Canary.java| 193 ++-
 1 file changed, 102 insertions(+), 91 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/414e0ca2/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
index 60c2079..755dae0 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
@@ -114,23 +114,12 @@ public final class Canary implements Tool {
   public interface Sink {
 public long getReadFailureCount();
 public long incReadFailureCount();
-public void publishReadFailure(ServerName serverName, HRegionInfo region, 
Exception e);
-public void publishReadFailure(ServerName serverName, HRegionInfo region, 
HColumnDescriptor column, Exception e);
-public void updateReadFailedHostList(HRegionInfo region, String 
serverName);
 public Map getReadFailures();
-public void publishReadTiming(ServerName serverName, HRegionInfo region, 
HColumnDescriptor column, long msTime);
+public void updateReadFailures(String regionName, String serverName);
 public long getWriteFailureCount();
-public void publishWriteFailure(ServerName serverName, HRegionInfo region, 
Exception e);
-public void publishWriteFailure(ServerName serverName, HRegionInfo region, 
HColumnDescriptor column, Exception e);
-public void publishWriteTiming(ServerName serverName, HRegionInfo region, 
HColumnDescriptor column, long msTime);
-public void updateWriteFailedHostList(HRegionInfo region, String 
serverName);
+public long incWriteFailureCount();
 public Map getWriteFailures();
-  }
-  // new extended sink for output regionserver mode info
-  // do not change the Sink interface directly due to maintaining the API
-  public interface ExtendedSink extends Sink {
-public void publishReadFailure(String table, String server);
-public void publishReadTiming(String table, String server, long msTime);
+public void updateWriteFailures(String regionName, String serverName);
   }
 
   // Simple implementation of canary sink that allows to plot on
@@ -153,37 +142,13 @@ public final class Canary implements Tool {
 }
 
 @Override
-public void publishReadFailure(ServerName serverName, HRegionInfo region, 
Exception e) {
-  readFailureCount.incrementAndGet();
-  LOG.error(String.format("read from region %s on regionserver %s failed", 
region.getRegionNameAsString(), serverName), e);
-}
-
-@Override
-public void publishReadFailure(ServerName serverName, HRegionInfo region, 
HColumnDescriptor column, Exception e) {
-  readFailureCount.incrementAndGet();
-  LOG.error(String.format("read from region %s on regionserver %s column 
family %s failed",
-region.getRegionNameAsString(), serverName, 
column.getNameAsString()), e);
-}
-
-@Override
-public void updateReadFailedHostList(HRegionInfo region, String 
serverName) {
-  readFailures.put(region.getRegionNameAsString(), serverName);
-}
-
-@Override
-public void publishReadTiming(ServerName serverName, HRegionInfo region, 
HColumnDescriptor column, long msTime) {
-  LOG.info(String.format("read from region %s on regionserver %s column 
family %s in %dms",
-region.getRegionNameAsString(), serverName, column.getNameAsString(), 
msTime));
-}
-
-@Override
 public Map getReadFailures() {
   return readFailures;
 }
 
 @Override
-public Map getWriteFailures() {
-  return writeFailures;
+public void updateReadFailures(String regionName, String serverName) {
+  readFailures.put(regionName, serverName);
 }
 
 @Override
@@ -192,53 +157,42 @@ public final class Canary implements Tool {
 }
 
 @Override
-public void publishWriteFailure(Se

[8/8] hbase git commit: HBASE-18830 TestCanaryTool does not check Canary monitor's error code

2017-09-25 Thread apurtell
HBASE-18830 TestCanaryTool does not check Canary monitor's error code

Added assertion checks to make sure that the error code for the
ToolRunner run() method is used.

Testing Done: Checked that TestCanaryTool unit tests fail when there is
an error code in the current Canary run.

Signed-off-by: Andrew Purtell 

Conflicts:

hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java


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

Branch: refs/heads/branch-1.4
Commit: decf9d6235e23a1e0b2bb4ea315079c513c8e059
Parents: eace8b1
Author: Chinmay Kulkarni 
Authored: Fri Sep 15 17:06:52 2017 -0700
Committer: Andrew Purtell 
Committed: Mon Sep 25 19:17:26 2017 -0700

--
 .../org/apache/hadoop/hbase/tool/TestCanaryTool.java| 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/decf9d62/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java
--
diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java
index 0204582..2206a16 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java
@@ -90,7 +90,7 @@ public class TestCanaryTool {
 Canary.ZookeeperStdOutSink sink = spy(new Canary.ZookeeperStdOutSink());
 Canary canary = new Canary(executor, sink);
 String[] args = { "-t", "1", "-zookeeper" };
-ToolRunner.run(testingUtility.getConfiguration(), canary, args);
+assertEquals(0, ToolRunner.run(testingUtility.getConfiguration(), canary, 
args));
 
 String baseZnode = testingUtility.getConfiguration()
 .get(HConstants.ZOOKEEPER_ZNODE_PARENT, 
HConstants.DEFAULT_ZOOKEEPER_ZNODE_PARENT);
@@ -113,7 +113,7 @@ public class TestCanaryTool {
 Canary.RegionStdOutSink sink = spy(new Canary.RegionStdOutSink());
 Canary canary = new Canary(executor, sink);
 String[] args = { "-writeSniffing", "-t", "1", "testTable" };
-ToolRunner.run(testingUtility.getConfiguration(), canary, args);
+assertEquals(0, ToolRunner.run(testingUtility.getConfiguration(), canary, 
args));
 assertEquals("verify no read error count", 0, 
canary.getReadFailures().size());
 assertEquals("verify no write error count", 0, 
canary.getWriteFailures().size());
 verify(sink, atLeastOnce()).publishReadTiming(isA(ServerName.class), 
isA(HRegionInfo.class), isA(HColumnDescriptor.class), anyLong());
@@ -142,7 +142,7 @@ public class TestCanaryTool {
 String configuredTimeoutStr = tableNames[0].getNameAsString() + "=" + 
Long.MAX_VALUE + "," +
   tableNames[1].getNameAsString() + "=0";
 String[] args = { "-readTableTimeouts", configuredTimeoutStr, 
tableNames[0].getNameAsString(), tableNames[1].getNameAsString()};
-ToolRunner.run(testingUtility.getConfiguration(), canary, args);
+assertEquals(0, ToolRunner.run(testingUtility.getConfiguration(), canary, 
args));
 verify(sink, 
times(tableNames.length)).initializeAndGetReadLatencyForTable(isA(String.class));
 for (int i=0; i<2; i++) {
   assertNotEquals("verify non-null read latency", null, 
sink.getReadLatencyMap().get(tableNames[i].getNameAsString()));
@@ -170,7 +170,7 @@ public class TestCanaryTool {
 Canary.RegionStdOutSink sink = spy(new Canary.RegionStdOutSink());
 Canary canary = new Canary(executor, sink);
 String[] args = { "-writeSniffing", "-writeTableTimeout", 
String.valueOf(Long.MAX_VALUE)};
-ToolRunner.run(testingUtility.getConfiguration(), canary, args);
+assertEquals(0, ToolRunner.run(testingUtility.getConfiguration(), canary, 
args));
 assertNotEquals("verify non-null write latency", null, 
sink.getWriteLatency());
 assertNotEquals("verify non-zero write latency", 0L, 
sink.getWriteLatency());
 verify(mockAppender, times(1)).doAppend(argThat(new 
ArgumentMatcher() {
@@ -224,7 +224,7 @@ public class TestCanaryTool {
 String[] args = { "-t", "1", "testTableRawScan" };
 org.apache.hadoop.conf.Configuration conf = new 
org.apache.hadoop.conf.Configuration(testingUtility.getConfiguration());
 conf.setBoolean(HConstants.HBASE_CANARY_READ_RAW_SCAN_KEY, true);
-ToolRunner.run(conf, canary, args);
+assertEquals(0, ToolRunner.run(conf, canary, args));
 verify(sink, atLeastOnce())
 .publishReadTiming(isA(ServerName.class), isA(HRegionInfo.class), 
isA(HColumnDescriptor.class), anyLong());
 assertEquals("v

[4/8] hbase git commit: HBASE-18830 TestCanaryTool does not check Canary monitor's error code

2017-09-25 Thread apurtell
HBASE-18830 TestCanaryTool does not check Canary monitor's error code

Added assertion checks to make sure that the error code for the
ToolRunner run() method is used.

Testing Done: Checked that TestCanaryTool unit tests fail when there is
an error code in the current Canary run.

Signed-off-by: Andrew Purtell 


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

Branch: refs/heads/branch-2
Commit: 3e1ceadc80856f3332db5c131022933fc428a783
Parents: b565a21
Author: Chinmay Kulkarni 
Authored: Fri Sep 15 17:06:52 2017 -0700
Committer: Andrew Purtell 
Committed: Mon Sep 25 19:06:44 2017 -0700

--
 .../org/apache/hadoop/hbase/tool/TestCanaryTool.java| 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/3e1ceadc/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java
--
diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java
index 190d5a9..ae34d1b 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java
@@ -89,7 +89,7 @@ public class TestCanaryTool {
 Canary.ZookeeperStdOutSink sink = spy(new Canary.ZookeeperStdOutSink());
 Canary canary = new Canary(executor, sink);
 String[] args = { "-t", "1", "-zookeeper" };
-ToolRunner.run(testingUtility.getConfiguration(), canary, args);
+assertEquals(0, ToolRunner.run(testingUtility.getConfiguration(), canary, 
args));
 
 String baseZnode = testingUtility.getConfiguration()
 .get(HConstants.ZOOKEEPER_ZNODE_PARENT, 
HConstants.DEFAULT_ZOOKEEPER_ZNODE_PARENT);
@@ -112,7 +112,7 @@ public class TestCanaryTool {
 Canary.RegionStdOutSink sink = spy(new Canary.RegionStdOutSink());
 Canary canary = new Canary(executor, sink);
 String[] args = { "-writeSniffing", "-t", "1", name.getMethodName() };
-ToolRunner.run(testingUtility.getConfiguration(), canary, args);
+assertEquals(0, ToolRunner.run(testingUtility.getConfiguration(), canary, 
args));
 assertEquals("verify no read error count", 0, 
canary.getReadFailures().size());
 assertEquals("verify no write error count", 0, 
canary.getWriteFailures().size());
 verify(sink, atLeastOnce()).publishReadTiming(isA(ServerName.class), 
isA(HRegionInfo.class),
@@ -142,7 +142,7 @@ public class TestCanaryTool {
 String configuredTimeoutStr = tableNames[0].getNameAsString() + "=" + 
Long.MAX_VALUE + "," +
   tableNames[1].getNameAsString() + "=0";
 String[] args = { "-readTableTimeouts", configuredTimeoutStr, 
name.getMethodName() + "1", name.getMethodName() + "2"};
-ToolRunner.run(testingUtility.getConfiguration(), canary, args);
+assertEquals(0, ToolRunner.run(testingUtility.getConfiguration(), canary, 
args));
 verify(sink, 
times(tableNames.length)).initializeAndGetReadLatencyForTable(isA(String.class));
 for (int i=0; i<2; i++) {
   assertNotEquals("verify non-null read latency", null, 
sink.getReadLatencyMap().get(tableNames[i].getNameAsString()));
@@ -170,7 +170,7 @@ public class TestCanaryTool {
 Canary.RegionStdOutSink sink = spy(new Canary.RegionStdOutSink());
 Canary canary = new Canary(executor, sink);
 String[] args = { "-writeSniffing", "-writeTableTimeout", 
String.valueOf(Long.MAX_VALUE)};
-ToolRunner.run(testingUtility.getConfiguration(), canary, args);
+assertEquals(0, ToolRunner.run(testingUtility.getConfiguration(), canary, 
args));
 assertNotEquals("verify non-null write latency", null, 
sink.getWriteLatency());
 assertNotEquals("verify non-zero write latency", 0L, 
sink.getWriteLatency());
 verify(mockAppender, times(1)).doAppend(argThat(new 
ArgumentMatcher() {
@@ -225,7 +225,7 @@ public class TestCanaryTool {
 org.apache.hadoop.conf.Configuration conf =
   new 
org.apache.hadoop.conf.Configuration(testingUtility.getConfiguration());
 conf.setBoolean(HConstants.HBASE_CANARY_READ_RAW_SCAN_KEY, true);
-ToolRunner.run(conf, canary, args);
+assertEquals(0, ToolRunner.run(conf, canary, args));
 verify(sink, atLeastOnce())
 .publishReadTiming(isA(ServerName.class), isA(HRegionInfo.class),
 isA(ColumnFamilyDescriptor.class), anyLong());
@@ -236,7 +236,7 @@ public class TestCanaryTool {
 ExecutorService executor = new ScheduledThreadPoolExecutor(1);
 Canary canary = new Canary(executor, new Canary.RegionServerStdOutSink());

[6/8] hbase git commit: HBASE-18830 TestCanaryTool does not check Canary monitor's error code

2017-09-25 Thread apurtell
HBASE-18830 TestCanaryTool does not check Canary monitor's error code

Added assertion checks to make sure that the error code for the
ToolRunner run() method is used.

Testing Done: Checked that TestCanaryTool unit tests fail when there is
an error code in the current Canary run.

Signed-off-by: Andrew Purtell 

Conflicts:

hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java


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

Branch: refs/heads/branch-1
Commit: 9d68535e8ecf58c879f880c227233e408c0fd32f
Parents: 414e0ca
Author: Chinmay Kulkarni 
Authored: Fri Sep 15 17:06:52 2017 -0700
Committer: Andrew Purtell 
Committed: Mon Sep 25 19:17:22 2017 -0700

--
 .../org/apache/hadoop/hbase/tool/TestCanaryTool.java| 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/9d68535e/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java
--
diff --git 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java
index 0204582..2206a16 100644
--- 
a/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java
+++ 
b/hbase-server/src/test/java/org/apache/hadoop/hbase/tool/TestCanaryTool.java
@@ -90,7 +90,7 @@ public class TestCanaryTool {
 Canary.ZookeeperStdOutSink sink = spy(new Canary.ZookeeperStdOutSink());
 Canary canary = new Canary(executor, sink);
 String[] args = { "-t", "1", "-zookeeper" };
-ToolRunner.run(testingUtility.getConfiguration(), canary, args);
+assertEquals(0, ToolRunner.run(testingUtility.getConfiguration(), canary, 
args));
 
 String baseZnode = testingUtility.getConfiguration()
 .get(HConstants.ZOOKEEPER_ZNODE_PARENT, 
HConstants.DEFAULT_ZOOKEEPER_ZNODE_PARENT);
@@ -113,7 +113,7 @@ public class TestCanaryTool {
 Canary.RegionStdOutSink sink = spy(new Canary.RegionStdOutSink());
 Canary canary = new Canary(executor, sink);
 String[] args = { "-writeSniffing", "-t", "1", "testTable" };
-ToolRunner.run(testingUtility.getConfiguration(), canary, args);
+assertEquals(0, ToolRunner.run(testingUtility.getConfiguration(), canary, 
args));
 assertEquals("verify no read error count", 0, 
canary.getReadFailures().size());
 assertEquals("verify no write error count", 0, 
canary.getWriteFailures().size());
 verify(sink, atLeastOnce()).publishReadTiming(isA(ServerName.class), 
isA(HRegionInfo.class), isA(HColumnDescriptor.class), anyLong());
@@ -142,7 +142,7 @@ public class TestCanaryTool {
 String configuredTimeoutStr = tableNames[0].getNameAsString() + "=" + 
Long.MAX_VALUE + "," +
   tableNames[1].getNameAsString() + "=0";
 String[] args = { "-readTableTimeouts", configuredTimeoutStr, 
tableNames[0].getNameAsString(), tableNames[1].getNameAsString()};
-ToolRunner.run(testingUtility.getConfiguration(), canary, args);
+assertEquals(0, ToolRunner.run(testingUtility.getConfiguration(), canary, 
args));
 verify(sink, 
times(tableNames.length)).initializeAndGetReadLatencyForTable(isA(String.class));
 for (int i=0; i<2; i++) {
   assertNotEquals("verify non-null read latency", null, 
sink.getReadLatencyMap().get(tableNames[i].getNameAsString()));
@@ -170,7 +170,7 @@ public class TestCanaryTool {
 Canary.RegionStdOutSink sink = spy(new Canary.RegionStdOutSink());
 Canary canary = new Canary(executor, sink);
 String[] args = { "-writeSniffing", "-writeTableTimeout", 
String.valueOf(Long.MAX_VALUE)};
-ToolRunner.run(testingUtility.getConfiguration(), canary, args);
+assertEquals(0, ToolRunner.run(testingUtility.getConfiguration(), canary, 
args));
 assertNotEquals("verify non-null write latency", null, 
sink.getWriteLatency());
 assertNotEquals("verify non-zero write latency", 0L, 
sink.getWriteLatency());
 verify(mockAppender, times(1)).doAppend(argThat(new 
ArgumentMatcher() {
@@ -224,7 +224,7 @@ public class TestCanaryTool {
 String[] args = { "-t", "1", "testTableRawScan" };
 org.apache.hadoop.conf.Configuration conf = new 
org.apache.hadoop.conf.Configuration(testingUtility.getConfiguration());
 conf.setBoolean(HConstants.HBASE_CANARY_READ_RAW_SCAN_KEY, true);
-ToolRunner.run(conf, canary, args);
+assertEquals(0, ToolRunner.run(conf, canary, args));
 verify(sink, atLeastOnce())
 .publishReadTiming(isA(ServerName.class), isA(HRegionInfo.class), 
isA(HColumnDescriptor.class), anyLong());
 assertEquals("ver

[2/8] hbase git commit: HBASE-18762 Canary sink type cast error

2017-09-25 Thread apurtell
HBASE-18762 Canary sink type cast error

Changed the type hierarchy of Canary sinks to reduce confusion and avoid
cast errors.

Testing Done: Ran the TestCanaryTool.java test suite and confirmed that
the working is correct.

Signed-off-by: Andrew Purtell 


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

Branch: refs/heads/branch-2
Commit: b565a214802fddd3d7982214e824198cbed5ba9e
Parents: fa0b093
Author: Chinmay Kulkarni 
Authored: Fri Sep 15 16:35:17 2017 -0700
Committer: Andrew Purtell 
Committed: Mon Sep 25 18:19:42 2017 -0700

--
 .../org/apache/hadoop/hbase/tool/Canary.java| 179 ++-
 1 file changed, 94 insertions(+), 85 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/b565a214/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
index 916b1d8..64cf5db 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
@@ -121,23 +121,12 @@ public final class Canary implements Tool {
   public interface Sink {
 public long getReadFailureCount();
 public long incReadFailureCount();
-public void publishReadFailure(ServerName serverName, HRegionInfo region, 
Exception e);
-public void publishReadFailure(ServerName serverName, HRegionInfo region, 
ColumnFamilyDescriptor column, Exception e);
-public void updateReadFailedHostList(HRegionInfo region, String 
serverName);
 public Map getReadFailures();
-public void publishReadTiming(ServerName serverName, HRegionInfo region, 
ColumnFamilyDescriptor column, long msTime);
+public void updateReadFailures(String regionName, String serverName);
 public long getWriteFailureCount();
-public void publishWriteFailure(ServerName serverName, HRegionInfo region, 
Exception e);
-public void publishWriteFailure(ServerName serverName, HRegionInfo region, 
ColumnFamilyDescriptor column, Exception e);
-public void publishWriteTiming(ServerName serverName, HRegionInfo region, 
ColumnFamilyDescriptor column, long msTime);
-public void updateWriteFailedHostList(HRegionInfo region, String 
serverName);
+public long incWriteFailureCount();
 public Map getWriteFailures();
-  }
-  // new extended sink for output regionserver mode info
-  // do not change the Sink interface directly due to maintaining the API
-  public interface ExtendedSink extends Sink {
-public void publishReadFailure(String table, String server);
-public void publishReadTiming(String table, String server, long msTime);
+public void updateWriteFailures(String regionName, String serverName);
   }
 
   // Simple implementation of canary sink that allows to plot on
@@ -160,37 +149,13 @@ public final class Canary implements Tool {
 }
 
 @Override
-public void publishReadFailure(ServerName serverName, HRegionInfo region, 
Exception e) {
-  readFailureCount.incrementAndGet();
-  LOG.error(String.format("read from region %s on regionserver %s failed", 
region.getRegionNameAsString(), serverName), e);
-}
-
-@Override
-public void publishReadFailure(ServerName serverName, HRegionInfo region, 
ColumnFamilyDescriptor column, Exception e) {
-  readFailureCount.incrementAndGet();
-  LOG.error(String.format("read from region %s on regionserver %s column 
family %s failed",
-region.getRegionNameAsString(), serverName, 
column.getNameAsString()), e);
-}
-
-@Override
-public void updateReadFailedHostList(HRegionInfo region, String 
serverName) {
-  readFailures.put(region.getRegionNameAsString(), serverName);
-}
-
-@Override
-public void publishReadTiming(ServerName serverName, HRegionInfo region, 
ColumnFamilyDescriptor column, long msTime) {
-  LOG.info(String.format("read from region %s on regionserver %s column 
family %s in %dms",
-region.getRegionNameAsString(), serverName, column.getNameAsString(), 
msTime));
-}
-
-@Override
 public Map getReadFailures() {
   return readFailures;
 }
 
 @Override
-public Map getWriteFailures() {
-  return writeFailures;
+public void updateReadFailures(String regionName, String serverName) {
+  readFailures.put(regionName, serverName);
 }
 
 @Override
@@ -199,53 +164,42 @@ public final class Canary implements Tool {
 }
 
 @Override
-public void publishWriteFailure(Server

[1/8] hbase git commit: HBASE-18762 Canary sink type cast error

2017-09-25 Thread apurtell
Repository: hbase
Updated Branches:
  refs/heads/branch-1 d6d62a546 -> 9d68535e8
  refs/heads/branch-1.4 1af5bf110 -> decf9d623
  refs/heads/branch-2 fa0b0934d -> 3e1ceadc8
  refs/heads/master b145286f3 -> 4b208eb2b


HBASE-18762 Canary sink type cast error

Changed the type hierarchy of Canary sinks to reduce confusion and avoid
cast errors.

Testing Done: Ran the TestCanaryTool.java test suite and confirmed that
the working is correct.

Signed-off-by: Andrew Purtell 


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

Branch: refs/heads/master
Commit: 176571a852f9f6afd8a0b77e3e0f187286e80264
Parents: b145286
Author: Chinmay Kulkarni 
Authored: Fri Sep 15 16:35:17 2017 -0700
Committer: Andrew Purtell 
Committed: Mon Sep 25 18:19:34 2017 -0700

--
 .../org/apache/hadoop/hbase/tool/Canary.java| 179 ++-
 1 file changed, 94 insertions(+), 85 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/176571a8/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
index 916b1d8..64cf5db 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
@@ -121,23 +121,12 @@ public final class Canary implements Tool {
   public interface Sink {
 public long getReadFailureCount();
 public long incReadFailureCount();
-public void publishReadFailure(ServerName serverName, HRegionInfo region, 
Exception e);
-public void publishReadFailure(ServerName serverName, HRegionInfo region, 
ColumnFamilyDescriptor column, Exception e);
-public void updateReadFailedHostList(HRegionInfo region, String 
serverName);
 public Map getReadFailures();
-public void publishReadTiming(ServerName serverName, HRegionInfo region, 
ColumnFamilyDescriptor column, long msTime);
+public void updateReadFailures(String regionName, String serverName);
 public long getWriteFailureCount();
-public void publishWriteFailure(ServerName serverName, HRegionInfo region, 
Exception e);
-public void publishWriteFailure(ServerName serverName, HRegionInfo region, 
ColumnFamilyDescriptor column, Exception e);
-public void publishWriteTiming(ServerName serverName, HRegionInfo region, 
ColumnFamilyDescriptor column, long msTime);
-public void updateWriteFailedHostList(HRegionInfo region, String 
serverName);
+public long incWriteFailureCount();
 public Map getWriteFailures();
-  }
-  // new extended sink for output regionserver mode info
-  // do not change the Sink interface directly due to maintaining the API
-  public interface ExtendedSink extends Sink {
-public void publishReadFailure(String table, String server);
-public void publishReadTiming(String table, String server, long msTime);
+public void updateWriteFailures(String regionName, String serverName);
   }
 
   // Simple implementation of canary sink that allows to plot on
@@ -160,37 +149,13 @@ public final class Canary implements Tool {
 }
 
 @Override
-public void publishReadFailure(ServerName serverName, HRegionInfo region, 
Exception e) {
-  readFailureCount.incrementAndGet();
-  LOG.error(String.format("read from region %s on regionserver %s failed", 
region.getRegionNameAsString(), serverName), e);
-}
-
-@Override
-public void publishReadFailure(ServerName serverName, HRegionInfo region, 
ColumnFamilyDescriptor column, Exception e) {
-  readFailureCount.incrementAndGet();
-  LOG.error(String.format("read from region %s on regionserver %s column 
family %s failed",
-region.getRegionNameAsString(), serverName, 
column.getNameAsString()), e);
-}
-
-@Override
-public void updateReadFailedHostList(HRegionInfo region, String 
serverName) {
-  readFailures.put(region.getRegionNameAsString(), serverName);
-}
-
-@Override
-public void publishReadTiming(ServerName serverName, HRegionInfo region, 
ColumnFamilyDescriptor column, long msTime) {
-  LOG.info(String.format("read from region %s on regionserver %s column 
family %s in %dms",
-region.getRegionNameAsString(), serverName, column.getNameAsString(), 
msTime));
-}
-
-@Override
 public Map getReadFailures() {
   return readFailures;
 }
 
 @Override
-public Map getWriteFailures() {
-  return writeFailures;
+public void updateReadFailures(String regionName, String serv

hbase git commit: HBASE-16769 Deprecate/remove PB references from MasterObserver and RegionServerObserver

2017-09-25 Thread anoopsamjohn
Repository: hbase
Updated Branches:
  refs/heads/master 4b208eb2b -> 3c7ab8107


HBASE-16769 Deprecate/remove PB references from MasterObserver and 
RegionServerObserver


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

Branch: refs/heads/master
Commit: 3c7ab8107204e730892951f323a0c231ac769bde
Parents: 4b208eb
Author: anoopsamjohn 
Authored: Tue Sep 26 08:52:23 2017 +0530
Committer: anoopsamjohn 
Committed: Tue Sep 26 08:52:23 2017 +0530

--
 .../backup/TestBackupDeleteWithFailures.java|  2 +-
 .../hbase/rsgroup/RSGroupAdminEndpoint.java |  2 +-
 .../hbase/coprocessor/MasterObserver.java   |  2 +-
 .../hbase/coprocessor/RegionServerObserver.java | 25 ++--
 .../hbase/master/MasterCoprocessorHost.java |  2 +-
 .../hbase/master/snapshot/SnapshotManager.java  | 43 +---
 .../hbase/regionserver/RSRpcServices.java   |  4 +-
 .../RegionServerCoprocessorHost.java| 10 ++---
 .../hbase/security/access/AccessController.java | 12 ++
 .../snapshot/SnapshotDescriptionUtils.java  |  6 +--
 .../hbase/coprocessor/TestMasterObserver.java   |  2 +-
 .../security/access/TestAccessController.java   | 22 --
 .../access/TestWithDisabledAuthorization.java   | 22 +++---
 .../snapshot/TestSnapshotClientRetries.java |  2 +-
 14 files changed, 73 insertions(+), 83 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/3c7ab810/hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupDeleteWithFailures.java
--
diff --git 
a/hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupDeleteWithFailures.java
 
b/hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupDeleteWithFailures.java
index 966f519..843ed38 100644
--- 
a/hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupDeleteWithFailures.java
+++ 
b/hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupDeleteWithFailures.java
@@ -34,12 +34,12 @@ import org.apache.hadoop.hbase.TableName;
 import org.apache.hadoop.hbase.backup.impl.BackupSystemTable;
 import org.apache.hadoop.hbase.client.Admin;
 import org.apache.hadoop.hbase.client.Connection;
+import org.apache.hadoop.hbase.client.SnapshotDescription;
 import org.apache.hadoop.hbase.client.TableDescriptor;
 import org.apache.hadoop.hbase.coprocessor.CoprocessorHost;
 import org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment;
 import org.apache.hadoop.hbase.coprocessor.MasterObserver;
 import org.apache.hadoop.hbase.coprocessor.ObserverContext;
-import 
org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription;
 import org.apache.hadoop.hbase.testclassification.LargeTests;
 import org.apache.hadoop.util.ToolRunner;
 import org.junit.Before;

http://git-wip-us.apache.org/repos/asf/hbase/blob/3c7ab810/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java
--
diff --git 
a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java
 
b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java
index 68bde3f..657dbba 100644
--- 
a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java
+++ 
b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java
@@ -32,6 +32,7 @@ import org.apache.hadoop.hbase.HConstants;
 import org.apache.hadoop.hbase.NamespaceDescriptor;
 import org.apache.hadoop.hbase.TableName;
 import org.apache.hadoop.hbase.client.RegionInfo;
+import org.apache.hadoop.hbase.client.SnapshotDescription;
 import org.apache.hadoop.hbase.client.TableDescriptor;
 import org.apache.hadoop.hbase.constraint.ConstraintException;
 import org.apache.hadoop.hbase.coprocessor.CoprocessorService;
@@ -66,7 +67,6 @@ import 
org.apache.hadoop.hbase.protobuf.generated.RSGroupAdminProtos.RSGroupAdmi
 import 
org.apache.hadoop.hbase.protobuf.generated.RSGroupAdminProtos.RemoveRSGroupRequest;
 import 
org.apache.hadoop.hbase.protobuf.generated.RSGroupAdminProtos.RemoveRSGroupResponse;
 import org.apache.hadoop.hbase.shaded.com.google.common.collect.Sets;
-import 
org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription;
 import org.apache.yetus.audience.InterfaceAudience;
 
 @InterfaceAudience.Private

http://git-wip-us.apache.org/repos/asf/hbase/blob/3c7ab810/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/MasterObserver.java
--

hbase git commit: HBASE-18160 Fix incorrect logic in FilterList.filterKeyValue

2017-09-25 Thread zhangduo
Repository: hbase
Updated Branches:
  refs/heads/master 3c7ab8107 -> f54cc1ca5


HBASE-18160 Fix incorrect logic in FilterList.filterKeyValue

Signed-off-by: zhangduo 


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

Branch: refs/heads/master
Commit: f54cc1ca51440ee0f445a008f2f31697730fd7fe
Parents: 3c7ab81
Author: huzheng 
Authored: Thu Jun 8 15:58:42 2017 +0800
Committer: zhangduo 
Committed: Tue Sep 26 11:46:01 2017 +0800

--
 .../apache/hadoop/hbase/filter/FilterList.java  | 542 ---
 .../hadoop/hbase/filter/TestFilterList.java | 146 +++--
 2 files changed, 469 insertions(+), 219 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/f54cc1ca/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java
--
diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java
index 1e80a7e..7f2405d 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java
@@ -90,62 +90,53 @@ final public class FilterList extends FilterBase {
   private Cell transformedCell = null;
 
   /**
-   * Constructor that takes a set of {@link Filter}s. The default operator
-   * MUST_PASS_ALL is assumed.
+   * Constructor that takes a set of {@link Filter}s and an operator.
+   * @param operator Operator to process filter set with.
+   * @param rowFilters Set of row filters.
+   */
+  public FilterList(final Operator operator, final List rowFilters) {
+reversed = checkAndGetReversed(rowFilters, reversed);
+this.filters = new ArrayList<>(rowFilters);
+this.operator = operator;
+initPrevListForMustPassOne(rowFilters.size());
+  }
+
+  /**
+   * Constructor that takes a set of {@link Filter}s. The default operator 
MUST_PASS_ALL is assumed.
* All filters are cloned to internal list.
* @param rowFilters list of filters
*/
   public FilterList(final List rowFilters) {
-reversed = getReversed(rowFilters, reversed);
-this.filters = new ArrayList<>(rowFilters);
-initPrevListForMustPassOne(rowFilters.size());
+this(Operator.MUST_PASS_ALL, rowFilters);
   }
 
   /**
-   * Constructor that takes a var arg number of {@link Filter}s. The fefault 
operator
-   * MUST_PASS_ALL is assumed.
+   * Constructor that takes a var arg number of {@link Filter}s. The default 
operator MUST_PASS_ALL
+   * is assumed.
* @param rowFilters
*/
   public FilterList(final Filter... rowFilters) {
-this(Arrays.asList(rowFilters));
+this(Operator.MUST_PASS_ALL, Arrays.asList(rowFilters));
   }
 
   /**
* Constructor that takes an operator.
-   *
* @param operator Operator to process filter set with.
*/
   public FilterList(final Operator operator) {
-this.operator = operator;
-this.filters = new ArrayList<>();
-initPrevListForMustPassOne(filters.size());
-  }
-
-  /**
-   * Constructor that takes a set of {@link Filter}s and an operator.
-   *
-   * @param operator Operator to process filter set with.
-   * @param rowFilters Set of row filters.
-   */
-  public FilterList(final Operator operator, final List rowFilters) {
-this(rowFilters);
-this.operator = operator;
-initPrevListForMustPassOne(rowFilters.size());
+this(operator, new ArrayList<>());
   }
 
   /**
* Constructor that takes a var arg number of {@link Filter}s and an 
operator.
-   *
* @param operator Operator to process filter set with.
* @param rowFilters Filters to use
*/
   public FilterList(final Operator operator, final Filter... rowFilters) {
-this(rowFilters);
-this.operator = operator;
-initPrevListForMustPassOne(rowFilters.length);
+this(operator, Arrays.asList(rowFilters));
   }
 
-  public void initPrevListForMustPassOne(int size) {
+  private void initPrevListForMustPassOne(int size) {
 if (operator == Operator.MUST_PASS_ONE) {
   if (this.prevFilterRCList == null) {
 prevFilterRCList = new ArrayList<>(Collections.nCopies(size, null));
@@ -156,10 +147,8 @@ final public class FilterList extends FilterBase {
 }
   }
 
-
   /**
* Get the operator.
-   *
* @return operator
*/
   public Operator getOperator() {
@@ -168,7 +157,6 @@ final public class FilterList extends FilterBase {
 
   /**
* Get the filters.
-   *
* @return filters
*/
   public List getFilters() {
@@ -183,33 +171,22 @@ final public class FilterList extends FilterBase {
 return filters.isEmpty();
   

hbase git commit: HBASE-18160 Fix incorrect logic in FilterList.filterKeyValue

2017-09-25 Thread zhangduo
Repository: hbase
Updated Branches:
  refs/heads/branch-2 3e1ceadc8 -> 7c2622baf


HBASE-18160 Fix incorrect logic in FilterList.filterKeyValue

Signed-off-by: zhangduo 


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

Branch: refs/heads/branch-2
Commit: 7c2622baf75ac414547488799216cdf2b37be7bd
Parents: 3e1cead
Author: huzheng 
Authored: Thu Jun 8 15:58:42 2017 +0800
Committer: zhangduo 
Committed: Tue Sep 26 11:23:38 2017 +0800

--
 .../apache/hadoop/hbase/filter/FilterList.java  | 542 ---
 .../hadoop/hbase/filter/TestFilterList.java | 146 +++--
 2 files changed, 469 insertions(+), 219 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/7c2622ba/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java
--
diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java
index 1e80a7e..7f2405d 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java
@@ -90,62 +90,53 @@ final public class FilterList extends FilterBase {
   private Cell transformedCell = null;
 
   /**
-   * Constructor that takes a set of {@link Filter}s. The default operator
-   * MUST_PASS_ALL is assumed.
+   * Constructor that takes a set of {@link Filter}s and an operator.
+   * @param operator Operator to process filter set with.
+   * @param rowFilters Set of row filters.
+   */
+  public FilterList(final Operator operator, final List rowFilters) {
+reversed = checkAndGetReversed(rowFilters, reversed);
+this.filters = new ArrayList<>(rowFilters);
+this.operator = operator;
+initPrevListForMustPassOne(rowFilters.size());
+  }
+
+  /**
+   * Constructor that takes a set of {@link Filter}s. The default operator 
MUST_PASS_ALL is assumed.
* All filters are cloned to internal list.
* @param rowFilters list of filters
*/
   public FilterList(final List rowFilters) {
-reversed = getReversed(rowFilters, reversed);
-this.filters = new ArrayList<>(rowFilters);
-initPrevListForMustPassOne(rowFilters.size());
+this(Operator.MUST_PASS_ALL, rowFilters);
   }
 
   /**
-   * Constructor that takes a var arg number of {@link Filter}s. The fefault 
operator
-   * MUST_PASS_ALL is assumed.
+   * Constructor that takes a var arg number of {@link Filter}s. The default 
operator MUST_PASS_ALL
+   * is assumed.
* @param rowFilters
*/
   public FilterList(final Filter... rowFilters) {
-this(Arrays.asList(rowFilters));
+this(Operator.MUST_PASS_ALL, Arrays.asList(rowFilters));
   }
 
   /**
* Constructor that takes an operator.
-   *
* @param operator Operator to process filter set with.
*/
   public FilterList(final Operator operator) {
-this.operator = operator;
-this.filters = new ArrayList<>();
-initPrevListForMustPassOne(filters.size());
-  }
-
-  /**
-   * Constructor that takes a set of {@link Filter}s and an operator.
-   *
-   * @param operator Operator to process filter set with.
-   * @param rowFilters Set of row filters.
-   */
-  public FilterList(final Operator operator, final List rowFilters) {
-this(rowFilters);
-this.operator = operator;
-initPrevListForMustPassOne(rowFilters.size());
+this(operator, new ArrayList<>());
   }
 
   /**
* Constructor that takes a var arg number of {@link Filter}s and an 
operator.
-   *
* @param operator Operator to process filter set with.
* @param rowFilters Filters to use
*/
   public FilterList(final Operator operator, final Filter... rowFilters) {
-this(rowFilters);
-this.operator = operator;
-initPrevListForMustPassOne(rowFilters.length);
+this(operator, Arrays.asList(rowFilters));
   }
 
-  public void initPrevListForMustPassOne(int size) {
+  private void initPrevListForMustPassOne(int size) {
 if (operator == Operator.MUST_PASS_ONE) {
   if (this.prevFilterRCList == null) {
 prevFilterRCList = new ArrayList<>(Collections.nCopies(size, null));
@@ -156,10 +147,8 @@ final public class FilterList extends FilterBase {
 }
   }
 
-
   /**
* Get the operator.
-   *
* @return operator
*/
   public Operator getOperator() {
@@ -168,7 +157,6 @@ final public class FilterList extends FilterBase {
 
   /**
* Get the filters.
-   *
* @return filters
*/
   public List getFilters() {
@@ -183,33 +171,22 @@ final public class FilterList extends FilterBase {
 return filters.isEmpty();

hbase git commit: HBASE-18652 Expose individual cache stats in a CombinedCache through JMX (Biju Nair)

2017-09-25 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-1 9d68535e8 -> eeaa9aee6


HBASE-18652 Expose individual cache stats in a CombinedCache through JMX (Biju 
Nair)


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

Branch: refs/heads/branch-1
Commit: eeaa9aee66edf6b4e65d517756f61bfc19fc4fe3
Parents: 9d68535
Author: Michael Stack 
Authored: Mon Sep 25 20:51:11 2017 -0700
Committer: Michael Stack 
Committed: Mon Sep 25 20:51:11 2017 -0700

--
 .../regionserver/MetricsRegionServerSource.java | 17 +
 .../MetricsRegionServerWrapper.java | 40 +++
 .../MetricsRegionServerSourceImpl.java  | 16 +
 .../hadoop/hbase/io/hfile/CacheConfig.java  | 37 --
 .../MetricsRegionServerWrapperImpl.java | 71 +++-
 .../hbase/io/hfile/TestBlockCacheReporting.java |  2 +-
 .../hadoop/hbase/io/hfile/TestCacheConfig.java  |  4 +-
 .../io/hfile/TestForceCacheImportantBlocks.java |  2 +-
 .../MetricsRegionServerWrapperStub.java | 40 +++
 .../regionserver/TestMetricsRegionServer.java   |  8 +++
 10 files changed, 226 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/eeaa9aee/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSource.java
--
diff --git 
a/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSource.java
 
b/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSource.java
index 3ac678e..b72deb8 100644
--- 
a/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSource.java
+++ 
b/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSource.java
@@ -345,6 +345,23 @@ public interface MetricsRegionServerSource extends 
BaseSource, JvmPauseMonitorSo
   String BLOCK_CACHE_DELETE_FAMILY_BLOOM_HIT_COUNT = 
"blockCacheDeleteFamilyBloomHitCount";
   String BLOCK_CACHE_TRAILER_HIT_COUNT = "blockCacheTrailerHitCount";
 
+  String L1_CACHE_HIT_COUNT = "l1CacheHitCount";
+  String L1_CACHE_HIT_COUNT_DESC = "L1 cache hit count.";
+  String L1_CACHE_MISS_COUNT = "l1CacheMissCount";
+  String L1_CACHE_MISS_COUNT_DESC = "L1 cache miss count.";
+  String L1_CACHE_HIT_RATIO = "l1CacheHitRatio";
+  String L1_CACHE_HIT_RATIO_DESC = "L1 cache hit ratio.";
+  String L1_CACHE_MISS_RATIO = "l1CacheMissRatio";
+  String L1_CACHE_MISS_RATIO_DESC = "L1 cache miss ratio.";
+  String L2_CACHE_HIT_COUNT = "l2CacheHitCount";
+  String L2_CACHE_HIT_COUNT_DESC = "L2 cache hit count.";
+  String L2_CACHE_MISS_COUNT = "l2CacheMissCount";
+  String L2_CACHE_MISS_COUNT_DESC = "L2 cache miss count.";
+  String L2_CACHE_HIT_RATIO = "l2CacheHitRatio";
+  String L2_CACHE_HIT_RATIO_DESC = "L2 cache hit ratio.";
+  String L2_CACHE_MISS_RATIO = "l2CacheMissRatio";
+  String L2_CACHE_MISS_RATIO_DESC = "L2 cache miss ratio.";
+
   String RS_START_TIME_NAME = "regionServerStartTime";
   String ZOOKEEPER_QUORUM_NAME = "zookeeperQuorum";
   String SERVER_NAME_NAME = "serverName";

http://git-wip-us.apache.org/repos/asf/hbase/blob/eeaa9aee/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapper.java
--
diff --git 
a/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapper.java
 
b/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapper.java
index 7d7f66d..3344dce 100644
--- 
a/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapper.java
+++ 
b/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapper.java
@@ -259,6 +259,46 @@ public interface MetricsRegionServerWrapper {
   long getBlockCacheFailedInsertions();
 
   /**
+   * Hit count of L1 cache.
+   */
+  public long getL1CacheHitCount();
+
+  /**
+   * Miss count of L1 cache.
+   */
+  public long getL1CacheMissCount();
+
+  /**
+   * Hit ratio of L1 cache.
+   */
+  public double getL1CacheHitRatio();
+
+  /**
+   * Miss ratio of L1 cache.
+   */
+  public double getL1CacheMissRatio();
+
+  /**
+   * Hit count of L2 cache.
+   */
+  public long getL2CacheHitCount();
+
+  /**
+   * Miss count of L2 cache.
+   */
+  public long getL2CacheMissCount();
+
+  /**
+   * Hit ratio of L2 cache.
+   */
+  public double getL2CacheHitRatio();
+
+  /**
+   * Miss ratio of L2 cache.
+   */
+  public double getL2CacheMissRatio();
+
+  /**
* Force 

hbase git commit: HBASE-18652 Expose individual cache stats in a CombinedCache through JMX (Biju Nair)

2017-09-25 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-1.4 decf9d623 -> 52970c05d


HBASE-18652 Expose individual cache stats in a CombinedCache through JMX (Biju 
Nair)


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

Branch: refs/heads/branch-1.4
Commit: 52970c05da1f63be77ed09b614a06c2fd1aed0ea
Parents: decf9d6
Author: Michael Stack 
Authored: Mon Sep 25 20:51:11 2017 -0700
Committer: Michael Stack 
Committed: Mon Sep 25 20:56:45 2017 -0700

--
 .../regionserver/MetricsRegionServerSource.java | 17 +
 .../MetricsRegionServerWrapper.java | 40 +++
 .../MetricsRegionServerSourceImpl.java  | 16 +
 .../hadoop/hbase/io/hfile/CacheConfig.java  | 37 --
 .../MetricsRegionServerWrapperImpl.java | 71 +++-
 .../hbase/io/hfile/TestBlockCacheReporting.java |  2 +-
 .../hadoop/hbase/io/hfile/TestCacheConfig.java  |  4 +-
 .../io/hfile/TestForceCacheImportantBlocks.java |  2 +-
 .../MetricsRegionServerWrapperStub.java | 40 +++
 .../regionserver/TestMetricsRegionServer.java   |  8 +++
 10 files changed, 226 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/52970c05/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSource.java
--
diff --git 
a/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSource.java
 
b/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSource.java
index 3ac678e..b72deb8 100644
--- 
a/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSource.java
+++ 
b/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSource.java
@@ -345,6 +345,23 @@ public interface MetricsRegionServerSource extends 
BaseSource, JvmPauseMonitorSo
   String BLOCK_CACHE_DELETE_FAMILY_BLOOM_HIT_COUNT = 
"blockCacheDeleteFamilyBloomHitCount";
   String BLOCK_CACHE_TRAILER_HIT_COUNT = "blockCacheTrailerHitCount";
 
+  String L1_CACHE_HIT_COUNT = "l1CacheHitCount";
+  String L1_CACHE_HIT_COUNT_DESC = "L1 cache hit count.";
+  String L1_CACHE_MISS_COUNT = "l1CacheMissCount";
+  String L1_CACHE_MISS_COUNT_DESC = "L1 cache miss count.";
+  String L1_CACHE_HIT_RATIO = "l1CacheHitRatio";
+  String L1_CACHE_HIT_RATIO_DESC = "L1 cache hit ratio.";
+  String L1_CACHE_MISS_RATIO = "l1CacheMissRatio";
+  String L1_CACHE_MISS_RATIO_DESC = "L1 cache miss ratio.";
+  String L2_CACHE_HIT_COUNT = "l2CacheHitCount";
+  String L2_CACHE_HIT_COUNT_DESC = "L2 cache hit count.";
+  String L2_CACHE_MISS_COUNT = "l2CacheMissCount";
+  String L2_CACHE_MISS_COUNT_DESC = "L2 cache miss count.";
+  String L2_CACHE_HIT_RATIO = "l2CacheHitRatio";
+  String L2_CACHE_HIT_RATIO_DESC = "L2 cache hit ratio.";
+  String L2_CACHE_MISS_RATIO = "l2CacheMissRatio";
+  String L2_CACHE_MISS_RATIO_DESC = "L2 cache miss ratio.";
+
   String RS_START_TIME_NAME = "regionServerStartTime";
   String ZOOKEEPER_QUORUM_NAME = "zookeeperQuorum";
   String SERVER_NAME_NAME = "serverName";

http://git-wip-us.apache.org/repos/asf/hbase/blob/52970c05/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapper.java
--
diff --git 
a/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapper.java
 
b/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapper.java
index 7d7f66d..3344dce 100644
--- 
a/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapper.java
+++ 
b/hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapper.java
@@ -259,6 +259,46 @@ public interface MetricsRegionServerWrapper {
   long getBlockCacheFailedInsertions();
 
   /**
+   * Hit count of L1 cache.
+   */
+  public long getL1CacheHitCount();
+
+  /**
+   * Miss count of L1 cache.
+   */
+  public long getL1CacheMissCount();
+
+  /**
+   * Hit ratio of L1 cache.
+   */
+  public double getL1CacheHitRatio();
+
+  /**
+   * Miss ratio of L1 cache.
+   */
+  public double getL1CacheMissRatio();
+
+  /**
+   * Hit count of L2 cache.
+   */
+  public long getL2CacheHitCount();
+
+  /**
+   * Miss count of L2 cache.
+   */
+  public long getL2CacheMissCount();
+
+  /**
+   * Hit ratio of L2 cache.
+   */
+  public double getL2CacheHitRatio();
+
+  /**
+   * Miss ratio of L2 cache.
+   */
+  public double getL2CacheMissRatio();
+
+  /**
* Fo

hbase git commit: HBASE-18652 Expose individual cache stats in a CombinedCache through JMX (Biju Nair); ADDENDUM

2017-09-25 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/master f54cc1ca5 -> 2ceeb54c9


HBASE-18652 Expose individual cache stats in a CombinedCache through JMX (Biju 
Nair); ADDENDUM


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

Branch: refs/heads/master
Commit: 2ceeb54c92cecc80c318af6b1655435b83bf7493
Parents: f54cc1c
Author: Michael Stack 
Authored: Mon Sep 25 20:57:58 2017 -0700
Committer: Michael Stack 
Committed: Mon Sep 25 20:57:58 2017 -0700

--
 .../src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/2ceeb54c/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
index 64dc925..b89205c 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
@@ -737,6 +737,7 @@ public class CacheConfig {
   @VisibleForTesting
   static synchronized void clearGlobalInstances() {
 GLOBAL_L1_CACHE_INSTANCE = null;
+GLOBAL_L2_CACHE_INSTANCE = null;
 GLOBAL_BLOCK_CACHE_INSTANCE = null;
   }
 }



hbase git commit: HBASE-18652 Expose individual cache stats in a CombinedCache through JMX (Biju Nair); ADDENDUM

2017-09-25 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-2 7c2622baf -> a8e8cf6e1


HBASE-18652 Expose individual cache stats in a CombinedCache through JMX (Biju 
Nair); ADDENDUM


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

Branch: refs/heads/branch-2
Commit: a8e8cf6e167fa5b0c9e7bdfe48711f32571cddcc
Parents: 7c2622b
Author: Michael Stack 
Authored: Mon Sep 25 20:57:58 2017 -0700
Committer: Michael Stack 
Committed: Mon Sep 25 20:58:30 2017 -0700

--
 .../src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/a8e8cf6e/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
index 64dc925..b89205c 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
@@ -737,6 +737,7 @@ public class CacheConfig {
   @VisibleForTesting
   static synchronized void clearGlobalInstances() {
 GLOBAL_L1_CACHE_INSTANCE = null;
+GLOBAL_L2_CACHE_INSTANCE = null;
 GLOBAL_BLOCK_CACHE_INSTANCE = null;
   }
 }



hbase git commit: HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch Protobuf internals as IA.Private

2017-09-25 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-1 eeaa9aee6 -> fa7d0ccb0


HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch 
Protobuf internals as IA.Private

Signed-off-by: Michael Stack 


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

Branch: refs/heads/branch-1
Commit: fa7d0ccb05b7cc5aa8101c069a6d9c5095813744
Parents: eeaa9ae
Author: Sean Busbey 
Authored: Thu Sep 21 14:04:42 2017 -0500
Committer: Michael Stack 
Committed: Mon Sep 25 21:01:18 2017 -0700

--
 .../main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java  | 4 
 1 file changed, 4 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/fa7d0ccb/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
--
diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
index 3a8c158..58f4a62 100644
--- 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
+++ 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
@@ -49,7 +49,9 @@ public abstract class QuotaSettings {
   /**
* Convert a QuotaSettings to a protocol buffer SetQuotaRequest. This is 
used internally by the
* Admin client to serialize the quota settings and send them to the master.
+   * @deprecated Removed in HBase 2.0+ as a part of removing protobuf from our 
API
*/
+  @Deprecated
   public static SetQuotaRequest buildSetQuotaRequestProto(final QuotaSettings 
settings) {
 SetQuotaRequest.Builder builder = SetQuotaRequest.newBuilder();
 if (settings.getUserName() != null) {
@@ -68,7 +70,9 @@ public abstract class QuotaSettings {
   /**
* Called by toSetQuotaRequestProto() the subclass should implement this 
method to set the
* specific SetQuotaRequest properties.
+   * @deprecated Removed in HBase 2.0+ as a part of removing protobuf from our 
API
*/
+  @Deprecated
   protected abstract void setupSetQuotaRequest(SetQuotaRequest.Builder 
builder);
 
   protected String ownerToString() {



hbase git commit: HBASE-16769 Deprecate/remove PB references from MasterObserver and RegionServerObserver

2017-09-25 Thread anoopsamjohn
Repository: hbase
Updated Branches:
  refs/heads/branch-2 a8e8cf6e1 -> b6863d867


HBASE-16769 Deprecate/remove PB references from MasterObserver and 
RegionServerObserver


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

Branch: refs/heads/branch-2
Commit: b6863d867d2081a26da4b9aa0214243a76ae9d03
Parents: a8e8cf6
Author: anoopsamjohn 
Authored: Tue Sep 26 09:30:59 2017 +0530
Committer: anoopsamjohn 
Committed: Tue Sep 26 09:30:59 2017 +0530

--
 .../backup/TestBackupDeleteWithFailures.java|  2 +-
 .../hbase/rsgroup/RSGroupAdminEndpoint.java |  2 +-
 .../hbase/coprocessor/MasterObserver.java   |  2 +-
 .../hbase/coprocessor/RegionServerObserver.java | 25 ++--
 .../hbase/master/MasterCoprocessorHost.java |  2 +-
 .../hbase/master/snapshot/SnapshotManager.java  | 43 +---
 .../hbase/regionserver/RSRpcServices.java   |  4 +-
 .../RegionServerCoprocessorHost.java| 10 ++---
 .../hbase/security/access/AccessController.java | 12 ++
 .../snapshot/SnapshotDescriptionUtils.java  |  6 +--
 .../hbase/coprocessor/TestMasterObserver.java   |  2 +-
 .../security/access/TestAccessController.java   | 22 --
 .../access/TestWithDisabledAuthorization.java   | 22 +++---
 .../snapshot/TestSnapshotClientRetries.java |  2 +-
 14 files changed, 73 insertions(+), 83 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/b6863d86/hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupDeleteWithFailures.java
--
diff --git 
a/hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupDeleteWithFailures.java
 
b/hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupDeleteWithFailures.java
index 966f519..843ed38 100644
--- 
a/hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupDeleteWithFailures.java
+++ 
b/hbase-backup/src/test/java/org/apache/hadoop/hbase/backup/TestBackupDeleteWithFailures.java
@@ -34,12 +34,12 @@ import org.apache.hadoop.hbase.TableName;
 import org.apache.hadoop.hbase.backup.impl.BackupSystemTable;
 import org.apache.hadoop.hbase.client.Admin;
 import org.apache.hadoop.hbase.client.Connection;
+import org.apache.hadoop.hbase.client.SnapshotDescription;
 import org.apache.hadoop.hbase.client.TableDescriptor;
 import org.apache.hadoop.hbase.coprocessor.CoprocessorHost;
 import org.apache.hadoop.hbase.coprocessor.MasterCoprocessorEnvironment;
 import org.apache.hadoop.hbase.coprocessor.MasterObserver;
 import org.apache.hadoop.hbase.coprocessor.ObserverContext;
-import 
org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription;
 import org.apache.hadoop.hbase.testclassification.LargeTests;
 import org.apache.hadoop.util.ToolRunner;
 import org.junit.Before;

http://git-wip-us.apache.org/repos/asf/hbase/blob/b6863d86/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java
--
diff --git 
a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java
 
b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java
index d861c2b..da179e3 100644
--- 
a/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java
+++ 
b/hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdminEndpoint.java
@@ -32,6 +32,7 @@ import org.apache.hadoop.hbase.HConstants;
 import org.apache.hadoop.hbase.NamespaceDescriptor;
 import org.apache.hadoop.hbase.TableName;
 import org.apache.hadoop.hbase.client.RegionInfo;
+import org.apache.hadoop.hbase.client.SnapshotDescription;
 import org.apache.hadoop.hbase.client.TableDescriptor;
 import org.apache.hadoop.hbase.constraint.ConstraintException;
 import org.apache.hadoop.hbase.coprocessor.CoprocessorService;
@@ -67,7 +68,6 @@ import 
org.apache.hadoop.hbase.protobuf.generated.RSGroupAdminProtos.RemoveRSGro
 import 
org.apache.hadoop.hbase.protobuf.generated.RSGroupAdminProtos.RemoveRSGroupResponse;
 import org.apache.hadoop.hbase.protobuf.generated.TableProtos;
 import org.apache.hadoop.hbase.shaded.com.google.common.collect.Sets;
-import 
org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription;
 import org.apache.yetus.audience.InterfaceAudience;
 
 @InterfaceAudience.Private

http://git-wip-us.apache.org/repos/asf/hbase/blob/b6863d86/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/MasterObserver.java
--
diff --git 
a/hbase-serve

hbase git commit: HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch Protobuf internals as IA.Private

2017-09-25 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-1.2 5e240625b -> fa49bb4db


HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch 
Protobuf internals as IA.Private

Signed-off-by: Michael Stack 


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

Branch: refs/heads/branch-1.2
Commit: fa49bb4db9431879ec71e39ddc099b7bf123fb4e
Parents: 5e24062
Author: Sean Busbey 
Authored: Thu Sep 21 14:04:42 2017 -0500
Committer: Michael Stack 
Committed: Mon Sep 25 21:02:17 2017 -0700

--
 .../main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java  | 4 
 1 file changed, 4 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/fa49bb4d/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
--
diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
index 3a8c158..58f4a62 100644
--- 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
+++ 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
@@ -49,7 +49,9 @@ public abstract class QuotaSettings {
   /**
* Convert a QuotaSettings to a protocol buffer SetQuotaRequest. This is 
used internally by the
* Admin client to serialize the quota settings and send them to the master.
+   * @deprecated Removed in HBase 2.0+ as a part of removing protobuf from our 
API
*/
+  @Deprecated
   public static SetQuotaRequest buildSetQuotaRequestProto(final QuotaSettings 
settings) {
 SetQuotaRequest.Builder builder = SetQuotaRequest.newBuilder();
 if (settings.getUserName() != null) {
@@ -68,7 +70,9 @@ public abstract class QuotaSettings {
   /**
* Called by toSetQuotaRequestProto() the subclass should implement this 
method to set the
* specific SetQuotaRequest properties.
+   * @deprecated Removed in HBase 2.0+ as a part of removing protobuf from our 
API
*/
+  @Deprecated
   protected abstract void setupSetQuotaRequest(SetQuotaRequest.Builder 
builder);
 
   protected String ownerToString() {



hbase git commit: HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch Protobuf internals as IA.Private

2017-09-25 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 1b3a745f8 -> b41dbd37e


HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch 
Protobuf internals as IA.Private

Signed-off-by: Michael Stack 


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

Branch: refs/heads/branch-1.3
Commit: b41dbd37e1360e2dfaa9ff1768a5fa87aea82558
Parents: 1b3a745
Author: Sean Busbey 
Authored: Thu Sep 21 14:04:42 2017 -0500
Committer: Michael Stack 
Committed: Mon Sep 25 21:01:57 2017 -0700

--
 .../main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java  | 4 
 1 file changed, 4 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/b41dbd37/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
--
diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
index 3a8c158..58f4a62 100644
--- 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
+++ 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
@@ -49,7 +49,9 @@ public abstract class QuotaSettings {
   /**
* Convert a QuotaSettings to a protocol buffer SetQuotaRequest. This is 
used internally by the
* Admin client to serialize the quota settings and send them to the master.
+   * @deprecated Removed in HBase 2.0+ as a part of removing protobuf from our 
API
*/
+  @Deprecated
   public static SetQuotaRequest buildSetQuotaRequestProto(final QuotaSettings 
settings) {
 SetQuotaRequest.Builder builder = SetQuotaRequest.newBuilder();
 if (settings.getUserName() != null) {
@@ -68,7 +70,9 @@ public abstract class QuotaSettings {
   /**
* Called by toSetQuotaRequestProto() the subclass should implement this 
method to set the
* specific SetQuotaRequest properties.
+   * @deprecated Removed in HBase 2.0+ as a part of removing protobuf from our 
API
*/
+  @Deprecated
   protected abstract void setupSetQuotaRequest(SetQuotaRequest.Builder 
builder);
 
   protected String ownerToString() {



hbase git commit: HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch Protobuf internals as IA.Private

2017-09-25 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-1.1 55f6e3346 -> c98aae190


HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch 
Protobuf internals as IA.Private

Signed-off-by: Michael Stack 


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

Branch: refs/heads/branch-1.1
Commit: c98aae190af5ad9f9e9aa07ccdb3737c837de8c8
Parents: 55f6e33
Author: Sean Busbey 
Authored: Thu Sep 21 14:04:42 2017 -0500
Committer: Michael Stack 
Committed: Mon Sep 25 21:02:34 2017 -0700

--
 .../main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java  | 4 
 1 file changed, 4 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/c98aae19/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
--
diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
index 3a8c158..58f4a62 100644
--- 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
+++ 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/QuotaSettings.java
@@ -49,7 +49,9 @@ public abstract class QuotaSettings {
   /**
* Convert a QuotaSettings to a protocol buffer SetQuotaRequest. This is 
used internally by the
* Admin client to serialize the quota settings and send them to the master.
+   * @deprecated Removed in HBase 2.0+ as a part of removing protobuf from our 
API
*/
+  @Deprecated
   public static SetQuotaRequest buildSetQuotaRequestProto(final QuotaSettings 
settings) {
 SetQuotaRequest.Builder builder = SetQuotaRequest.newBuilder();
 if (settings.getUserName() != null) {
@@ -68,7 +70,9 @@ public abstract class QuotaSettings {
   /**
* Called by toSetQuotaRequestProto() the subclass should implement this 
method to set the
* specific SetQuotaRequest properties.
+   * @deprecated Removed in HBase 2.0+ as a part of removing protobuf from our 
API
*/
+  @Deprecated
   protected abstract void setupSetQuotaRequest(SetQuotaRequest.Builder 
builder);
 
   protected String ownerToString() {



hbase git commit: HBASE-18859 Purge PB from BulkLoadObserver

2017-09-25 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/master 2ceeb54c9 -> 410368b84


HBASE-18859 Purge PB from BulkLoadObserver

Signed-off-by: Michael Stack 


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

Branch: refs/heads/master
Commit: 410368b84eeaa31e6e21c69df8361a32763a1c57
Parents: 2ceeb54
Author: Michael Stack 
Authored: Thu Sep 21 16:28:33 2017 -0700
Committer: Michael Stack 
Committed: Mon Sep 25 21:14:33 2017 -0700

--
 .../security/access/SecureBulkLoadEndpoint.java  |  5 +
 .../hadoop/hbase/coprocessor/BulkLoadObserver.java   | 15 +++
 .../hadoop/hbase/regionserver/RowProcessor.java  |  2 +-
 .../hbase/regionserver/SecureBulkLoadManager.java|  5 +++--
 .../hbase/security/access/AccessController.java  | 10 --
 .../hbase/security/access/TestAccessController.java  |  6 ++
 6 files changed, 26 insertions(+), 17 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/410368b8/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java
--
diff --git 
a/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java
 
b/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java
index f24583d..2a4b4f3 100644
--- 
a/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java
+++ 
b/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java
@@ -80,6 +80,7 @@ public class SecureBulkLoadEndpoint extends 
SecureBulkLoadService
 try {
   SecureBulkLoadManager secureBulkLoadManager =
   this.env.getRegionServerServices().getSecureBulkLoadManager();
+
   String bulkToken = 
secureBulkLoadManager.prepareBulkLoad(this.env.getRegion(),
   convert(request));
   
done.run(PrepareBulkLoadResponse.newBuilder().setBulkToken(bulkToken).build());
@@ -115,6 +116,10 @@ public class SecureBulkLoadEndpoint extends 
SecureBulkLoadService
 done.run(null);
   }
 
+  /**
+   * Convert from CPEP protobuf 2.5 to internal protobuf 3.3.
+   * @throws 
org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException
+   */
   
org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.CleanupBulkLoadRequest
   convert(CleanupBulkLoadRequest request)
   throws 
org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException
 {

http://git-wip-us.apache.org/repos/asf/hbase/blob/410368b8/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/BulkLoadObserver.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/BulkLoadObserver.java
 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/BulkLoadObserver.java
index e9cd493..e891cc0 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/BulkLoadObserver.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/BulkLoadObserver.java
@@ -23,6 +23,7 @@ import java.io.IOException;
 
 import org.apache.hadoop.hbase.Coprocessor;
 import org.apache.hadoop.hbase.HBaseInterfaceAudience;
+import org.apache.hadoop.hbase.TableName;
 import org.apache.yetus.audience.InterfaceAudience;
 import org.apache.yetus.audience.InterfaceStability;
 import 
org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.PrepareBulkLoadRequest;
@@ -52,16 +53,22 @@ public interface BulkLoadObserver extends Coprocessor {
 /**
   * Called as part of SecureBulkLoadEndpoint.prepareBulkLoad() RPC call.
   * It can't bypass the default action, e.g., ctx.bypass() won't have 
effect.
+  * If you need to get the region or table name, get it from the
+  * ctx as follows: 
code>ctx.getEnvironment().getRegion(). Use
+  * getRegionInfo to fetch the encodedName and use getTabldDescriptor() to 
get the tableName.
   * @param ctx the environment to interact with the framework and master
   */
-default void 
prePrepareBulkLoad(ObserverContext ctx,
-PrepareBulkLoadRequest request) throws IOException {}
+default void 
prePrepareBulkLoad(ObserverContext ctx)
+throws IOException {}
 
 /**
   * Called as part of SecureBulkLoadEndpoint.cleanupBulkLoad() RPC call.
   * It can't bypass the default action, e.g., ctx.bypass() won't have 
effect.
+  * If you need to get the region or table name, get it from the
+  * ctx as follows: 
code>ctx.getEnvironment().getRegion(). Use
+  * getRegionInfo

hbase git commit: HBASE-18859 Purge PB from BulkLoadObserver

2017-09-25 Thread stack
Repository: hbase
Updated Branches:
  refs/heads/branch-2 b6863d867 -> 2fee18815


HBASE-18859 Purge PB from BulkLoadObserver

Signed-off-by: Michael Stack 


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

Branch: refs/heads/branch-2
Commit: 2fee18815633dbdf5ec25393271b4137080575bf
Parents: b6863d8
Author: Michael Stack 
Authored: Thu Sep 21 16:28:33 2017 -0700
Committer: Michael Stack 
Committed: Mon Sep 25 21:14:59 2017 -0700

--
 .../security/access/SecureBulkLoadEndpoint.java  |  5 +
 .../hadoop/hbase/coprocessor/BulkLoadObserver.java   | 15 +++
 .../hadoop/hbase/regionserver/RowProcessor.java  |  2 +-
 .../hbase/regionserver/SecureBulkLoadManager.java|  5 +++--
 .../hbase/security/access/AccessController.java  | 10 --
 .../hbase/security/access/TestAccessController.java  |  6 ++
 6 files changed, 26 insertions(+), 17 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/hbase/blob/2fee1881/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java
--
diff --git 
a/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java
 
b/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java
index f24583d..2a4b4f3 100644
--- 
a/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java
+++ 
b/hbase-endpoint/src/main/java/org/apache/hadoop/hbase/security/access/SecureBulkLoadEndpoint.java
@@ -80,6 +80,7 @@ public class SecureBulkLoadEndpoint extends 
SecureBulkLoadService
 try {
   SecureBulkLoadManager secureBulkLoadManager =
   this.env.getRegionServerServices().getSecureBulkLoadManager();
+
   String bulkToken = 
secureBulkLoadManager.prepareBulkLoad(this.env.getRegion(),
   convert(request));
   
done.run(PrepareBulkLoadResponse.newBuilder().setBulkToken(bulkToken).build());
@@ -115,6 +116,10 @@ public class SecureBulkLoadEndpoint extends 
SecureBulkLoadService
 done.run(null);
   }
 
+  /**
+   * Convert from CPEP protobuf 2.5 to internal protobuf 3.3.
+   * @throws 
org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException
+   */
   
org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.CleanupBulkLoadRequest
   convert(CleanupBulkLoadRequest request)
   throws 
org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException
 {

http://git-wip-us.apache.org/repos/asf/hbase/blob/2fee1881/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/BulkLoadObserver.java
--
diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/BulkLoadObserver.java
 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/BulkLoadObserver.java
index e9cd493..e891cc0 100644
--- 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/BulkLoadObserver.java
+++ 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/BulkLoadObserver.java
@@ -23,6 +23,7 @@ import java.io.IOException;
 
 import org.apache.hadoop.hbase.Coprocessor;
 import org.apache.hadoop.hbase.HBaseInterfaceAudience;
+import org.apache.hadoop.hbase.TableName;
 import org.apache.yetus.audience.InterfaceAudience;
 import org.apache.yetus.audience.InterfaceStability;
 import 
org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.PrepareBulkLoadRequest;
@@ -52,16 +53,22 @@ public interface BulkLoadObserver extends Coprocessor {
 /**
   * Called as part of SecureBulkLoadEndpoint.prepareBulkLoad() RPC call.
   * It can't bypass the default action, e.g., ctx.bypass() won't have 
effect.
+  * If you need to get the region or table name, get it from the
+  * ctx as follows: 
code>ctx.getEnvironment().getRegion(). Use
+  * getRegionInfo to fetch the encodedName and use getTabldDescriptor() to 
get the tableName.
   * @param ctx the environment to interact with the framework and master
   */
-default void 
prePrepareBulkLoad(ObserverContext ctx,
-PrepareBulkLoadRequest request) throws IOException {}
+default void 
prePrepareBulkLoad(ObserverContext ctx)
+throws IOException {}
 
 /**
   * Called as part of SecureBulkLoadEndpoint.cleanupBulkLoad() RPC call.
   * It can't bypass the default action, e.g., ctx.bypass() won't have 
effect.
+  * If you need to get the region or table name, get it from the
+  * ctx as follows: 
code>ctx.getEnvironment().getRegion(). Use
+  * getRegion