hbase git commit: HBASE-21498 Master OOM when SplitTableRegionProcedure new CacheConfig and instantiate a new BlockCache
Repository: hbase Updated Branches: refs/heads/branch-2 33c4da555 -> 958e84d02 HBASE-21498 Master OOM when SplitTableRegionProcedure new CacheConfig and instantiate a new BlockCache Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/958e84d0 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/958e84d0 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/958e84d0 Branch: refs/heads/branch-2 Commit: 958e84d0230294b2190bba3aea108178a81ff795 Parents: 33c4da5 Author: Guanghao Zhang Authored: Mon Nov 19 22:10:43 2018 +0800 Committer: Guanghao Zhang Committed: Tue Nov 27 14:23:27 2018 +0800 -- .../hadoop/hbase/io/hfile/CacheConfig.java | 44 ++- .../apache/hadoop/hbase/mob/MobCacheConfig.java | 5 - .../hbase/regionserver/HRegionServer.java | 11 +- .../hbase/io/encoding/TestEncodedSeekers.java | 1 + .../hbase/io/hfile/TestBlockCacheReporting.java | 16 ++- .../hadoop/hbase/io/hfile/TestCacheConfig.java | 4 + .../hadoop/hbase/io/hfile/TestCacheOnWrite.java | 2 +- .../io/hfile/TestForceCacheImportantBlocks.java | 1 + .../hbase/io/hfile/TestHFileBlockIndex.java | 115 +-- .../hadoop/hbase/io/hfile/TestPrefetch.java | 1 + .../io/hfile/TestScannerFromBucketCache.java| 1 + .../TestScannerSelectionUsingKeyRange.java | 1 + .../io/hfile/TestScannerSelectionUsingTTL.java | 1 + .../hbase/regionserver/TestBlocksRead.java | 1 + .../hbase/regionserver/TestBlocksScanned.java | 2 +- .../regionserver/TestCacheOnWriteInSchema.java | 1 + .../regionserver/TestCompoundBloomFilter.java | 1 + .../hbase/regionserver/TestHStoreFile.java | 2 +- .../hbase/regionserver/TestRecoveredEdits.java | 2 + 19 files changed, 99 insertions(+), 113 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/958e84d0/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 147568e..a022552 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 @@ -215,7 +215,7 @@ public class CacheConfig { * @param family column family configuration */ public CacheConfig(Configuration conf, ColumnFamilyDescriptor family) { -this(CacheConfig.instantiateBlockCache(conf), +this(GLOBAL_BLOCK_CACHE_INSTANCE, conf.getBoolean(CACHE_DATA_ON_READ_KEY, DEFAULT_CACHE_DATA_ON_READ) && family.isBlockCacheEnabled(), family.isInMemory(), @@ -245,14 +245,10 @@ public class CacheConfig { * @param conf hbase configuration */ public CacheConfig(Configuration conf) { -this(conf, true); - } - - public CacheConfig(Configuration conf, boolean enableBlockCache) { -this(conf, enableBlockCache, +this(GLOBAL_BLOCK_CACHE_INSTANCE, conf.getBoolean(CACHE_DATA_ON_READ_KEY, DEFAULT_CACHE_DATA_ON_READ), DEFAULT_IN_MEMORY, // This is a family-level setting so can't be set - // strictly from conf +// strictly from conf conf.getBoolean(CACHE_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_DATA_ON_WRITE), conf.getBoolean(CACHE_INDEX_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_INDEXES_ON_WRITE), conf.getBoolean(CACHE_BLOOM_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_BLOOMS_ON_WRITE), @@ -263,28 +259,6 @@ public class CacheConfig { LOG.info("Created cacheConfig: " + this); } - private CacheConfig(Configuration conf, boolean enableBlockCache, - final boolean cacheDataOnRead, final boolean inMemory, - final boolean cacheDataOnWrite, final boolean cacheIndexesOnWrite, - final boolean cacheBloomsOnWrite, final boolean evictOnClose, - final boolean cacheDataCompressed, final boolean prefetchOnOpen, - final boolean dropBehindCompaction) { -if (enableBlockCache) { - this.blockCache = CacheConfig.instantiateBlockCache(conf); -} else { - this.blockCache = null; -} -this.cacheDataOnRead = cacheDataOnRead; -this.inMemory = inMemory; -this.cacheDataOnWrite = cacheDataOnWrite; -this.cacheIndexesOnWrite = cacheIndexesOnWrite; -this.cacheBloomsOnWrite = cacheBloomsOnWrite; -this.evictOnClose = evictOnClose; -this.cacheDataCompressed = cacheDataCompressed; -this.prefetchOnOpen = prefetchOnOpen; -this.dropBehindCompaction = dropBehindCompaction; - } - /** * Create a block cache configuration with the specified cache and configuration parameters. * @param blockCache reference
hbase git commit: HBASE-21498 Master OOM when SplitTableRegionProcedure new CacheConfig and instantiate a new BlockCache
Repository: hbase Updated Branches: refs/heads/master 1acbd36c9 -> 34e1d744f HBASE-21498 Master OOM when SplitTableRegionProcedure new CacheConfig and instantiate a new BlockCache Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/34e1d744 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/34e1d744 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/34e1d744 Branch: refs/heads/master Commit: 34e1d744f7d3d836deeda0704711afc969b37f16 Parents: 1acbd36 Author: Guanghao Zhang Authored: Mon Nov 19 22:10:43 2018 +0800 Committer: Guanghao Zhang Committed: Tue Nov 27 14:20:15 2018 +0800 -- .../hadoop/hbase/io/hfile/CacheConfig.java | 44 ++- .../apache/hadoop/hbase/mob/MobCacheConfig.java | 5 - .../hbase/regionserver/HRegionServer.java | 11 +- .../hbase/io/encoding/TestEncodedSeekers.java | 1 + .../hbase/io/hfile/TestBlockCacheReporting.java | 16 ++- .../hadoop/hbase/io/hfile/TestCacheConfig.java | 4 + .../hadoop/hbase/io/hfile/TestCacheOnWrite.java | 2 +- .../io/hfile/TestForceCacheImportantBlocks.java | 1 + .../hbase/io/hfile/TestHFileBlockIndex.java | 115 +-- .../hadoop/hbase/io/hfile/TestPrefetch.java | 1 + .../io/hfile/TestScannerFromBucketCache.java| 1 + .../TestScannerSelectionUsingKeyRange.java | 1 + .../io/hfile/TestScannerSelectionUsingTTL.java | 1 + .../hbase/regionserver/TestBlocksRead.java | 1 + .../hbase/regionserver/TestBlocksScanned.java | 2 +- .../regionserver/TestCacheOnWriteInSchema.java | 1 + .../regionserver/TestCompoundBloomFilter.java | 1 + .../hbase/regionserver/TestHStoreFile.java | 2 +- .../hbase/regionserver/TestRecoveredEdits.java | 2 + 19 files changed, 99 insertions(+), 113 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/34e1d744/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 147568e..a022552 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 @@ -215,7 +215,7 @@ public class CacheConfig { * @param family column family configuration */ public CacheConfig(Configuration conf, ColumnFamilyDescriptor family) { -this(CacheConfig.instantiateBlockCache(conf), +this(GLOBAL_BLOCK_CACHE_INSTANCE, conf.getBoolean(CACHE_DATA_ON_READ_KEY, DEFAULT_CACHE_DATA_ON_READ) && family.isBlockCacheEnabled(), family.isInMemory(), @@ -245,14 +245,10 @@ public class CacheConfig { * @param conf hbase configuration */ public CacheConfig(Configuration conf) { -this(conf, true); - } - - public CacheConfig(Configuration conf, boolean enableBlockCache) { -this(conf, enableBlockCache, +this(GLOBAL_BLOCK_CACHE_INSTANCE, conf.getBoolean(CACHE_DATA_ON_READ_KEY, DEFAULT_CACHE_DATA_ON_READ), DEFAULT_IN_MEMORY, // This is a family-level setting so can't be set - // strictly from conf +// strictly from conf conf.getBoolean(CACHE_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_DATA_ON_WRITE), conf.getBoolean(CACHE_INDEX_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_INDEXES_ON_WRITE), conf.getBoolean(CACHE_BLOOM_BLOCKS_ON_WRITE_KEY, DEFAULT_CACHE_BLOOMS_ON_WRITE), @@ -263,28 +259,6 @@ public class CacheConfig { LOG.info("Created cacheConfig: " + this); } - private CacheConfig(Configuration conf, boolean enableBlockCache, - final boolean cacheDataOnRead, final boolean inMemory, - final boolean cacheDataOnWrite, final boolean cacheIndexesOnWrite, - final boolean cacheBloomsOnWrite, final boolean evictOnClose, - final boolean cacheDataCompressed, final boolean prefetchOnOpen, - final boolean dropBehindCompaction) { -if (enableBlockCache) { - this.blockCache = CacheConfig.instantiateBlockCache(conf); -} else { - this.blockCache = null; -} -this.cacheDataOnRead = cacheDataOnRead; -this.inMemory = inMemory; -this.cacheDataOnWrite = cacheDataOnWrite; -this.cacheIndexesOnWrite = cacheIndexesOnWrite; -this.cacheBloomsOnWrite = cacheBloomsOnWrite; -this.evictOnClose = evictOnClose; -this.cacheDataCompressed = cacheDataCompressed; -this.prefetchOnOpen = prefetchOnOpen; -this.dropBehindCompaction = dropBehindCompaction; - } - /** * Create a block cache configuration with the specified cache and configuration parameters. * @param blockCache reference to
hbase git commit: HBASE-21511 Remove in progress snapshot check in SnapshotFileCache#getUnreferencedFiles
Repository: hbase Updated Branches: refs/heads/branch-1.3 ec7461d20 -> b4250dc2a HBASE-21511 Remove in progress snapshot check in SnapshotFileCache#getUnreferencedFiles Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b4250dc2 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b4250dc2 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b4250dc2 Branch: refs/heads/branch-1.3 Commit: b4250dc2a98ded8ca9be6a3172977b99594e8313 Parents: ec7461d Author: Ted Yu Authored: Mon Nov 26 10:09:38 2018 -0800 Committer: Ted Yu Committed: Mon Nov 26 10:09:38 2018 -0800 -- .../master/snapshot/SnapshotFileCache.java | 35 .../master/snapshot/TestSnapshotFileCache.java | 95 +--- .../snapshot/TestSnapshotHFileCleaner.java | 42 + 3 files changed, 3 insertions(+), 169 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/b4250dc2/hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.java -- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.java index 18b7eba..0edf0db 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.java @@ -29,7 +29,6 @@ import java.util.Timer; import java.util.TimerTask; import java.util.concurrent.locks.Lock; -import com.google.common.annotations.VisibleForTesting; import com.google.common.collect.Lists; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; @@ -40,7 +39,6 @@ import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hbase.Stoppable; -import org.apache.hadoop.hbase.snapshot.CorruptedSnapshotException; import org.apache.hadoop.hbase.snapshot.SnapshotDescriptionUtils; import org.apache.hadoop.hbase.util.FSUtils; @@ -181,7 +179,6 @@ public class SnapshotFileCache implements Stoppable { public synchronized Iterable getUnreferencedFiles(Iterable files, SnapshotManager snapshotManager) throws IOException { List unReferencedFiles = Lists.newArrayList(); -List snapshotsInProgress = null; boolean refreshed = false; Lock lock = null; if (snapshotManager != null) { @@ -203,12 +200,6 @@ public class SnapshotFileCache implements Stoppable { if (cache.contains(fileName)) { continue; } - if (snapshotsInProgress == null) { -snapshotsInProgress = getSnapshotsInProgress(); - } - if (snapshotsInProgress.contains(fileName)) { -continue; - } unReferencedFiles.add(file); } } finally { @@ -311,32 +302,6 @@ public class SnapshotFileCache implements Stoppable { this.snapshots.putAll(known); } - @VisibleForTesting - List getSnapshotsInProgress() throws IOException { -List snapshotInProgress = Lists.newArrayList(); -// only add those files to the cache, but not to the known snapshots -Path snapshotTmpDir = new Path(snapshotDir, SnapshotDescriptionUtils.SNAPSHOT_TMP_DIR_NAME); -// only add those files to the cache, but not to the known snapshots -FileStatus[] running = FSUtils.listStatus(fs, snapshotTmpDir); -if (running != null) { - for (FileStatus run : running) { -try { - snapshotInProgress.addAll(fileInspector.filesUnderSnapshot(run.getPath())); -} catch (CorruptedSnapshotException e) { - // See HBASE-16464 - if (e.getCause() instanceof FileNotFoundException) { -// If the snapshot is corrupt, we will delete it -fs.delete(run.getPath(), true); -LOG.warn("delete the " + run.getPath() + " due to exception:", e.getCause()); - } else { -throw e; - } -} - } -} -return snapshotInProgress; - } - /** * Simple helper task that just periodically attempts to refresh the cache */ http://git-wip-us.apache.org/repos/asf/hbase/blob/b4250dc2/hbase-server/src/test/java/org/apache/hadoop/hbase/master/snapshot/TestSnapshotFileCache.java -- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/snapshot/TestSnapshotFileCache.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/snapshot/TestSnapshotFileCache.java index 0d5e6f5..0cf89f0 100644 ---
hbase git commit: HBASE-21511 Remove in progress snapshot check in SnapshotFileCache#getUnreferencedFiles
Repository: hbase Updated Branches: refs/heads/branch-1.4 e95fdc5fe -> 831fe57d0 HBASE-21511 Remove in progress snapshot check in SnapshotFileCache#getUnreferencedFiles Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/831fe57d Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/831fe57d Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/831fe57d Branch: refs/heads/branch-1.4 Commit: 831fe57d0d9af1407a6ec1bc088b5837f4a9dbec Parents: e95fdc5 Author: Ted Yu Authored: Mon Nov 26 10:02:57 2018 -0800 Committer: Ted Yu Committed: Mon Nov 26 10:02:57 2018 -0800 -- .../master/snapshot/SnapshotFileCache.java | 34 --- .../master/snapshot/TestSnapshotFileCache.java | 95 +--- .../snapshot/TestSnapshotHFileCleaner.java | 45 +- 3 files changed, 4 insertions(+), 170 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/831fe57d/hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.java -- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.java index a1d382b..ce60dca 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.java @@ -29,7 +29,6 @@ import java.util.Timer; import java.util.TimerTask; import java.util.concurrent.locks.Lock; -import com.google.common.annotations.VisibleForTesting; import com.google.common.collect.Lists; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; @@ -40,7 +39,6 @@ import org.apache.hadoop.fs.FileStatus; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hbase.Stoppable; -import org.apache.hadoop.hbase.snapshot.CorruptedSnapshotException; import org.apache.hadoop.hbase.snapshot.SnapshotDescriptionUtils; import org.apache.hadoop.hbase.util.FSUtils; @@ -182,7 +180,6 @@ public class SnapshotFileCache implements Stoppable { final SnapshotManager snapshotManager) throws IOException { List unReferencedFiles = Lists.newArrayList(); -List snapshotsInProgress = null; boolean refreshed = false; Lock lock = null; if (snapshotManager != null) { @@ -204,12 +201,6 @@ public class SnapshotFileCache implements Stoppable { if (cache.contains(fileName)) { continue; } - if (snapshotsInProgress == null) { -snapshotsInProgress = getSnapshotsInProgress(); - } - if (snapshotsInProgress.contains(fileName)) { -continue; - } unReferencedFiles.add(file); } } finally { @@ -286,31 +277,6 @@ public class SnapshotFileCache implements Stoppable { this.snapshots.putAll(known); } - @VisibleForTesting - List getSnapshotsInProgress() throws IOException { -List snapshotInProgress = Lists.newArrayList(); -// only add those files to the cache, but not to the known snapshots -Path snapshotTmpDir = new Path(snapshotDir, SnapshotDescriptionUtils.SNAPSHOT_TMP_DIR_NAME); -FileStatus[] running = FSUtils.listStatus(fs, snapshotTmpDir); -if (running != null) { - for (FileStatus run : running) { -try { - snapshotInProgress.addAll(fileInspector.filesUnderSnapshot(run.getPath())); -} catch (CorruptedSnapshotException e) { - // See HBASE-16464 - if (e.getCause() instanceof FileNotFoundException) { -// If the snapshot is corrupt, we will delete it -fs.delete(run.getPath(), true); -LOG.warn("delete the " + run.getPath() + " due to exception:", e.getCause()); - } else { -throw e; - } -} - } -} -return snapshotInProgress; - } - /** * Simple helper task that just periodically attempts to refresh the cache */ http://git-wip-us.apache.org/repos/asf/hbase/blob/831fe57d/hbase-server/src/test/java/org/apache/hadoop/hbase/master/snapshot/TestSnapshotFileCache.java -- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/snapshot/TestSnapshotFileCache.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/snapshot/TestSnapshotFileCache.java index 1260997..8e9bee0 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/snapshot/TestSnapshotFileCache.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/snapshot/TestSnapshotFileCache.java @@
[14/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.CompactionChecker.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.CompactionChecker.html b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.CompactionChecker.html index ac5997f..1da2c31 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.CompactionChecker.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.CompactionChecker.html @@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab"; -private static class HRegionServer.CompactionChecker +private static class HRegionServer.CompactionChecker extends ScheduledChore @@ -233,7 +233,7 @@ extends instance -private finalHRegionServer instance +private finalHRegionServer instance @@ -242,7 +242,7 @@ extends majorCompactPriority -private finalint majorCompactPriority +private finalint majorCompactPriority @@ -251,7 +251,7 @@ extends DEFAULT_PRIORITY -private static finalint DEFAULT_PRIORITY +private static finalint DEFAULT_PRIORITY See Also: Constant Field Values @@ -264,7 +264,7 @@ extends iteration -privatelong iteration +privatelong iteration @@ -281,7 +281,7 @@ extends CompactionChecker -CompactionChecker(HRegionServerh, +CompactionChecker(HRegionServerh, intsleepTime, Stoppablestopper) @@ -300,7 +300,7 @@ extends chore -protectedvoidchore() +protectedvoidchore() Description copied from class:ScheduledChore The task to execute on each scheduled execution of the Chore http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionInfo.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionInfo.html b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionInfo.html index 91904e9..6a88e40 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionInfo.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionInfo.html @@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab"; -private static class HRegionServer.MovedRegionInfo +private static class HRegionServer.MovedRegionInfo extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object @@ -218,7 +218,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html serverName -private finalServerName serverName +private finalServerName serverName @@ -227,7 +227,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html seqNum -private finallong seqNum +private finallong seqNum @@ -236,7 +236,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html ts -private finallong ts +private finallong ts @@ -253,7 +253,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html MovedRegionInfo -publicMovedRegionInfo(ServerNameserverName, +publicMovedRegionInfo(ServerNameserverName, longcloseSeqNum) @@ -271,7 +271,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html getServerName -publicServerNamegetServerName() +publicServerNamegetServerName() @@ -280,7 +280,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html getSeqNum -publiclonggetSeqNum() +publiclonggetSeqNum() @@ -289,7 +289,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html getMoveTime -publiclonggetMoveTime() +publiclonggetMoveTime() http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionsCleaner.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionsCleaner.html b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionsCleaner.html index 4934310..8e1bb52 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionsCleaner.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionsCleaner.html @@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab"; -protected static final class HRegionServer.MovedRegionsCleaner +protected static final class HRegionServer.MovedRegionsCleaner extends ScheduledChore implements Stoppable Creates a Chore thread to clean the moved region cache. @@ -242,7 +242,7 @@ implements regionServer -privateHRegionServer regionServer +privateHRegionServer regionServer @@ -251,7 +251,7 @@ implements
[01/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
Repository: hbase-site Updated Branches: refs/heads/asf-site ba00a2513 -> 5299e6673 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/src-html/org/apache/hadoop/hbase/master/HMaster.InitializationMonitor.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/master/HMaster.InitializationMonitor.html b/devapidocs/src-html/org/apache/hadoop/hbase/master/HMaster.InitializationMonitor.html index 1c0118e..63362ed 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/master/HMaster.InitializationMonitor.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/master/HMaster.InitializationMonitor.html @@ -1120,2858 +1120,2862 @@ 1112 getChoreService().scheduleChore(catalogJanitorChore); 1113this.serverManager.startChore(); 1114 -1115// NAMESPACE READ -1116// Here we expect hbase:namespace to be online. See inside initClusterSchemaService. -1117// TODO: Fix this. Namespace is a pain being a sort-of system table. Fold it in to hbase:meta. -1118// isNamespace does like isMeta and waits until namespace is onlined before allowing progress. -1119if (!waitForNamespaceOnline()) { -1120 return; -1121} -1122status.setStatus("Starting cluster schema service"); -1123initClusterSchemaService(); -1124 -1125if (this.cpHost != null) { -1126 try { -1127 this.cpHost.preMasterInitialization(); -1128 } catch (IOException e) { -1129LOG.error("Coprocessor preMasterInitialization() hook failed", e); -1130 } -1131} -1132 -1133status.markComplete("Initialization successful"); -1134LOG.info(String.format("Master has completed initialization %.3fsec", -1135 (System.currentTimeMillis() - masterActiveTime) / 1000.0f)); -1136 this.masterFinishedInitializationTime = System.currentTimeMillis(); -1137 configurationManager.registerObserver(this.balancer); -1138 configurationManager.registerObserver(this.hfileCleaner); -1139 configurationManager.registerObserver(this.logCleaner); -1140// Set master as 'initialized'. -1141setInitialized(true); -1142 -1143if (maintenanceMode) { -1144 LOG.info("Detected repair mode, skipping final initialization steps."); -1145 return; -1146} -1147 -1148 assignmentManager.checkIfShouldMoveSystemRegionAsync(); -1149status.setStatus("Assign meta replicas"); -1150MasterMetaBootstrap metaBootstrap = createMetaBootstrap(); -1151 metaBootstrap.assignMetaReplicas(); -1152status.setStatus("Starting quota manager"); -1153initQuotaManager(); -1154if (QuotaUtil.isQuotaEnabled(conf)) { -1155 // Create the quota snapshot notifier -1156 spaceQuotaSnapshotNotifier = createQuotaSnapshotNotifier(); -1157 spaceQuotaSnapshotNotifier.initialize(getClusterConnection()); -1158 this.quotaObserverChore = new QuotaObserverChore(this, getMasterMetrics()); -1159 // Start the chore to read the region FS space reports and act on them -1160 getChoreService().scheduleChore(quotaObserverChore); -1161 -1162 this.snapshotQuotaChore = new SnapshotQuotaObserverChore(this, getMasterMetrics()); -1163 // Start the chore to read snapshots and add their usage to table/NS quotas -1164 getChoreService().scheduleChore(snapshotQuotaChore); -1165} -1166 -1167// clear the dead servers with same host name and port of online server because we are not -1168// removing dead server with same hostname and port of rs which is trying to check in before -1169// master initialization. See HBASE-5916. -1170 this.serverManager.clearDeadServersWithSameHostNameAndPortOfOnlineServer(); -1171 -1172// Check and set the znode ACLs if needed in case we are overtaking a non-secure configuration -1173status.setStatus("Checking ZNode ACLs"); -1174zooKeeper.checkAndSetZNodeAcls(); +1115// Only for rolling upgrade, where we need to migrate the data in namespace table to meta table. +1116if (!waitForNamespaceOnline()) { +1117 return; +1118} +1119status.setStatus("Starting cluster schema service"); +1120initClusterSchemaService(); +1121 +1122if (this.cpHost != null) { +1123 try { +1124 this.cpHost.preMasterInitialization(); +1125 } catch (IOException e) { +1126LOG.error("Coprocessor preMasterInitialization() hook failed", e); +1127 } +1128} +1129 +1130status.markComplete("Initialization successful"); +1131LOG.info(String.format("Master has completed initialization %.3fsec", +1132 (System.currentTimeMillis() - masterActiveTime) / 1000.0f)); +1133 this.masterFinishedInitializationTime = System.currentTimeMillis(); +1134 configurationManager.registerObserver(this.balancer); +1135 configurationManager.registerObserver(this.hfileCleaner); +1136 configurationManager.registerObserver(this.logCleaner); +1137
[28/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/assignment/ServerState.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/assignment/ServerState.html b/devapidocs/org/apache/hadoop/hbase/master/assignment/ServerState.html index 5267fdd..b2da9e3 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/assignment/ServerState.html +++ b/devapidocs/org/apache/hadoop/hbase/master/assignment/ServerState.html @@ -140,26 +140,31 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?i Enum Constant and Description +CRASHED +Indicate that the server has crashed, i.e., we have already scheduled a SCP for it. + + + OFFLINE WAL splitting done. - + ONLINE Initial state. - + SPLITTING Server expired/crashed. - + SPLITTING_META Only server which carries meta can have this state. - + SPLITTING_META_DONE Indicate that the meta splitting is done. @@ -231,13 +236,23 @@ the order they are declared. Initial state. Available. + + + + + +CRASHED +public static finalServerState CRASHED +Indicate that the server has crashed, i.e., we have already scheduled a SCP for it. + + SPLITTING_META -public static finalServerState SPLITTING_META +public static finalServerState SPLITTING_META Only server which carries meta can have this state. We will split wal for meta and then assign meta first before splitting other wals. @@ -248,7 +263,7 @@ the order they are declared. SPLITTING_META_DONE -public static finalServerState SPLITTING_META_DONE +public static finalServerState SPLITTING_META_DONE Indicate that the meta splitting is done. We need this state so that the UnassignProcedure for meta can safely quit. See the comments in UnassignProcedure.remoteCallFailed for more details. @@ -260,7 +275,7 @@ the order they are declared. SPLITTING -public static finalServerState SPLITTING +public static finalServerState SPLITTING Server expired/crashed. Currently undergoing WAL splitting. @@ -270,7 +285,7 @@ the order they are declared. OFFLINE -public static finalServerState OFFLINE +public static finalServerState OFFLINE WAL splitting done. This state will be used to tell the UnassignProcedure that it can safely quit. See the comments in UnassignProcedure.remoteCallFailed for more details. @@ -289,7 +304,7 @@ the order they are declared. values -public staticServerState[]values() +public staticServerState[]values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows: @@ -309,7 +324,7 @@ for (ServerState c : ServerState.values()) valueOf -public staticServerStatevalueOf(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringname) +public staticServerStatevalueOf(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringname) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/assignment/ServerStateNode.ServerReportEvent.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/assignment/ServerStateNode.ServerReportEvent.html b/devapidocs/org/apache/hadoop/hbase/master/assignment/ServerStateNode.ServerReportEvent.html deleted file mode 100644 index f32c924..000 --- a/devapidocs/org/apache/hadoop/hbase/master/assignment/ServerStateNode.ServerReportEvent.html +++ /dev/null @@ -1,254 +0,0 @@ -http://www.w3.org/TR/html4/loose.dtd;> - - - - - -ServerStateNode.ServerReportEvent (Apache HBase 3.0.0-SNAPSHOT API) - - - - - - - -JavaScript is disabled on your browser. - - - - - -Skip navigation links - - - - -Overview -Package -Class -Use -Tree -Deprecated -Index -Help - - - - -PrevClass -NextClass - - -Frames -NoFrames - - -AllClasses - - - - - - - -Summary: -Nested| -Field| -Constr| -Method - - -Detail: -Field| -Constr| -Method - - - - - - - - -org.apache.hadoop.hbase.master.assignment -Class ServerStateNode.ServerReportEvent - - -
[50/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/apidocs/org/apache/hadoop/hbase/HConstants.html -- diff --git a/apidocs/org/apache/hadoop/hbase/HConstants.html b/apidocs/org/apache/hadoop/hbase/HConstants.html index 31f191b..42a734f 100644 --- a/apidocs/org/apache/hadoop/hbase/HConstants.html +++ b/apidocs/org/apache/hadoop/hbase/HConstants.html @@ -104,7 +104,7 @@ @InterfaceAudience.Public -public final class HConstants +public final class HConstants extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object HConstants holds a bunch of HBase-related constants @@ -1403,32 +1403,48 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html NAME +static byte[] +NAMESPACE_COL_DESC_QUALIFIER + + +static byte[] +NAMESPACE_FAMILY +The namespace family + + + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String -NINES +NAMESPACE_FAMILY_STR +The namespace family as a string + +static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +NINES + + static long NO_NONCE - + static long NO_SEQNUM Value indicating the server name was saved with no sequence number. - + static int NORMAL_QOS - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String NOT_IMPLEMENTED - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String OLD_SNAPSHOT_DIR_NAME - + static long OLDEST_TIMESTAMP Deprecated. @@ -1437,427 +1453,427 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html - + static int PRIORITY_UNSET QOS attributes: these attributes are used to demarcate RPC call processing by different set of handlers. - + static int QOS_THRESHOLD - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String RECOVERED_EDITS_DIR - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGION_IMPL - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGION_SERVER_HANDLER_ABORT_ON_ERROR_PERCENT - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGION_SERVER_HANDLER_COUNT - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGION_SERVER_HIGH_PRIORITY_HANDLER_COUNT - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGION_SERVER_IMPL Parameter name for what region server implementation to use. - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGION_SERVER_REPLICATION_HANDLER_COUNT - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGION_SPLIT_THREADS_MAX The max number of threads used for splitting storefiles in parallel during the region split process. - + static byte[] REGIONINFO_QUALIFIER The regioninfo column qualifier - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGIONINFO_QUALIFIER_STR The RegionInfo qualifier as a string - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGIONSERVER_INFO_PORT A configuration key for regionserver info port - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGIONSERVER_INFO_PORT_AUTO A flag that enables automatic selection of regionserver info port - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGIONSERVER_METRICS_PERIOD The period (in milliseconds) between computing region server point in time metrics - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGIONSERVER_PORT Parameter name for port region server listens on. - + static int REPLAY_QOS - + static byte[] REPLICATION_BARRIER_FAMILY The
[15/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/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 d992e5c..6e007de 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 https://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 Regions store data for a certain region of a table. It stores all columns @@ -2386,7 +2386,7 @@ implements LOG -private static finalorg.slf4j.Logger LOG +private static finalorg.slf4j.Logger LOG @@ -2395,7 +2395,7 @@ implements LOAD_CFS_ON_DEMAND_CONFIG_KEY -public static finalhttps://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 finalhttps://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 @@ -2408,7 +2408,7 @@ implements HBASE_MAX_CELL_SIZE_KEY -public static finalhttps://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 finalhttps://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 @@ -2421,7 +2421,7 @@ implements DEFAULT_MAX_CELL_SIZE -public static finalint DEFAULT_MAX_CELL_SIZE +public static finalint DEFAULT_MAX_CELL_SIZE See Also: Constant Field Values @@ -2434,7 +2434,7 @@ implements DEFAULT_DURABILITY -private static finalDurability DEFAULT_DURABILITY +private static finalDurability 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. @@ -2445,7 +2445,7 @@ implements HBASE_REGIONSERVER_MINIBATCH_SIZE -public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String HBASE_REGIONSERVER_MINIBATCH_SIZE +public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String HBASE_REGIONSERVER_MINIBATCH_SIZE See Also: Constant Field Values @@ -2458,7 +2458,7 @@ implements DEFAULT_HBASE_REGIONSERVER_MINIBATCH_SIZE -public static finalint DEFAULT_HBASE_REGIONSERVER_MINIBATCH_SIZE +public static finalint DEFAULT_HBASE_REGIONSERVER_MINIBATCH_SIZE See Also: Constant Field Values @@ -2471,7 +2471,7 @@ implements WAL_HSYNC_CONF_KEY -public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String WAL_HSYNC_CONF_KEY +public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String WAL_HSYNC_CONF_KEY See Also: Constant Field Values @@ -2484,7 +2484,7 @@ implements DEFAULT_WAL_HSYNC -public static finalboolean DEFAULT_WAL_HSYNC +public static finalboolean DEFAULT_WAL_HSYNC See Also: Constant Field Values @@ -2497,7 +2497,7 @@ implements closed -finalhttps://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 +finalhttps://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 @@ -2506,7 +2506,7 @@ implements closing -finalhttps://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 +finalhttps://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 @@ -2515,7 +2515,7 @@ implements maxFlushedSeqId -private volatilelong maxFlushedSeqId +private volatilelong maxFlushedSeqId The max sequence id of flushed data on this region. There is no edit in memory that is less that this sequence id. @@ -2526,7 +2526,7 @@ implements lastFlushOpSeqId -private volatilelong
[29/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/assignment/CloseRegionProcedure.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/assignment/CloseRegionProcedure.html b/devapidocs/org/apache/hadoop/hbase/master/assignment/CloseRegionProcedure.html index 99241bf..1a64278 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/assignment/CloseRegionProcedure.html +++ b/devapidocs/org/apache/hadoop/hbase/master/assignment/CloseRegionProcedure.html @@ -186,6 +186,13 @@ extends Procedure NO_PROC_ID, NO_TIMEOUT + + + + +Fields inherited from interfaceorg.apache.hadoop.hbase.master.procedure.TableProcedureInterface +DUMMY_NAMESPACE_TABLE_NAME + http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/assignment/GCMergedRegionsProcedure.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/assignment/GCMergedRegionsProcedure.html b/devapidocs/org/apache/hadoop/hbase/master/assignment/GCMergedRegionsProcedure.html index bdf52f0..4148a1a 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/assignment/GCMergedRegionsProcedure.html +++ b/devapidocs/org/apache/hadoop/hbase/master/assignment/GCMergedRegionsProcedure.html @@ -214,6 +214,13 @@ extends Procedure NO_PROC_ID, NO_TIMEOUT + + + + +Fields inherited from interfaceorg.apache.hadoop.hbase.master.procedure.TableProcedureInterface +DUMMY_NAMESPACE_TABLE_NAME + http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/assignment/GCRegionProcedure.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/assignment/GCRegionProcedure.html b/devapidocs/org/apache/hadoop/hbase/master/assignment/GCRegionProcedure.html index 168b7d6..1bccc73 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/assignment/GCRegionProcedure.html +++ b/devapidocs/org/apache/hadoop/hbase/master/assignment/GCRegionProcedure.html @@ -206,6 +206,13 @@ extends Procedure NO_PROC_ID, NO_TIMEOUT + + + + +Fields inherited from interfaceorg.apache.hadoop.hbase.master.procedure.TableProcedureInterface +DUMMY_NAMESPACE_TABLE_NAME + http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/assignment/MergeTableRegionsProcedure.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/assignment/MergeTableRegionsProcedure.html b/devapidocs/org/apache/hadoop/hbase/master/assignment/MergeTableRegionsProcedure.html index 5fc5a88..164f281 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/assignment/MergeTableRegionsProcedure.html +++ b/devapidocs/org/apache/hadoop/hbase/master/assignment/MergeTableRegionsProcedure.html @@ -225,6 +225,13 @@ extends Procedure NO_PROC_ID, NO_TIMEOUT + + + + +Fields inherited from interfaceorg.apache.hadoop.hbase.master.procedure.TableProcedureInterface +DUMMY_NAMESPACE_TABLE_NAME + http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/assignment/MoveRegionProcedure.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/assignment/MoveRegionProcedure.html b/devapidocs/org/apache/hadoop/hbase/master/assignment/MoveRegionProcedure.html index 45884e5..49adc3c 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/assignment/MoveRegionProcedure.html +++ b/devapidocs/org/apache/hadoop/hbase/master/assignment/MoveRegionProcedure.html @@ -213,6 +213,13 @@ extends Procedure NO_PROC_ID, NO_TIMEOUT + + + + +Fields inherited from interfaceorg.apache.hadoop.hbase.master.procedure.TableProcedureInterface +DUMMY_NAMESPACE_TABLE_NAME + http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/assignment/OpenRegionProcedure.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/assignment/OpenRegionProcedure.html b/devapidocs/org/apache/hadoop/hbase/master/assignment/OpenRegionProcedure.html index 0b1cc40..78e2bff 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/assignment/OpenRegionProcedure.html +++ b/devapidocs/org/apache/hadoop/hbase/master/assignment/OpenRegionProcedure.html @@ -175,6 +175,13 @@ extends Procedure NO_PROC_ID, NO_TIMEOUT + + + + +Fields inherited from interfaceorg.apache.hadoop.hbase.master.procedure.TableProcedureInterface +DUMMY_NAMESPACE_TABLE_NAME + http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/assignment/RegionRemoteProcedureBase.html
[38/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/Stoppable.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/Stoppable.html b/devapidocs/org/apache/hadoop/hbase/Stoppable.html index 59f822c..296cd5a 100644 --- a/devapidocs/org/apache/hadoop/hbase/Stoppable.html +++ b/devapidocs/org/apache/hadoop/hbase/Stoppable.html @@ -105,7 +105,7 @@ var activeTableTab = "activeTableTab"; All Known Implementing Classes: -AuthenticationTokenSecretManager.LeaderElector, BackupHFileCleaner, BackupLogCleaner, BaseFileCleanerDelegate, BaseHFileCleanerDelegate, BaseLoadBalancer, BaseLogCleanerDelegate, DumpReplicationQueues.WarnOnlyStoppable, FavoredNodeLoadBalancer, FavoredStochasticBalancer, HFileLinkCleaner, HMaster, HMasterCommandLine.LocalHMaster, HRegionServer, HRegionServer.MovedRegionsCleaner, LogRollMasterProcedureManager, LongTermArchivingHFileCleaner, MasterFlushTableProcedureManager, MasterProcedureManager, NoLimitThroughputController, PressureAwareCompactionThroughputController, PressureAwareFlushThroughputController, PressureAwareThroughputController, QuotaCache, ReplicationHFileCleaner, ReplicationLogCleaner, ReplicationSyncUp.DummyServer, RSGroupBasedLoadBalancer, ShutdownHook.DoNothingStoppable, SimpleLoadBalancer, SnapshotFileCache, SnapshotHFileCleaner, SnapshotManager, StochasticLoadBalancer, TableNamespaceManager, TimeToLiveHFileCleaner, TimeToLiveLogCleaner, TimeToLiveProcedureWALCleaner +AuthenticationTokenSecretManager.LeaderElector, BackupHFileCleaner, BackupLogCleaner, BaseFileCleanerDelegate, BaseHFileCleanerDelegate, BaseLoadBalancer, BaseLogCleanerDelegate, DumpReplicationQueues.WarnOnlyStoppable, FavoredNodeLoadBalancer, FavoredStochasticBalancer, HFileLinkCleaner, HMaster, HMasterCommandLine.LocalHMaster, HRegionServer, HRegionServer.MovedRegionsCleaner, LogRollMasterProcedureManager, LongTermArchivingHFileCleaner, MasterFlushTableProcedureManager, MasterProcedureManager, NoLimitThroughputController, PressureAwareCompactionThroughputController, PressureAwareFlushThroughputController, PressureAwareThroughputController, QuotaCache, ReplicationHFileCleaner, ReplicationLogCleaner, ReplicationSyncUp.DummyServer, RSGroupBasedLoadBalancer, ShutdownHook.DoNothingStoppable, SimpleLoadBalancer, SnapshotFileCache, SnapshotHFileCleaner, SnapshotManager, StochasticLoadBalancer, TimeToLiveHFileCleaner, TimeToLiveLogCleaner, TimeToLiveProcedureWALCleaner http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/TableName.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/TableName.html b/devapidocs/org/apache/hadoop/hbase/TableName.html index 77d8cb8..b7b4a47 100644 --- a/devapidocs/org/apache/hadoop/hbase/TableName.html +++ b/devapidocs/org/apache/hadoop/hbase/TableName.html @@ -194,7 +194,10 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab static TableName NAMESPACE_TABLE_NAME -The Namespace table's name. +Deprecated. +We have folded the data in namespace table into meta table, so do not use it any + more. + @@ -533,7 +536,10 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab NAMESPACE_TABLE_NAME -public static finalTableName NAMESPACE_TABLE_NAME +https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated +public static finalTableName NAMESPACE_TABLE_NAME +Deprecated.We have folded the data in namespace table into meta table, so do not use it any + more. The Namespace table's name. @@ -543,7 +549,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab OLD_META_STR -public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String OLD_META_STR +public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String OLD_META_STR See Also: Constant Field Values @@ -556,7 +562,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab OLD_ROOT_STR -public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String OLD_ROOT_STR +public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String OLD_ROOT_STR See Also: Constant Field Values @@ -569,7 +575,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab DISALLOWED_TABLE_NAME -public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in
[10/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/util/FSTableDescriptors.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/util/FSTableDescriptors.html b/devapidocs/org/apache/hadoop/hbase/util/FSTableDescriptors.html index 025cb9e..2f85de8 100644 --- a/devapidocs/org/apache/hadoop/hbase/util/FSTableDescriptors.html +++ b/devapidocs/org/apache/hadoop/hbase/util/FSTableDescriptors.html @@ -639,7 +639,7 @@ implements TABLEINFO_FILESTATUS_COMPARATOR -static finalhttps://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true; title="class or interface in java.util">Comparatororg.apache.hadoop.fs.FileStatus TABLEINFO_FILESTATUS_COMPARATOR +static finalhttps://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true; title="class or interface in java.util">Comparatororg.apache.hadoop.fs.FileStatus TABLEINFO_FILESTATUS_COMPARATOR Compare FileStatus instances by Path.getName(). Returns in reverse order. @@ -650,7 +650,7 @@ implements TABLEINFO_PATHFILTER -private static finalorg.apache.hadoop.fs.PathFilter TABLEINFO_PATHFILTER +private static finalorg.apache.hadoop.fs.PathFilter TABLEINFO_PATHFILTER @@ -659,7 +659,7 @@ implements WIDTH_OF_SEQUENCE_ID -static finalint WIDTH_OF_SEQUENCE_ID +static finalint WIDTH_OF_SEQUENCE_ID Width of the sequenceid that is a suffix on a tableinfo file. See Also: @@ -673,7 +673,7 @@ implements TABLEINFO_FILE_REGEX -private static finalhttps://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html?is-external=true; title="class or interface in java.util.regex">Pattern TABLEINFO_FILE_REGEX +private static finalhttps://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html?is-external=true; title="class or interface in java.util.regex">Pattern TABLEINFO_FILE_REGEX Regex to eat up sequenceid suffix on a .tableinfo file. Use regex because may encounter oldstyle .tableinfos where there is no sequenceid on the end. @@ -794,7 +794,7 @@ implements createMetaTableDescriptor -public staticTableDescriptorcreateMetaTableDescriptor(org.apache.hadoop.conf.Configurationconf) +public staticTableDescriptorcreateMetaTableDescriptor(org.apache.hadoop.conf.Configurationconf) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Throws: @@ -808,7 +808,7 @@ implements setCacheOn -publicvoidsetCacheOn() +publicvoidsetCacheOn() throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Description copied from interface:TableDescriptors Enables the tabledescriptor cache @@ -826,7 +826,7 @@ implements setCacheOff -publicvoidsetCacheOff() +publicvoidsetCacheOff() throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Description copied from interface:TableDescriptors Disables the tabledescriptor cache @@ -844,7 +844,7 @@ implements isUsecache -publicbooleanisUsecache() +publicbooleanisUsecache() @@ -854,7 +854,7 @@ implements get @Nullable -publicTableDescriptorget(TableNametablename) +publicTableDescriptorget(TableNametablename) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Get the current table descriptor for the given table, or null if none exists. @@ -876,7 +876,7 @@ public getAll -publichttps://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,TableDescriptorgetAll() +publichttps://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,TableDescriptorgetAll() throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Returns a map from table name to table descriptor for all tables. @@ -895,7 +895,7 @@ public getByNamespace -publichttps://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in
[05/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/src-html/org/apache/hadoop/hbase/Version.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/Version.html b/devapidocs/src-html/org/apache/hadoop/hbase/Version.html index c7cfd62..da83514 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/Version.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/Version.html @@ -18,9 +18,9 @@ 010 public static final String version = "3.0.0-SNAPSHOT"; 011 public static final String revision = ""; 012 public static final String user = "jenkins"; -013 public static final String date = "Sat Nov 24 14:43:25 UTC 2018"; +013 public static final String date = "Mon Nov 26 14:44:10 UTC 2018"; 014 public static final String url = "git://jenkins-websites1.apache.org/home/jenkins/jenkins-slave/workspace/hbase_generate_website/hbase"; -015 public static final String srcChecksum = "2ddf86e8061a880c4fd8d153857342a6"; +015 public static final String srcChecksum = "4d3ee036754273b7c20a302784193204"; 016} http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/src-html/org/apache/hadoop/hbase/ZKNamespaceManager.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/ZKNamespaceManager.html b/devapidocs/src-html/org/apache/hadoop/hbase/ZKNamespaceManager.html deleted file mode 100644 index 1d548a3..000 --- a/devapidocs/src-html/org/apache/hadoop/hbase/ZKNamespaceManager.html +++ /dev/null @@ -1,287 +0,0 @@ -http://www.w3.org/TR/html4/loose.dtd;> - - -Source code - - - - -001/** -002 * Licensed to the Apache Software Foundation (ASF) under one -003 * or more contributor license agreements. See the NOTICE file -004 * distributed with this work for additional information -005 * regarding copyright ownership. The ASF licenses this file -006 * to you under the Apache License, Version 2.0 (the -007 * "License"); you may not use this file except in compliance -008 * with the License. You may obtain a copy of the License at -009 * -010 * http://www.apache.org/licenses/LICENSE-2.0 -011 * -012 * Unless required by applicable law or agreed to in writing, software -013 * distributed under the License is distributed on an "AS IS" BASIS, -014 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -015 * See the License for the specific language governing permissions and -016 * limitations under the License. -017 */ -018 -019package org.apache.hadoop.hbase; -020 -021import java.io.IOException; -022import java.util.List; -023import java.util.NavigableMap; -024import java.util.NavigableSet; -025import java.util.concurrent.ConcurrentSkipListMap; -026 -027import org.apache.hadoop.hbase.util.Bytes; -028import org.apache.hadoop.hbase.zookeeper.ZKListener; -029import org.apache.hadoop.hbase.zookeeper.ZKUtil; -030import org.apache.hadoop.hbase.zookeeper.ZKWatcher; -031import org.apache.hadoop.hbase.zookeeper.ZNodePaths; -032import org.apache.yetus.audience.InterfaceAudience; -033import org.apache.zookeeper.KeeperException; -034import org.slf4j.Logger; -035import org.slf4j.LoggerFactory; -036 -037import org.apache.hbase.thirdparty.com.google.common.collect.Sets; -038import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil; -039import org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos; -040 -041/** -042 * Class servers two purposes: -043 * -044 * 1. Broadcast NamespaceDescriptor information via ZK -045 * (Done by the Master) -046 * 2. Consume broadcasted NamespaceDescriptor changes -047 * (Done by the RegionServers) -048 * -049 */ -050@InterfaceAudience.Private -051public class ZKNamespaceManager extends ZKListener { -052 private static final Logger LOG = LoggerFactory.getLogger(ZKNamespaceManager.class); -053 private final String nsZNode; -054 private final NavigableMapString,NamespaceDescriptor cache; -055 -056 public ZKNamespaceManager(ZKWatcher zkw) throws IOException { -057super(zkw); -058nsZNode = zkw.getZNodePaths().namespaceZNode; -059cache = new ConcurrentSkipListMap(); -060 } -061 -062 public void start() throws IOException { -063watcher.registerListener(this); -064try { -065 if (ZKUtil.watchAndCheckExists(watcher, nsZNode)) { -066ListZKUtil.NodeAndData existing = -067 ZKUtil.getChildDataAndWatchForNewChildren(watcher, nsZNode); -068if (existing != null) { -069 refreshNodes(existing); -070} -071 } else { -072ZKUtil.createWithParents(watcher, nsZNode); -073 } -074} catch (KeeperException e) { -075 throw new IOException("Failed to initialize ZKNamespaceManager", e); -076} -077 } -078 -079 public void stop() throws IOException { -080 this.watcher.unregisterListener(this); -081 } -082 -083 public NamespaceDescriptor get(String
[18/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.MutationBatchOperation.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.MutationBatchOperation.html b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.MutationBatchOperation.html index 36d3241..b062755 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.MutationBatchOperation.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.MutationBatchOperation.html @@ -118,7 +118,7 @@ var activeTableTab = "activeTableTab"; -static class HRegion.MutationBatchOperation +static class HRegion.MutationBatchOperation extends HRegion.BatchOperationMutation Batch of mutation operations. Base class is shared with HRegion.ReplayBatchOperation as most of the logic is same. @@ -342,7 +342,7 @@ extends nonceGroup -privatelong nonceGroup +privatelong nonceGroup @@ -351,7 +351,7 @@ extends nonce -privatelong nonce +privatelong nonce @@ -368,7 +368,7 @@ extends MutationBatchOperation -publicMutationBatchOperation(HRegionregion, +publicMutationBatchOperation(HRegionregion, Mutation[]operations, booleanatomic, longnonceGroup, @@ -389,7 +389,7 @@ extends getMutation -publicMutationgetMutation(intindex) +publicMutationgetMutation(intindex) Specified by: getMutationin classHRegion.BatchOperationMutation @@ -402,7 +402,7 @@ extends getNonceGroup -publiclonggetNonceGroup(intindex) +publiclonggetNonceGroup(intindex) Specified by: getNonceGroupin classHRegion.BatchOperationMutation @@ -415,7 +415,7 @@ extends getNonce -publiclonggetNonce(intindex) +publiclonggetNonce(intindex) Specified by: getNoncein classHRegion.BatchOperationMutation @@ -428,7 +428,7 @@ extends getMutationsForCoprocs -publicMutation[]getMutationsForCoprocs() +publicMutation[]getMutationsForCoprocs() Description copied from class:HRegion.BatchOperation This method is potentially expensive and useful mostly for non-replay CP path. @@ -443,7 +443,7 @@ extends isInReplay -publicbooleanisInReplay() +publicbooleanisInReplay() Specified by: isInReplayin classHRegion.BatchOperationMutation @@ -456,7 +456,7 @@ extends getOrigLogSeqNum -publiclonggetOrigLogSeqNum() +publiclonggetOrigLogSeqNum() Specified by: getOrigLogSeqNumin classHRegion.BatchOperationMutation @@ -469,7 +469,7 @@ extends startRegionOperation -publicvoidstartRegionOperation() +publicvoidstartRegionOperation() throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Specified by: @@ -485,7 +485,7 @@ extends closeRegionOperation -publicvoidcloseRegionOperation() +publicvoidcloseRegionOperation() throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Specified by: @@ -501,7 +501,7 @@ extends checkAndPreparePut -publicvoidcheckAndPreparePut(Putp) +publicvoidcheckAndPreparePut(Putp) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Description copied from class:HRegion.BatchOperation Implement any Put request specific check and prepare logic here. Please refer to @@ -520,7 +520,7 @@ extends checkAndPrepare -publicvoidcheckAndPrepare() +publicvoidcheckAndPrepare() throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Description copied from class:HRegion.BatchOperation Validates each mutation and prepares a batch for write. If necessary (non-replay case), runs @@ -542,7 +542,7 @@ extends prepareMiniBatchOperations -publicvoidprepareMiniBatchOperations(MiniBatchOperationInProgressMutationminiBatchOp, +publicvoidprepareMiniBatchOperations(MiniBatchOperationInProgressMutationminiBatchOp, longtimestamp, https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegion.RowLockacquiredRowLocks) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException @@ -563,7 +563,7 @@ extends buildWALEdits -publichttps://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListPairNonceKey,WALEditbuildWALEdits(MiniBatchOperationInProgressMutation ;miniBatchOp)
[03/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html b/devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html index 16c2238..a626878 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html @@ -228,1032 +228,1032 @@ 220RESERVED_KEYWORDS.add(IS_META_KEY); 221 } 222 -223 @InterfaceAudience.Private -224 public final static String NAMESPACE_FAMILY_INFO = "info"; -225 @InterfaceAudience.Private -226 public final static byte[] NAMESPACE_FAMILY_INFO_BYTES = Bytes.toBytes(NAMESPACE_FAMILY_INFO); +223 /** +224 * @deprecated namespace table has been folded into the ns family in meta table, do not use this +225 * any more. +226 */ 227 @InterfaceAudience.Private -228 public final static byte[] NAMESPACE_COL_DESC_BYTES = Bytes.toBytes("d"); -229 -230 /** -231 * pre -232 * Pattern that matches a coprocessor specification. Form is: -233 * {@code coprocessor jar file location '|' class name ['|' priority ['|' arguments]]} -234 * where arguments are {@code KEY '=' VALUE [,...]} -235 * For example: {@code hdfs:///foo.jar|com.foo.FooRegionObserver|1001|arg1=1,arg2=2} -236 * /pre -237 */ -238 private static final Pattern CP_HTD_ATTR_VALUE_PATTERN = -239 Pattern.compile("(^[^\\|]*)\\|([^\\|]+)\\|[\\s]*([\\d]*)[\\s]*(\\|.*)?$"); -240 -241 private static final String CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN = "[^=,]+"; -242 private static final String CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN = "[^,]+"; -243 private static final Pattern CP_HTD_ATTR_VALUE_PARAM_PATTERN = Pattern.compile( -244"(" + CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN + ")=(" + -245 CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN + "),?"); -246 private static final Pattern CP_HTD_ATTR_KEY_PATTERN = -247 Pattern.compile("^coprocessor\\$([0-9]+)$", Pattern.CASE_INSENSITIVE); -248 /** -249 * Table descriptor for namespace table -250 */ -251 // TODO We used to set CacheDataInL1 for NS table. When we have BucketCache in file mode, now the -252 // NS data goes to File mode BC only. Test how that affect the system. If too much, we have to -253 // rethink about adding back the setCacheDataInL1 for NS table. -254 public static final TableDescriptor NAMESPACE_TABLEDESC -255= TableDescriptorBuilder.newBuilder(TableName.NAMESPACE_TABLE_NAME) -256 .setColumnFamily(ColumnFamilyDescriptorBuilder.newBuilder(NAMESPACE_FAMILY_INFO_BYTES) -257// Ten is arbitrary number. Keep versions to help debugging. -258.setMaxVersions(10) -259.setInMemory(true) -260.setBlocksize(8 * 1024) -261 .setScope(HConstants.REPLICATION_SCOPE_LOCAL) -262.build()) -263 .build(); -264 private final ModifyableTableDescriptor desc; +228 @Deprecated +229 public final static String NAMESPACE_FAMILY_INFO = "info"; +230 +231 /** +232 * @deprecated namespace table has been folded into the ns family in meta table, do not use this +233 * any more. +234 */ +235 @InterfaceAudience.Private +236 @Deprecated +237 public final static byte[] NAMESPACE_FAMILY_INFO_BYTES = Bytes.toBytes(NAMESPACE_FAMILY_INFO); +238 +239 /** +240 * @deprecated namespace table has been folded into the ns family in meta table, do not use this +241 * any more. +242 */ +243 @InterfaceAudience.Private +244 @Deprecated +245 public final static byte[] NAMESPACE_COL_DESC_BYTES = Bytes.toBytes("d"); +246 +247 /** +248 * pre +249 * Pattern that matches a coprocessor specification. Form is: +250 * {@code coprocessor jar file location '|' class name ['|' priority ['|' arguments]]} +251 * where arguments are {@code KEY '=' VALUE [,...]} +252 * For example: {@code hdfs:///foo.jar|com.foo.FooRegionObserver|1001|arg1=1,arg2=2} +253 * /pre +254 */ +255 private static final Pattern CP_HTD_ATTR_VALUE_PATTERN = +256 Pattern.compile("(^[^\\|]*)\\|([^\\|]+)\\|[\\s]*([\\d]*)[\\s]*(\\|.*)?$"); +257 +258 private static final String CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN = "[^=,]+"; +259 private static final String CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN = "[^,]+"; +260 private static final Pattern CP_HTD_ATTR_VALUE_PARAM_PATTERN = Pattern.compile( +261"(" + CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN + ")=(" + +262 CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN + "),?"); +263 private static final Pattern CP_HTD_ATTR_KEY_PATTERN = +264 Pattern.compile("^coprocessor\\$([0-9]+)$", Pattern.CASE_INSENSITIVE); 265 266 /** -267 * @param desc The table descriptor to serialize -268 * @return This instance serialized with pb with pb magic prefix -269
hbase-site git commit: INFRA-10751 Empty commit
Repository: hbase-site Updated Branches: refs/heads/asf-site 5299e6673 -> 3d72455c6 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/3d72455c Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/3d72455c Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/3d72455c Branch: refs/heads/asf-site Commit: 3d72455c69053bba5288a5b37c547eb85cf51d41 Parents: 5299e66 Author: jenkins Authored: Mon Nov 26 14:52:56 2018 + Committer: jenkins Committed: Mon Nov 26 14:52:56 2018 + -- --
[32/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/HMasterCommandLine.LocalHMaster.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/HMasterCommandLine.LocalHMaster.html b/devapidocs/org/apache/hadoop/hbase/master/HMasterCommandLine.LocalHMaster.html index 609b574..28c0aaf 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/HMasterCommandLine.LocalHMaster.html +++ b/devapidocs/org/apache/hadoop/hbase/master/HMasterCommandLine.LocalHMaster.html @@ -247,14 +247,14 @@ extends Methods inherited from classorg.apache.hadoop.hbase.master.HMaster -abort, abortProcedure, addColumn, addReplicationPeer, balance, balance, balanceSwitch, canCreateBaseZNode, canUpdateTableDescriptor, checkIfShouldMoveSystemRegionAsync, checkInitialized, checkServiceStarted, checkTableModifiable, configureInfoServer, constructMaster, createAssignmentManager, createMetaBootstrap, createNamespace, createRpcServices, createServerManager, createSystemTable, createTable, decommissionRegionServers, decorateMasterConfiguration, deleteColumn, deleteNamespace, deleteTable, disableReplicationPeer, disableTable, enableReplicationPeer, enableTable, getAssignmentManager, getAverageLoad, getCatalogJanitor, getClientIdAuditPrefix, getClusterMetrics, getClusterMetrics, getClusterMetricsWithoutCoprocessor, getClusterMetricsWithoutCoprocessor, getClusterSchema, getDumpServlet, getFavoredNodesManager, getHFileCleaner, getInitializedEvent, getLastMajorCompactionTimestamp, getLastMajorCompactionTimestampForRegion, getLoadBalancer, getLoadBalancerClassName, getLoadedCoprocessors, getLockManager, getLocks, getLogCleaner, getMasterActiveTime, getMasterCoprocessorHost, getMasterCoprocessors, getMasterFileSystem, getMasterFinishedInitializationTime, getMasterMetrics, getMasterProcedureExecutor, getMasterProcedureManagerHost, getMasterQuotaManager, getMasterRpcServices, getMasterStartTime, getMasterWalManager, getMergePlanCount, getMetaTableObserver, getMobCompactionState, getNamespace, getNamespaces, getNumWALFiles, getProcedures, getProcessName, getQuotaObserverChore, getRegionNormalizer, getRegionNormalizerTracker, getRegionServerFatalLogBuffer, getRegionServerInfoPort, getRegionServerVersion, getRemoteInetAddress, getReplicationLoad, getReplicationPeerConfig, getReplicationPeerManager, getServerManager, getServerName, getSnapshotM anager, getSnapshotQuotaObserverChore, getSpaceQuotaSnapshotNotifier, getSplitOrMergeTracker, getSplitPlanCount, getSyncReplicationReplayWALManager, getTableRegionForRow, getTableStateManager, getUseThisHostnameInstead, getWalProcedureStore, getZooKeeper, initClusterSchemaService, initializeZKBasedSystemTrackers, isActiveMaster, isBalancerOn, isCatalogJanitorEnabled, isCleanerChoreEnabled, isInitialized, isInMaintenanceMode, isNormalizerOn, isSplitOrMergeEnabled, listDecommissionedRegionServers, listReplicationPeers, listTableDescriptors, listTableDescriptorsByNamespace, listTableNames, listTableNamesByNamespace, login, main, mergeRegions, modifyColumn, modifyNamespace, modifyTable, move, normalizeRegions, recommissionRegionServer, registerService, remoteProcedureCompleted, remoteProcedureFailed, removeReplicationPeer, reportMobCompactionEnd, reportMobCompactionStart, requestMobCompaction, restoreSnapshot, setCatalogJanitorEnabled, setInitialized, shutdown, splitRegion, stop, stopMaster, stopServiceThreads, transitReplicationPeerSyncReplicationState, truncateTable, updateConfigurationForQuotasObserver, updateReplicationPeerConfig, waitForMasterActive, waitForMetaOnline, waitForNamespaceOnline +abort, abortProcedure, addColumn, addReplicationPeer, balance, balance, balanceSwitch, canCreateBaseZNode, canUpdateTableDescriptor, checkIfShouldMoveSystemRegionAsync, checkInitialized, checkServiceStarted, checkTableModifiable, configureInfoServer, constructMaster, createAssignmentManager, createMetaBootstrap, createNamespace, createRpcServices, createServerManager, createSystemTable, createTable, decommissionRegionServers, decorateMasterConfiguration, deleteColumn, deleteNamespace, deleteTable, disableReplicationPeer, disableTable, enableReplicationPeer, enableTable, getAssignmentManager, getAverageLoad, getCatalogJanitor, getClientIdAuditPrefix, getClusterMetrics, getClusterMetrics, getClusterMetricsWithoutCoprocessor, getClusterMetricsWithoutCoprocessor, getClusterSchema, getDumpServlet, getFavoredNodesManager, getHFileCleaner, getInitializedEvent, getLastMajorCompactionTimestamp, getLastMajorCompactionTimestampForRegion, getLoadBalancer, getLoadBalancerClassName, getLoadedCoprocessors, getLockManager, getLocks, getLogCleaner, getMasterActiveTime, getMasterCoprocessorHost, getMasterCoprocessors,
[42/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/checkstyle.rss -- diff --git a/checkstyle.rss b/checkstyle.rss index 4d67fa0..a0f1fd1 100644 --- a/checkstyle.rss +++ b/checkstyle.rss @@ -25,8 +25,8 @@ under the License. en-us 2007 - 2018 The Apache Software Foundation - File: 3814, - Errors: 14984, + File: 3815, + Errors: 14837, Warnings: 0, Infos: 0 @@ -4507,7 +4507,7 @@ under the License. 0 - 8 + 4 @@ -8595,7 +8595,7 @@ under the License. 0 - 1 + 0 @@ -11652,20 +11652,6 @@ under the License. - http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.ZKNamespaceManager.java;>org/apache/hadoop/hbase/ZKNamespaceManager.java - - - 0 - - - 0 - - - 1 - - - - http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink.java;>org/apache/hadoop/hbase/replication/regionserver/TestReplicationSink.java @@ -14741,7 +14727,7 @@ under the License. 0 - 76 + 74 @@ -15917,7 +15903,7 @@ under the License. 0 - 21 + 1 @@ -18227,7 +18213,7 @@ under the License. 0 - 34 + 0 @@ -18507,7 +18493,7 @@ under the License. 0 - 11 + 10 @@ -27047,7 +27033,7 @@ under the License. 0 - 4 + 3 @@ -28041,7 +28027,7 @@ under the License. 0 - 4 + 0 @@ -36371,7 +36357,7 @@ under the License. 0 - 6 + 4 @@ -41579,7 +41565,7 @@ under the License. 0 - 2 + 1 @@ -43077,7 +43063,7 @@ under the License. 0 - 31 + 0 @@ -44594,6 +44580,20 @@ under the License. + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.master.TestMigrateNamespaceTable.java;>org/apache/hadoop/hbase/master/TestMigrateNamespaceTable.java + + + 0 + + + 0 + + + 0 + + + + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.SharedConnection.java;>org/apache/hadoop/hbase/SharedConnection.java @@ -46185,7 +46185,7 @@ under the License. 0 - 47 + 9 @@ -47375,7 +47375,7 @@ under the License. 0 - 2 + 1 @@ -50581,7 +50581,7 @@ under the License. 0 - 6 + 0 @@ -51972,6 +51972,20 @@ under the License. +
[35/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html b/devapidocs/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html index e299293..7e40051 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html +++ b/devapidocs/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html @@ -302,20 +302,38 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html static byte[] -NAMESPACE_COL_DESC_BYTES +NAMESPACE_COL_DESC_BYTES +Deprecated. +namespace table has been folded into the ns family in meta table, do not use this + any more. + + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String -NAMESPACE_FAMILY_INFO +NAMESPACE_FAMILY_INFO +Deprecated. +namespace table has been folded into the ns family in meta table, do not use this + any more. + + static byte[] -NAMESPACE_FAMILY_INFO_BYTES +NAMESPACE_FAMILY_INFO_BYTES +Deprecated. +namespace table has been folded into the ns family in meta table, do not use this + any more. + + static TableDescriptor NAMESPACE_TABLEDESC -Table descriptor for namespace table +Deprecated. +We have folded the data in namespace table into meta table, so do not use it any + more. + @@ -1148,7 +1166,10 @@ public static finalhttps://docs.oracle.com/javase/8/docs/api/java NAMESPACE_FAMILY_INFO @InterfaceAudience.Private -public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String NAMESPACE_FAMILY_INFO + https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated +public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String NAMESPACE_FAMILY_INFO +Deprecated.namespace table has been folded into the ns family in meta table, do not use this + any more. See Also: Constant Field Values @@ -1162,7 +1183,10 @@ public static finalhttps://docs.oracle.com/javase/8/docs/api/java NAMESPACE_FAMILY_INFO_BYTES @InterfaceAudience.Private -public static finalbyte[] NAMESPACE_FAMILY_INFO_BYTES + https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated +public static finalbyte[] NAMESPACE_FAMILY_INFO_BYTES +Deprecated.namespace table has been folded into the ns family in meta table, do not use this + any more. @@ -1172,7 +1196,10 @@ public static finalbyte[] NAMESPACE_COL_DESC_BYTES @InterfaceAudience.Private -public static finalbyte[] NAMESPACE_COL_DESC_BYTES + https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated +public static finalbyte[] NAMESPACE_COL_DESC_BYTES +Deprecated.namespace table has been folded into the ns family in meta table, do not use this + any more. @@ -1181,7 +1208,7 @@ public static finalbyte[] CP_HTD_ATTR_VALUE_PATTERN -private static finalhttps://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html?is-external=true; title="class or interface in java.util.regex">Pattern CP_HTD_ATTR_VALUE_PATTERN +private static finalhttps://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html?is-external=true; title="class or interface in java.util.regex">Pattern CP_HTD_ATTR_VALUE_PATTERN Pattern that matches a coprocessor specification. Form is: coprocessor jar file location '|' class name ['|' priority ['|' arguments]] @@ -1196,7 +1223,7 @@ public static finalbyte[] CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN -private static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN +private static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN See Also: Constant Field Values @@ -1209,7 +1236,7 @@ public static finalbyte[] CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN -private static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN +private static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN See Also: Constant Field Values @@ -1222,7 +1249,7 @@ public static finalbyte[]
[12/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html b/devapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html index f6fc132..42af249 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/package-tree.html @@ -716,20 +716,20 @@ java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">EnumE (implements java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableT, java.io.https://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.regionserver.Region.Operation -org.apache.hadoop.hbase.regionserver.DefaultHeapMemoryTuner.StepDirection -org.apache.hadoop.hbase.regionserver.SplitLogWorker.TaskExecutor.Status -org.apache.hadoop.hbase.regionserver.TimeRangeTracker.Type -org.apache.hadoop.hbase.regionserver.BloomType org.apache.hadoop.hbase.regionserver.ChunkCreator.ChunkType -org.apache.hadoop.hbase.regionserver.MemStoreCompactionStrategy.Action -org.apache.hadoop.hbase.regionserver.CompactingMemStore.IndexType +org.apache.hadoop.hbase.regionserver.MetricsRegionServerSourceFactoryImpl.FactoryStorage +org.apache.hadoop.hbase.regionserver.FlushType org.apache.hadoop.hbase.regionserver.ScanType -org.apache.hadoop.hbase.regionserver.HRegion.FlushResult.Result +org.apache.hadoop.hbase.regionserver.BloomType org.apache.hadoop.hbase.regionserver.ScannerContext.LimitScope -org.apache.hadoop.hbase.regionserver.FlushType +org.apache.hadoop.hbase.regionserver.HRegion.FlushResult.Result +org.apache.hadoop.hbase.regionserver.SplitLogWorker.TaskExecutor.Status org.apache.hadoop.hbase.regionserver.ScannerContext.NextState -org.apache.hadoop.hbase.regionserver.MetricsRegionServerSourceFactoryImpl.FactoryStorage +org.apache.hadoop.hbase.regionserver.TimeRangeTracker.Type +org.apache.hadoop.hbase.regionserver.DefaultHeapMemoryTuner.StepDirection +org.apache.hadoop.hbase.regionserver.CompactingMemStore.IndexType +org.apache.hadoop.hbase.regionserver.Region.Operation +org.apache.hadoop.hbase.regionserver.MemStoreCompactionStrategy.Action http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/regionserver/querymatcher/package-tree.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/querymatcher/package-tree.html b/devapidocs/org/apache/hadoop/hbase/regionserver/querymatcher/package-tree.html index b377318..6851ee1 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/querymatcher/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/querymatcher/package-tree.html @@ -130,9 +130,9 @@ java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">EnumE (implements java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableT, java.io.https://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.regionserver.querymatcher.StripeCompactionScanQueryMatcher.DropDeletesInOutput -org.apache.hadoop.hbase.regionserver.querymatcher.ScanQueryMatcher.MatchCode org.apache.hadoop.hbase.regionserver.querymatcher.DeleteTracker.DeleteResult +org.apache.hadoop.hbase.regionserver.querymatcher.ScanQueryMatcher.MatchCode +org.apache.hadoop.hbase.regionserver.querymatcher.StripeCompactionScanQueryMatcher.DropDeletesInOutput http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/regionserver/wal/package-tree.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/wal/package-tree.html b/devapidocs/org/apache/hadoop/hbase/regionserver/wal/package-tree.html index 7eedc5c..46651a5 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/wal/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/wal/package-tree.html @@ -248,8 +248,8 @@ java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">EnumE (implements java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableT,
[21/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/procedure/class-use/MasterProcedureEnv.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/procedure/class-use/MasterProcedureEnv.html b/devapidocs/org/apache/hadoop/hbase/master/procedure/class-use/MasterProcedureEnv.html index 883e8b2..b6da844 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/procedure/class-use/MasterProcedureEnv.html +++ b/devapidocs/org/apache/hadoop/hbase/master/procedure/class-use/MasterProcedureEnv.html @@ -1172,6 +1172,13 @@ InitMetaProcedure.acquireLock(MasterProcedureEnvenv) +protected static void +AbstractStateMachineNamespaceProcedure.addOrUpdateNamespace(MasterProcedureEnvenv, +NamespaceDescriptorns) +Insert/update the row into the ns family of meta table. + + + private void RestoreSnapshotProcedure.addRegionsToInMemoryStates(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionInforegionInfos, MasterProcedureEnvenv, @@ -1179,13 +1186,13 @@ Add regions to in-memory states - + private void CloneSnapshotProcedure.addRegionsToMeta(MasterProcedureEnvenv) Add regions to hbase:meta table. - + private static void CreateTableProcedure.addRegionsToMeta(MasterProcedureEnvenv, TableDescriptortableDescriptor, @@ -1193,60 +1200,60 @@ Add the specified set of regions to the hbase:meta table. - + private static void ModifyTableProcedure.addRegionsToMeta(MasterProcedureEnvenv, TableDescriptortableDescriptor, https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionInforegionInfos) - + protected static https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionInfo CreateTableProcedure.addTableToMeta(MasterProcedureEnvenv, TableDescriptortableDescriptor, https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionInforegions) - + private void ServerCrashProcedure.assignRegions(MasterProcedureEnvenv, https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionInforegions) Assign the regions on the crashed RS to other Rses. - + private static org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest RSProcedureDispatcher.buildOpenRegionRequest(MasterProcedureEnvenv, ServerNameserverName, https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRSProcedureDispatcher.RegionOpenOperationoperations) - + org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfo RSProcedureDispatcher.RegionOpenOperation.buildRegionOpenInfoRequest(MasterProcedureEnvenv) - + private boolean ReopenTableRegionsProcedure.canSchedule(MasterProcedureEnvenv, HRegionLocationloc) - + protected static void AbstractStateMachineTableProcedure.checkOnline(MasterProcedureEnvenv, RegionInfori) Check region is online. - + protected void AbstractStateMachineRegionProcedure.checkTableModifiable(MasterProcedureEnvenv) Check whether a table is modifiable - exists and either offline or online with config set - + protected void AbstractStateMachineTableProcedure.checkTableModifiable(MasterProcedureEnvenv) Check whether a table is modifiable - exists and either offline or online with config set - + private static void DeleteTableProcedure.cleanAnyRemainingRows(MasterProcedureEnvenv, TableNametableName) @@ -1254,26 +1261,26 @@ info:regioninfo column was empty because of some write error. - + protected void TruncateTableProcedure.completionCleanup(MasterProcedureEnvenv) - + protected void ModifyTableProcedure.completionCleanup(MasterProcedureEnvenv) - + protected void InitMetaProcedure.completionCleanup(MasterProcedureEnvenv) - + protected static void -CreateNamespaceProcedure.createDirectory(MasterProcedureEnvenv, +AbstractStateMachineNamespaceProcedure.createDirectory(MasterProcedureEnvenv, NamespaceDescriptornsDescriptor) Create the namespace directory - + private https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionInfo CloneSnapshotProcedure.createFilesystemLayout(MasterProcedureEnvenv, TableDescriptortableDescriptor, @@ -1281,20 +1288,20 @@ Create regions in file system. - + protected static
[51/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
Published site at 1acbd36c903b048141866b143507bfce124a5c5f. Project: http://git-wip-us.apache.org/repos/asf/hbase-site/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase-site/commit/5299e667 Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/5299e667 Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/5299e667 Branch: refs/heads/asf-site Commit: 5299e66732565c4e868f8f3b9f91adaa9efeccc1 Parents: ba00a25 Author: jenkins Authored: Mon Nov 26 14:52:28 2018 + Committer: jenkins Committed: Mon Nov 26 14:52:28 2018 + -- acid-semantics.html | 4 +- apache_hbase_reference_guide.pdf| 4 +- apidocs/constant-values.html| 173 +- apidocs/deprecated-list.html|36 +- apidocs/index-all.html |41 +- apidocs/org/apache/hadoop/hbase/HConstants.html | 905 +- apidocs/org/apache/hadoop/hbase/TableName.html |72 +- .../hadoop/hbase/class-use/TableName.html | 5 +- .../hbase/client/TableDescriptorBuilder.html|82 +- .../hbase/client/class-use/TableDescriptor.html | 5 +- .../org/apache/hadoop/hbase/HConstants.html | 2578 +- .../hbase/NamespaceDescriptor.Builder.html | 2 +- .../hadoop/hbase/NamespaceDescriptor.html | 2 +- .../org/apache/hadoop/hbase/TableName.html | 881 +- .../hbase/client/TableDescriptorBuilder.html| 2510 +- book.html | 2 +- bulk-loads.html | 4 +- checkstyle-aggregate.html | 25548 - checkstyle.rss |74 +- coc.html| 4 +- dependencies.html | 4 +- dependency-convergence.html | 4 +- dependency-info.html| 4 +- dependency-management.html | 4 +- devapidocs/allclasses-frame.html| 2 - devapidocs/allclasses-noframe.html | 2 - devapidocs/constant-values.html | 177 +- devapidocs/deprecated-list.html |54 +- devapidocs/index-all.html | 287 +- .../hbase/HConstants.OperationStatusCode.html |18 +- .../org/apache/hadoop/hbase/HConstants.html | 907 +- .../org/apache/hadoop/hbase/Stoppable.html | 2 +- .../org/apache/hadoop/hbase/TableName.html |96 +- .../hadoop/hbase/YouAreDeadException.html | 4 +- .../apache/hadoop/hbase/ZKNamespaceManager.html | 601 - .../org/apache/hadoop/hbase/ZNodeClearer.html | 4 +- .../hadoop/hbase/backup/package-tree.html | 2 +- .../hbase/class-use/NamespaceDescriptor.html|87 +- .../hadoop/hbase/class-use/ServerName.html |62 +- .../hadoop/hbase/class-use/Stoppable.html | 7 - .../hadoop/hbase/class-use/TableName.html |20 +- .../hbase/class-use/ZKNamespaceManager.html | 165 - ...riptorBuilder.ModifyableTableDescriptor.html | 156 +- .../hbase/client/TableDescriptorBuilder.html| 136 +- .../client/class-use/ClusterConnection.html | 6 +- .../hbase/client/class-use/Connection.html | 5 + .../hbase/client/class-use/RegionInfo.html |14 +- .../hadoop/hbase/client/class-use/Table.html|73 +- .../hbase/client/class-use/TableDescriptor.html | 5 +- .../hbase/client/class-use/TableState.html | 8 +- .../hadoop/hbase/client/package-tree.html |24 +- .../apache/hadoop/hbase/client/package-use.html |11 +- .../hadoop/hbase/coprocessor/package-tree.html | 2 +- .../class-use/TimeoutIOException.html |25 - .../hadoop/hbase/exceptions/package-use.html| 5 - .../hadoop/hbase/filter/package-tree.html |10 +- .../hadoop/hbase/io/hfile/package-tree.html | 8 +- .../apache/hadoop/hbase/ipc/package-tree.html | 2 +- .../hadoop/hbase/mapreduce/package-tree.html| 4 +- .../hbase/master/ClusterSchemaServiceImpl.html |45 +- .../master/HMaster.MasterStoppedException.html | 4 +- .../master/HMaster.TableDescriptorGetter.html | 4 +- .../org/apache/hadoop/hbase/master/HMaster.html | 331 +- .../master/HMasterCommandLine.LocalHMaster.html | 4 +- .../hadoop/hbase/master/ServerListener.html | 2 +- .../hbase/master/TableNamespaceManager.html | 479 +- .../master/assignment/AssignProcedure.html | 7 + ...signmentManager.RegionInTransitionChore.html | 6 +- ...ssignmentManager.RegionInTransitionStat.html |40 +- .../master/assignment/AssignmentManager.html| 480 +- .../master/assignment/CloseRegionProcedure.html | 7 + .../assignment/GCMergedRegionsProcedure.html| 7 + .../master/assignment/GCRegionProcedure.html
[47/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/apidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.Builder.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.Builder.html b/apidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.Builder.html index 8e3eb2f..3080df8 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.Builder.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.Builder.html @@ -174,7 +174,7 @@ 166 167private Builder(NamespaceDescriptor ns) { 168 this.bName = ns.name; -169 this.bConfiguration = ns.configuration; +169 this.bConfiguration.putAll(ns.configuration); 170} 171 172private Builder(String name) { http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/apidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.html b/apidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.html index 8e3eb2f..3080df8 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.html @@ -174,7 +174,7 @@ 166 167private Builder(NamespaceDescriptor ns) { 168 this.bName = ns.name; -169 this.bConfiguration = ns.configuration; +169 this.bConfiguration.putAll(ns.configuration); 170} 171 172private Builder(String name) {
[22/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.html b/devapidocs/org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.html index 416b70e..68e6797 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.html +++ b/devapidocs/org/apache/hadoop/hbase/master/procedure/TableProcedureInterface.html @@ -75,13 +75,13 @@ var activeTableTab = "activeTableTab"; Summary: Nested| -Field| +Field| Constr| Method Detail: -Field| +Field| Constr| Method @@ -134,6 +134,28 @@ public interface + + + +Field Summary + +Fields + +Modifier and Type +Field and Description + + +static TableName +DUMMY_NAMESPACE_TABLE_NAME +Used for acquire/release lock for namespace related operations, just a place holder as we do + not have namespace table any more. + + + + + @@ -165,6 +187,25 @@ public interface + + + + + +Field Detail + + + + + +DUMMY_NAMESPACE_TABLE_NAME +static finalTableName DUMMY_NAMESPACE_TABLE_NAME +Used for acquire/release lock for namespace related operations, just a place holder as we do + not have namespace table any more. + + + + @@ -177,7 +218,7 @@ public interface getTableName -TableNamegetTableName() +TableNamegetTableName() Returns: the name of the table the procedure is operating on @@ -190,7 +231,7 @@ public interface getTableOperationType -TableProcedureInterface.TableOperationTypegetTableOperationType() +TableProcedureInterface.TableOperationTypegetTableOperationType() Given an operation type we can take decisions about what to do with pending operations. e.g. if we get a delete and we have some table operation pending (e.g. add column) we can abort those operations. @@ -254,13 +295,13 @@ public interface Summary: Nested| -Field| +Field| Constr| Method Detail: -Field| +Field| Constr| Method http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/procedure/TruncateTableProcedure.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/procedure/TruncateTableProcedure.html b/devapidocs/org/apache/hadoop/hbase/master/procedure/TruncateTableProcedure.html index 4aa9829..e0d8887 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/procedure/TruncateTableProcedure.html +++ b/devapidocs/org/apache/hadoop/hbase/master/procedure/TruncateTableProcedure.html @@ -213,6 +213,13 @@ extends Procedure NO_PROC_ID, NO_TIMEOUT + + + + +Fields inherited from interfaceorg.apache.hadoop.hbase.master.procedure.TableProcedureInterface +DUMMY_NAMESPACE_TABLE_NAME +
[26/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/procedure/CreateNamespaceProcedure.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/procedure/CreateNamespaceProcedure.html b/devapidocs/org/apache/hadoop/hbase/master/procedure/CreateNamespaceProcedure.html index 3b44f50..c5e9980 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/procedure/CreateNamespaceProcedure.html +++ b/devapidocs/org/apache/hadoop/hbase/master/procedure/CreateNamespaceProcedure.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":9,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"i9":10,"i10":9,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":9,"i18":10,"i19":9,"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":9,"i13":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"; @@ -129,7 +129,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -public class CreateNamespaceProcedure +public class CreateNamespaceProcedure extends AbstractStateMachineNamespaceProcedureorg.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateNamespaceState The procedure to create a new namespace. @@ -187,10 +187,6 @@ extends private NamespaceDescriptor nsDescriptor - -private https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">Boolean -traceEnabled - @@ -206,6 +202,13 @@ extends Procedure NO_PROC_ID, NO_TIMEOUT + + + + +Fields inherited from interfaceorg.apache.hadoop.hbase.master.procedure.TableProcedureInterface +DUMMY_NAMESPACE_TABLE_NAME + @@ -253,124 +256,82 @@ extends -protected static void -createDirectory(MasterProcedureEnvenv, - NamespaceDescriptornsDescriptor) -Create the namespace directory - - - protected void deserializeStateData(ProcedureStateSerializerserializer) Called on store load to allow the user to decode the previously serialized state. - + protected StateMachineProcedure.Flow executeFromState(MasterProcedureEnvenv, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateNamespaceStatestate) called to perform a single step of the specified 'state' of the procedure - + protected org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateNamespaceState getInitialState() Return the initial state object that will be used for the first call to executeFromState(). - + protected https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String getNamespaceName() - + protected org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateNamespaceState getState(intstateId) Convert an ordinal (or state id) to an Enum (or more descriptive) state object. - + protected int getStateId(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateNamespaceStatestate) Convert the Enum (or more descriptive) state object to an ordinal (or state id). - -private static TableNamespaceManager -getTableNamespaceManager(MasterProcedureEnvenv) - - + TableProcedureInterface.TableOperationType getTableOperationType() Given an operation type we can take decisions about what to do with pending operations. - -protected static void -insertIntoNSTable(MasterProcedureEnvenv, - NamespaceDescriptornsDescriptor) -Insert the row into ns table - - - -private boolean -isBootstrapNamespace() - - + protected boolean isRollbackSupported(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateNamespaceStatestate) Used by the default implementation of abort() to know if the current state can be aborted and rollback can be triggered. - -private https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">Boolean -isTraceEnabled() -The procedure could be restarted from a different machine. - - - + private boolean prepareCreate(MasterProcedureEnvenv) Action before any real action of creating namespace. - + protected void rollbackState(MasterProcedureEnvenv, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.CreateNamespaceStatestate) called to perform the rollback of the specified state - + protected void serializeStateData(ProcedureStateSerializerserializer) The user-level code of the procedure may have some state to persist (e.g. - -protected static void + +private static void setNamespaceQuota(MasterProcedureEnvenv,
[24/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/procedure/InitMetaProcedure.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/procedure/InitMetaProcedure.html b/devapidocs/org/apache/hadoop/hbase/master/procedure/InitMetaProcedure.html index 8fbd7e5..c827411 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/procedure/InitMetaProcedure.html +++ b/devapidocs/org/apache/hadoop/hbase/master/procedure/InitMetaProcedure.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}; +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}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -129,7 +129,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -public class InitMetaProcedure +public class InitMetaProcedure extends AbstractStateMachineTableProcedureorg.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.InitMetaState This procedure is used to initialize meta table for a new hbase deploy. It will just schedule an TransitRegionStateProcedure to assign meta. @@ -181,9 +181,17 @@ extends Field and Description +private int +attempts + + private https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CountDownLatch.html?is-external=true; title="class or interface in java.util.concurrent">CountDownLatch latch + +private static org.slf4j.Logger +LOG + @@ -199,6 +207,13 @@ extends Procedure NO_PROC_ID, NO_TIMEOUT + + + + +Fields inherited from interfaceorg.apache.hadoop.hbase.master.procedure.TableProcedureInterface +DUMMY_NAMESPACE_TABLE_NAME + @@ -304,6 +319,12 @@ extends protected boolean +setTimeoutFailure(MasterProcedureEnvenv) +Called by the ProcedureExecutor when the timeout set by setTimeout() is expired. + + + +protected boolean waitInitialized(MasterProcedureEnvenv) The Procedure.doAcquireLock(Object, ProcedureStore) will be split into two steps, first, it will call us to determine whether we need to wait for initialization, second, it will call @@ -330,7 +351,7 @@ extends Procedure -addStackIndex, afterReplay, beforeReplay, bypass, compareTo, doExecute, doRollback, elapsedTime, getChildrenLatch, getException, getLastUpdate, getNonceKey, getOwner, getParentProcId, getProcedureMetrics, getProcId, getProc IdHashCode, getProcName, getResult, getRootProcedureId, getRootProcId, getStackIndexes, getState, getSubmittedTime, getTimeout, getTimeoutTimestamp, hasChildren, hasException, hasLock, hasOwner, hasParent, hasTimeout, haveSameParent, holdLock, incChildrenLatch, isBypass, isFailed, isFinished, isInitializing, isLockedWhenLoading, isRunnable, isSuccess, isWaiting, removeStackIndex, setAbortFailure, setChildrenLatch, setFailure, setFailure, setLastUpdate, set NonceKey, setOwner, setOwner, setParentProcId, setProcId, setResult, setRootProcId, setStackIndexes, setState, setSubmittedTime, setTimeout, setTimeoutFailure, shouldWaitClientAck, skipPersistence, toString, toStringClass, toStringDetails, toStringSimpleSB, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, wasExecuted +addStackIndex, afterReplay, beforeReplay, bypass, compareTo, doExecute, doRollback, elapsedTime, getChildrenLatch, getException, getLastUpdate, getNonceKey, getOwner, getParentProcId, getProcedureMetrics, getProcId, getProc IdHashCode, getProcName, getResult, getRootProcedureId, getRootProcId, getStackIndexes, getState, getSubmittedTime, getTimeout, getTimeoutTimestamp, hasChildren, hasException, hasLock, hasOwner, hasParent, hasTimeout, haveSameParent, holdLock, incChildrenLatch, isBypass, isFailed, isFinished, isInitializing, isLockedWhenLoading, isRunnable, isSuccess, isWaiting, removeStackIndex, setAbortFailure, setChildrenLatch, setFailure, setFailure, setLastUpdate, set NonceKey, setOwner, setOwner, setParentProcId, setProcId, setResult, setRootProcId, setStackIndexes, setState, setSubmittedTime, setTimeout, shouldWaitClientAck, skipPersistence, toString, toStringClass, toStringDetails, toStringSimpleSB, updateMetricsOnFinish, updateMetricsOnSubmit, updateTimestamp, wasExecuted @@ -353,13 +374,31 @@ extends + + + + +LOG +private static finalorg.slf4j.Logger LOG + + - + latch -privatehttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CountDownLatch.html?is-external=true; title="class or interface in java.util.concurrent">CountDownLatch latch
[06/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/src-html/org/apache/hadoop/hbase/TableName.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/TableName.html b/devapidocs/src-html/org/apache/hadoop/hbase/TableName.html index 10f7ae8..99abe5f 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/TableName.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/TableName.html @@ -88,462 +88,467 @@ 080 public static final TableName META_TABLE_NAME = 081 valueOf(NamespaceDescriptor.SYSTEM_NAMESPACE_NAME_STR, "meta"); 082 -083 /** The Namespace table's name. */ -084 public static final TableName NAMESPACE_TABLE_NAME = -085 valueOf(NamespaceDescriptor.SYSTEM_NAMESPACE_NAME_STR, "namespace"); -086 -087 public static final String OLD_META_STR = ".META."; -088 public static final String OLD_ROOT_STR = "-ROOT-"; -089 -090 /** One globally disallowed name */ -091 public static final String DISALLOWED_TABLE_NAME = "zookeeper"; -092 -093 /** -094 * @return True if codetn/code is the hbase:meta table name. -095 */ -096 public static boolean isMetaTableName(final TableName tn) { -097return tn.equals(TableName.META_TABLE_NAME); -098 } -099 -100 /** -101 * TableName for old -ROOT- table. It is used to read/process old WALs which have -102 * ROOT edits. -103 */ -104 public static final TableName OLD_ROOT_TABLE_NAME = getADummyTableName(OLD_ROOT_STR); +083 /** +084 * The Namespace table's name. +085 * @deprecated We have folded the data in namespace table into meta table, so do not use it any +086 * more. +087 */ +088 @Deprecated +089 public static final TableName NAMESPACE_TABLE_NAME = +090 valueOf(NamespaceDescriptor.SYSTEM_NAMESPACE_NAME_STR, "namespace"); +091 +092 public static final String OLD_META_STR = ".META."; +093 public static final String OLD_ROOT_STR = "-ROOT-"; +094 +095 /** One globally disallowed name */ +096 public static final String DISALLOWED_TABLE_NAME = "zookeeper"; +097 +098 /** +099 * @return True if codetn/code is the hbase:meta table name. +100 */ +101 public static boolean isMetaTableName(final TableName tn) { +102return tn.equals(TableName.META_TABLE_NAME); +103 } +104 105 /** -106 * TableName for old .META. table. Used in testing. -107 */ -108 public static final TableName OLD_META_TABLE_NAME = getADummyTableName(OLD_META_STR); -109 -110 private final byte[] name; -111 private final String nameAsString; -112 private final byte[] namespace; -113 private final String namespaceAsString; -114 private final byte[] qualifier; -115 private final String qualifierAsString; -116 private final boolean systemTable; -117 private final int hashCode; -118 -119 /** -120 * Check passed byte array, "tableName", is legal user-space table name. -121 * @return Returns passed codetableName/code param -122 * @throws IllegalArgumentException if passed a tableName is null or -123 * is made of other than 'word' characters or underscores: i.e. -124 * code[\p{IsAlphabetic}\p{Digit}.-:]/code. The ':' is used to delimit the namespace -125 * from the table name and can be used for nothing else. -126 * -127 * Namespace names can only contain 'word' characters -128 * code[\p{IsAlphabetic}\p{Digit}]/code or '_' -129 * -130 * Qualifier names can only contain 'word' characters -131 * code[\p{IsAlphabetic}\p{Digit}]/code or '_', '.' or '-'. -132 * The name may not start with '.' or '-'. -133 * -134 * Valid fully qualified table names: -135 * foo:bar, namespace=gt;foo, table=gt;bar -136 * org:foo.bar, namespace=org, table=gt;foo.bar -137 */ -138 public static byte [] isLegalFullyQualifiedTableName(final byte[] tableName) { -139if (tableName == null || tableName.length = 0) { -140 throw new IllegalArgumentException("Name is null or empty"); -141} -142 -143int namespaceDelimIndex = -144 org.apache.hbase.thirdparty.com.google.common.primitives.Bytes.lastIndexOf(tableName, -145(byte) NAMESPACE_DELIM); -146if (namespaceDelimIndex 0){ -147 isLegalTableQualifierName(tableName); -148} else { -149 isLegalNamespaceName(tableName, 0, namespaceDelimIndex); -150 isLegalTableQualifierName(tableName, namespaceDelimIndex + 1, tableName.length); -151} -152return tableName; -153 } -154 -155 public static byte [] isLegalTableQualifierName(final byte[] qualifierName) { -156 isLegalTableQualifierName(qualifierName, 0, qualifierName.length, false); -157return qualifierName; +106 * TableName for old -ROOT- table. It is used to read/process old WALs which have +107 * ROOT edits. +108 */ +109 public static final TableName OLD_ROOT_TABLE_NAME = getADummyTableName(OLD_ROOT_STR); +110 /** +111 * TableName for old .META. table. Used in testing. +112 */ +113 public static final TableName
[31/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/TableNamespaceManager.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/TableNamespaceManager.html b/devapidocs/org/apache/hadoop/hbase/master/TableNamespaceManager.html index d45e83e..f5a5289 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/TableNamespaceManager.html +++ b/devapidocs/org/apache/hadoop/hbase/master/TableNamespaceManager.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":9,"i7":9,"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}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":9,"i6":9,"i7":10,"i8":10,"i9":10,"i10":10,"i11":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"; @@ -107,22 +107,13 @@ var activeTableTab = "activeTableTab"; - -All Implemented Interfaces: -Stoppable - @InterfaceAudience.Private -public class TableNamespaceManager -extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object -implements Stoppable -This is a helper class used internally to manage the namespace metadata that is stored in - TableName.NAMESPACE_TABLE_NAME. It also mirrors updates to the ZK store by forwarding updates to - ZKNamespaceManager. - - WARNING: Do not use. Go via the higher-level ClusterSchema API instead. This manager - is likely to go aways anyways. +public class TableNamespaceManager +extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +This is a helper class used internally to manage the namespace metadata that is stored in the ns + family in meta table. @@ -142,29 +133,21 @@ implements Field and Description -private org.apache.hadoop.conf.Configuration -conf +private https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true; title="class or interface in java.util.concurrent">ConcurrentMaphttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,NamespaceDescriptor +cache (package private) static int DEFAULT_NS_INIT_TIMEOUT -private boolean -initialized - - static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String KEY_MAX_REGIONS - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String KEY_MAX_TABLES - -private static org.slf4j.Logger -LOG - private MasterServices masterServices @@ -173,18 +156,6 @@ implements (package private) static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String NS_INIT_TIMEOUT - -private Table -nsTable - - -private boolean -stopped - - -private ZKNamespaceManager -zkNamespaceManager - @@ -218,105 +189,53 @@ implements Method and Description -private static void -block(MasterServicesservices, - longprocId) -An ugly utility to be removed when refactor TableNamespaceManager. - +void +addOrUpdateNamespace(NamespaceDescriptorns) -private void -blockingCreateNamespace(NamespaceDescriptornamespaceDescriptor) -Create Namespace in a blocking manner. - +void +deleteNamespace(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringnamespaceName) -private void -createNamespaceTable(MasterServicesmasterServices) - - boolean -doesNamespaceExist(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringnamespaceName) +doesNamespaceExist(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringnamespaceName) +check whether a namespace has already existed. + - + NamespaceDescriptor get(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringname) - -private NamespaceDescriptor -get(Tabletable, - https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringname) - - + static long getMaxRegions(NamespaceDescriptorns) - + static long getMaxTables(NamespaceDescriptorns) - -private Table -getNamespaceTable() - - -private TableState -getTableState() - - -void -insertIntoNSTable(NamespaceDescriptorns) - - -boolean -isStopped() - - -private boolean
[25/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/procedure/DeleteNamespaceProcedure.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/procedure/DeleteNamespaceProcedure.html b/devapidocs/org/apache/hadoop/hbase/master/procedure/DeleteNamespaceProcedure.html index 89316ff..162edad 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/procedure/DeleteNamespaceProcedure.html +++ b/devapidocs/org/apache/hadoop/hbase/master/procedure/DeleteNamespaceProcedure.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":9,"i1":9,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"i9":10,"i10":10,"i11":10,"i12":10,"i13":9,"i14":9,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10}; +var methods = {"i0":9,"i1":9,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":9,"i12":10,"i13":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"; @@ -129,7 +129,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -public class DeleteNamespaceProcedure +public class DeleteNamespaceProcedure extends AbstractStateMachineNamespaceProcedureorg.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.DeleteNamespaceState The procedure to remove a namespace. @@ -191,10 +191,6 @@ extends private NamespaceDescriptor nsDescriptor - -private https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">Boolean -traceEnabled - @@ -210,6 +206,13 @@ extends Procedure NO_PROC_ID, NO_TIMEOUT + + + + +Fields inherited from interfaceorg.apache.hadoop.hbase.master.procedure.TableProcedureInterface +DUMMY_NAMESPACE_TABLE_NAME + @@ -251,17 +254,17 @@ extends Method and Description -protected static void +private static void deleteDirectory(MasterProcedureEnvenv, https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringnamespaceName) Delete the namespace directories from the file system -protected static void -deleteFromNSTable(MasterProcedureEnvenv, - https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringnamespaceName) -delete the row from namespace table +private static void +deleteNamespace(MasterProcedureEnvenv, + https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringnamespaceName) +delete the row from the ns family in meta table. @@ -301,93 +304,52 @@ extends -private static TableNamespaceManager -getTableNamespaceManager(MasterProcedureEnvenv) - - TableProcedureInterface.TableOperationType getTableOperationType() Given an operation type we can take decisions about what to do with pending operations. - + protected boolean isRollbackSupported(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.DeleteNamespaceStatestate) Used by the default implementation of abort() to know if the current state can be aborted and rollback can be triggered. - -private https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">Boolean -isTraceEnabled() -The procedure could be restarted from a different machine. - - - + private boolean prepareDelete(MasterProcedureEnvenv) Action before any real action of deleting namespace. - -protected static void -removeFromZKNamespaceManager(MasterProcedureEnvenv, -https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringnamespaceName) -remove from ZooKeeper. - - - -protected static void + +private static void removeNamespaceQuota(MasterProcedureEnvenv, https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringnamespaceName) remove quota for the namespace - -private void -rollbackDeleteDirectory(MasterProcedureEnvenv) -undo delete directory - - - + protected void rollbackState(MasterProcedureEnvenv, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.DeleteNamespaceStatestate) called to perform the rollback of the specified state - -private void -rollbacRemoveNamespaceQuota(MasterProcedureEnvenv) -undo remove quota for the namespace - - - + protected void serializeStateData(ProcedureStateSerializerserializer) The user-level code of the procedure may have some state to persist (e.g. - -private void -undoDeleteFromNSTable(MasterProcedureEnvenv) -undo the
[43/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/checkstyle-aggregate.html -- diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html index 540a373..5e3e983 100644 --- a/checkstyle-aggregate.html +++ b/checkstyle-aggregate.html @@ -7,7 +7,7 @@ - + Apache HBase Checkstyle Results @@ -291,10 +291,10 @@ Warnings Errors -3814 +3815 0 0 -14984 +14837 Files @@ -904,3795 +904,3785 @@ 0 2 -org/apache/hadoop/hbase/ZKNamespaceManager.java -0 -0 -1 - org/apache/hadoop/hbase/ZNodeClearer.java 0 0 2 - + org/apache/hadoop/hbase/backup/BackupDriver.java 0 0 1 - + org/apache/hadoop/hbase/backup/FailedArchiveException.java 0 0 1 - + org/apache/hadoop/hbase/backup/HFileArchiver.java 0 0 13 - + org/apache/hadoop/hbase/backup/TestBackupMerge.java 0 0 1 - + org/apache/hadoop/hbase/backup/example/HFileArchiveManager.java 0 0 4 - + org/apache/hadoop/hbase/backup/example/LongTermArchivingHFileCleaner.java 0 0 5 - + org/apache/hadoop/hbase/backup/example/TableHFileArchiveTracker.java 0 0 7 - + org/apache/hadoop/hbase/backup/example/TestZooKeeperTableArchiveClient.java 0 0 9 - + org/apache/hadoop/hbase/backup/example/ZKTableArchiveClient.java 0 0 2 - + org/apache/hadoop/hbase/backup/impl/BackupCommands.java 0 0 1 - + org/apache/hadoop/hbase/backup/impl/BackupManager.java 0 0 1 - + org/apache/hadoop/hbase/backup/impl/BackupSystemTable.java 0 0 1 - + org/apache/hadoop/hbase/chaos/actions/Action.java 0 0 5 - + org/apache/hadoop/hbase/chaos/actions/ChangeCompressionAction.java 0 0 1 - + org/apache/hadoop/hbase/chaos/actions/ChangeEncodingAction.java 0 0 1 - + org/apache/hadoop/hbase/chaos/actions/ChangeSplitPolicyAction.java 0 0 1 - + org/apache/hadoop/hbase/chaos/actions/ChangeVersionsAction.java 0 0 1 - + org/apache/hadoop/hbase/chaos/actions/FlushRandomRegionOfTableAction.java 0 0 1 - + org/apache/hadoop/hbase/chaos/actions/RestartRandomDataNodeAction.java 0 0 1 - + org/apache/hadoop/hbase/chaos/actions/RollingBatchRestartRsAction.java 0 0 20 - + org/apache/hadoop/hbase/chaos/actions/SplitAllRegionOfTableAction.java 0 0 1 - + org/apache/hadoop/hbase/chaos/actions/TruncateTableAction.java 0 0 1 - + org/apache/hadoop/hbase/chaos/factories/MasterKillingMonkeyFactory.java 0 0 5 - + org/apache/hadoop/hbase/chaos/factories/MobNoKillMonkeyFactory.java 0 0 1 - + org/apache/hadoop/hbase/chaos/factories/MobSlowDeterministicMonkeyFactory.java 0 0 24 - + org/apache/hadoop/hbase/chaos/factories/MonkeyConstants.java 0 0 1 - + org/apache/hadoop/hbase/chaos/factories/MonkeyFactory.java 0 0 1 - + org/apache/hadoop/hbase/chaos/factories/NoKillMonkeyFactory.java 0 0 18 - + org/apache/hadoop/hbase/chaos/factories/ServerKillingMonkeyFactory.java 0 0 5 - + org/apache/hadoop/hbase/chaos/factories/SlowDeterministicMonkeyFactory.java 0 0 42 - + org/apache/hadoop/hbase/chaos/factories/StressAssignmentManagerMonkeyFactory.java 0 0 19 - + org/apache/hadoop/hbase/chaos/monkies/PolicyBasedChaosMonkey.java 0 0 2 - + org/apache/hadoop/hbase/chaos/policies/PeriodicPolicy.java 0 0 1 - + org/apache/hadoop/hbase/chaos/policies/TwoConcurrentActionPolicy.java 0 0 1 - + org/apache/hadoop/hbase/client/AbstractClientScanner.java 0 0 1 - + org/apache/hadoop/hbase/client/AbstractResponse.java 0 0 2 - + org/apache/hadoop/hbase/client/Action.java 0 0 2 - + org/apache/hadoop/hbase/client/Admin.java 0 0 107 - + org/apache/hadoop/hbase/client/Append.java 0 0 3 - + org/apache/hadoop/hbase/client/AsyncAdmin.java 0 0 12 - + org/apache/hadoop/hbase/client/AsyncAdminBuilder.java 0 0 9 - + org/apache/hadoop/hbase/client/AsyncAdminRequestRetryingCaller.java 0 0 2 - + org/apache/hadoop/hbase/client/AsyncBatchRpcRetryingCaller.java 0 0 6 - + org/apache/hadoop/hbase/client/AsyncClientScanner.java 0 0 6 - + org/apache/hadoop/hbase/client/AsyncConnectionConfiguration.java 0 0 1 - + org/apache/hadoop/hbase/client/AsyncConnectionImpl.java 0 0 3 - + org/apache/hadoop/hbase/client/AsyncHBaseAdmin.java 0 0 1 - + org/apache/hadoop/hbase/client/AsyncMasterRequestRpcRetryingCaller.java 0 0 2 - + org/apache/hadoop/hbase/client/AsyncMetaRegionLocator.java 0 0 1 - + org/apache/hadoop/hbase/client/AsyncNonMetaRegionLocator.java 0 0 4 - + org/apache/hadoop/hbase/client/AsyncProcess.java 0 0 8 - + org/apache/hadoop/hbase/client/AsyncProcessTask.java 0 0 2 - + org/apache/hadoop/hbase/client/AsyncRegionLocator.java 0 0 2 - + org/apache/hadoop/hbase/client/AsyncRegistryFactory.java 0 0 1 - + org/apache/hadoop/hbase/client/AsyncRequestFuture.java 0 0 1 - + org/apache/hadoop/hbase/client/AsyncRequestFutureImpl.java 0 0 21 - + org/apache/hadoop/hbase/client/AsyncRpcRetryingCaller.java 0 0 3 - +
[40/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/HConstants.OperationStatusCode.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/HConstants.OperationStatusCode.html b/devapidocs/org/apache/hadoop/hbase/HConstants.OperationStatusCode.html index 48cd7b1..7dfacbb 100644 --- a/devapidocs/org/apache/hadoop/hbase/HConstants.OperationStatusCode.html +++ b/devapidocs/org/apache/hadoop/hbase/HConstants.OperationStatusCode.html @@ -123,7 +123,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -public static enum HConstants.OperationStatusCode +public static enum HConstants.OperationStatusCode extends https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">EnumHConstants.OperationStatusCode Status codes used for return values of bulk operations. @@ -224,7 +224,7 @@ the order they are declared. NOT_RUN -public static finalHConstants.OperationStatusCode NOT_RUN +public static finalHConstants.OperationStatusCode NOT_RUN @@ -233,7 +233,7 @@ the order they are declared. SUCCESS -public static finalHConstants.OperationStatusCode SUCCESS +public static finalHConstants.OperationStatusCode SUCCESS @@ -242,7 +242,7 @@ the order they are declared. BAD_FAMILY -public static finalHConstants.OperationStatusCode BAD_FAMILY +public static finalHConstants.OperationStatusCode BAD_FAMILY @@ -251,7 +251,7 @@ the order they are declared. STORE_TOO_BUSY -public static finalHConstants.OperationStatusCode STORE_TOO_BUSY +public static finalHConstants.OperationStatusCode STORE_TOO_BUSY @@ -260,7 +260,7 @@ the order they are declared. SANITY_CHECK_FAILURE -public static finalHConstants.OperationStatusCode SANITY_CHECK_FAILURE +public static finalHConstants.OperationStatusCode SANITY_CHECK_FAILURE @@ -269,7 +269,7 @@ the order they are declared. FAILURE -public static finalHConstants.OperationStatusCode FAILURE +public static finalHConstants.OperationStatusCode FAILURE @@ -286,7 +286,7 @@ the order they are declared. values -public staticHConstants.OperationStatusCode[]values() +public staticHConstants.OperationStatusCode[]values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows: @@ -306,7 +306,7 @@ for (HConstants.OperationStatusCode c : HConstants.OperationStatusCode.values()) valueOf -public staticHConstants.OperationStatusCodevalueOf(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringname) +public staticHConstants.OperationStatusCodevalueOf(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringname) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are
[49/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/apidocs/org/apache/hadoop/hbase/TableName.html -- diff --git a/apidocs/org/apache/hadoop/hbase/TableName.html b/apidocs/org/apache/hadoop/hbase/TableName.html index 79df019..809f914 100644 --- a/apidocs/org/apache/hadoop/hbase/TableName.html +++ b/apidocs/org/apache/hadoop/hbase/TableName.html @@ -178,7 +178,10 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab static TableName NAMESPACE_TABLE_NAME -The Namespace table's name. +Deprecated. +We have folded the data in namespace table into meta table, so do not use it any + more. + @@ -446,7 +449,10 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab NAMESPACE_TABLE_NAME -public static finalTableName NAMESPACE_TABLE_NAME +https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated +public static finalTableName NAMESPACE_TABLE_NAME +Deprecated.We have folded the data in namespace table into meta table, so do not use it any + more. The Namespace table's name. @@ -456,7 +462,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab OLD_META_STR -public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String OLD_META_STR +public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String OLD_META_STR See Also: Constant Field Values @@ -469,7 +475,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab OLD_ROOT_STR -public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String OLD_ROOT_STR +public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String OLD_ROOT_STR See Also: Constant Field Values @@ -482,7 +488,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab DISALLOWED_TABLE_NAME -public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String DISALLOWED_TABLE_NAME +public static finalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String DISALLOWED_TABLE_NAME One globally disallowed name See Also: @@ -496,7 +502,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab OLD_ROOT_TABLE_NAME -public static finalTableName OLD_ROOT_TABLE_NAME +public static finalTableName OLD_ROOT_TABLE_NAME TableName for old -ROOT- table. It is used to read/process old WALs which have ROOT edits. @@ -507,7 +513,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab OLD_META_TABLE_NAME -public static finalTableName OLD_META_TABLE_NAME +public static finalTableName OLD_META_TABLE_NAME TableName for old .META. table. Used in testing. @@ -525,7 +531,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab isMetaTableName -public staticbooleanisMetaTableName(TableNametn) +public staticbooleanisMetaTableName(TableNametn) Returns: True if tn is the hbase:meta table name. @@ -538,7 +544,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab isLegalFullyQualifiedTableName -public staticbyte[]isLegalFullyQualifiedTableName(byte[]tableName) +public staticbyte[]isLegalFullyQualifiedTableName(byte[]tableName) Check passed byte array, "tableName", is legal user-space table name. Returns: @@ -568,7 +574,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab isLegalTableQualifierName -public staticbyte[]isLegalTableQualifierName(byte[]qualifierName) +public staticbyte[]isLegalTableQualifierName(byte[]qualifierName) @@ -577,7 +583,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab isLegalTableQualifierName -public staticbyte[]isLegalTableQualifierName(byte[]qualifierName, +public staticbyte[]isLegalTableQualifierName(byte[]qualifierName, booleanisSnapshot) @@ -587,7 +593,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab isLegalTableQualifierName -public staticvoidisLegalTableQualifierName(byte[]qualifierName, +public staticvoidisLegalTableQualifierName(byte[]qualifierName, intstart, intend) Qualifier names can only contain 'word' characters @@ -607,7 +613,7 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/Comparab
[41/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/index-all.html -- diff --git a/devapidocs/index-all.html b/devapidocs/index-all.html index 21876de..09e884f 100644 --- a/devapidocs/index-all.html +++ b/devapidocs/index-all.html @@ -2112,6 +2112,12 @@ addOptWithArg(String, String, String) - Method in class org.apache.hadoop.hbase.util.AbstractHBaseTool +addOrUpdateNamespace(MasterProcedureEnv, NamespaceDescriptor) - Static method in class org.apache.hadoop.hbase.master.procedure.AbstractStateMachineNamespaceProcedure + +Insert/update the row into the ns family of meta table. + +addOrUpdateNamespace(NamespaceDescriptor) - Method in class org.apache.hadoop.hbase.master.TableNamespaceManager + addPeer(String, ReplicationPeerConfig, MapTableName, ? extends CollectionString) - Method in class org.apache.hadoop.hbase.client.replication.ReplicationAdmin Deprecated. @@ -4409,6 +4415,8 @@ attemptingUser - Variable in class org.apache.hadoop.hbase.security.HBaseSaslRpcServer +attempts - Variable in class org.apache.hadoop.hbase.master.procedure.InitMetaProcedure + attempts - Variable in class org.apache.hadoop.hbase.master.replication.AbstractPeerNoLockProcedure attempts - Variable in class org.apache.hadoop.hbase.util.RetryCounter @@ -6140,10 +6148,6 @@ block - Variable in class org.apache.hadoop.hbase.io.asyncfs.FanOutOneBlockAsyncDFSOutput -block(MasterServices, long) - Static method in class org.apache.hadoop.hbase.master.TableNamespaceManager - -An ugly utility to be removed when refactor TableNamespaceManager. - block - Variable in class org.apache.hadoop.hbase.regionserver.CellArrayMap BLOCK_ADDER - Static variable in class org.apache.hadoop.hbase.io.asyncfs.FanOutOneBlockAsyncDFSOutputHelper @@ -6441,10 +6445,6 @@ BLOCKING_STOREFILES_KEY - Static variable in class org.apache.hadoop.hbase.regionserver.HStore -blockingCreateNamespace(NamespaceDescriptor) - Method in class org.apache.hadoop.hbase.master.TableNamespaceManager - -Create Namespace in a blocking manner. - blockingFileCount - Variable in class org.apache.hadoop.hbase.regionserver.DefaultStoreFileManager blockingFileCount - Variable in class org.apache.hadoop.hbase.regionserver.HStore @@ -8045,6 +8045,8 @@ File cache for HFiles in the completed and currently running snapshots +cache - Variable in class org.apache.hadoop.hbase.master.TableNamespaceManager + CACHE - Variable in class org.apache.hadoop.hbase.quotas.FileArchiverNotifierFactoryImpl cache - Variable in class org.apache.hadoop.hbase.quotas.QuotaRetriever @@ -8063,8 +8065,6 @@ cache - Variable in class org.apache.hadoop.hbase.util.FSTableDescriptors -cache - Variable in class org.apache.hadoop.hbase.ZKNamespaceManager - CACHE_BASE - Static variable in class org.apache.hadoop.hbase.client.MetricsConnection CACHE_BLOCKS_ON_WRITE_KEY - Static variable in class org.apache.hadoop.hbase.io.hfile.CacheConfig @@ -16534,8 +16534,6 @@ conf - Variable in class org.apache.hadoop.hbase.master.SplitLogManager -conf - Variable in class org.apache.hadoop.hbase.master.TableNamespaceManager - conf - Variable in class org.apache.hadoop.hbase.mob.compactions.MobCompactor conf - Variable in class org.apache.hadoop.hbase.mob.MobFileCache @@ -19609,8 +19607,8 @@ createClusterConnection() - Method in class org.apache.hadoop.hbase.regionserver.HRegionServer -Create a 'smarter' Connection, one that is capable of by-passing RPC if the request is to - the local server; i.e. +Create a 'smarter' Connection, one that is capable of by-passing RPC if the request is to the + local server; i.e. createCombinedAsyncWriter(WALProvider.AsyncWriter, WALProvider.AsyncWriter) - Method in class org.apache.hadoop.hbase.regionserver.wal.DualAsyncFSWAL @@ -19865,10 +19863,12 @@ createDir(File) - Method in class org.apache.hadoop.hbase.zookeeper.MiniZooKeeperCluster -createDirectory(MasterProcedureEnv, NamespaceDescriptor) - Static method in class org.apache.hadoop.hbase.master.procedure.CreateNamespaceProcedure +createDirectory(MasterProcedureEnv, NamespaceDescriptor) - Static method in class org.apache.hadoop.hbase.master.procedure.AbstractStateMachineNamespaceProcedure Create the namespace directory +createDirectory(MasterFileSystem, NamespaceDescriptor) - Static method in class org.apache.hadoop.hbase.master.procedure.AbstractStateMachineNamespaceProcedure + createDirForRemoteWAL(MasterProcedureEnv) - Method in class org.apache.hadoop.hbase.master.replication.TransitPeerSyncReplicationStateProcedure createDirOnFileSystem(FileSystem, Configuration, Path) - Static method in class org.apache.hadoop.hbase.regionserver.HRegionFileSystem @@ -20507,8 +20507,6 @@ CreateNamespaceProcedureBiConsumer(String) - Constructor for class org.apache.hadoop.hbase.client.RawAsyncHBaseAdmin.CreateNamespaceProcedureBiConsumer
[19/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.BatchOperation.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.BatchOperation.html b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.BatchOperation.html index 4b4692b..d1b845f 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.BatchOperation.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.BatchOperation.html @@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab"; -private abstract static class HRegion.BatchOperationT +private abstract static class HRegion.BatchOperationT extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object Class that tracks the progress of a batch operations, accumulating status codes and tracking the index at which processing is proceeding. These batch operations may get split into @@ -408,7 +408,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html operations -protected finalT[] operations +protected finalT[] operations @@ -417,7 +417,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html retCodeDetails -protected finalOperationStatus[] retCodeDetails +protected finalOperationStatus[] retCodeDetails @@ -426,7 +426,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html walEditsFromCoprocessors -protected finalWALEdit[] walEditsFromCoprocessors +protected finalWALEdit[] walEditsFromCoprocessors @@ -435,7 +435,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html familyCellMaps -protected finalhttps://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Mapbyte[],https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCell[] familyCellMaps +protected finalhttps://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Mapbyte[],https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCell[] familyCellMaps @@ -444,7 +444,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html region -protected finalHRegion region +protected finalHRegion region @@ -453,7 +453,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html nextIndexToProcess -protectedint nextIndexToProcess +protectedint nextIndexToProcess @@ -462,7 +462,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html observedExceptions -protected finalHRegion.ObservedExceptionsInBatch observedExceptions +protected finalHRegion.ObservedExceptionsInBatch observedExceptions @@ -471,7 +471,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html durability -protectedDurability durability +protectedDurability durability @@ -480,7 +480,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html atomic -protectedboolean atomic +protectedboolean atomic @@ -499,7 +499,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html BatchOperation -publicBatchOperation(HRegionregion, +publicBatchOperation(HRegionregion, T[]operations) @@ -517,7 +517,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html visitBatchOperations -publicvoidvisitBatchOperations(booleanpendingOnly, +publicvoidvisitBatchOperations(booleanpendingOnly, intlastIndexExclusive, HRegion.BatchOperation.Visitorvisitor) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException @@ -534,7 +534,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html getMutation -public abstractMutationgetMutation(intindex) +public abstractMutationgetMutation(intindex) @@ -543,7 +543,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html getNonceGroup -public abstractlonggetNonceGroup(intindex) +public abstractlonggetNonceGroup(intindex) @@ -552,7 +552,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html getNonce -public abstractlonggetNonce(intindex) +public abstractlonggetNonce(intindex) @@ -561,7 +561,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html getMutationsForCoprocs -public abstractMutation[]getMutationsForCoprocs() +public abstractMutation[]getMutationsForCoprocs() This method is potentially expensive and useful mostly for
[02/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/src-html/org/apache/hadoop/hbase/master/ClusterSchemaServiceImpl.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/master/ClusterSchemaServiceImpl.html b/devapidocs/src-html/org/apache/hadoop/hbase/master/ClusterSchemaServiceImpl.html index 09e7d34..2149280 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/master/ClusterSchemaServiceImpl.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/master/ClusterSchemaServiceImpl.html @@ -26,118 +26,110 @@ 018package org.apache.hadoop.hbase.master; 019 020import java.io.IOException; -021import java.util.ArrayList; -022import java.util.Collections; -023import java.util.List; -024import java.util.Set; -025 -026import org.apache.hadoop.hbase.NamespaceDescriptor; -027import org.apache.hadoop.hbase.NamespaceNotFoundException; -028import org.apache.hadoop.hbase.ServiceNotRunningException; -029import org.apache.yetus.audience.InterfaceAudience; -030import org.apache.hadoop.hbase.master.procedure.CreateNamespaceProcedure; -031import org.apache.hadoop.hbase.master.procedure.DeleteNamespaceProcedure; -032import org.apache.hadoop.hbase.master.procedure.MasterProcedureEnv; -033import org.apache.hadoop.hbase.master.procedure.ModifyNamespaceProcedure; -034import org.apache.hadoop.hbase.master.procedure.ProcedurePrepareLatch; -035import org.apache.hadoop.hbase.procedure2.Procedure; -036import org.apache.hadoop.hbase.procedure2.ProcedureExecutor; -037import org.apache.hbase.thirdparty.com.google.common.util.concurrent.AbstractService; -038import org.apache.hadoop.hbase.util.NonceKey; -039 -040@InterfaceAudience.Private -041class ClusterSchemaServiceImpl extends AbstractService implements ClusterSchemaService { -042 private final TableNamespaceManager tableNamespaceManager; -043 private final MasterServices masterServices; -044 private final static ListNamespaceDescriptor EMPTY_NAMESPACE_LIST = -045Collections.unmodifiableList(new ArrayListNamespaceDescriptor(0)); -046 -047 ClusterSchemaServiceImpl(final MasterServices masterServices) { -048this.masterServices = masterServices; -049this.tableNamespaceManager = new TableNamespaceManager(masterServices); -050 } -051 -052 // All below are synchronized so consistent view on whether running or not. -053 -054 -055 private synchronized void checkIsRunning() throws ServiceNotRunningException { -056if (!isRunning()) throw new ServiceNotRunningException(); -057 } -058 -059 @Override -060 public synchronized void doStart() { -061try { -062 notifyStarted(); -063 this.tableNamespaceManager.start(); -064} catch (IOException ioe) { -065 notifyFailed(ioe); -066} -067 } -068 -069 @Override -070 protected void doStop() { -071// This is no stop for the table manager. -072notifyStopped(); -073TableNamespaceManager tnsm = getTableNamespaceManager(); -074if (tnsm != null) { -075 tnsm.stop("Stopping"); -076} -077 } -078 -079 @Override -080 public TableNamespaceManager getTableNamespaceManager() { -081return this.tableNamespaceManager; -082 } -083 -084 private long submitProcedure(final ProcedureMasterProcedureEnv procedure, -085 final NonceKey nonceKey) throws ServiceNotRunningException { -086checkIsRunning(); -087 ProcedureExecutorMasterProcedureEnv pe = this.masterServices.getMasterProcedureExecutor(); -088return pe.submitProcedure(procedure, nonceKey); -089 } -090 -091 @Override -092 public long createNamespace(NamespaceDescriptor namespaceDescriptor, final NonceKey nonceKey, -093 final ProcedurePrepareLatch latch) -094 throws IOException { -095return submitProcedure(new CreateNamespaceProcedure( -096 this.masterServices.getMasterProcedureExecutor().getEnvironment(), namespaceDescriptor, latch), -097nonceKey); -098 } -099 -100 @Override -101 public long modifyNamespace(NamespaceDescriptor namespaceDescriptor, final NonceKey nonceKey, -102 final ProcedurePrepareLatch latch) throws IOException { -103return submitProcedure(new ModifyNamespaceProcedure( -104 this.masterServices.getMasterProcedureExecutor().getEnvironment(), namespaceDescriptor, latch), -105nonceKey); -106 } -107 -108 @Override -109 public long deleteNamespace(String name, final NonceKey nonceKey, final ProcedurePrepareLatch latch) -110 throws IOException { -111return submitProcedure(new DeleteNamespaceProcedure( -112 this.masterServices.getMasterProcedureExecutor().getEnvironment(), name, latch), -113 nonceKey); -114 } -115 -116 @Override -117 public NamespaceDescriptor getNamespace(String name) throws IOException { -118NamespaceDescriptor nsd = getTableNamespaceManager().get(name); -119if (nsd == null) throw new NamespaceNotFoundException(name); -120return nsd; -121 }
[34/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/client/package-tree.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/package-tree.html b/devapidocs/org/apache/hadoop/hbase/client/package-tree.html index e802a67..a9f1b7a 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/client/package-tree.html @@ -555,24 +555,24 @@ java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">EnumE (implements java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableT, java.io.https://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.client.Durability -org.apache.hadoop.hbase.client.RegionLocateType -org.apache.hadoop.hbase.client.RequestController.ReturnCode -org.apache.hadoop.hbase.client.AsyncScanSingleRegionRpcRetryingCaller.ScanControllerState -org.apache.hadoop.hbase.client.CompactionState +org.apache.hadoop.hbase.client.AsyncRequestFutureImpl.Retry org.apache.hadoop.hbase.client.IsolationLevel -org.apache.hadoop.hbase.client.AbstractResponse.ResponseType +org.apache.hadoop.hbase.client.CompactionState org.apache.hadoop.hbase.client.AsyncScanSingleRegionRpcRetryingCaller.ScanResumerState -org.apache.hadoop.hbase.client.ScannerCallable.MoreResults -org.apache.hadoop.hbase.client.AsyncRequestFutureImpl.Retry +org.apache.hadoop.hbase.client.AsyncProcessTask.SubmittedRows org.apache.hadoop.hbase.client.SnapshotType -org.apache.hadoop.hbase.client.MobCompactPartitionPolicy org.apache.hadoop.hbase.client.MasterSwitchType -org.apache.hadoop.hbase.client.Consistency -org.apache.hadoop.hbase.client.CompactType -org.apache.hadoop.hbase.client.AsyncProcessTask.SubmittedRows org.apache.hadoop.hbase.client.TableState.State +org.apache.hadoop.hbase.client.RequestController.ReturnCode +org.apache.hadoop.hbase.client.AbstractResponse.ResponseType +org.apache.hadoop.hbase.client.Durability +org.apache.hadoop.hbase.client.CompactType +org.apache.hadoop.hbase.client.MobCompactPartitionPolicy org.apache.hadoop.hbase.client.Scan.ReadType +org.apache.hadoop.hbase.client.ScannerCallable.MoreResults +org.apache.hadoop.hbase.client.RegionLocateType +org.apache.hadoop.hbase.client.AsyncScanSingleRegionRpcRetryingCaller.ScanControllerState +org.apache.hadoop.hbase.client.Consistency http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/client/package-use.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/package-use.html b/devapidocs/org/apache/hadoop/hbase/client/package-use.html index 85c9105..1d81f16 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/package-use.html +++ b/devapidocs/org/apache/hadoop/hbase/client/package-use.html @@ -2279,11 +2279,6 @@ service. -Table -Used to communicate with a single HBase table. - - - TableDescriptor TableDescriptor contains the details about an HBase table such as the descriptors of all the column families, is the table a catalog table, hbase:meta , @@ -2291,15 +2286,15 @@ service. when the region split should occur, coprocessors associated with it etc... - + TableDescriptorBuilder - + TableState Represents table state. - + TableState.State http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/coprocessor/package-tree.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/coprocessor/package-tree.html b/devapidocs/org/apache/hadoop/hbase/coprocessor/package-tree.html index 329f62f..e67b778 100644 --- a/devapidocs/org/apache/hadoop/hbase/coprocessor/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/coprocessor/package-tree.html @@ -201,8 +201,8 @@ java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">EnumE (implements java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableT, java.io.https://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.coprocessor.RegionObserver.MutationType org.apache.hadoop.hbase.coprocessor.MetaTableMetrics.MetaTableOps +org.apache.hadoop.hbase.coprocessor.RegionObserver.MutationType http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/exceptions/class-use/TimeoutIOException.html
[07/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.Builder.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.Builder.html b/devapidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.Builder.html index 8e3eb2f..3080df8 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.Builder.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.Builder.html @@ -174,7 +174,7 @@ 166 167private Builder(NamespaceDescriptor ns) { 168 this.bName = ns.name; -169 this.bConfiguration = ns.configuration; +169 this.bConfiguration.putAll(ns.configuration); 170} 171 172private Builder(String name) { http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.html b/devapidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.html index 8e3eb2f..3080df8 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/NamespaceDescriptor.html @@ -174,7 +174,7 @@ 166 167private Builder(NamespaceDescriptor ns) { 168 this.bName = ns.name; -169 this.bConfiguration = ns.configuration; +169 this.bConfiguration.putAll(ns.configuration); 170} 171 172private Builder(String name) {
[27/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/assignment/class-use/ServerStateNode.ServerReportEvent.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/assignment/class-use/ServerStateNode.ServerReportEvent.html b/devapidocs/org/apache/hadoop/hbase/master/assignment/class-use/ServerStateNode.ServerReportEvent.html deleted file mode 100644 index 908d0ce..000 --- a/devapidocs/org/apache/hadoop/hbase/master/assignment/class-use/ServerStateNode.ServerReportEvent.html +++ /dev/null @@ -1,165 +0,0 @@ -http://www.w3.org/TR/html4/loose.dtd;> - - - - - -Uses of Class org.apache.hadoop.hbase.master.assignment.ServerStateNode.ServerReportEvent (Apache HBase 3.0.0-SNAPSHOT API) - - - - - - - -JavaScript is disabled on your browser. - - - - - -Skip navigation links - - - - -Overview -Package -Class -Use -Tree -Deprecated -Index -Help - - - - -Prev -Next - - -Frames -NoFrames - - -AllClasses - - - - - - - - - - -Uses of Classorg.apache.hadoop.hbase.master.assignment.ServerStateNode.ServerReportEvent - - - - - -Packages that use ServerStateNode.ServerReportEvent - -Package -Description - - - -org.apache.hadoop.hbase.master.assignment - - - - - - - - - - -Uses of ServerStateNode.ServerReportEvent in org.apache.hadoop.hbase.master.assignment - -Fields in org.apache.hadoop.hbase.master.assignment declared as ServerStateNode.ServerReportEvent - -Modifier and Type -Field and Description - - - -private ServerStateNode.ServerReportEvent -ServerStateNode.reportEvent - - - - - - - - - - - - -Skip navigation links - - - - -Overview -Package -Class -Use -Tree -Deprecated -Index -Help - - - - -Prev -Next - - -Frames -NoFrames - - -AllClasses - - - - - - - - - -Copyright 20072018 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - - http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/assignment/class-use/ServerStateNode.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/assignment/class-use/ServerStateNode.html b/devapidocs/org/apache/hadoop/hbase/master/assignment/class-use/ServerStateNode.html index 44fe1fc..7e57352 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/assignment/class-use/ServerStateNode.html +++ b/devapidocs/org/apache/hadoop/hbase/master/assignment/class-use/ServerStateNode.html @@ -159,10 +159,6 @@ org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionStateTransition.TransitionCodestate, longseqId) - -protected void -AssignmentManager.wakeServerReportEvent(ServerStateNodeserverNode) - http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/assignment/package-frame.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/assignment/package-frame.html b/devapidocs/org/apache/hadoop/hbase/master/assignment/package-frame.html index 34c6cb8..03103e1 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/assignment/package-frame.html +++ b/devapidocs/org/apache/hadoop/hbase/master/assignment/package-frame.html @@ -37,7 +37,6 @@ RegionStateStore RegionTransitionProcedure ServerStateNode -ServerStateNode.ServerReportEvent SplitTableRegionProcedure TransitRegionStateProcedure UnassignProcedure http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/assignment/package-summary.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/assignment/package-summary.html b/devapidocs/org/apache/hadoop/hbase/master/assignment/package-summary.html index 3235ced..577da39 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/assignment/package-summary.html +++ b/devapidocs/org/apache/hadoop/hbase/master/assignment/package-summary.html @@ -210,22 +210,18 @@ -ServerStateNode.ServerReportEvent - - - SplitTableRegionProcedure The procedure to split a region in a table. -
[45/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/apidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html b/apidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html index 16c2238..a626878 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.html @@ -228,1032 +228,1032 @@ 220RESERVED_KEYWORDS.add(IS_META_KEY); 221 } 222 -223 @InterfaceAudience.Private -224 public final static String NAMESPACE_FAMILY_INFO = "info"; -225 @InterfaceAudience.Private -226 public final static byte[] NAMESPACE_FAMILY_INFO_BYTES = Bytes.toBytes(NAMESPACE_FAMILY_INFO); +223 /** +224 * @deprecated namespace table has been folded into the ns family in meta table, do not use this +225 * any more. +226 */ 227 @InterfaceAudience.Private -228 public final static byte[] NAMESPACE_COL_DESC_BYTES = Bytes.toBytes("d"); -229 -230 /** -231 * pre -232 * Pattern that matches a coprocessor specification. Form is: -233 * {@code coprocessor jar file location '|' class name ['|' priority ['|' arguments]]} -234 * where arguments are {@code KEY '=' VALUE [,...]} -235 * For example: {@code hdfs:///foo.jar|com.foo.FooRegionObserver|1001|arg1=1,arg2=2} -236 * /pre -237 */ -238 private static final Pattern CP_HTD_ATTR_VALUE_PATTERN = -239 Pattern.compile("(^[^\\|]*)\\|([^\\|]+)\\|[\\s]*([\\d]*)[\\s]*(\\|.*)?$"); -240 -241 private static final String CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN = "[^=,]+"; -242 private static final String CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN = "[^,]+"; -243 private static final Pattern CP_HTD_ATTR_VALUE_PARAM_PATTERN = Pattern.compile( -244"(" + CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN + ")=(" + -245 CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN + "),?"); -246 private static final Pattern CP_HTD_ATTR_KEY_PATTERN = -247 Pattern.compile("^coprocessor\\$([0-9]+)$", Pattern.CASE_INSENSITIVE); -248 /** -249 * Table descriptor for namespace table -250 */ -251 // TODO We used to set CacheDataInL1 for NS table. When we have BucketCache in file mode, now the -252 // NS data goes to File mode BC only. Test how that affect the system. If too much, we have to -253 // rethink about adding back the setCacheDataInL1 for NS table. -254 public static final TableDescriptor NAMESPACE_TABLEDESC -255= TableDescriptorBuilder.newBuilder(TableName.NAMESPACE_TABLE_NAME) -256 .setColumnFamily(ColumnFamilyDescriptorBuilder.newBuilder(NAMESPACE_FAMILY_INFO_BYTES) -257// Ten is arbitrary number. Keep versions to help debugging. -258.setMaxVersions(10) -259.setInMemory(true) -260.setBlocksize(8 * 1024) -261 .setScope(HConstants.REPLICATION_SCOPE_LOCAL) -262.build()) -263 .build(); -264 private final ModifyableTableDescriptor desc; +228 @Deprecated +229 public final static String NAMESPACE_FAMILY_INFO = "info"; +230 +231 /** +232 * @deprecated namespace table has been folded into the ns family in meta table, do not use this +233 * any more. +234 */ +235 @InterfaceAudience.Private +236 @Deprecated +237 public final static byte[] NAMESPACE_FAMILY_INFO_BYTES = Bytes.toBytes(NAMESPACE_FAMILY_INFO); +238 +239 /** +240 * @deprecated namespace table has been folded into the ns family in meta table, do not use this +241 * any more. +242 */ +243 @InterfaceAudience.Private +244 @Deprecated +245 public final static byte[] NAMESPACE_COL_DESC_BYTES = Bytes.toBytes("d"); +246 +247 /** +248 * pre +249 * Pattern that matches a coprocessor specification. Form is: +250 * {@code coprocessor jar file location '|' class name ['|' priority ['|' arguments]]} +251 * where arguments are {@code KEY '=' VALUE [,...]} +252 * For example: {@code hdfs:///foo.jar|com.foo.FooRegionObserver|1001|arg1=1,arg2=2} +253 * /pre +254 */ +255 private static final Pattern CP_HTD_ATTR_VALUE_PATTERN = +256 Pattern.compile("(^[^\\|]*)\\|([^\\|]+)\\|[\\s]*([\\d]*)[\\s]*(\\|.*)?$"); +257 +258 private static final String CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN = "[^=,]+"; +259 private static final String CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN = "[^,]+"; +260 private static final Pattern CP_HTD_ATTR_VALUE_PARAM_PATTERN = Pattern.compile( +261"(" + CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN + ")=(" + +262 CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN + "),?"); +263 private static final Pattern CP_HTD_ATTR_KEY_PATTERN = +264 Pattern.compile("^coprocessor\\$([0-9]+)$", Pattern.CASE_INSENSITIVE); 265 266 /** -267 * @param desc The table descriptor to serialize -268 * @return This instance serialized with pb with pb magic prefix -269 */ -270
[23/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/procedure/ModifyNamespaceProcedure.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/procedure/ModifyNamespaceProcedure.html b/devapidocs/org/apache/hadoop/hbase/master/procedure/ModifyNamespaceProcedure.html index cb0eb2d..a08c4ed 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/procedure/ModifyNamespaceProcedure.html +++ b/devapidocs/org/apache/hadoop/hbase/master/procedure/ModifyNamespaceProcedure.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}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -129,7 +129,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -public class ModifyNamespaceProcedure +public class ModifyNamespaceProcedure extends AbstractStateMachineNamespaceProcedureorg.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.ModifyNamespaceState The procedure to add a namespace to an existing table. @@ -191,10 +191,6 @@ extends private NamespaceDescriptor oldNsDescriptor - -private https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">Boolean -traceEnabled - @@ -210,6 +206,13 @@ extends Procedure NO_PROC_ID, NO_TIMEOUT + + + + +Fields inherited from interfaceorg.apache.hadoop.hbase.master.procedure.TableProcedureInterface +DUMMY_NAMESPACE_TABLE_NAME + @@ -287,67 +290,45 @@ extends -private TableNamespaceManager -getTableNamespaceManager(MasterProcedureEnvenv) - - TableProcedureInterface.TableOperationType getTableOperationType() Given an operation type we can take decisions about what to do with pending operations. - -private void -insertIntoNSTable(MasterProcedureEnvenv) -Insert/update the row into namespace table - - - + protected boolean isRollbackSupported(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.ModifyNamespaceStatestate) Used by the default implementation of abort() to know if the current state can be aborted and rollback can be triggered. - -private https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">Boolean -isTraceEnabled() -The procedure could be restarted from a different machine. - - - + private boolean prepareModify(MasterProcedureEnvenv) Action before any real action of adding namespace. - + protected void rollbackState(MasterProcedureEnvenv, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProcedureProtos.ModifyNamespaceStatestate) called to perform the rollback of the specified state - + protected void serializeStateData(ProcedureStateSerializerserializer) The user-level code of the procedure may have some state to persist (e.g. - -private void -updateZKNamespaceManager(MasterProcedureEnvenv) -Update ZooKeeper. - - Methods inherited from classorg.apache.hadoop.hbase.master.procedure.AbstractStateMachineNamespaceProcedure -acquireLock, getTableName, releaseLock, releaseSyncLatch, toStringClassDetails, waitInitialized +acquireLock, addOrUpdateNamespace, createDirectory, createDirectory, getTableName, getTableNamespaceManager, releaseLock, releaseSyncLatch, toStringClassDetails, waitInitialized @@ -390,7 +371,7 @@ extends LOG -private static finalorg.slf4j.Logger LOG +private static finalorg.slf4j.Logger LOG @@ -399,25 +380,16 @@ extends oldNsDescriptor -privateNamespaceDescriptor oldNsDescriptor +privateNamespaceDescriptor oldNsDescriptor - - -newNsDescriptor -privateNamespaceDescriptor newNsDescriptor - - - - - -traceEnabled -privatehttps://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">Boolean traceEnabled +newNsDescriptor +privateNamespaceDescriptor newNsDescriptor @@ -434,7 +406,7 @@ extends ModifyNamespaceProcedure -publicModifyNamespaceProcedure() +publicModifyNamespaceProcedure() @@ -443,7 +415,7 @@ extends ModifyNamespaceProcedure -publicModifyNamespaceProcedure(MasterProcedureEnvenv, +publicModifyNamespaceProcedure(MasterProcedureEnvenv, NamespaceDescriptornewNsDescriptor) @@ -453,7 +425,7 @@ extends ModifyNamespaceProcedure -publicModifyNamespaceProcedure(MasterProcedureEnvenv, +publicModifyNamespaceProcedure(MasterProcedureEnvenv, NamespaceDescriptornewNsDescriptor,
[44/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/book.html -- diff --git a/book.html b/book.html index e9b46f2..41ea882 100644 --- a/book.html +++ b/book.html @@ -41318,7 +41318,7 @@ org/apache/hadoop/hbase/security/access/AccessControlClient.revoke:(Lorg/apache/ Version 3.0.0-SNAPSHOT -Last updated 2018-11-24 14:32:49 UTC +Last updated 2018-11-26 14:33:04 UTC http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/bulk-loads.html -- diff --git a/bulk-loads.html b/bulk-loads.html index 74a0a53..c04dd4f 100644 --- a/bulk-loads.html +++ b/bulk-loads.html @@ -7,7 +7,7 @@ - + Apache HBase Bulk Loads in Apache HBase (TM) @@ -316,7 +316,7 @@ under the License. --> https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2018-11-24 + Last Published: 2018-11-26
[04/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.ModifyableTableDescriptor.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.ModifyableTableDescriptor.html b/devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.ModifyableTableDescriptor.html index 16c2238..a626878 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.ModifyableTableDescriptor.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/client/TableDescriptorBuilder.ModifyableTableDescriptor.html @@ -228,1032 +228,1032 @@ 220RESERVED_KEYWORDS.add(IS_META_KEY); 221 } 222 -223 @InterfaceAudience.Private -224 public final static String NAMESPACE_FAMILY_INFO = "info"; -225 @InterfaceAudience.Private -226 public final static byte[] NAMESPACE_FAMILY_INFO_BYTES = Bytes.toBytes(NAMESPACE_FAMILY_INFO); +223 /** +224 * @deprecated namespace table has been folded into the ns family in meta table, do not use this +225 * any more. +226 */ 227 @InterfaceAudience.Private -228 public final static byte[] NAMESPACE_COL_DESC_BYTES = Bytes.toBytes("d"); -229 -230 /** -231 * pre -232 * Pattern that matches a coprocessor specification. Form is: -233 * {@code coprocessor jar file location '|' class name ['|' priority ['|' arguments]]} -234 * where arguments are {@code KEY '=' VALUE [,...]} -235 * For example: {@code hdfs:///foo.jar|com.foo.FooRegionObserver|1001|arg1=1,arg2=2} -236 * /pre -237 */ -238 private static final Pattern CP_HTD_ATTR_VALUE_PATTERN = -239 Pattern.compile("(^[^\\|]*)\\|([^\\|]+)\\|[\\s]*([\\d]*)[\\s]*(\\|.*)?$"); -240 -241 private static final String CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN = "[^=,]+"; -242 private static final String CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN = "[^,]+"; -243 private static final Pattern CP_HTD_ATTR_VALUE_PARAM_PATTERN = Pattern.compile( -244"(" + CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN + ")=(" + -245 CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN + "),?"); -246 private static final Pattern CP_HTD_ATTR_KEY_PATTERN = -247 Pattern.compile("^coprocessor\\$([0-9]+)$", Pattern.CASE_INSENSITIVE); -248 /** -249 * Table descriptor for namespace table -250 */ -251 // TODO We used to set CacheDataInL1 for NS table. When we have BucketCache in file mode, now the -252 // NS data goes to File mode BC only. Test how that affect the system. If too much, we have to -253 // rethink about adding back the setCacheDataInL1 for NS table. -254 public static final TableDescriptor NAMESPACE_TABLEDESC -255= TableDescriptorBuilder.newBuilder(TableName.NAMESPACE_TABLE_NAME) -256 .setColumnFamily(ColumnFamilyDescriptorBuilder.newBuilder(NAMESPACE_FAMILY_INFO_BYTES) -257// Ten is arbitrary number. Keep versions to help debugging. -258.setMaxVersions(10) -259.setInMemory(true) -260.setBlocksize(8 * 1024) -261 .setScope(HConstants.REPLICATION_SCOPE_LOCAL) -262.build()) -263 .build(); -264 private final ModifyableTableDescriptor desc; +228 @Deprecated +229 public final static String NAMESPACE_FAMILY_INFO = "info"; +230 +231 /** +232 * @deprecated namespace table has been folded into the ns family in meta table, do not use this +233 * any more. +234 */ +235 @InterfaceAudience.Private +236 @Deprecated +237 public final static byte[] NAMESPACE_FAMILY_INFO_BYTES = Bytes.toBytes(NAMESPACE_FAMILY_INFO); +238 +239 /** +240 * @deprecated namespace table has been folded into the ns family in meta table, do not use this +241 * any more. +242 */ +243 @InterfaceAudience.Private +244 @Deprecated +245 public final static byte[] NAMESPACE_COL_DESC_BYTES = Bytes.toBytes("d"); +246 +247 /** +248 * pre +249 * Pattern that matches a coprocessor specification. Form is: +250 * {@code coprocessor jar file location '|' class name ['|' priority ['|' arguments]]} +251 * where arguments are {@code KEY '=' VALUE [,...]} +252 * For example: {@code hdfs:///foo.jar|com.foo.FooRegionObserver|1001|arg1=1,arg2=2} +253 * /pre +254 */ +255 private static final Pattern CP_HTD_ATTR_VALUE_PATTERN = +256 Pattern.compile("(^[^\\|]*)\\|([^\\|]+)\\|[\\s]*([\\d]*)[\\s]*(\\|.*)?$"); +257 +258 private static final String CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN = "[^=,]+"; +259 private static final String CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN = "[^,]+"; +260 private static final Pattern CP_HTD_ATTR_VALUE_PARAM_PATTERN = Pattern.compile( +261"(" + CP_HTD_ATTR_VALUE_PARAM_KEY_PATTERN + ")=(" + +262 CP_HTD_ATTR_VALUE_PARAM_VALUE_PATTERN + "),?"); +263 private static final Pattern CP_HTD_ATTR_KEY_PATTERN = +264 Pattern.compile("^coprocessor\\$([0-9]+)$", Pattern.CASE_INSENSITIVE); 265 266 /**
[48/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/apidocs/src-html/org/apache/hadoop/hbase/HConstants.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/HConstants.html b/apidocs/src-html/org/apache/hadoop/hbase/HConstants.html index 333b785..da8def9 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/HConstants.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/HConstants.html @@ -34,1359 +34,1365 @@ 026import java.util.List; 027import java.util.UUID; 028import java.util.regex.Pattern; -029 -030import org.apache.commons.lang3.ArrayUtils; -031import org.apache.hadoop.hbase.util.Bytes; -032import org.apache.yetus.audience.InterfaceAudience; -033 -034/** -035 * HConstants holds a bunch of HBase-related constants -036 */ -037@InterfaceAudience.Public -038public final class HConstants { -039 // NOTICE Please do not add a constants here, unless they are referenced by a lot of classes. -040 -041 //Bytes.UTF8_ENCODING should be updated if this changed -042 /** When we encode strings, we always specify UTF8 encoding */ -043 public static final String UTF8_ENCODING = "UTF-8"; -044 -045 //Bytes.UTF8_CHARSET should be updated if this changed -046 /** When we encode strings, we always specify UTF8 encoding */ -047 public static final Charset UTF8_CHARSET = Charset.forName(UTF8_ENCODING); -048 /** -049 * Default block size for an HFile. -050 */ -051 public final static int DEFAULT_BLOCKSIZE = 64 * 1024; -052 -053 /** Used as a magic return value while optimized index key feature enabled(HBASE-7845) */ -054 public final static int INDEX_KEY_MAGIC = -2; -055 /* -056 * Name of directory that holds recovered edits written by the wal log -057 * splitting code, one per region -058 */ -059 public static final String RECOVERED_EDITS_DIR = "recovered.edits"; -060 /** -061 * The first four bytes of Hadoop RPC connections -062 */ -063 public static final byte[] RPC_HEADER = new byte[] { 'H', 'B', 'a', 's' }; -064 public static final byte RPC_CURRENT_VERSION = 0; -065 -066 // HFileBlock constants. TODO THESE DEFINES BELONG IN HFILEBLOCK, NOT UP HERE. -067 // Needed down in hbase-common though by encoders but these encoders should not be dealing -068 // in the internals of hfileblocks. Fix encapsulation. -069 -070 /** The size data structures with minor version is 0 */ -071 public static final int HFILEBLOCK_HEADER_SIZE_NO_CHECKSUM = MAGIC_LENGTH + 2 * Bytes.SIZEOF_INT -072 + Bytes.SIZEOF_LONG; -073 /** The size of a version 2 HFile block header, minor version 1. -074 * There is a 1 byte checksum type, followed by a 4 byte bytesPerChecksum -075 * followed by another 4 byte value to store sizeofDataOnDisk. -076 */ -077 public static final int HFILEBLOCK_HEADER_SIZE = HFILEBLOCK_HEADER_SIZE_NO_CHECKSUM + -078Bytes.SIZEOF_BYTE + 2 * Bytes.SIZEOF_INT; -079 /** Just an array of bytes of the right size. */ -080 public static final byte[] HFILEBLOCK_DUMMY_HEADER = new byte[HFILEBLOCK_HEADER_SIZE]; -081 -082 //End HFileBlockConstants. -083 -084 /** -085 * Status codes used for return values of bulk operations. -086 */ -087 @InterfaceAudience.Private -088 public enum OperationStatusCode { -089NOT_RUN, -090SUCCESS, -091BAD_FAMILY, -092STORE_TOO_BUSY, -093SANITY_CHECK_FAILURE, -094FAILURE -095 } -096 -097 /** long constant for zero */ -098 public static final Long ZERO_L = Long.valueOf(0L); -099 public static final String NINES = "99"; -100 public static final String ZEROES = "00"; -101 -102 // For migration -103 -104 /** name of version file */ -105 public static final String VERSION_FILE_NAME = "hbase.version"; -106 -107 /** -108 * Current version of file system. -109 * Version 4 supports only one kind of bloom filter. -110 * Version 5 changes versions in catalog table regions. -111 * Version 6 enables blockcaching on catalog tables. -112 * Version 7 introduces hfile -- hbase 0.19 to 0.20.. -113 * Version 8 introduces namespace -114 */ -115 // public static final String FILE_SYSTEM_VERSION = "6"; -116 public static final String FILE_SYSTEM_VERSION = "8"; -117 -118 // Configuration parameters -119 -120 //TODO: Is having HBase homed on port 60k OK? -121 -122 /** Cluster is in distributed mode or not */ -123 public static final String CLUSTER_DISTRIBUTED = "hbase.cluster.distributed"; -124 -125 /** Config for pluggable load balancers */ -126 public static final String HBASE_MASTER_LOADBALANCER_CLASS = "hbase.master.loadbalancer.class"; -127 -128 /** Config for balancing the cluster by table */ -129 public static final String HBASE_MASTER_LOADBALANCE_BYTABLE = "hbase.master.loadbalance.bytable"; -130 -131 /** Config for the max percent of regions in transition */ -132 public static final String HBASE_MASTER_BALANCER_MAX_RIT_PERCENT = -133
[36/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/client/TableDescriptorBuilder.ModifyableTableDescriptor.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/TableDescriptorBuilder.ModifyableTableDescriptor.html b/devapidocs/org/apache/hadoop/hbase/client/TableDescriptorBuilder.ModifyableTableDescriptor.html index cf030a2..650d72e 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/TableDescriptorBuilder.ModifyableTableDescriptor.html +++ b/devapidocs/org/apache/hadoop/hbase/client/TableDescriptorBuilder.ModifyableTableDescriptor.html @@ -118,7 +118,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -public static class TableDescriptorBuilder.ModifyableTableDescriptor +public static class TableDescriptorBuilder.ModifyableTableDescriptor extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object implements TableDescriptor, https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableTableDescriptorBuilder.ModifyableTableDescriptor TODO: make this private after removing the HTableDescriptor @@ -664,7 +664,7 @@ implements name -private finalTableName name +private finalTableName name @@ -673,7 +673,7 @@ implements values -private finalhttps://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">MapBytes,Bytes values +private finalhttps://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">MapBytes,Bytes values A map which holds the metadata information of the table. This metadata includes values like IS_META, SPLIT_POLICY, MAX_FILE_SIZE, READONLY, MEMSTORE_FLUSHSIZE etc... @@ -685,7 +685,7 @@ implements families -private finalhttps://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Mapbyte[],ColumnFamilyDescriptor families +private finalhttps://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Mapbyte[],ColumnFamilyDescriptor families Maps column family name to the respective FamilyDescriptors @@ -704,7 +704,7 @@ implements ModifyableTableDescriptor @InterfaceAudience.Private -publicModifyableTableDescriptor(TableNamename) +publicModifyableTableDescriptor(TableNamename) Construct a table descriptor specifying a TableName object Parameters: @@ -719,7 +719,7 @@ public ModifyableTableDescriptor -privateModifyableTableDescriptor(TableDescriptordesc) +privateModifyableTableDescriptor(TableDescriptordesc) @@ -730,7 +730,7 @@ publichttps://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -publicModifyableTableDescriptor(TableNamename, +publicModifyableTableDescriptor(TableNamename, TableDescriptordesc) Deprecated. Construct a table descriptor by cloning the descriptor passed as a @@ -751,7 +751,7 @@ public ModifyableTableDescriptor -privateModifyableTableDescriptor(TableNamename, +privateModifyableTableDescriptor(TableNamename, https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true; title="class or interface in java.util">CollectionColumnFamilyDescriptorfamilies, https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">MapBytes,Bytesvalues) @@ -770,7 +770,7 @@ public isMetaRegion -publicbooleanisMetaRegion() +publicbooleanisMetaRegion() Checks if this table is hbase:meta region. Specified by: @@ -786,7 +786,7 @@ public isMetaTable -publicbooleanisMetaTable() +publicbooleanisMetaTable() Checks if the table is a hbase:meta table Specified by: @@ -802,7 +802,7 @@ public getValue -publicBytesgetValue(Byteskey) +publicBytesgetValue(Byteskey) Description copied from interface:TableDescriptor Getter for accessing the metadata associated with the key. @@ -821,7 +821,7 @@ public getValue -publichttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringgetValue(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringkey) +publichttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringgetValue(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringkey) Description copied from
[46/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/apidocs/src-html/org/apache/hadoop/hbase/TableName.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/TableName.html b/apidocs/src-html/org/apache/hadoop/hbase/TableName.html index 10f7ae8..99abe5f 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/TableName.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/TableName.html @@ -88,462 +88,467 @@ 080 public static final TableName META_TABLE_NAME = 081 valueOf(NamespaceDescriptor.SYSTEM_NAMESPACE_NAME_STR, "meta"); 082 -083 /** The Namespace table's name. */ -084 public static final TableName NAMESPACE_TABLE_NAME = -085 valueOf(NamespaceDescriptor.SYSTEM_NAMESPACE_NAME_STR, "namespace"); -086 -087 public static final String OLD_META_STR = ".META."; -088 public static final String OLD_ROOT_STR = "-ROOT-"; -089 -090 /** One globally disallowed name */ -091 public static final String DISALLOWED_TABLE_NAME = "zookeeper"; -092 -093 /** -094 * @return True if codetn/code is the hbase:meta table name. -095 */ -096 public static boolean isMetaTableName(final TableName tn) { -097return tn.equals(TableName.META_TABLE_NAME); -098 } -099 -100 /** -101 * TableName for old -ROOT- table. It is used to read/process old WALs which have -102 * ROOT edits. -103 */ -104 public static final TableName OLD_ROOT_TABLE_NAME = getADummyTableName(OLD_ROOT_STR); +083 /** +084 * The Namespace table's name. +085 * @deprecated We have folded the data in namespace table into meta table, so do not use it any +086 * more. +087 */ +088 @Deprecated +089 public static final TableName NAMESPACE_TABLE_NAME = +090 valueOf(NamespaceDescriptor.SYSTEM_NAMESPACE_NAME_STR, "namespace"); +091 +092 public static final String OLD_META_STR = ".META."; +093 public static final String OLD_ROOT_STR = "-ROOT-"; +094 +095 /** One globally disallowed name */ +096 public static final String DISALLOWED_TABLE_NAME = "zookeeper"; +097 +098 /** +099 * @return True if codetn/code is the hbase:meta table name. +100 */ +101 public static boolean isMetaTableName(final TableName tn) { +102return tn.equals(TableName.META_TABLE_NAME); +103 } +104 105 /** -106 * TableName for old .META. table. Used in testing. -107 */ -108 public static final TableName OLD_META_TABLE_NAME = getADummyTableName(OLD_META_STR); -109 -110 private final byte[] name; -111 private final String nameAsString; -112 private final byte[] namespace; -113 private final String namespaceAsString; -114 private final byte[] qualifier; -115 private final String qualifierAsString; -116 private final boolean systemTable; -117 private final int hashCode; -118 -119 /** -120 * Check passed byte array, "tableName", is legal user-space table name. -121 * @return Returns passed codetableName/code param -122 * @throws IllegalArgumentException if passed a tableName is null or -123 * is made of other than 'word' characters or underscores: i.e. -124 * code[\p{IsAlphabetic}\p{Digit}.-:]/code. The ':' is used to delimit the namespace -125 * from the table name and can be used for nothing else. -126 * -127 * Namespace names can only contain 'word' characters -128 * code[\p{IsAlphabetic}\p{Digit}]/code or '_' -129 * -130 * Qualifier names can only contain 'word' characters -131 * code[\p{IsAlphabetic}\p{Digit}]/code or '_', '.' or '-'. -132 * The name may not start with '.' or '-'. -133 * -134 * Valid fully qualified table names: -135 * foo:bar, namespace=gt;foo, table=gt;bar -136 * org:foo.bar, namespace=org, table=gt;foo.bar -137 */ -138 public static byte [] isLegalFullyQualifiedTableName(final byte[] tableName) { -139if (tableName == null || tableName.length = 0) { -140 throw new IllegalArgumentException("Name is null or empty"); -141} -142 -143int namespaceDelimIndex = -144 org.apache.hbase.thirdparty.com.google.common.primitives.Bytes.lastIndexOf(tableName, -145(byte) NAMESPACE_DELIM); -146if (namespaceDelimIndex 0){ -147 isLegalTableQualifierName(tableName); -148} else { -149 isLegalNamespaceName(tableName, 0, namespaceDelimIndex); -150 isLegalTableQualifierName(tableName, namespaceDelimIndex + 1, tableName.length); -151} -152return tableName; -153 } -154 -155 public static byte [] isLegalTableQualifierName(final byte[] qualifierName) { -156 isLegalTableQualifierName(qualifierName, 0, qualifierName.length, false); -157return qualifierName; +106 * TableName for old -ROOT- table. It is used to read/process old WALs which have +107 * ROOT edits. +108 */ +109 public static final TableName OLD_ROOT_TABLE_NAME = getADummyTableName(OLD_ROOT_STR); +110 /** +111 * TableName for old .META. table. Used in testing. +112 */ +113 public static final TableName
[39/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/HConstants.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/HConstants.html b/devapidocs/org/apache/hadoop/hbase/HConstants.html index 250f733..d3d20d7 100644 --- a/devapidocs/org/apache/hadoop/hbase/HConstants.html +++ b/devapidocs/org/apache/hadoop/hbase/HConstants.html @@ -104,7 +104,7 @@ @InterfaceAudience.Public -public final class HConstants +public final class HConstants extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object HConstants holds a bunch of HBase-related constants @@ -1424,32 +1424,48 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html NAME +static byte[] +NAMESPACE_COL_DESC_QUALIFIER + + +static byte[] +NAMESPACE_FAMILY +The namespace family + + + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String -NINES +NAMESPACE_FAMILY_STR +The namespace family as a string + +static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +NINES + + static long NO_NONCE - + static long NO_SEQNUM Value indicating the server name was saved with no sequence number. - + static int NORMAL_QOS - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String NOT_IMPLEMENTED - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String OLD_SNAPSHOT_DIR_NAME - + static long OLDEST_TIMESTAMP Deprecated. @@ -1458,427 +1474,427 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html - + static int PRIORITY_UNSET QOS attributes: these attributes are used to demarcate RPC call processing by different set of handlers. - + static int QOS_THRESHOLD - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String RECOVERED_EDITS_DIR - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGION_IMPL - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGION_SERVER_HANDLER_ABORT_ON_ERROR_PERCENT - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGION_SERVER_HANDLER_COUNT - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGION_SERVER_HIGH_PRIORITY_HANDLER_COUNT - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGION_SERVER_IMPL Parameter name for what region server implementation to use. - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGION_SERVER_REPLICATION_HANDLER_COUNT - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGION_SPLIT_THREADS_MAX The max number of threads used for splitting storefiles in parallel during the region split process. - + static byte[] REGIONINFO_QUALIFIER The regioninfo column qualifier - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGIONINFO_QUALIFIER_STR The RegionInfo qualifier as a string - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGIONSERVER_INFO_PORT A configuration key for regionserver info port - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGIONSERVER_INFO_PORT_AUTO A flag that enables automatic selection of regionserver info port - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGIONSERVER_METRICS_PERIOD The period (in milliseconds) between computing region server point in time metrics - + static https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String REGIONSERVER_PORT Parameter name for port region server listens on. - + static int REPLAY_QOS - + static byte[]
[16/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/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 4075394..b390abe 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 https://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 https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html flushing -volatileboolean flushing +volatileboolean flushing @@ -248,7 +248,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html flushRequested -volatileboolean flushRequested +volatileboolean flushRequested @@ -257,7 +257,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html compacting -https://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 +https://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 https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html writesEnabled -volatileboolean writesEnabled +volatileboolean writesEnabled @@ -275,7 +275,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html readOnly -volatileboolean readOnly +volatileboolean readOnly @@ -284,7 +284,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html readsEnabled -volatileboolean readsEnabled +volatileboolean readsEnabled @@ -293,7 +293,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html HEAP_SIZE -static finallong HEAP_SIZE +static finallong HEAP_SIZE @@ -310,7 +310,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html WriteState -WriteState() +WriteState() @@ -327,7 +327,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html setReadOnly -voidsetReadOnly(booleanonOff) +voidsetReadOnly(booleanonOff) Set flags that make this region read-only. Parameters: @@ -341,7 +341,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html isReadOnly -booleanisReadOnly() +booleanisReadOnly() @@ -350,7 +350,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html isFlushRequested -booleanisFlushRequested() +booleanisFlushRequested() @@ -359,7 +359,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html setReadsEnabled -voidsetReadsEnabled(booleanreadsEnabled) +voidsetReadsEnabled(booleanreadsEnabled)
[20/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/procedure/class-use/ProcedureSyncWait.Predicate.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/procedure/class-use/ProcedureSyncWait.Predicate.html b/devapidocs/org/apache/hadoop/hbase/master/procedure/class-use/ProcedureSyncWait.Predicate.html index 897da76..20face7 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/procedure/class-use/ProcedureSyncWait.Predicate.html +++ b/devapidocs/org/apache/hadoop/hbase/master/procedure/class-use/ProcedureSyncWait.Predicate.html @@ -112,6 +112,13 @@ static TT +ProcedureSyncWait.waitFor(MasterProcedureEnvenv, + longwaitTime, + https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringpurpose, + ProcedureSyncWait.PredicateTpredicate) + + +static TT ProcedureSyncWait.waitFor(MasterProcedureEnvenv, https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringpurpose, ProcedureSyncWait.PredicateTpredicate) http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html b/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html index 2991c16..1dd5d5a 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/master/procedure/package-tree.html @@ -216,8 +216,8 @@ java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">EnumE (implements java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableT, java.io.https://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.master.procedure.TableProcedureInterface.TableOperationType -org.apache.hadoop.hbase.master.procedure.ServerProcedureInterface.ServerOperationType org.apache.hadoop.hbase.master.procedure.PeerProcedureInterface.PeerOperationType +org.apache.hadoop.hbase.master.procedure.ServerProcedureInterface.ServerOperationType org.apache.hadoop.hbase.master.procedure.MetaProcedureInterface.MetaOperationType http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.RefreshCacheTask.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.RefreshCacheTask.html b/devapidocs/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.RefreshCacheTask.html index 8923097..499e7bb 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.RefreshCacheTask.html +++ b/devapidocs/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.RefreshCacheTask.html @@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab"; -public class SnapshotFileCache.RefreshCacheTask +public class SnapshotFileCache.RefreshCacheTask extends https://docs.oracle.com/javase/8/docs/api/java/util/TimerTask.html?is-external=true; title="class or interface in java.util">TimerTask Simple helper task that just periodically attempts to refresh the cache @@ -199,7 +199,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/util/TimerTask.h RefreshCacheTask -publicRefreshCacheTask() +publicRefreshCacheTask() @@ -216,7 +216,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/util/TimerTask.h run -publicvoidrun() +publicvoidrun() Specified by: https://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true#run--; title="class or interface in java.lang">runin interfacehttps://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html?is-external=true; title="class or interface in java.lang">Runnable http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.SnapshotDirectoryInfo.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.SnapshotDirectoryInfo.html b/devapidocs/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.SnapshotDirectoryInfo.html index af18761..171d0c9 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.SnapshotDirectoryInfo.html +++ b/devapidocs/org/apache/hadoop/hbase/master/snapshot/SnapshotFileCache.SnapshotDirectoryInfo.html @@
[08/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/src-html/org/apache/hadoop/hbase/HConstants.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/HConstants.html b/devapidocs/src-html/org/apache/hadoop/hbase/HConstants.html index 333b785..da8def9 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/HConstants.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/HConstants.html @@ -34,1359 +34,1365 @@ 026import java.util.List; 027import java.util.UUID; 028import java.util.regex.Pattern; -029 -030import org.apache.commons.lang3.ArrayUtils; -031import org.apache.hadoop.hbase.util.Bytes; -032import org.apache.yetus.audience.InterfaceAudience; -033 -034/** -035 * HConstants holds a bunch of HBase-related constants -036 */ -037@InterfaceAudience.Public -038public final class HConstants { -039 // NOTICE Please do not add a constants here, unless they are referenced by a lot of classes. -040 -041 //Bytes.UTF8_ENCODING should be updated if this changed -042 /** When we encode strings, we always specify UTF8 encoding */ -043 public static final String UTF8_ENCODING = "UTF-8"; -044 -045 //Bytes.UTF8_CHARSET should be updated if this changed -046 /** When we encode strings, we always specify UTF8 encoding */ -047 public static final Charset UTF8_CHARSET = Charset.forName(UTF8_ENCODING); -048 /** -049 * Default block size for an HFile. -050 */ -051 public final static int DEFAULT_BLOCKSIZE = 64 * 1024; -052 -053 /** Used as a magic return value while optimized index key feature enabled(HBASE-7845) */ -054 public final static int INDEX_KEY_MAGIC = -2; -055 /* -056 * Name of directory that holds recovered edits written by the wal log -057 * splitting code, one per region -058 */ -059 public static final String RECOVERED_EDITS_DIR = "recovered.edits"; -060 /** -061 * The first four bytes of Hadoop RPC connections -062 */ -063 public static final byte[] RPC_HEADER = new byte[] { 'H', 'B', 'a', 's' }; -064 public static final byte RPC_CURRENT_VERSION = 0; -065 -066 // HFileBlock constants. TODO THESE DEFINES BELONG IN HFILEBLOCK, NOT UP HERE. -067 // Needed down in hbase-common though by encoders but these encoders should not be dealing -068 // in the internals of hfileblocks. Fix encapsulation. -069 -070 /** The size data structures with minor version is 0 */ -071 public static final int HFILEBLOCK_HEADER_SIZE_NO_CHECKSUM = MAGIC_LENGTH + 2 * Bytes.SIZEOF_INT -072 + Bytes.SIZEOF_LONG; -073 /** The size of a version 2 HFile block header, minor version 1. -074 * There is a 1 byte checksum type, followed by a 4 byte bytesPerChecksum -075 * followed by another 4 byte value to store sizeofDataOnDisk. -076 */ -077 public static final int HFILEBLOCK_HEADER_SIZE = HFILEBLOCK_HEADER_SIZE_NO_CHECKSUM + -078Bytes.SIZEOF_BYTE + 2 * Bytes.SIZEOF_INT; -079 /** Just an array of bytes of the right size. */ -080 public static final byte[] HFILEBLOCK_DUMMY_HEADER = new byte[HFILEBLOCK_HEADER_SIZE]; -081 -082 //End HFileBlockConstants. -083 -084 /** -085 * Status codes used for return values of bulk operations. -086 */ -087 @InterfaceAudience.Private -088 public enum OperationStatusCode { -089NOT_RUN, -090SUCCESS, -091BAD_FAMILY, -092STORE_TOO_BUSY, -093SANITY_CHECK_FAILURE, -094FAILURE -095 } -096 -097 /** long constant for zero */ -098 public static final Long ZERO_L = Long.valueOf(0L); -099 public static final String NINES = "99"; -100 public static final String ZEROES = "00"; -101 -102 // For migration -103 -104 /** name of version file */ -105 public static final String VERSION_FILE_NAME = "hbase.version"; -106 -107 /** -108 * Current version of file system. -109 * Version 4 supports only one kind of bloom filter. -110 * Version 5 changes versions in catalog table regions. -111 * Version 6 enables blockcaching on catalog tables. -112 * Version 7 introduces hfile -- hbase 0.19 to 0.20.. -113 * Version 8 introduces namespace -114 */ -115 // public static final String FILE_SYSTEM_VERSION = "6"; -116 public static final String FILE_SYSTEM_VERSION = "8"; -117 -118 // Configuration parameters -119 -120 //TODO: Is having HBase homed on port 60k OK? -121 -122 /** Cluster is in distributed mode or not */ -123 public static final String CLUSTER_DISTRIBUTED = "hbase.cluster.distributed"; -124 -125 /** Config for pluggable load balancers */ -126 public static final String HBASE_MASTER_LOADBALANCER_CLASS = "hbase.master.loadbalancer.class"; -127 -128 /** Config for balancing the cluster by table */ -129 public static final String HBASE_MASTER_LOADBALANCE_BYTABLE = "hbase.master.loadbalance.bytable"; -130 -131 /** Config for the max percent of regions in transition */ -132 public static final String
[30/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentManager.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentManager.html b/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentManager.html index f1c0a08..ff41797 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentManager.html +++ b/devapidocs/org/apache/hadoop/hbase/master/assignment/AssignmentManager.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":9,"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":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"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":10,"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":10,"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":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"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":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"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":10,"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":10,"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":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":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"; @@ -107,16 +107,11 @@ var activeTableTab = "activeTableTab"; - -All Implemented Interfaces: -ServerListener - @InterfaceAudience.Private -public class AssignmentManager -extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object -implements ServerListener +public class AssignmentManager +extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object The AssignmentManager is the coordinator for region assign/unassign operations. In-memory states of regions and servers are stored in RegionStates. @@ -540,49 +535,55 @@ implements getRegionsInTransition() +https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionInfo +getRegionsOnServer(ServerNameserverName) +Returns the regions hosted by the specified server. + + + RegionStates getRegionStates() - + RegionStateStore getRegionStateStore() - + Pairhttps://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true; title="class or interface in java.lang">Integer,https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true; title="class or interface in java.lang">Integer getReopenStatus(TableNametableName) Used by the client (via master) to identify if all regions have the schema updates - + https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">MapServerName,https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionInfo getSnapShotOfAssignment(https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true; title="class or interface in java.util">CollectionRegionInforegions) - + private https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionInfo getSystemTables(ServerNameserverName) - + (package private) TableStateManager getTableStateManager() - + private void handleRegionOverStuckWarningThreshold(RegionInforegionInfo) - + boolean hasRegionsInTransition() - + boolean isCarryingMeta(ServerNameserverName) - + private boolean
[11/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.html b/devapidocs/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.html index 34b9e2c..183427a 100644 --- a/devapidocs/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.html +++ b/devapidocs/org/apache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.html @@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -final class RSGroupInfoManagerImpl +final class RSGroupInfoManagerImpl extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object implements RSGroupInfoManager This is an implementation of RSGroupInfoManager which makes @@ -467,7 +467,7 @@ implements LOG -private static finalorg.slf4j.Logger LOG +private static finalorg.slf4j.Logger LOG @@ -476,7 +476,7 @@ implements RSGROUP_TABLE_DESC -private static finalHTableDescriptor RSGROUP_TABLE_DESC +private static finalHTableDescriptor RSGROUP_TABLE_DESC Table descriptor for hbase:rsgroup catalog table @@ -486,7 +486,7 @@ implements rsGroupMap -private volatilehttps://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,RSGroupInfo rsGroupMap +private volatilehttps://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,RSGroupInfo rsGroupMap @@ -495,7 +495,7 @@ implements tableMap -private volatilehttps://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">MapTableName,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String tableMap +private volatilehttps://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">MapTableName,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String tableMap @@ -504,7 +504,7 @@ implements masterServices -private finalMasterServices masterServices +private finalMasterServices masterServices @@ -513,7 +513,7 @@ implements rsGroupTable -privateTable rsGroupTable +privateTable rsGroupTable @@ -522,7 +522,7 @@ implements conn -private finalClusterConnection conn +private finalClusterConnection conn @@ -531,7 +531,7 @@ implements watcher -private finalZKWatcher watcher +private finalZKWatcher watcher @@ -540,7 +540,7 @@ implements rsGroupStartupWorker -private finalRSGroupInfoManagerImpl.RSGroupStartupWorker rsGroupStartupWorker +private finalRSGroupInfoManagerImpl.RSGroupStartupWorker rsGroupStartupWorker @@ -549,7 +549,7 @@ implements prevRSGroups -privatehttps://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">Sethttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String prevRSGroups +privatehttps://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true; title="class or interface in java.util">Sethttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String prevRSGroups @@ -558,7 +558,7 @@ implements serverEventsListenerThread -private finalRSGroupInfoManagerImpl.ServerEventsListenerThread serverEventsListenerThread +private finalRSGroupInfoManagerImpl.ServerEventsListenerThread serverEventsListenerThread @@ -567,7 +567,7 @@ implements failedOpenUpdaterThread -privateRSGroupInfoManagerImpl.FailedOpenUpdaterThread failedOpenUpdaterThread +privateRSGroupInfoManagerImpl.FailedOpenUpdaterThread failedOpenUpdaterThread @@ -584,7 +584,7 @@ implements RSGroupInfoManagerImpl -privateRSGroupInfoManagerImpl(MasterServicesmasterServices) +privateRSGroupInfoManagerImpl(MasterServicesmasterServices) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Throws: @@ -606,7 +606,7 @@ implements init -privatevoidinit() +privatevoidinit() throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Throws: @@ -620,7 +620,7 @@ implements getInstance
[17/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.RegionScannerImpl.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.RegionScannerImpl.html b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.RegionScannerImpl.html index 39c0719..0dcbecc 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.RegionScannerImpl.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.RegionScannerImpl.html @@ -121,7 +121,7 @@ var activeTableTab = "activeTableTab"; -class HRegion.RegionScannerImpl +class HRegion.RegionScannerImpl extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object implements RegionScanner, Shipper, RpcCallback RegionScannerImpl is used to combine scanners from multiple Stores (aka column families). @@ -425,7 +425,7 @@ implements storeHeap -KeyValueHeap storeHeap +KeyValueHeap storeHeap @@ -434,7 +434,7 @@ implements joinedHeap -KeyValueHeap joinedHeap +KeyValueHeap joinedHeap Heap of key-values that are not essential for the provided filters and are thus read on demand, if on-demand column family loading is enabled. @@ -445,7 +445,7 @@ implements joinedContinuationRow -protectedCell joinedContinuationRow +protectedCell 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. @@ -456,7 +456,7 @@ implements filterClosed -privateboolean filterClosed +privateboolean filterClosed @@ -465,7 +465,7 @@ implements stopRow -protected finalbyte[] stopRow +protected finalbyte[] stopRow @@ -474,7 +474,7 @@ implements includeStopRow -protected finalboolean includeStopRow +protected finalboolean includeStopRow @@ -483,7 +483,7 @@ implements region -protected finalHRegion region +protected finalHRegion region @@ -492,7 +492,7 @@ implements comparator -protected finalCellComparator comparator +protected finalCellComparator comparator @@ -501,7 +501,7 @@ implements readPt -private finallong readPt +private finallong readPt @@ -510,7 +510,7 @@ implements maxResultSize -private finallong maxResultSize +private finallong maxResultSize @@ -519,7 +519,7 @@ implements defaultScannerContext -private finalScannerContext defaultScannerContext +private finalScannerContext defaultScannerContext @@ -528,7 +528,7 @@ implements filter -private finalFilterWrapper filter +private finalFilterWrapper filter @@ -545,7 +545,7 @@ implements RegionScannerImpl -RegionScannerImpl(Scanscan, +RegionScannerImpl(Scanscan, https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListKeyValueScanneradditionalScanners, HRegionregion) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException @@ -561,7 +561,7 @@ implements RegionScannerImpl -RegionScannerImpl(Scanscan, +RegionScannerImpl(Scanscan, https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListKeyValueScanneradditionalScanners, HRegionregion, longnonceGroup, @@ -587,7 +587,7 @@ implements getRegionInfo -publicRegionInfogetRegionInfo() +publicRegionInfogetRegionInfo() Specified by: getRegionInfoin interfaceRegionScanner @@ -602,7 +602,7 @@ implements initializeScanners -protectedvoidinitializeScanners(Scanscan, +protectedvoidinitializeScanners(Scanscan, https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListKeyValueScanneradditionalScanners) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException @@ -617,7 +617,7 @@ implements initializeKVHeap -protectedvoidinitializeKVHeap(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListKeyValueScannerscanners, +protectedvoidinitializeKVHeap(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListKeyValueScannerscanners, https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListKeyValueScannerjoinedScanners, HRegionregion) throws
[09/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/src-html/org/apache/hadoop/hbase/HConstants.OperationStatusCode.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/HConstants.OperationStatusCode.html b/devapidocs/src-html/org/apache/hadoop/hbase/HConstants.OperationStatusCode.html index 333b785..da8def9 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/HConstants.OperationStatusCode.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/HConstants.OperationStatusCode.html @@ -34,1359 +34,1365 @@ 026import java.util.List; 027import java.util.UUID; 028import java.util.regex.Pattern; -029 -030import org.apache.commons.lang3.ArrayUtils; -031import org.apache.hadoop.hbase.util.Bytes; -032import org.apache.yetus.audience.InterfaceAudience; -033 -034/** -035 * HConstants holds a bunch of HBase-related constants -036 */ -037@InterfaceAudience.Public -038public final class HConstants { -039 // NOTICE Please do not add a constants here, unless they are referenced by a lot of classes. -040 -041 //Bytes.UTF8_ENCODING should be updated if this changed -042 /** When we encode strings, we always specify UTF8 encoding */ -043 public static final String UTF8_ENCODING = "UTF-8"; -044 -045 //Bytes.UTF8_CHARSET should be updated if this changed -046 /** When we encode strings, we always specify UTF8 encoding */ -047 public static final Charset UTF8_CHARSET = Charset.forName(UTF8_ENCODING); -048 /** -049 * Default block size for an HFile. -050 */ -051 public final static int DEFAULT_BLOCKSIZE = 64 * 1024; -052 -053 /** Used as a magic return value while optimized index key feature enabled(HBASE-7845) */ -054 public final static int INDEX_KEY_MAGIC = -2; -055 /* -056 * Name of directory that holds recovered edits written by the wal log -057 * splitting code, one per region -058 */ -059 public static final String RECOVERED_EDITS_DIR = "recovered.edits"; -060 /** -061 * The first four bytes of Hadoop RPC connections -062 */ -063 public static final byte[] RPC_HEADER = new byte[] { 'H', 'B', 'a', 's' }; -064 public static final byte RPC_CURRENT_VERSION = 0; -065 -066 // HFileBlock constants. TODO THESE DEFINES BELONG IN HFILEBLOCK, NOT UP HERE. -067 // Needed down in hbase-common though by encoders but these encoders should not be dealing -068 // in the internals of hfileblocks. Fix encapsulation. -069 -070 /** The size data structures with minor version is 0 */ -071 public static final int HFILEBLOCK_HEADER_SIZE_NO_CHECKSUM = MAGIC_LENGTH + 2 * Bytes.SIZEOF_INT -072 + Bytes.SIZEOF_LONG; -073 /** The size of a version 2 HFile block header, minor version 1. -074 * There is a 1 byte checksum type, followed by a 4 byte bytesPerChecksum -075 * followed by another 4 byte value to store sizeofDataOnDisk. -076 */ -077 public static final int HFILEBLOCK_HEADER_SIZE = HFILEBLOCK_HEADER_SIZE_NO_CHECKSUM + -078Bytes.SIZEOF_BYTE + 2 * Bytes.SIZEOF_INT; -079 /** Just an array of bytes of the right size. */ -080 public static final byte[] HFILEBLOCK_DUMMY_HEADER = new byte[HFILEBLOCK_HEADER_SIZE]; -081 -082 //End HFileBlockConstants. -083 -084 /** -085 * Status codes used for return values of bulk operations. -086 */ -087 @InterfaceAudience.Private -088 public enum OperationStatusCode { -089NOT_RUN, -090SUCCESS, -091BAD_FAMILY, -092STORE_TOO_BUSY, -093SANITY_CHECK_FAILURE, -094FAILURE -095 } -096 -097 /** long constant for zero */ -098 public static final Long ZERO_L = Long.valueOf(0L); -099 public static final String NINES = "99"; -100 public static final String ZEROES = "00"; -101 -102 // For migration -103 -104 /** name of version file */ -105 public static final String VERSION_FILE_NAME = "hbase.version"; -106 -107 /** -108 * Current version of file system. -109 * Version 4 supports only one kind of bloom filter. -110 * Version 5 changes versions in catalog table regions. -111 * Version 6 enables blockcaching on catalog tables. -112 * Version 7 introduces hfile -- hbase 0.19 to 0.20.. -113 * Version 8 introduces namespace -114 */ -115 // public static final String FILE_SYSTEM_VERSION = "6"; -116 public static final String FILE_SYSTEM_VERSION = "8"; -117 -118 // Configuration parameters -119 -120 //TODO: Is having HBase homed on port 60k OK? -121 -122 /** Cluster is in distributed mode or not */ -123 public static final String CLUSTER_DISTRIBUTED = "hbase.cluster.distributed"; -124 -125 /** Config for pluggable load balancers */ -126 public static final String HBASE_MASTER_LOADBALANCER_CLASS = "hbase.master.loadbalancer.class"; -127 -128 /** Config for balancing the cluster by table */ -129 public static final String HBASE_MASTER_LOADBALANCE_BYTABLE = "hbase.master.loadbalance.bytable"; -130 -131 /** Config for the
[33/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/master/HMaster.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/master/HMaster.html b/devapidocs/org/apache/hadoop/hbase/master/HMaster.html index c1fece0..7869949 100644 --- a/devapidocs/org/apache/hadoop/hbase/master/HMaster.html +++ b/devapidocs/org/apache/hadoop/hbase/master/HMaster.html @@ -1453,7 +1453,7 @@ implements -boolean +private boolean waitForNamespaceOnline() Check hbase:namespace table is assigned. @@ -1475,7 +1475,7 @@ implements HRegionServer -abort, addRegion, addToMovedRegions, checkFileSystem, cleanMovedRegions, clearRegionBlockCache, closeAllRegions, href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionServer.html#closeAndOfflineRegionForSplitOrMerge-java.util.List-">closeAndOfflineRegionForSplitOrMerge, > href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionServer.html#closeRegion-java.lang.String-boolean-org.apache.hadoop.hbase.ServerName-">closeRegion, > href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionServer.html#constructRegionServer-java.lang.Class-org.apache.hadoop.conf.Configuration-">constructRegionServer, > href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionServer.html#convertThrowableToIOE-java.lang.Throwable-java.lang.String-">convertThrowableToIOE, > href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionServer.html#createClusterConnection--">createClusterConnection, > href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionServer.html#createConnection-org.apache.hadoop.conf.Configuration-">createConnection, > < a href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionServer.html#createRegionLoad-java.lang.String-">createRegionLoad, createRegionServerStatusStub, createRegionServerStatusStub, execRegionServerService, executeProcedure, getCacheConfig, getChoreService, getClusterConnection, getClusterId, getCompactionPressure, getCompactionRequestor, getCompactSplitThread, getConfiguration, getConfigurationManager, getConnection, getCoordinatedStateManager, getEventLoopGroupConfig, getExecutorService, getFavoredNodesForRegion, getFileSystem, getFlushPressure, getFlushRequester, getFlushThroughputController, getFsTableDescriptors, getHeapMemoryManager, getInfoServer, getLastSequenceId, getLeases, getMasterAddressTracker, getMetaTableLocator, getMetrics, getMostLoadedRegions, getNonceManager, getNumberOfOnlineRegions, getOnlineRegion, getOnlineRegionsLocalContext, getOnlineTabl es, getRegion, getRegion, getRegionBlockLocations, getRegionByEncodedName, getRegionByEncodedName, getRegions, getRegions, getRegionServerAccounting, getRegionServerCoprocessorHost, getRegionServerCoprocessors, getRegionServerMetrics, getRegionServerRpcQuotaManager, getRegionServerSpaceQuotaManager, getRegionsInTransitionInRS, getReplicationSinkService, getReplicationSourceService, getRootDir, getRpcServer, getRSRpcServices, getSecureBulkLoadManager, getStartcode, getTableDescriptors, getThreadWakeFrequency, getWAL, getWALFileSystem, getWalGroupsReplicationStatus, getWalRoller, getWALRootDir, getWALs, handleReportForDutyResponse, initializeMemStoreChunkCreator, isAborted, isClusterUp, isOnline, isShutDown, isStopped, isStopping, kill, movedRegionCleanerPeriod, onConfigurationChange, postOpenDeployTasks, regionLock, remoteProcedureComplete, removeRegion, reportFileArchivalForQuotas, reportRegionSizesForQuotas, reportRegionStateTransition, sendShutdownInterrupt, setupClusterConnection, stop, toString, tryRegionServerReport, unassign, updateConfiguration, updateRegionFavoredNodesMapping, waitForServerOnline, walRollRequestFinished +abort, addRegion, addToMovedRegions, checkFileSystem, cleanMovedRegions, clearRegionBlockCache, closeAllRegions, href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionServer.html#closeAndOfflineRegionForSplitOrMerge-java.util.List-">closeAndOfflineRegionForSplitOrMerge, > href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionServer.html#closeRegion-java.lang.String-boolean-org.apache.hadoop.hbase.ServerName-">closeRegion, > href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionServer.html#constructRegionServer-java.lang.Class-org.apache.hadoop.conf.Configuration-">constructRegionServer, > href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionServer.html#convertThrowableToIOE-java.lang.Throwable-java.lang.String-">convertThrowableToIOE, > href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionServer.html#createConnection-org.apache.hadoop.conf.Configuration-">createConnection, > href="../../../../../org/apache/hadoop/hbase/regionserver/HRegionServer.html#createRegionLoad-java.lang.String-">createRegionLoad, createRegionServerStatusStub,
[13/51] [partial] hbase-site git commit: Published site at 1acbd36c903b048141866b143507bfce124a5c5f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/5299e667/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.html b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.html index be5ad01..dd6d5f5 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegionServer.html @@ -805,10 +805,10 @@ implements https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmsg) -protected ClusterConnection +private ClusterConnection createClusterConnection() -Create a 'smarter' Connection, one that is capable of by-passing RPC if the request is to - the local server; i.e. +Create a 'smarter' Connection, one that is capable of by-passing RPC if the request is to the + local server; i.e. @@ -2481,7 +2481,7 @@ protected static finalhttps://docs.oracle.com/javase/8/docs/api/j movedRegions -protectedhttps://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,HRegionServer.MovedRegionInfo movedRegions +protectedhttps://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,HRegionServer.MovedRegionInfo movedRegions @@ -2490,7 +2490,7 @@ protected static finalhttps://docs.oracle.com/javase/8/docs/api/j TIMEOUT_REGION_MOVED -private static finalint TIMEOUT_REGION_MOVED +private static finalint TIMEOUT_REGION_MOVED See Also: Constant Field Values @@ -2710,11 +2710,10 @@ protected static finalhttps://docs.oracle.com/javase/8/docs/api/j createClusterConnection -protectedClusterConnectioncreateClusterConnection() - throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException -Create a 'smarter' Connection, one that is capable of by-passing RPC if the request is to - the local server; i.e. a short-circuit Connection. Safe to use going to local or remote - server. Create this instance in a method can be intercepted and mocked in tests. +privateClusterConnectioncreateClusterConnection() + throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException +Create a 'smarter' Connection, one that is capable of by-passing RPC if the request is to the + local server; i.e. a short-circuit Connection. Safe to use going to local or remote server. Throws: https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException @@ -2727,7 +2726,7 @@ protected static finalhttps://docs.oracle.com/javase/8/docs/api/j checkCodecs -private staticvoidcheckCodecs(org.apache.hadoop.conf.Configurationc) +private staticvoidcheckCodecs(org.apache.hadoop.conf.Configurationc) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Run test on configured codecs to make sure supporting libs are in place. @@ -2744,7 +2743,7 @@ protected static finalhttps://docs.oracle.com/javase/8/docs/api/j getClusterId -publichttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringgetClusterId() +publichttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringgetClusterId() @@ -2753,7 +2752,7 @@ protected static finalhttps://docs.oracle.com/javase/8/docs/api/j setupClusterConnection -protectedvoidsetupClusterConnection() +protectedvoidsetupClusterConnection() throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Setup our cluster connection if not already initialized. @@ -2768,7 +2767,7 @@ protected static finalhttps://docs.oracle.com/javase/8/docs/api/j preRegistrationInitialization -privatevoidpreRegistrationInitialization() +privatevoidpreRegistrationInitialization() All initialization needed before we go register with Master. Do bare minimum. Do bulk of initializations AFTER we've connected to the Master. In here we just put up the RpcServer, setup Connection, and ZooKeeper. @@ -2780,7 +2779,7 @@ protected static