hbase git commit: HBASE-18568 Correct metric of numRegions
Repository: hbase Updated Branches: refs/heads/branch-1.4 3f07a7127 -> f0b6b988b HBASE-18568 Correct metric of numRegions Signed-off-by: tedyuProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f0b6b988 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f0b6b988 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f0b6b988 Branch: refs/heads/branch-1.4 Commit: f0b6b988b58ee8f50a8096a382f0594c912805af Parents: 3f07a71 Author: å¼ ä¸å½¬10204932 Authored: Fri Aug 11 14:24:54 2017 +0800 Committer: tedyu Committed: Mon Aug 28 19:41:42 2017 -0700 -- .../apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/f0b6b988/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java -- diff --git a/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java b/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java index 7772bdd..31385ea 100644 --- a/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java +++ b/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java @@ -69,6 +69,7 @@ public class MetricsRegionSourceImpl implements MetricsRegionSource { MetricsRegionAggregateSourceImpl aggregate) { this.regionWrapper = regionWrapper; agg = aggregate; +hashCode = regionWrapper.getRegionHashCode(); agg.register(this); LOG.debug("Creating new MetricsRegionSourceImpl for table " + @@ -100,8 +101,6 @@ public class MetricsRegionSourceImpl implements MetricsRegionSource { regionScanKey = regionNamePrefix + MetricsRegionServerSource.SCAN_KEY + suffix; regionScan = registry.getCounter(regionScanKey, 0L); - -hashCode = regionWrapper.getRegionHashCode(); } @Override
hbase git commit: HBASE-18568 Correct metric of numRegions
Repository: hbase Updated Branches: refs/heads/branch-1 f071e56a9 -> 31ba3cb6f HBASE-18568 Correct metric of numRegions Signed-off-by: tedyuProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/31ba3cb6 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/31ba3cb6 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/31ba3cb6 Branch: refs/heads/branch-1 Commit: 31ba3cb6fc7936d61f1c1b0859726cb35bce87f2 Parents: f071e56 Author: å¼ ä¸å½¬10204932 Authored: Fri Aug 11 14:24:54 2017 +0800 Committer: tedyu Committed: Mon Aug 28 19:41:19 2017 -0700 -- .../apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/31ba3cb6/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java -- diff --git a/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java b/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java index 7772bdd..31385ea 100644 --- a/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java +++ b/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java @@ -69,6 +69,7 @@ public class MetricsRegionSourceImpl implements MetricsRegionSource { MetricsRegionAggregateSourceImpl aggregate) { this.regionWrapper = regionWrapper; agg = aggregate; +hashCode = regionWrapper.getRegionHashCode(); agg.register(this); LOG.debug("Creating new MetricsRegionSourceImpl for table " + @@ -100,8 +101,6 @@ public class MetricsRegionSourceImpl implements MetricsRegionSource { regionScanKey = regionNamePrefix + MetricsRegionServerSource.SCAN_KEY + suffix; regionScan = registry.getCounter(regionScanKey, 0L); - -hashCode = regionWrapper.getRegionHashCode(); } @Override
hbase git commit: HBASE-18568 Correct metric of numRegions
Repository: hbase Updated Branches: refs/heads/branch-2 f06d62652 -> cc0e630d2 HBASE-18568 Correct metric of numRegions Signed-off-by: tedyuProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/cc0e630d Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/cc0e630d Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/cc0e630d Branch: refs/heads/branch-2 Commit: cc0e630d2bca4c0e2ae74e4ebb9158c8294614b1 Parents: f06d626 Author: å¼ ä¸å½¬10204932 Authored: Fri Aug 11 14:24:54 2017 +0800 Committer: tedyu Committed: Mon Aug 28 19:40:21 2017 -0700 -- .../apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/cc0e630d/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java -- diff --git a/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java b/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java index b843b03..ef02b77 100644 --- a/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java +++ b/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java @@ -69,6 +69,7 @@ public class MetricsRegionSourceImpl implements MetricsRegionSource { MetricsRegionAggregateSourceImpl aggregate) { this.regionWrapper = regionWrapper; agg = aggregate; +hashCode = regionWrapper.getRegionHashCode(); agg.register(this); LOG.debug("Creating new MetricsRegionSourceImpl for table " + @@ -100,8 +101,6 @@ public class MetricsRegionSourceImpl implements MetricsRegionSource { regionScanKey = regionNamePrefix + MetricsRegionServerSource.SCAN_KEY + suffix; regionScan = registry.getCounter(regionScanKey, 0L); - -hashCode = regionWrapper.getRegionHashCode(); } @Override
hbase git commit: HBASE-18568 Correct metric of numRegions
Repository: hbase Updated Branches: refs/heads/master 47a5614ed -> cebcb4dd1 HBASE-18568 Correct metric of numRegions Signed-off-by: tedyuProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/cebcb4dd Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/cebcb4dd Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/cebcb4dd Branch: refs/heads/master Commit: cebcb4dd1e4595a96d46c0e5fa9991c456ce3bb2 Parents: 47a5614 Author: å¼ ä¸å½¬10204932 Authored: Fri Aug 11 14:24:54 2017 +0800 Committer: tedyu Committed: Mon Aug 28 19:39:37 2017 -0700 -- .../apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/cebcb4dd/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java -- diff --git a/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java b/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java index b843b03..ef02b77 100644 --- a/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java +++ b/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionSourceImpl.java @@ -69,6 +69,7 @@ public class MetricsRegionSourceImpl implements MetricsRegionSource { MetricsRegionAggregateSourceImpl aggregate) { this.regionWrapper = regionWrapper; agg = aggregate; +hashCode = regionWrapper.getRegionHashCode(); agg.register(this); LOG.debug("Creating new MetricsRegionSourceImpl for table " + @@ -100,8 +101,6 @@ public class MetricsRegionSourceImpl implements MetricsRegionSource { regionScanKey = regionNamePrefix + MetricsRegionServerSource.SCAN_KEY + suffix; regionScan = registry.getCounter(regionScanKey, 0L); - -hashCode = regionWrapper.getRegionHashCode(); } @Override
hbase git commit: HBASE-18710 Move on to hbase-thirdparty 1.0.1 (it was just released).
Repository: hbase Updated Branches: refs/heads/branch-2 5053ed954 -> f06d62652 HBASE-18710 Move on to hbase-thirdparty 1.0.1 (it was just released). Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f06d6265 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f06d6265 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f06d6265 Branch: refs/heads/branch-2 Commit: f06d62652b2fb36c968dd51aff68a7456abe56ab Parents: 5053ed9 Author: Michael StackAuthored: Mon Aug 28 12:37:17 2017 -0700 Committer: Michael Stack Committed: Mon Aug 28 16:42:11 2017 -0700 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/f06d6265/pom.xml -- diff --git a/pom.xml b/pom.xml index 32135cd..7eb68dc 100644 --- a/pom.xml +++ b/pom.xml @@ -1418,7 +1418,7 @@ 3.1.0-RC3 2.12 1.0.1 -1.0.0 +1.0.1 /usr /etc/hbase
[2/3] hbase git commit: Revert "HBASE-18674 upgrading to commons-lang3" Premature push
http://git-wip-us.apache.org/repos/asf/hbase/blob/47a5614e/hbase-resource-bundle/src/main/resources/META-INF/NOTICE.vm -- diff --git a/hbase-resource-bundle/src/main/resources/META-INF/NOTICE.vm b/hbase-resource-bundle/src/main/resources/META-INF/NOTICE.vm index c0ff317..953b316 100644 --- a/hbase-resource-bundle/src/main/resources/META-INF/NOTICE.vm +++ b/hbase-resource-bundle/src/main/resources/META-INF/NOTICE.vm @@ -199,13 +199,6 @@ JRuby's licence. ## jruby bundles jquery, but we already ref that above. #end -#macro(commons_lang3_notice) --- -## commons-lang3 has following note in the NOTICE file -This product includes software from the Spring Framework, -under the Apache License 2.0 (see: StringUtils.containsWhitespace()) - -#end ## first bundled source #if(${bundled-logo}) #orca_logo_notice() @@ -262,11 +255,6 @@ under the Apache License 2.0 (see: StringUtils.containsWhitespace()) #if(${dep.artifactId.equals("jruby-complete")}) #set($jruby=true) #end -#if(${dep.artifactId.equals("commons-lang3")}) -#if(${dep.groupId.equals("org.apache.commons")}) -#commons_lang3_notice() -#end -#end #if( ${dep.licenses.isEmpty()} ) ERROR: This product includes ${dep.name} which has no licenses! Revert the change if invalid or if intentional add license info to supplemental-models.xml http://git-wip-us.apache.org/repos/asf/hbase/blob/47a5614e/hbase-rest/pom.xml -- diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml index 1660594..639c0c2 100644 --- a/hbase-rest/pom.xml +++ b/hbase-rest/pom.xml @@ -268,8 +268,8 @@ httpcore - org.apache.commons - commons-lang3 + commons-lang + commons-lang commons-logging http://git-wip-us.apache.org/repos/asf/hbase/blob/47a5614e/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java -- diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java index 721e108..eb3fc26 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java @@ -32,7 +32,7 @@ import org.apache.commons.cli.HelpFormatter; import org.apache.commons.cli.Options; import org.apache.commons.cli.ParseException; import org.apache.commons.cli.PosixParser; -import org.apache.commons.lang3.ArrayUtils; +import org.apache.commons.lang.ArrayUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.classification.InterfaceAudience; http://git-wip-us.apache.org/repos/asf/hbase/blob/47a5614e/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RowResource.java -- diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RowResource.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RowResource.java index d6a3e14..ceb8bb2 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RowResource.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RowResource.java @@ -36,7 +36,7 @@ import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.ResponseBuilder; import javax.ws.rs.core.UriInfo; -import org.apache.commons.lang3.StringUtils; +import org.apache.commons.lang.StringUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.classification.InterfaceAudience; http://git-wip-us.apache.org/repos/asf/hbase/blob/47a5614e/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java -- diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java index 91e19ab..ddfa8bb 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java @@ -31,7 +31,7 @@ import javax.ws.rs.QueryParam; import javax.ws.rs.core.Context; import javax.ws.rs.core.UriInfo; -import org.apache.commons.lang3.StringUtils; +import org.apache.commons.lang.StringUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.TableName; http://git-wip-us.apache.org/repos/asf/hbase/blob/47a5614e/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/CellModel.java -- diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/CellModel.java
[1/3] hbase git commit: Revert "HBASE-18674 upgrading to commons-lang3" Premature push
Repository: hbase Updated Branches: refs/heads/master ea1620ff4 -> 47a5614ed http://git-wip-us.apache.org/repos/asf/hbase/blob/47a5614e/hbase-server/src/test/java/org/apache/hadoop/hbase/util/MultiThreadedUpdater.java -- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/util/MultiThreadedUpdater.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/util/MultiThreadedUpdater.java index 0cc4143..febc82b 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/util/MultiThreadedUpdater.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/util/MultiThreadedUpdater.java @@ -29,7 +29,7 @@ import java.util.HashSet; import java.util.Map; import java.util.Set; -import org.apache.commons.lang3.RandomUtils; +import org.apache.commons.lang.math.RandomUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; @@ -139,7 +139,7 @@ public class MultiThreadedUpdater extends MultiThreadedWriterBase { StringBuilder buf = new StringBuilder(); byte[][] columnFamilies = dataGenerator.getColumnFamilies(); while ((rowKeyBase = getNextKeyToUpdate()) < endKey) { - if (RandomUtils.nextInt(0, 100) < updatePercent) { + if (RandomUtils.nextInt(100) < updatePercent) { byte[] rowKey = dataGenerator.getDeterministicUniqueKey(rowKeyBase); Increment inc = new Increment(rowKey); Append app = new Append(rowKey); @@ -189,7 +189,7 @@ public class MultiThreadedUpdater extends MultiThreadedWriterBase { continue; } MutationType mt = MutationType - .valueOf(RandomUtils.nextInt(0, MutationType.values().length)); + .valueOf(RandomUtils.nextInt(MutationType.values().length)); long columnHash = Arrays.hashCode(column); long hashCode = cfHash + columnHash; byte[] hashCodeBytes = Bytes.toBytes(hashCode); http://git-wip-us.apache.org/repos/asf/hbase/blob/47a5614e/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestRegionSplitter.java -- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestRegionSplitter.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestRegionSplitter.java index 19e048c..0c5b980 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestRegionSplitter.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestRegionSplitter.java @@ -27,7 +27,7 @@ import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.List; -import org.apache.commons.lang3.ArrayUtils; +import org.apache.commons.lang.ArrayUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; http://git-wip-us.apache.org/repos/asf/hbase/blob/47a5614e/hbase-shaded/pom.xml -- diff --git a/hbase-shaded/pom.xml b/hbase-shaded/pom.xml index a186d08..25f3c59 100644 --- a/hbase-shaded/pom.xml +++ b/hbase-shaded/pom.xml @@ -289,8 +289,8 @@ org.apache.hadoop.hbase.shaded.org.apache.commons.net - org.apache.commons.lang3 - org.apache.hadoop.hbase.shaded.org.apache.commons.lang3 + org.apache.commons.lang + org.apache.hadoop.hbase.shaded.org.apache.commons.lang org.apache.commons.el http://git-wip-us.apache.org/repos/asf/hbase/blob/47a5614e/hbase-spark-it/pom.xml -- diff --git a/hbase-spark-it/pom.xml b/hbase-spark-it/pom.xml index f3b2088..f1f5e44 100644 --- a/hbase-spark-it/pom.xml +++ b/hbase-spark-it/pom.xml @@ -267,8 +267,8 @@ commons-math - org.apache.commons - commons-lang3 + commons-lang + commons-lang org.apache.htrace http://git-wip-us.apache.org/repos/asf/hbase/blob/47a5614e/hbase-spark-it/src/test/java/org/apache/hadoop/hbase/spark/IntegrationTestSparkBulkLoad.java -- diff --git a/hbase-spark-it/src/test/java/org/apache/hadoop/hbase/spark/IntegrationTestSparkBulkLoad.java b/hbase-spark-it/src/test/java/org/apache/hadoop/hbase/spark/IntegrationTestSparkBulkLoad.java index 76bfcd5..f45c0b9 100644 ---
[3/3] hbase git commit: Revert "HBASE-18674 upgrading to commons-lang3" Premature push
Revert "HBASE-18674 upgrading to commons-lang3" Premature push This reverts commit 5dacc85122ca67b0446bc79624d378824d2428eb. Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/47a5614e Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/47a5614e Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/47a5614e Branch: refs/heads/master Commit: 47a5614edd39c760523712add2501bf50a916c14 Parents: ea1620f Author: Michael StackAuthored: Mon Aug 28 16:41:34 2017 -0700 Committer: Michael Stack Committed: Mon Aug 28 16:41:34 2017 -0700 -- dev-support/docker/Dockerfile | 2 +- hbase-backup/pom.xml| 4 +-- .../apache/hadoop/hbase/backup/BackupInfo.java | 2 +- .../hadoop/hbase/backup/RestoreDriver.java | 2 +- .../hbase/backup/impl/BackupAdminImpl.java | 2 +- .../hbase/backup/impl/BackupCommands.java | 2 +- .../hbase/backup/impl/BackupSystemTable.java| 2 +- .../impl/IncrementalTableBackupClient.java | 2 +- .../hbase/backup/impl/RestoreTablesClient.java | 2 +- .../mapreduce/MapReduceBackupMergeJob.java | 2 +- .../backup/mapreduce/MapReduceRestoreJob.java | 2 +- .../hadoop/hbase/backup/util/BackupSet.java | 2 +- .../hadoop/hbase/backup/TestFullRestore.java| 4 +-- .../TestIncrementalBackupMergeWithFailures.java | 2 +- hbase-client/pom.xml| 4 +-- .../hadoop/hbase/client/ClientScanner.java | 2 +- .../client/FastFailInterceptorContext.java | 4 +-- .../client/PreemptiveFastFailInterceptor.java | 2 +- .../hadoop/hbase/client/ZKAsyncRegistry.java| 4 +-- .../replication/ReplicationSerDeHelper.java | 2 +- .../hbase/client/replication/TableCFs.java | 2 +- .../hbase/ipc/NettyRpcClientConfigHelper.java | 2 +- .../hadoop/hbase/quotas/SpaceQuotaSnapshot.java | 2 +- .../apache/hadoop/hbase/zookeeper/ZKUtil.java | 2 +- .../hbase/client/TestClientNoCluster.java | 14 - .../hadoop/hbase/ipc/TestCellBlockBuilder.java | 2 +- hbase-common/pom.xml| 4 +-- .../org/apache/hadoop/hbase/HConstants.java | 4 +-- .../hbase/io/encoding/EncodedDataBlock.java | 2 +- .../hadoop/hbase/util/PairOfSameType.java | 5 ++- hbase-hadoop2-compat/pom.xml| 4 +-- .../impl/HBaseMetrics2HadoopMetricsAdapter.java | 2 +- .../hadoop/metrics2/lib/MutableHistogram.java | 2 +- hbase-it/pom.xml| 4 +-- .../hadoop/hbase/DistributedHBaseCluster.java | 4 +-- .../hadoop/hbase/HBaseClusterManager.java | 2 +- .../hadoop/hbase/IntegrationTestBase.java | 2 +- .../hbase/IntegrationTestDDLMasterFailover.java | 32 +-- .../hbase/IntegrationTestIngestWithACL.java | 2 +- .../StripeCompactionsPerformanceEvaluation.java | 2 +- .../hadoop/hbase/chaos/actions/Action.java | 6 ++-- .../hbase/chaos/actions/AddColumnAction.java| 2 +- .../hbase/chaos/actions/CompactMobAction.java | 4 +-- .../CompactRandomRegionOfTableAction.java | 4 +-- .../hbase/chaos/actions/CompactTableAction.java | 4 +-- ...MergeRandomAdjacentRegionsOfTableAction.java | 4 +-- .../chaos/actions/MoveRegionsOfTableAction.java | 4 +-- .../actions/RestartRsHoldingTableAction.java| 4 +-- .../actions/RollingBatchRestartRsAction.java| 6 ++-- .../UnbalanceKillAndRebalanceAction.java| 4 +-- .../chaos/actions/UnbalanceRegionsAction.java | 4 +-- .../chaos/monkies/PolicyBasedChaosMonkey.java | 6 ++-- .../hbase/chaos/policies/PeriodicPolicy.java| 4 +-- .../hbase/chaos/util/ChaosMonkeyRunner.java | 2 +- .../mapreduce/IntegrationTestBulkLoad.java | 2 +- .../hadoop/hbase/mttr/IntegrationTestMTTR.java | 2 +- ...stTimeBoundedRequestsWithRegionReplicas.java | 2 +- .../hbase/mapreduce/HFileOutputFormat2.java | 2 +- .../hadoop/hbase/mapreduce/ImportTsv.java | 2 +- .../hadoop/hbase/mapreduce/RowCounter.java | 2 +- .../hadoop/hbase/PerformanceEvaluation.java | 2 +- hbase-metrics-api/pom.xml | 4 +-- .../hbase/metrics/MetricRegistryInfo.java | 2 +- hbase-replication/pom.xml | 4 +-- .../hbase/replication/ReplicationFactory.java | 2 +- .../TableBasedReplicationQueuesClientImpl.java | 9 +++--- .../TableBasedReplicationQueuesImpl.java| 14 + .../src/main/resources/META-INF/NOTICE.vm | 12 --- hbase-rest/pom.xml | 4 +-- .../apache/hadoop/hbase/rest/RESTServer.java| 2 +- .../apache/hadoop/hbase/rest/RowResource.java | 2 +- .../apache/hadoop/hbase/rest/TableResource.java | 2 +- .../hadoop/hbase/rest/model/CellModel.java | 6 ++-- .../hadoop/hbase/rest/model/RowModel.java
[3/4] hbase git commit: HBASE-18674 upgrading to commons-lang3
HBASE-18674 upgrading to commons-lang3 Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/5dacc851 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5dacc851 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5dacc851 Branch: refs/heads/master Commit: 5dacc85122ca67b0446bc79624d378824d2428eb Parents: a2b110e Author: Umesh AgasheAuthored: Thu Aug 24 11:10:17 2017 -0700 Committer: Michael Stack Committed: Mon Aug 28 15:57:12 2017 -0700 -- dev-support/docker/Dockerfile | 2 +- hbase-backup/pom.xml| 4 +-- .../apache/hadoop/hbase/backup/BackupInfo.java | 2 +- .../hadoop/hbase/backup/RestoreDriver.java | 2 +- .../hbase/backup/impl/BackupAdminImpl.java | 2 +- .../hbase/backup/impl/BackupCommands.java | 2 +- .../hbase/backup/impl/BackupSystemTable.java| 2 +- .../impl/IncrementalTableBackupClient.java | 2 +- .../hbase/backup/impl/RestoreTablesClient.java | 2 +- .../mapreduce/MapReduceBackupMergeJob.java | 2 +- .../backup/mapreduce/MapReduceRestoreJob.java | 2 +- .../hadoop/hbase/backup/util/BackupSet.java | 2 +- .../hadoop/hbase/backup/TestFullRestore.java| 4 +-- .../TestIncrementalBackupMergeWithFailures.java | 2 +- hbase-client/pom.xml| 4 +-- .../hadoop/hbase/client/ClientScanner.java | 2 +- .../client/FastFailInterceptorContext.java | 4 +-- .../client/PreemptiveFastFailInterceptor.java | 2 +- .../hadoop/hbase/client/ZKAsyncRegistry.java| 4 +-- .../replication/ReplicationSerDeHelper.java | 2 +- .../hbase/client/replication/TableCFs.java | 2 +- .../hbase/ipc/NettyRpcClientConfigHelper.java | 2 +- .../hadoop/hbase/quotas/SpaceQuotaSnapshot.java | 2 +- .../apache/hadoop/hbase/zookeeper/ZKUtil.java | 2 +- .../hbase/client/TestClientNoCluster.java | 14 - .../hadoop/hbase/ipc/TestCellBlockBuilder.java | 2 +- hbase-common/pom.xml| 4 +-- .../org/apache/hadoop/hbase/HConstants.java | 4 ++- .../hbase/io/encoding/EncodedDataBlock.java | 2 +- .../hadoop/hbase/util/PairOfSameType.java | 5 +-- hbase-hadoop2-compat/pom.xml| 4 +-- .../impl/HBaseMetrics2HadoopMetricsAdapter.java | 2 +- .../hadoop/metrics2/lib/MutableHistogram.java | 2 +- hbase-it/pom.xml| 4 +-- .../hadoop/hbase/DistributedHBaseCluster.java | 4 +-- .../hadoop/hbase/HBaseClusterManager.java | 2 +- .../hadoop/hbase/IntegrationTestBase.java | 2 +- .../hbase/IntegrationTestDDLMasterFailover.java | 32 +-- .../hbase/IntegrationTestIngestWithACL.java | 2 +- .../StripeCompactionsPerformanceEvaluation.java | 2 +- .../hadoop/hbase/chaos/actions/Action.java | 6 ++-- .../hbase/chaos/actions/AddColumnAction.java| 2 +- .../hbase/chaos/actions/CompactMobAction.java | 4 +-- .../CompactRandomRegionOfTableAction.java | 4 +-- .../hbase/chaos/actions/CompactTableAction.java | 4 +-- ...MergeRandomAdjacentRegionsOfTableAction.java | 4 +-- .../chaos/actions/MoveRegionsOfTableAction.java | 4 +-- .../actions/RestartRsHoldingTableAction.java| 4 +-- .../actions/RollingBatchRestartRsAction.java| 6 ++-- .../UnbalanceKillAndRebalanceAction.java| 4 +-- .../chaos/actions/UnbalanceRegionsAction.java | 4 +-- .../chaos/monkies/PolicyBasedChaosMonkey.java | 6 ++-- .../hbase/chaos/policies/PeriodicPolicy.java| 4 +-- .../hbase/chaos/util/ChaosMonkeyRunner.java | 2 +- .../mapreduce/IntegrationTestBulkLoad.java | 2 +- .../hadoop/hbase/mttr/IntegrationTestMTTR.java | 2 +- ...stTimeBoundedRequestsWithRegionReplicas.java | 2 +- .../hbase/mapreduce/HFileOutputFormat2.java | 2 +- .../hadoop/hbase/mapreduce/ImportTsv.java | 2 +- .../hadoop/hbase/mapreduce/RowCounter.java | 2 +- .../hadoop/hbase/PerformanceEvaluation.java | 2 +- hbase-metrics-api/pom.xml | 4 +-- .../hbase/metrics/MetricRegistryInfo.java | 2 +- hbase-replication/pom.xml | 4 +-- .../hbase/replication/ReplicationFactory.java | 2 +- .../TableBasedReplicationQueuesClientImpl.java | 9 +++--- .../TableBasedReplicationQueuesImpl.java| 14 - .../src/main/resources/META-INF/NOTICE.vm | 12 +++ hbase-rest/pom.xml | 4 +-- .../apache/hadoop/hbase/rest/RESTServer.java| 2 +- .../apache/hadoop/hbase/rest/RowResource.java | 2 +- .../apache/hadoop/hbase/rest/TableResource.java | 2 +- .../hadoop/hbase/rest/model/CellModel.java | 6 ++-- .../hadoop/hbase/rest/model/RowModel.java | 6 ++-- .../hbase/rest/HBaseRESTTestingUtility.java | 2 +-
[1/4] hbase git commit: HBASE-18674 upgrading to commons-lang3
Repository: hbase Updated Branches: refs/heads/master a2b110e0f -> ea1620ff4 http://git-wip-us.apache.org/repos/asf/hbase/blob/5dacc851/hbase-server/src/test/java/org/apache/hadoop/hbase/util/MultiThreadedUpdater.java -- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/util/MultiThreadedUpdater.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/util/MultiThreadedUpdater.java index febc82b..0cc4143 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/util/MultiThreadedUpdater.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/util/MultiThreadedUpdater.java @@ -29,7 +29,7 @@ import java.util.HashSet; import java.util.Map; import java.util.Set; -import org.apache.commons.lang.math.RandomUtils; +import org.apache.commons.lang3.RandomUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; @@ -139,7 +139,7 @@ public class MultiThreadedUpdater extends MultiThreadedWriterBase { StringBuilder buf = new StringBuilder(); byte[][] columnFamilies = dataGenerator.getColumnFamilies(); while ((rowKeyBase = getNextKeyToUpdate()) < endKey) { - if (RandomUtils.nextInt(100) < updatePercent) { + if (RandomUtils.nextInt(0, 100) < updatePercent) { byte[] rowKey = dataGenerator.getDeterministicUniqueKey(rowKeyBase); Increment inc = new Increment(rowKey); Append app = new Append(rowKey); @@ -189,7 +189,7 @@ public class MultiThreadedUpdater extends MultiThreadedWriterBase { continue; } MutationType mt = MutationType - .valueOf(RandomUtils.nextInt(MutationType.values().length)); + .valueOf(RandomUtils.nextInt(0, MutationType.values().length)); long columnHash = Arrays.hashCode(column); long hashCode = cfHash + columnHash; byte[] hashCodeBytes = Bytes.toBytes(hashCode); http://git-wip-us.apache.org/repos/asf/hbase/blob/5dacc851/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestRegionSplitter.java -- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestRegionSplitter.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestRegionSplitter.java index 0c5b980..19e048c 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestRegionSplitter.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestRegionSplitter.java @@ -27,7 +27,7 @@ import static org.junit.Assert.assertTrue; import java.util.ArrayList; import java.util.List; -import org.apache.commons.lang.ArrayUtils; +import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; http://git-wip-us.apache.org/repos/asf/hbase/blob/5dacc851/hbase-shaded/pom.xml -- diff --git a/hbase-shaded/pom.xml b/hbase-shaded/pom.xml index 25f3c59..a186d08 100644 --- a/hbase-shaded/pom.xml +++ b/hbase-shaded/pom.xml @@ -289,8 +289,8 @@ org.apache.hadoop.hbase.shaded.org.apache.commons.net - org.apache.commons.lang - org.apache.hadoop.hbase.shaded.org.apache.commons.lang + org.apache.commons.lang3 + org.apache.hadoop.hbase.shaded.org.apache.commons.lang3 org.apache.commons.el http://git-wip-us.apache.org/repos/asf/hbase/blob/5dacc851/hbase-spark-it/pom.xml -- diff --git a/hbase-spark-it/pom.xml b/hbase-spark-it/pom.xml index f1f5e44..f3b2088 100644 --- a/hbase-spark-it/pom.xml +++ b/hbase-spark-it/pom.xml @@ -267,8 +267,8 @@ commons-math - commons-lang - commons-lang + org.apache.commons + commons-lang3 org.apache.htrace http://git-wip-us.apache.org/repos/asf/hbase/blob/5dacc851/hbase-spark-it/src/test/java/org/apache/hadoop/hbase/spark/IntegrationTestSparkBulkLoad.java -- diff --git a/hbase-spark-it/src/test/java/org/apache/hadoop/hbase/spark/IntegrationTestSparkBulkLoad.java b/hbase-spark-it/src/test/java/org/apache/hadoop/hbase/spark/IntegrationTestSparkBulkLoad.java index f45c0b9..76bfcd5 100644 ---
[2/4] hbase git commit: HBASE-18674 upgrading to commons-lang3
http://git-wip-us.apache.org/repos/asf/hbase/blob/5dacc851/hbase-resource-bundle/src/main/resources/META-INF/NOTICE.vm -- diff --git a/hbase-resource-bundle/src/main/resources/META-INF/NOTICE.vm b/hbase-resource-bundle/src/main/resources/META-INF/NOTICE.vm index 953b316..c0ff317 100644 --- a/hbase-resource-bundle/src/main/resources/META-INF/NOTICE.vm +++ b/hbase-resource-bundle/src/main/resources/META-INF/NOTICE.vm @@ -199,6 +199,13 @@ JRuby's licence. ## jruby bundles jquery, but we already ref that above. #end +#macro(commons_lang3_notice) +-- +## commons-lang3 has following note in the NOTICE file +This product includes software from the Spring Framework, +under the Apache License 2.0 (see: StringUtils.containsWhitespace()) + +#end ## first bundled source #if(${bundled-logo}) #orca_logo_notice() @@ -255,6 +262,11 @@ JRuby's licence. #if(${dep.artifactId.equals("jruby-complete")}) #set($jruby=true) #end +#if(${dep.artifactId.equals("commons-lang3")}) +#if(${dep.groupId.equals("org.apache.commons")}) +#commons_lang3_notice() +#end +#end #if( ${dep.licenses.isEmpty()} ) ERROR: This product includes ${dep.name} which has no licenses! Revert the change if invalid or if intentional add license info to supplemental-models.xml http://git-wip-us.apache.org/repos/asf/hbase/blob/5dacc851/hbase-rest/pom.xml -- diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml index 639c0c2..1660594 100644 --- a/hbase-rest/pom.xml +++ b/hbase-rest/pom.xml @@ -268,8 +268,8 @@ httpcore - commons-lang - commons-lang + org.apache.commons + commons-lang3 commons-logging http://git-wip-us.apache.org/repos/asf/hbase/blob/5dacc851/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java -- diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java index eb3fc26..721e108 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java @@ -32,7 +32,7 @@ import org.apache.commons.cli.HelpFormatter; import org.apache.commons.cli.Options; import org.apache.commons.cli.ParseException; import org.apache.commons.cli.PosixParser; -import org.apache.commons.lang.ArrayUtils; +import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.classification.InterfaceAudience; http://git-wip-us.apache.org/repos/asf/hbase/blob/5dacc851/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RowResource.java -- diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RowResource.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RowResource.java index ceb8bb2..d6a3e14 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RowResource.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RowResource.java @@ -36,7 +36,7 @@ import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.ResponseBuilder; import javax.ws.rs.core.UriInfo; -import org.apache.commons.lang.StringUtils; +import org.apache.commons.lang3.StringUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.classification.InterfaceAudience; http://git-wip-us.apache.org/repos/asf/hbase/blob/5dacc851/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java -- diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java index ddfa8bb..91e19ab 100644 --- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java +++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java @@ -31,7 +31,7 @@ import javax.ws.rs.QueryParam; import javax.ws.rs.core.Context; import javax.ws.rs.core.UriInfo; -import org.apache.commons.lang.StringUtils; +import org.apache.commons.lang3.StringUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.TableName; http://git-wip-us.apache.org/repos/asf/hbase/blob/5dacc851/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/CellModel.java -- diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/CellModel.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/model/CellModel.java index 0b98816..07544a6 100644 ---
[4/4] hbase git commit: HBASE-18710 Move on to hbase-thirdparty 1.0.1 (it was just released).
HBASE-18710 Move on to hbase-thirdparty 1.0.1 (it was just released). Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/ea1620ff Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/ea1620ff Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/ea1620ff Branch: refs/heads/master Commit: ea1620ff4252b5d04782576ded7892d175804e9b Parents: 5dacc85 Author: Michael StackAuthored: Mon Aug 28 12:37:17 2017 -0700 Committer: Michael Stack Committed: Mon Aug 28 16:39:50 2017 -0700 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/ea1620ff/pom.xml -- diff --git a/pom.xml b/pom.xml index 86342fd..f6b33ca 100755 --- a/pom.xml +++ b/pom.xml @@ -1459,7 +1459,7 @@ 3.1.0-RC3 2.12 1.0.1 -1.0.0 +1.0.1 /usr /etc/hbase
svn commit: r21334 - in /release/hbase: hbase-thirdparty-1.0.0/ hbase-thirdparty-1.0.1/
Author: stack Date: Mon Aug 28 19:17:10 2017 New Revision: 21334 Log: Add hbase-thirdparty-1.0.1 and remove hbase-thirdparty-1.0.0 Added: release/hbase/hbase-thirdparty-1.0.1/ release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz (with props) release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz.asc release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz.md5 release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz.mds release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz.sha Removed: release/hbase/hbase-thirdparty-1.0.0/ Added: release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz == Binary file - no diff available. Propchange: release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz -- svn:mime-type = application/octet-stream Added: release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz.asc == --- release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz.asc (added) +++ release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz.asc Mon Aug 28 19:17:10 2017 @@ -0,0 +1,17 @@ +-BEGIN PGP SIGNATURE- +Version: GnuPG v2 + +iQIcBAABCAAGBQJZngM/AAoJEJgWx/yKzJPSvUIP/1FNty33F+XsAx8AXYGWKQ7Z +nWGiLqE3VuN6dgbAocEzOwbh04l8m84mbKK3c8Z3LPtvrzTvvt8jKR8N+o7KUkxd +bbJPNofBcHGCmxLBz1i7XnIOo6vU2mwZs2pjkYOHwykiJi6bsLeKh9W7NBFk7mlQ +2bfUO8dynHiwnh0CA9jZrGbjoPXY2j4mgnwnPHIk0rGI/cxZPmp1YNSOy9Ov2hwp +dyq+hfmn7oM/7KscypfiaTAh+bcnvauO03eCBgAPV+ZpFBBCjfWguhptCPGDbPgk +wn1eNH1nGV0u9mwyytAHpoUDsTHb53gRWBT5zObqIHfu5A2tvO2S4UYEErRwFUPb +dhx0EEjrzJlG00vExsUyrvDjDl+cdgoS0UyjWQk8Ms27lN2784djJDIVa5u9vRA+ +EJuEwbbKr/RwRWTsqG6jrl6mJ4F3TBiduowcrEaJ8C3kgCHH82xWNgqerC7X0l+g +XrOBbKss0tkERoQ9B+55l6QFR/9f3rKDDV+sxnHykr8m4NErmRU79LI1980qEuR6 +8RzWjZrIjXPsWbxqp7kV1NbfkTIzyx/cNoGWFQdKLlbbNv5ntdrI+0WDkcHd0sBy +zVZjOCe+GwzG9ih6gDDK6vEnG/CXkIcgALz44pRlRVeQk2nSKRuwFHpECVhQ13Pp +SbpQvD/tKEIB7wz5Sf4A +=AK4a +-END PGP SIGNATURE- Added: release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz.md5 == --- release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz.md5 (added) +++ release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz.md5 Mon Aug 28 19:17:10 2017 @@ -0,0 +1,2 @@ +hbase-thirdparty-1.0.1-src.tar.gz: FC E8 0D 75 2F AE BA 9C AE D9 7C E9 BA 8D 17 + F5 Added: release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz.mds == --- release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz.mds (added) +++ release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz.mds Mon Aug 28 19:17:10 2017 @@ -0,0 +1,17 @@ +hbase-thirdparty-1.0.1-src.tar.gz:MD5 = FC E8 0D 75 2F AE BA 9C AE D9 7C E9 +BA 8D 17 F5 +hbase-thirdparty-1.0.1-src.tar.gz: SHA1 = BBD3 F0E6 0298 9D75 8DE2 67E2 052F +9570 A46B 069F +hbase-thirdparty-1.0.1-src.tar.gz: RMD160 = C4F3 5EA0 C764 92DB 4DA2 3F06 3761 +E43C F3B9 0F59 +hbase-thirdparty-1.0.1-src.tar.gz: SHA224 = 0BE5C57B B38B3503 E74DAC5D 4056E987 +FB24DAB4 4EFCF9E3 9F287AFF +hbase-thirdparty-1.0.1-src.tar.gz: SHA256 = E0D784E4 8D0FFE93 22256FBD 1264B926 +E550B2EB 41BE78FD 9AF373DD 104C750B +hbase-thirdparty-1.0.1-src.tar.gz: SHA384 = 727847B5 C40D94E3 960034BE E749502D +8A3F6EB8 9802E3FD 30C20D00 428FE916 +B2A80F5E 20292D02 219D510D 1C98467B +hbase-thirdparty-1.0.1-src.tar.gz: SHA512 = 2370B8E7 431382A3 F6EE3058 1EAEE3AA +3CD428C8 7546FE56 C8792C2A 58A9CB70 +923F24C8 2D445644 FBC33931 74D7FCA5 +78DBB7FE 7417AB5D 4B0D99A8 89F44D03 Added: release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz.sha == --- release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz.sha (added) +++ release/hbase/hbase-thirdparty-1.0.1/hbase-thirdparty-1.0.1-src.tar.gz.sha Mon Aug 28 19:17:10 2017 @@ -0,0 +1,4 @@ +hbase-thirdparty-1.0.1-src.tar.gz: 2370B8E7 431382A3 F6EE3058 1EAEE3AA 3CD428C8 + 7546FE56 C8792C2A 58A9CB70 923F24C8 2D445644 + FBC33931
[hbase-thirdparty] Git Push Summary
Repository: hbase-thirdparty Updated Tags: refs/tags/rel/1.0.1 [created] 1384d329c
hbase git commit: HBASE-18692 [compat 1-2] ByteBufferUtils.copyFromBufferToBuffer goes from void to int
Repository: hbase Updated Branches: refs/heads/branch-2 5531be160 -> 5053ed954 HBASE-18692 [compat 1-2] ByteBufferUtils.copyFromBufferToBuffer goes from void to int Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/5053ed95 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5053ed95 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5053ed95 Branch: refs/heads/branch-2 Commit: 5053ed954506f2d5d4ed3f13153ef32472617771 Parents: 5531be1 Author: Michael StackAuthored: Sun Aug 27 22:22:12 2017 -0700 Committer: Michael Stack Committed: Mon Aug 28 10:01:18 2017 -0700 -- .../main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/5053ed95/hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java -- diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java index d7f2035..6dde988 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java @@ -395,7 +395,7 @@ public final class ByteBufferUtils { * @param destinationOffset * @param length */ - public static int copyFromBufferToBuffer(ByteBuffer in, ByteBuffer out, int sourceOffset, + public static void copyFromBufferToBuffer(ByteBuffer in, ByteBuffer out, int sourceOffset, int destinationOffset, int length) { if (in.hasArray() && out.hasArray()) { System.arraycopy(in.array(), sourceOffset + in.arrayOffset(), out.array(), out.arrayOffset() @@ -409,7 +409,7 @@ public final class ByteBufferUtils { inDup.position(sourceOffset).limit(sourceOffset + length); outDup.put(inDup); } -return destinationOffset + length; +// We used to return a result but disabled; return destinationOffset + length; } /**
hbase git commit: HBASE-18692 [compat 1-2] ByteBufferUtils.copyFromBufferToBuffer goes from void to int
Repository: hbase Updated Branches: refs/heads/master bbf23d962 -> a2b110e0f HBASE-18692 [compat 1-2] ByteBufferUtils.copyFromBufferToBuffer goes from void to int Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a2b110e0 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a2b110e0 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a2b110e0 Branch: refs/heads/master Commit: a2b110e0fa82e98e100b70210101efc727f313ec Parents: bbf23d9 Author: Michael StackAuthored: Sun Aug 27 22:22:12 2017 -0700 Committer: Michael Stack Committed: Mon Aug 28 10:00:31 2017 -0700 -- .../main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/a2b110e0/hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java -- diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java index d7f2035..6dde988 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java @@ -395,7 +395,7 @@ public final class ByteBufferUtils { * @param destinationOffset * @param length */ - public static int copyFromBufferToBuffer(ByteBuffer in, ByteBuffer out, int sourceOffset, + public static void copyFromBufferToBuffer(ByteBuffer in, ByteBuffer out, int sourceOffset, int destinationOffset, int length) { if (in.hasArray() && out.hasArray()) { System.arraycopy(in.array(), sourceOffset + in.arrayOffset(), out.array(), out.arrayOffset() @@ -409,7 +409,7 @@ public final class ByteBufferUtils { inDup.position(sourceOffset).limit(sourceOffset + length); outDup.put(inDup); } -return destinationOffset + length; +// We used to return a result but disabled; return destinationOffset + length; } /**
hbase git commit: HBASE-18369 hbase thrift web-ui not available
Repository: hbase Updated Branches: refs/heads/branch-2 152ad3025 -> 5531be160 HBASE-18369 hbase thrift web-ui not available classpath issue when running as a developer fixed removed thrift webapp from server (it's not used at all, since moved to thrift webapp) Signed-off-by: tedyuProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/5531be16 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5531be16 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5531be16 Branch: refs/heads/branch-2 Commit: 5531be160b2dc5136309163d52f4a0cd1ae1dcd3 Parents: 152ad30 Author: Tamas Penzes Authored: Mon Aug 28 17:26:00 2017 +0200 Committer: tedyu Committed: Mon Aug 28 08:48:51 2017 -0700 -- bin/hbase | 10 +- .../resources/hbase-webapps/thrift/index.html | 20 --- .../resources/hbase-webapps/thrift/thrift.jsp | 135 --- 3 files changed, 9 insertions(+), 156 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/5531be16/bin/hbase -- diff --git a/bin/hbase b/bin/hbase index 7eeaf2d..5982c68 100755 --- a/bin/hbase +++ b/bin/hbase @@ -160,7 +160,15 @@ if [ -d "$HBASE_HOME/hbase-webapps" ]; then fi #add if we are in a dev environment if [ -d "$HBASE_HOME/hbase-server/target/hbase-webapps" ]; then - add_to_cp_if_exists "${HBASE_HOME}/hbase-server/target" + if [ "$COMMAND" = "thrift" ] ; then +add_to_cp_if_exists "${HBASE_HOME}/hbase-thrift/target" + elif [ "$COMMAND" = "thrift2" ] ; then +add_to_cp_if_exists "${HBASE_HOME}/hbase-thrift/target" + elif [ "$COMMAND" = "rest" ] ; then +add_to_cp_if_exists "${HBASE_HOME}/hbase-rest/target" + else +add_to_cp_if_exists "${HBASE_HOME}/hbase-server/target" + fi fi add_maven_deps_to_classpath() { http://git-wip-us.apache.org/repos/asf/hbase/blob/5531be16/hbase-server/src/main/resources/hbase-webapps/thrift/index.html -- diff --git a/hbase-server/src/main/resources/hbase-webapps/thrift/index.html b/hbase-server/src/main/resources/hbase-webapps/thrift/index.html deleted file mode 100644 index 9925269..000 --- a/hbase-server/src/main/resources/hbase-webapps/thrift/index.html +++ /dev/null @@ -1,20 +0,0 @@ - - http://git-wip-us.apache.org/repos/asf/hbase/blob/5531be16/hbase-server/src/main/resources/hbase-webapps/thrift/thrift.jsp -- diff --git a/hbase-server/src/main/resources/hbase-webapps/thrift/thrift.jsp b/hbase-server/src/main/resources/hbase-webapps/thrift/thrift.jsp deleted file mode 100644 index 7f545ad..000 --- a/hbase-server/src/main/resources/hbase-webapps/thrift/thrift.jsp +++ /dev/null @@ -1,135 +0,0 @@ -<%-- -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ ---%> -<%@ page contentType="text/html;charset=UTF-8" - import="org.apache.hadoop.conf.Configuration" - import="org.apache.hadoop.hbase.HBaseConfiguration" - import="org.apache.hadoop.hbase.util.VersionInfo" - import="java.util.Date" -%> - -<% -Configuration conf = (Configuration)getServletContext().getAttribute("hbase.conf"); -long startcode = conf.getLong("startcode", System.currentTimeMillis()); -String listenPort = conf.get("hbase.regionserver.thrift.port", "9090"); -String serverInfo = listenPort + "," + String.valueOf(startcode); -String implType = conf.get("hbase.regionserver.thrift.server.type", "threadpool"); -String compact = conf.get("hbase.regionserver.thrift.compact", "false"); -String framed = conf.get("hbase.regionserver.thrift.framed", "false"); -%> - - - - - -HBase Thrift Server: <%= listenPort %> - - - - - - - - - - - - - - - - - - - - - -Home -
hbase git commit: HBASE-18369 hbase thrift web-ui not available
Repository: hbase Updated Branches: refs/heads/master f1b3528d7 -> bbf23d962 HBASE-18369 hbase thrift web-ui not available classpath issue when running as a developer fixed removed thrift webapp from server (it's not used at all, since moved to thrift webapp) Signed-off-by: tedyuProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/bbf23d96 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/bbf23d96 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/bbf23d96 Branch: refs/heads/master Commit: bbf23d9627849c32ee6914c1350da02bceba5127 Parents: f1b3528 Author: Tamas Penzes Authored: Mon Aug 28 17:26:00 2017 +0200 Committer: tedyu Committed: Mon Aug 28 08:45:57 2017 -0700 -- bin/hbase | 10 +- .../resources/hbase-webapps/thrift/index.html | 20 --- .../resources/hbase-webapps/thrift/thrift.jsp | 135 --- 3 files changed, 9 insertions(+), 156 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/bbf23d96/bin/hbase -- diff --git a/bin/hbase b/bin/hbase index 91cf015..c2e077c 100755 --- a/bin/hbase +++ b/bin/hbase @@ -160,7 +160,15 @@ if [ -d "$HBASE_HOME/hbase-webapps" ]; then fi #add if we are in a dev environment if [ -d "$HBASE_HOME/hbase-server/target/hbase-webapps" ]; then - add_to_cp_if_exists "${HBASE_HOME}/hbase-server/target" + if [ "$COMMAND" = "thrift" ] ; then +add_to_cp_if_exists "${HBASE_HOME}/hbase-thrift/target" + elif [ "$COMMAND" = "thrift2" ] ; then +add_to_cp_if_exists "${HBASE_HOME}/hbase-thrift/target" + elif [ "$COMMAND" = "rest" ] ; then +add_to_cp_if_exists "${HBASE_HOME}/hbase-rest/target" + else +add_to_cp_if_exists "${HBASE_HOME}/hbase-server/target" + fi fi add_maven_deps_to_classpath() { http://git-wip-us.apache.org/repos/asf/hbase/blob/bbf23d96/hbase-server/src/main/resources/hbase-webapps/thrift/index.html -- diff --git a/hbase-server/src/main/resources/hbase-webapps/thrift/index.html b/hbase-server/src/main/resources/hbase-webapps/thrift/index.html deleted file mode 100644 index 9925269..000 --- a/hbase-server/src/main/resources/hbase-webapps/thrift/index.html +++ /dev/null @@ -1,20 +0,0 @@ - - http://git-wip-us.apache.org/repos/asf/hbase/blob/bbf23d96/hbase-server/src/main/resources/hbase-webapps/thrift/thrift.jsp -- diff --git a/hbase-server/src/main/resources/hbase-webapps/thrift/thrift.jsp b/hbase-server/src/main/resources/hbase-webapps/thrift/thrift.jsp deleted file mode 100644 index 7f545ad..000 --- a/hbase-server/src/main/resources/hbase-webapps/thrift/thrift.jsp +++ /dev/null @@ -1,135 +0,0 @@ -<%-- -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ ---%> -<%@ page contentType="text/html;charset=UTF-8" - import="org.apache.hadoop.conf.Configuration" - import="org.apache.hadoop.hbase.HBaseConfiguration" - import="org.apache.hadoop.hbase.util.VersionInfo" - import="java.util.Date" -%> - -<% -Configuration conf = (Configuration)getServletContext().getAttribute("hbase.conf"); -long startcode = conf.getLong("startcode", System.currentTimeMillis()); -String listenPort = conf.get("hbase.regionserver.thrift.port", "9090"); -String serverInfo = listenPort + "," + String.valueOf(startcode); -String implType = conf.get("hbase.regionserver.thrift.server.type", "threadpool"); -String compact = conf.get("hbase.regionserver.thrift.compact", "false"); -String framed = conf.get("hbase.regionserver.thrift.framed", "false"); -%> - - - - - -HBase Thrift Server: <%= listenPort %> - - - - - - - - - - - - - - - - - - - - - -Home -
[48/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/apidocs/org/apache/hadoop/hbase/class-use/Cell.html -- diff --git a/apidocs/org/apache/hadoop/hbase/class-use/Cell.html b/apidocs/org/apache/hadoop/hbase/class-use/Cell.html index b91d5a5..f7e95f0 100644 --- a/apidocs/org/apache/hadoop/hbase/class-use/Cell.html +++ b/apidocs/org/apache/hadoop/hbase/class-use/Cell.html @@ -127,36 +127,54 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. +Cell +CellBuilder.build() + + static Cell CellUtil.createCell(byte[]row) -Create a Cell with specific row. +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use CellBuilder instead + - + static Cell CellUtil.createCell(byte[]row, byte[]value) -Create a Cell with specific row and value. +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use CellBuilder instead + - + static Cell CellUtil.createCell(byte[]row, byte[]family, byte[]qualifier) -Create a Cell with specific row. +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use CellBuilder instead + - + static Cell CellUtil.createCell(byte[]row, byte[]family, byte[]qualifier, longtimestamp, bytetype, - byte[]value) + byte[]value) +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use CellBuilder instead + + - + static Cell CellUtil.createCell(byte[]row, byte[]family, @@ -166,10 +184,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. byte[]value, byte[]tags, longmemstoreTS) -Marked as audience Private as of 1.2.0. +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use ExtendedCellBuilder instead + - + static Cell CellUtil.createCell(byte[]row, byte[]family, @@ -178,10 +199,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. bytetype, byte[]value, longmemstoreTS) -Marked as audience Private as of 1.2.0. +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use ExtendedCellBuilder instead + - + static Cell CellUtil.createCell(byte[]row, byte[]family, @@ -190,10 +214,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. org.apache.hadoop.hbase.KeyValue.Typetype, byte[]value, byte[]tags) -Marked as audience Private as of 1.2.0. +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use ExtendedCellBuilder instead + - + static Cell CellUtil.createCell(byte[]rowArray, introwOffset, @@ -203,25 +230,30 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. intfamilyLength, byte[]qualifierArray, intqualifierOffset, - intqualifierLength) + intqualifierLength) +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use CellBuilder instead + + - + static Cell CellUtil.createCell(Cellcell, byte[]tags) - + static Cell CellUtil.createCell(Cellcell, byte[]value, byte[]tags) - + static Cell CellUtil.createCell(Cellcell, http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listorg.apache.hadoop.hbase.Tagtags) - + static Cell CellUtil.createFirstDeleteFamilyCellOnRow(byte[]row, byte[]fam) @@ -230,29 +262,29 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. same row and family. - + static Cell CellUtil.createFirstOnNextRow(Cellcell) Create a Cell that is smaller than all other possible Cells for the given Cell row's next row. - + static Cell CellUtil.createFirstOnRow(byte[]row) - + static Cell CellUtil.createFirstOnRow(byte[]row, byte[]family, byte[]col) - + static Cell CellUtil.createFirstOnRow(byte[]row, introffset, shortrlength) - + static Cell CellUtil.createFirstOnRow(byte[]row, introffset, @@ -264,19 +296,19 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. intcoffset, intclength) - + static Cell CellUtil.createFirstOnRow(Cellcell) Create a Cell that is smaller than all other possible Cells for the given Cell's row. - + static Cell CellUtil.createFirstOnRowCol(Cellcell) Create a Cell that is smaller than all other possible Cells for the given Cell's row. - + static Cell CellUtil.createFirstOnRowCol(Cellcell, byte[]qArray, @@
[39/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html index b10fc11..466a993 100644 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html +++ b/devapidocs/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html @@ -128,7 +128,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -private static class CellUtil.ValueAndTagRewriteByteBufferCell +private static class CellUtil.ValueAndTagRewriteByteBufferCell extends CellUtil.TagRewriteByteBufferCell @@ -292,7 +292,7 @@ extends value -protectedbyte[] value +protectedbyte[] value @@ -309,7 +309,7 @@ extends ValueAndTagRewriteByteBufferCell -publicValueAndTagRewriteByteBufferCell(ByteBufferCellcell, +publicValueAndTagRewriteByteBufferCell(ByteBufferCellcell, byte[]value, byte[]tags) @@ -328,7 +328,7 @@ extends getValueArray -publicbyte[]getValueArray() +publicbyte[]getValueArray() Description copied from interface:Cell Contiguous raw bytes that may start at any index in the containing array. Max length is Integer.MAX_VALUE which is 2,147,483,647 bytes. @@ -348,7 +348,7 @@ extends getValueOffset -publicintgetValueOffset() +publicintgetValueOffset() Specified by: getValueOffsetin interfaceCell @@ -365,7 +365,7 @@ extends getValueLength -publicintgetValueLength() +publicintgetValueLength() Specified by: getValueLengthin interfaceCell @@ -382,7 +382,7 @@ extends getValueByteBuffer -publichttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffergetValueByteBuffer() +publichttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffergetValueByteBuffer() Overrides: getValueByteBufferin classCellUtil.TagRewriteByteBufferCell @@ -397,7 +397,7 @@ extends getValuePosition -publicintgetValuePosition() +publicintgetValuePosition() Overrides: getValuePositionin classCellUtil.TagRewriteByteBufferCell @@ -412,7 +412,7 @@ extends heapSize -publiclongheapSize() +publiclongheapSize() Specified by: heapSizein interfaceHeapSize @@ -430,7 +430,7 @@ extends write -publicintwrite(http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true; title="class or interface in java.io">OutputStreamout, +publicintwrite(http://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true; title="class or interface in java.io">OutputStreamout, booleanwithTags) throws http://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:ExtendedCell @@ -461,7 +461,7 @@ extends getSerializedSize -publicintgetSerializedSize(booleanwithTags) +publicintgetSerializedSize(booleanwithTags) Specified by: getSerializedSizein interfaceExtendedCell @@ -485,7 +485,7 @@ extends write -publicvoidwrite(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferbuf, +publicvoidwrite(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferbuf, intoffset) Description copied from interface:ExtendedCell Write this Cell into the given buf's offset in a KeyValue format. @@ -506,7 +506,7 @@ extends deepClone -publicCelldeepClone() +publicCelldeepClone() Description copied from interface:ExtendedCell Does a deep copy of the contents to a new memory area and returns it as a new cell. http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteCell.html index 62f442e..8e00e56 100644 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteCell.html +++ b/devapidocs/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteCell.html @@ -123,7 +123,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -private static class CellUtil.ValueAndTagRewriteCell +private static class CellUtil.ValueAndTagRewriteCell extends CellUtil.TagRewriteCell @@ -295,7 +295,7 @@ extends value -protectedbyte[] value +protectedbyte[] value
hbase-site git commit: INFRA-10751 Empty commit
Repository: hbase-site Updated Branches: refs/heads/asf-site f751513b0 -> 8d2401103 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/8d240110 Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/8d240110 Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/8d240110 Branch: refs/heads/asf-site Commit: 8d2401103ce4d318a6aaba0b50166f48fd8abeb2 Parents: f751513 Author: jenkinsAuthored: Mon Aug 28 15:10:55 2017 + Committer: jenkins Committed: Mon Aug 28 15:10:55 2017 + -- --
[47/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html b/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html index 3e734a6..6b0729b 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields defaulted. -407 * @param row -408 * @param family -409 * @param qualifier -410 * @return Cell with passed row but all other fields are arbitrary -411 */
hbase git commit: HBASE-18701 Optimize reference guide to use cell acl conveniently
Repository: hbase Updated Branches: refs/heads/master e219d3469 -> f1b3528d7 HBASE-18701 Optimize reference guide to use cell acl conveniently Signed-off-by: tedyuProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f1b3528d Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f1b3528d Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f1b3528d Branch: refs/heads/master Commit: f1b3528d791e01427c98d7209f266cfa2380778c Parents: e219d34 Author: å¼ ä¸å½¬10204932 Authored: Mon Aug 28 14:01:43 2017 +0800 Committer: tedyu Committed: Mon Aug 28 08:10:51 2017 -0700 -- src/main/asciidoc/_chapters/security.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/f1b3528d/src/main/asciidoc/_chapters/security.adoc -- diff --git a/src/main/asciidoc/_chapters/security.adoc b/src/main/asciidoc/_chapters/security.adoc index ccb5adb..9a67778 100644 --- a/src/main/asciidoc/_chapters/security.adoc +++ b/src/main/asciidoc/_chapters/security.adoc @@ -989,7 +989,7 @@ hbase> help "scan" + -This example grants read access to the 'testuser' user and read/write access to the 'developers' group, on cells in the 'pii' column which match the filter. +If you need to enable cell acl,the hfile.format.version option in hbase-site.xml should be greater than or equal to 3,and the hbase.security.access.early_out option should be set to false.This example grants read access to the 'testuser' user and read/write access to the 'developers' group, on cells in the 'pii' column which match the filter. + hbase> grant 'user', \
[49/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/apidocs/org/apache/hadoop/hbase/CellUtil.html -- diff --git a/apidocs/org/apache/hadoop/hbase/CellUtil.html b/apidocs/org/apache/hadoop/hbase/CellUtil.html index bc4cc0f..2dbf4a2 100644 --- a/apidocs/org/apache/hadoop/hbase/CellUtil.html +++ b/apidocs/org/apache/hadoop/hbase/CellUtil.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":41,"i57":9,"i58":9,"i59":9,"i60":9,"i61":9,"i62":9,"i63":9,"i64":9,"i65":9,"i66":9,"i67":9,"i68":9,"i69":9,"i70":9,"i71":9,"i72":9,"i73":9,"i74":9,"i75":9,"i76":9,"i77":9,"i78":9,"i79":9,"i80":9,"i81":9,"i82":9,"i83":9,"i84":9,"i85":41,"i86":9,"i87":9,"i88":9,"i89":9,"i90":9,"i91":9,"i92":9,"i93":9,"i94":9,"i95":9,"i96":41,"i97":9,"i98":9,"i99":9,"i100":9,"i101":9,"i102":9,"i103":9,"i104":9,"i105":9,"i106":9,"i107":9,"i108":9,"i109":9,"i110":9}; +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":41,"i17":41,"i18":41,"i19":41,"i20":41,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":41,"i57":9,"i58":9,"i59":9,"i60":9,"i61":9,"i62":9,"i63":9,"i64":9,"i65":9,"i66":9,"i67":9,"i68":9,"i69":9,"i70":9,"i71":9,"i72":9,"i73":9,"i74":9,"i75":9,"i76":9,"i77":9,"i78":9,"i79":9,"i80":9,"i81":9,"i82":9,"i83":9,"i84":9,"i85":41,"i86":9,"i87":9,"i88":9,"i89":9,"i90":9,"i91":9,"i92":9,"i93":9,"i94":9,"i95":9,"i96":41,"i97":9,"i98":9,"i99":9,"i100":9,"i101":9,"i102":9,"i103":9,"i104":9,"i105":9,"i106":9,"i107":9,"i108":9,"i109":9,"i110":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -49,7 +49,7 @@ var activeTableTab = "activeTableTab"; -PrevClass +PrevClass NextClass @@ -228,14 +228,20 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? static Cell createCell(byte[]row) -Create a Cell with specific row. +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use CellBuilder instead + static Cell createCell(byte[]row, byte[]value) -Create a Cell with specific row and value. +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use CellBuilder instead + @@ -243,7 +249,10 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? createCell(byte[]row, byte[]family, byte[]qualifier) -Create a Cell with specific row. +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use CellBuilder instead + @@ -253,7 +262,12 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? byte[]qualifier, longtimestamp, bytetype, - byte[]value) + byte[]value) +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use CellBuilder instead + + static Cell @@ -265,7 +279,12 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? intfamilyLength, byte[]qualifierArray, intqualifierOffset, - intqualifierLength) + intqualifierLength) +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use CellBuilder instead + + static Cell @@ -1144,12 +1163,15 @@ public statichttp://docs.oracle.com/javase/8/docs/api/java/nio/By createCell -public staticCellcreateCell(byte[]row, - byte[]family, - byte[]qualifier, - longtimestamp, - bytetype, - byte[]value) +http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated +public staticCellcreateCell(byte[]row, + byte[]family, + byte[]qualifier, + longtimestamp, + bytetype, + byte[]value) +Deprecated.As of
[35/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/IndividualBytesFieldCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/IndividualBytesFieldCell.html b/devapidocs/org/apache/hadoop/hbase/IndividualBytesFieldCell.html index 6c2ed19..4ac 100644 --- a/devapidocs/org/apache/hadoop/hbase/IndividualBytesFieldCell.html +++ b/devapidocs/org/apache/hadoop/hbase/IndividualBytesFieldCell.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -50,7 +50,7 @@ var activeTableTab = "activeTableTab"; PrevClass -NextClass +NextClass Frames @@ -144,10 +144,34 @@ implements FIXED_OVERHEAD +private int +fLength + + +private int +fOffset + + +private int +qLength + + +private int +qOffset + + private byte[] qualifier +private int +rLength + + +private int +rOffset + + private byte[] row @@ -160,6 +184,14 @@ implements tags +private int +tagsLength + + +private int +tagsOffset + + private long timestamp @@ -171,6 +203,14 @@ implements private byte[] value + +private int +vLength + + +private int +vOffset + @@ -210,6 +250,26 @@ implements + +IndividualBytesFieldCell(byte[]row, +intrOffset, +intrLength, +byte[]family, +intfOffset, +intfLength, +byte[]qualifier, +intqOffset, +intqLength, +longtimestamp, +KeyValue.Typetype, +longseqId, +byte[]value, +intvOffset, +intvLength, +byte[]tags, +inttagsOffset, +inttagsLength) + @@ -226,145 +286,155 @@ implements Method and Description +private void +checkArrayBounds(byte[]bytes, +intoffset, +intlength) + + http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object clone() Implement Cloneable interface - + Cell deepClone() Does a deep copy of the contents to a new memory area and returns it as a new cell. - + byte[] getFamilyArray() Contiguous bytes composed of legal HDFS filename characters which may start at any index in the containing array. - + byte getFamilyLength() - + int getFamilyOffset() - + byte[] getQualifierArray() Contiguous raw bytes that may start at any index in the containing array. - + int getQualifierLength() - + int getQualifierOffset() - + byte[] getRowArray() Implement Cell interface - + short getRowLength() - + int getRowOffset() - + long getSequenceId() A region-specific unique monotonically increasing sequence ID given to each Cell. - + int getSerializedSize(booleanwithTags) - + byte[] getTagsArray() Contiguous raw bytes representing tags that may start at any index in the containing array. - + int getTagsLength() HBase internally uses 2 bytes to store tags length in Cell. - + int getTagsOffset() - + long getTimestamp() - + byte getTypeByte() - + byte[] getValueArray() Contiguous raw bytes that may start at any index in the containing array. - + int getValueLength() - + int getValueOffset() - + private long heapOverhead() - + long heapSize() Implement HeapSize interface - + void setSequenceId(longseqId) Implement SettableSequenceId interface - + void setTimestamp(byte[]ts, inttsOffset) Sets with the given timestamp. - + void setTimestamp(longts) Implement SettableTimestamp interface - + +http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +toString() + + void write(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferbuf, intoffset) Write this Cell into the given buf's offset in a KeyValue format. - + int
[02/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.FlushResultImpl.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.FlushResultImpl.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.FlushResultImpl.html index 7ae9178..c234c4c 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.FlushResultImpl.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.FlushResultImpl.html @@ -131,8074 +131,8079 @@ 123import org.apache.hadoop.hbase.conf.ConfigurationManager; 124import org.apache.hadoop.hbase.conf.PropagatingConfigurationObserver; 125import org.apache.hadoop.hbase.coprocessor.RegionObserver.MutationType; -126import org.apache.hadoop.hbase.errorhandling.ForeignExceptionSnare; -127import org.apache.hadoop.hbase.exceptions.FailedSanityCheckException; -128import org.apache.hadoop.hbase.exceptions.RegionInRecoveryException; -129import org.apache.hadoop.hbase.exceptions.TimeoutIOException; -130import org.apache.hadoop.hbase.exceptions.UnknownProtocolException; -131import org.apache.hadoop.hbase.filter.ByteArrayComparable; -132import org.apache.hadoop.hbase.filter.CompareFilter.CompareOp; -133import org.apache.hadoop.hbase.filter.FilterWrapper; -134import org.apache.hadoop.hbase.filter.IncompatibleFilterException; -135import org.apache.hadoop.hbase.io.HFileLink; -136import org.apache.hadoop.hbase.io.HeapSize; -137import org.apache.hadoop.hbase.io.TimeRange; -138import org.apache.hadoop.hbase.io.hfile.HFile; -139import org.apache.hadoop.hbase.ipc.CallerDisconnectedException; -140import org.apache.hadoop.hbase.ipc.CoprocessorRpcUtils; -141import org.apache.hadoop.hbase.ipc.RpcCall; -142import org.apache.hadoop.hbase.ipc.RpcCallContext; -143import org.apache.hadoop.hbase.ipc.RpcServer; -144import org.apache.hadoop.hbase.monitoring.MonitoredTask; -145import org.apache.hadoop.hbase.monitoring.TaskMonitor; -146import org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControl.WriteEntry; -147import org.apache.hadoop.hbase.regionserver.ScannerContext.LimitScope; -148import org.apache.hadoop.hbase.regionserver.ScannerContext.NextState; -149import org.apache.hadoop.hbase.regionserver.compactions.CompactionContext; -150import org.apache.hadoop.hbase.regionserver.throttle.CompactionThroughputControllerFactory; -151import org.apache.hadoop.hbase.regionserver.throttle.NoLimitThroughputController; -152import org.apache.hadoop.hbase.regionserver.throttle.ThroughputController; -153import org.apache.hadoop.hbase.regionserver.wal.WALEdit; -154import org.apache.hadoop.hbase.regionserver.wal.WALUtil; -155import org.apache.hadoop.hbase.security.User; -156import org.apache.hadoop.hbase.shaded.com.google.protobuf.TextFormat; -157import org.apache.hadoop.hbase.shaded.com.google.protobuf.UnsafeByteOperations; -158import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil; -159import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.GetRegionInfoResponse.CompactionState; -160import org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos; -161import org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.CoprocessorServiceCall; -162import org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionLoad; -163import org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.StoreSequenceId; -164import org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription; -165import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos; -166import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.CompactionDescriptor; -167import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor; -168import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor.FlushAction; -169import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor.StoreFlushDescriptor; -170import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor; -171import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor.EventType; -172import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.StoreDescriptor; -173import org.apache.hadoop.hbase.snapshot.SnapshotDescriptionUtils; -174import org.apache.hadoop.hbase.snapshot.SnapshotManifest; -175import org.apache.hadoop.hbase.util.Bytes; -176import org.apache.hadoop.hbase.util.CancelableProgressable; -177import org.apache.hadoop.hbase.util.ClassSize; -178import org.apache.hadoop.hbase.util.CollectionUtils; -179import org.apache.hadoop.hbase.util.CompressionTest; -180import org.apache.hadoop.hbase.util.EncryptionTest; -181import org.apache.hadoop.hbase.util.EnvironmentEdgeManager; -182import
[14/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields defaulted.
[42/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/CellBuilder.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellBuilder.html b/devapidocs/org/apache/hadoop/hbase/CellBuilder.html new file mode 100644 index 000..c33050b --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/CellBuilder.html @@ -0,0 +1,398 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +CellBuilder (Apache HBase 3.0.0-SNAPSHOT API) + + + + + +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +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 +Interface CellBuilder + + + + + + +All Known Subinterfaces: +ExtendedCellBuilder + + +All Known Implementing Classes: +ExtendedCellBuilderImpl, IndividualBytesFieldCellBuilder, KeyValueBuilder + + + +@InterfaceAudience.Public +public interface CellBuilder +Use CellBuilderFactory to get CellBuilder instance. + + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsAbstract Methods + +Modifier and Type +Method and Description + + +Cell +build() + + +CellBuilder +clear() +Remove all internal elements from builder. + + + +CellBuilder +setFamily(byte[]family) + + +CellBuilder +setFamily(byte[]family, + intfOffset, + intfLength) + + +CellBuilder +setQualifier(byte[]qualifier) + + +CellBuilder +setQualifier(byte[]qualifier, +intqOffset, +intqLength) + + +CellBuilder +setRow(byte[]row) + + +CellBuilder +setRow(byte[]row, + intrOffset, + intrLength) + + +CellBuilder +setTimestamp(longtimestamp) + + +CellBuilder +setType(bytetype) + + +CellBuilder +setValue(byte[]value) + + +CellBuilder +setValue(byte[]value, +intvOffset, +intvLength) + + + + + + + + + + + + + + + +Method Detail + + + + + +setRow +CellBuildersetRow(byte[]row) + + + + + + + +setRow +CellBuildersetRow(byte[]row, + intrOffset, + intrLength) + + + + + + + +setFamily +CellBuildersetFamily(byte[]family) + + + + + + + +setFamily +CellBuildersetFamily(byte[]family, + intfOffset, + intfLength) + + + + + + + +setQualifier +CellBuildersetQualifier(byte[]qualifier) + + + + + + + +setQualifier +CellBuildersetQualifier(byte[]qualifier, + intqOffset, + intqLength) + + + + + + + +setTimestamp +CellBuildersetTimestamp(longtimestamp) + + + + + + + +setType +CellBuildersetType(bytetype) + + + + + + + +setValue +CellBuildersetValue(byte[]value) + + + + + + + +setValue +CellBuildersetValue(byte[]value, + intvOffset, + intvLength) + + + + + + + +build +Cellbuild() + + + + + + + +clear +CellBuilderclear() +Remove all internal elements from builder. + +Returns: +this + + + + + + + + + + + + + + +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 + + + + + + +Copyright 20072017 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. + + http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/CellBuilderFactory.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellBuilderFactory.html b/devapidocs/org/apache/hadoop/hbase/CellBuilderFactory.html new file mode 100644 index 000..cf679c8 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/CellBuilderFactory.html @@ -0,0 +1,290 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +CellBuilderFactory
[13/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields defaulted. -407 * @param row -408 * @param family -409 *
[06/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/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 79885f6..e93cd9f 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/Version.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/Version.html @@ -16,11 +16,11 @@ 008@InterfaceAudience.Private 009public class Version { 010 public static final String version = "3.0.0-SNAPSHOT"; -011 public static final String revision = "a407b58f17f92ce036b4c021c9a1c7feae39958f"; +011 public static final String revision = "a7270cc08c75134d01f1f9faf079d6a17955753a"; 012 public static final String user = "jenkins"; -013 public static final String date = "Sun Aug 27 14:41:32 UTC 2017"; +013 public static final String date = "Mon Aug 28 14:41:21 UTC 2017"; 014 public static final String url = "git://asf920.gq1.ygridcore.net/home/jenkins/jenkins-slave/workspace/hbase_generate_website/hbase"; -015 public static final String srcChecksum = "87bbc3ef55d4f7e16bdd36e81982d90a"; +015 public static final String srcChecksum = "cae5a91ac777c1eb76d025b366f7067f"; 016} http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/codec/CellCodec.CellDecoder.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/codec/CellCodec.CellDecoder.html b/devapidocs/src-html/org/apache/hadoop/hbase/codec/CellCodec.CellDecoder.html index 0c1f633..cbc0ece 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/codec/CellCodec.CellDecoder.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/codec/CellCodec.CellDecoder.html @@ -31,110 +31,121 @@ 023 024import org.apache.commons.io.IOUtils; 025import org.apache.hadoop.hbase.Cell; -026import org.apache.hadoop.hbase.CellUtil; -027import org.apache.hadoop.hbase.HBaseInterfaceAudience; -028import org.apache.hadoop.hbase.classification.InterfaceAudience; -029import org.apache.hadoop.hbase.io.ByteBuffInputStream; -030import org.apache.hadoop.hbase.nio.ByteBuff; -031import org.apache.hadoop.hbase.util.Bytes; -032 -033/** -034 * Basic Cell codec that just writes out all the individual elements of a Cell. Uses ints -035 * delimiting all lengths. Profligate. Needs tune up. -036 * Note: This will not write tags of a Cell. -037 */ -038@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.CONFIG) -039public class CellCodec implements Codec { -040 static class CellEncoder extends BaseEncoder { -041CellEncoder(final OutputStream out) { -042 super(out); -043} -044 -045@Override -046public void write(Cell cell) throws IOException { -047 checkFlushed(); -048 // Row -049 write(cell.getRowArray(), cell.getRowOffset(), cell.getRowLength()); -050 // Column family -051 write(cell.getFamilyArray(), cell.getFamilyOffset(), cell.getFamilyLength()); -052 // Qualifier -053 write(cell.getQualifierArray(), cell.getQualifierOffset(), cell.getQualifierLength()); -054 // Version -055 this.out.write(Bytes.toBytes(cell.getTimestamp())); -056 // Type -057 this.out.write(cell.getTypeByte()); -058 // Value -059 write(cell.getValueArray(), cell.getValueOffset(), cell.getValueLength()); -060 // MvccVersion -061 this.out.write(Bytes.toBytes(cell.getSequenceId())); -062} -063 -064/** -065 * Write int length followed by array bytes. -066 * @param bytes -067 * @param offset -068 * @param length -069 * @throws IOException -070 */ -071private void write(final byte [] bytes, final int offset, final int length) -072throws IOException { -073 // TODO add BB backed os check and do for write. Pass Cell -074 this.out.write(Bytes.toBytes(length)); -075 this.out.write(bytes, offset, length); -076} -077 } -078 -079 static class CellDecoder extends BaseDecoder { -080public CellDecoder(final InputStream in) { -081 super(in); -082} -083 -084@Override -085protected Cell parseCell() throws IOException { -086 byte [] row = readByteArray(this.in); -087 byte [] family = readByteArray(in); -088 byte [] qualifier = readByteArray(in); -089 byte [] longArray = new byte[Bytes.SIZEOF_LONG]; -090 IOUtils.readFully(this.in, longArray); -091 long timestamp = Bytes.toLong(longArray); -092 byte type = (byte) this.in.read(); -093 byte[] value = readByteArray(in); -094 // Read memstore version -095 byte[] memstoreTSArray = new byte[Bytes.SIZEOF_LONG]; -096 IOUtils.readFully(this.in, memstoreTSArray); -097 long memstoreTS = Bytes.toLong(memstoreTSArray); -098 return CellUtil.createCell(row, family, qualifier,
[23/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowByteBufferCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowByteBufferCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowByteBufferCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowByteBufferCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowByteBufferCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields defaulted. -407 *
[15/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields defaulted. -407 * @param row -408 * @param family -409 * @param qualifier
[18/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields defaulted. -407 * @param row -408 * @param
[45/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/checkstyle-aggregate.html -- diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html index 320e623..658f469 100644 --- a/checkstyle-aggregate.html +++ b/checkstyle-aggregate.html @@ -7,7 +7,7 @@ - + Apache HBase Checkstyle Results @@ -286,10 +286,10 @@ Warnings Errors -2029 +2037 0 0 -12865 +12876 Files @@ -334,6671 +334,6676 @@ 0 3 +org/apache/hadoop/hbase/CellBuilderFactory.java +0 +0 +4 + org/apache/hadoop/hbase/CellComparator.java 0 0 30 - + org/apache/hadoop/hbase/CellScanner.java 0 0 1 - + org/apache/hadoop/hbase/CellUtil.java 0 0 98 - + org/apache/hadoop/hbase/ChoreService.java 0 0 5 - + org/apache/hadoop/hbase/ClusterId.java 0 0 2 - + org/apache/hadoop/hbase/ClusterStatus.java 0 0 3 - + org/apache/hadoop/hbase/CompatibilityFactory.java 0 0 1 - + org/apache/hadoop/hbase/CompatibilitySingletonFactory.java 0 0 1 - + org/apache/hadoop/hbase/CompoundConfiguration.java 0 0 3 - + org/apache/hadoop/hbase/CoordinatedStateManagerFactory.java 0 0 1 - + org/apache/hadoop/hbase/CoprocessorEnvironment.java 0 0 2 - + org/apache/hadoop/hbase/DoNotRetryIOException.java 0 0 3 - + org/apache/hadoop/hbase/DroppedSnapshotException.java 0 0 1 - + org/apache/hadoop/hbase/ExtendedCell.java 0 0 1 - + org/apache/hadoop/hbase/HBaseConfiguration.java 0 0 6 - + org/apache/hadoop/hbase/HColumnDescriptor.java 0 0 41 - + org/apache/hadoop/hbase/HConstants.java 0 0 1 - + org/apache/hadoop/hbase/HRegionInfo.java 0 0 59 - + org/apache/hadoop/hbase/HRegionLocation.java 0 0 1 - + org/apache/hadoop/hbase/HTableDescriptor.java 0 0 33 - + org/apache/hadoop/hbase/HealthChecker.java 0 0 17 - + org/apache/hadoop/hbase/IndividualBytesFieldCell.java 0 0 -11 - +9 + org/apache/hadoop/hbase/JMXListener.java 0 0 3 - + org/apache/hadoop/hbase/JitterScheduledThreadPoolExecutorImpl.java 0 0 1 - + org/apache/hadoop/hbase/KeyValue.java 0 0 135 - + org/apache/hadoop/hbase/KeyValueTestUtil.java 0 0 9 - + org/apache/hadoop/hbase/KeyValueUtil.java 0 0 30 - + org/apache/hadoop/hbase/LocalHBaseCluster.java 0 0 24 - + org/apache/hadoop/hbase/MetaMutationAnnotation.java 0 0 1 - + org/apache/hadoop/hbase/MetaTableAccessor.java 0 0 120 - + org/apache/hadoop/hbase/NamespaceDescriptor.java 0 0 3 - + org/apache/hadoop/hbase/NotAllMetaRegionsOnlineException.java 0 0 1 - + org/apache/hadoop/hbase/RegionLoad.java 0 0 1 - + org/apache/hadoop/hbase/RegionLocations.java 0 0 10 - + org/apache/hadoop/hbase/RegionStateListener.java 0 0 2 - + org/apache/hadoop/hbase/ScheduledChore.java 0 0 5 - + org/apache/hadoop/hbase/ServerLoad.java 0 0 5 - + org/apache/hadoop/hbase/ServerName.java 0 0 27 - + org/apache/hadoop/hbase/SettableSequenceId.java 0 0 1 - + org/apache/hadoop/hbase/SettableTimestamp.java 0 0 1 - + org/apache/hadoop/hbase/SplitLogCounters.java 0 0 1 - + org/apache/hadoop/hbase/SplitLogTask.java 0 0 2 - + org/apache/hadoop/hbase/TableDescriptors.java 0 0 8 - + org/apache/hadoop/hbase/TableInfoMissingException.java 0 0 6 - + org/apache/hadoop/hbase/TableName.java 0 0 20 - + org/apache/hadoop/hbase/TagType.java 0 0 1 - + org/apache/hadoop/hbase/TagUtil.java 0 0 2 - + org/apache/hadoop/hbase/ZKNamespaceManager.java 0 0 3 - + org/apache/hadoop/hbase/ZNodeClearer.java 0 0 3 - + org/apache/hadoop/hbase/backup/BackupClientFactory.java 0 0 4 - + org/apache/hadoop/hbase/backup/BackupCopyJob.java 0 0 1 - + org/apache/hadoop/hbase/backup/BackupHFileCleaner.java 0 0 3 - + org/apache/hadoop/hbase/backup/BackupMergeJob.java 0 0 1 - + org/apache/hadoop/hbase/backup/BackupRestoreConstants.java 0 0 3 - + org/apache/hadoop/hbase/backup/BackupTableInfo.java 0 0 1 - + org/apache/hadoop/hbase/backup/FailedArchiveException.java 0 0 1 - + org/apache/hadoop/hbase/backup/HBackupFileSystem.java 0 0 1 - + org/apache/hadoop/hbase/backup/HFileArchiver.java 0 0 20 - + org/apache/hadoop/hbase/backup/LogUtils.java 0 0 1 - + org/apache/hadoop/hbase/backup/RestoreDriver.java 0 0 1 - + org/apache/hadoop/hbase/backup/RestoreJob.java 0 0 1 - + org/apache/hadoop/hbase/backup/RestoreRequest.java 0 0 1 - + org/apache/hadoop/hbase/backup/example/HFileArchiveManager.java 0 0 3 - + org/apache/hadoop/hbase/backup/example/LongTermArchivingHFileCleaner.java 0 0 5 - + org/apache/hadoop/hbase/backup/example/TableHFileArchiveTracker.java 0 0 6 - + org/apache/hadoop/hbase/backup/example/ZKTableArchiveClient.java 0 0 2 - + org/apache/hadoop/hbase/backup/impl/BackupAdminImpl.java 0 0 13 - + org/apache/hadoop/hbase/backup/impl/BackupCommands.java 0 0 58 - + org/apache/hadoop/hbase/backup/impl/BackupManager.java 0 0 4 - +
[04/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HMobStore.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HMobStore.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HMobStore.html index 5d7e214..f8e6e12 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HMobStore.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HMobStore.html @@ -42,11 +42,11 @@ 034import org.apache.hadoop.fs.Path; 035import org.apache.hadoop.hbase.ArrayBackedTag; 036import org.apache.hadoop.hbase.Cell; -037import org.apache.hadoop.hbase.CellComparator; -038import org.apache.hadoop.hbase.DoNotRetryIOException; -039import org.apache.hadoop.hbase.HConstants; -040import org.apache.hadoop.hbase.KeyValue; -041import org.apache.hadoop.hbase.KeyValue.Type; +037import org.apache.hadoop.hbase.CellBuilderType; +038import org.apache.hadoop.hbase.CellComparator; +039import org.apache.hadoop.hbase.DoNotRetryIOException; +040import org.apache.hadoop.hbase.ExtendedCellBuilderFactory; +041import org.apache.hadoop.hbase.HConstants; 042import org.apache.hadoop.hbase.TableName; 043import org.apache.hadoop.hbase.Tag; 044import org.apache.hadoop.hbase.TagType; @@ -366,175 +366,177 @@ 358 } 359} 360if (result == null) { -361 LOG.warn("The KeyValue result is null, assemble a new KeyValue with the same row,family," +361 LOG.warn("The Cell result is null, assemble a new Cell with the same row,family," 362 + "qualifier,timestamp,type and tags but with an empty value to return."); -363 result = new KeyValue(reference.getRowArray(), reference.getRowOffset(), -364 reference.getRowLength(), reference.getFamilyArray(), reference.getFamilyOffset(), -365 reference.getFamilyLength(), reference.getQualifierArray(), -366 reference.getQualifierOffset(), reference.getQualifierLength(), reference.getTimestamp(), -367 Type.codeToType(reference.getTypeByte()), HConstants.EMPTY_BYTE_ARRAY, -368 0, 0, reference.getTagsArray(), reference.getTagsOffset(), -369 reference.getTagsLength()); -370} -371return result; -372 } -373 -374 /** -375 * Reads the cell from a mob file. -376 * The mob file might be located in different directories. -377 * 1. The working directory. -378 * 2. The archive directory. -379 * Reads the cell from the files located in both of the above directories. -380 * @param locations The possible locations where the mob files are saved. -381 * @param fileName The file to be read. -382 * @param search The cell to be searched. -383 * @param cacheMobBlocks Whether the scanner should cache blocks. -384 * @param readPt the read point. -385 * @param readEmptyValueOnMobCellMiss Whether return null value when the mob file is -386 *missing or corrupt. -387 * @return The found cell. Null if there's no such a cell. -388 * @throws IOException -389 */ -390 private Cell readCell(ListPath locations, String fileName, Cell search, boolean cacheMobBlocks, -391long readPt, boolean readEmptyValueOnMobCellMiss) throws IOException { -392FileSystem fs = getFileSystem(); -393Throwable throwable = null; -394for (Path location : locations) { -395 MobFile file = null; -396 Path path = new Path(location, fileName); -397 try { -398file = mobCacheConfig.getMobFileCache().openFile(fs, path, mobCacheConfig); -399return readPt != -1 ? file.readCell(search, cacheMobBlocks, readPt) : file.readCell(search, -400 cacheMobBlocks); -401 } catch (IOException e) { -402 mobCacheConfig.getMobFileCache().evictFile(fileName); -403throwable = e; -404if ((e instanceof FileNotFoundException) || -405(e.getCause() instanceof FileNotFoundException)) { -406 LOG.debug("Fail to read the cell, the mob file " + path + " doesn't exist", e); -407} else if (e instanceof CorruptHFileException) { -408 LOG.error("The mob file " + path + " is corrupt", e); -409 break; -410} else { -411 throw e; -412} -413 } catch (NullPointerException e) { // HDFS 1.x - DFSInputStream.getBlockAt() -414 mobCacheConfig.getMobFileCache().evictFile(fileName); -415LOG.debug("Fail to read the cell", e); -416throwable = e; -417 } catch (AssertionError e) { // assert in HDFS 1.x - DFSInputStream.getBlockAt() -418 mobCacheConfig.getMobFileCache().evictFile(fileName); -419LOG.debug("Fail to read the cell", e); -420throwable = e; -421 } finally { -422if (file != null) { -423 mobCacheConfig.getMobFileCache().closeFile(file); -424} -425 } -426} -427LOG.error("The mob file " + fileName + " could
[37/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/ExtendedCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/ExtendedCell.html b/devapidocs/org/apache/hadoop/hbase/ExtendedCell.html index d2d7594..40f18af 100644 --- a/devapidocs/org/apache/hadoop/hbase/ExtendedCell.html +++ b/devapidocs/org/apache/hadoop/hbase/ExtendedCell.html @@ -50,7 +50,7 @@ var activeTableTab = "activeTableTab"; PrevClass -NextClass +NextClass Frames @@ -371,7 +371,7 @@ extends PrevClass -NextClass +NextClass Frames http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/ExtendedCellBuilder.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/ExtendedCellBuilder.html b/devapidocs/org/apache/hadoop/hbase/ExtendedCellBuilder.html new file mode 100644 index 000..078e3df --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/ExtendedCellBuilder.html @@ -0,0 +1,493 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +ExtendedCellBuilder (Apache HBase 3.0.0-SNAPSHOT API) + + + + + +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +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 +Interface ExtendedCellBuilder + + + + + + +All Superinterfaces: +CellBuilder + + +All Known Implementing Classes: +ExtendedCellBuilderImpl, IndividualBytesFieldCellBuilder, KeyValueBuilder + + + +@InterfaceAudience.Private +public interface ExtendedCellBuilder +extends CellBuilder +For internal purpose. + Tag and memstoreTS/mvcc are internal implementation detail + that should not be exposed publicly. + Use ExtendedCellBuilderFactory to get ExtendedCellBuilder instance. + TODO: ditto for ByteBufferCell? + + + + + + + + + + + +Method Summary + +All MethodsInstance MethodsAbstract Methods + +Modifier and Type +Method and Description + + +ExtendedCell +build() + + +ExtendedCellBuilder +clear() +Remove all internal elements from builder. + + + +ExtendedCellBuilder +setFamily(byte[]family) + + +ExtendedCellBuilder +setFamily(byte[]family, + intfOffset, + intfLength) + + +ExtendedCellBuilder +setQualifier(byte[]qualifier) + + +ExtendedCellBuilder +setQualifier(byte[]qualifier, +intqOffset, +intqLength) + + +ExtendedCellBuilder +setRow(byte[]row) + + +ExtendedCellBuilder +setRow(byte[]row, + intrOffset, + intrLength) + + +ExtendedCellBuilder +setSequenceId(longseqId) + + +ExtendedCellBuilder +setTags(byte[]tags) + + +ExtendedCellBuilder +setTags(byte[]tags, + inttagsOffset, + inttagsLength) + + +ExtendedCellBuilder +setTimestamp(longtimestamp) + + +ExtendedCellBuilder +setType(bytetype) + + +ExtendedCellBuilder +setValue(byte[]value) + + +ExtendedCellBuilder +setValue(byte[]value, +intvOffset, +intvLength) + + + + + + + + + + + + + + + +Method Detail + + + + + +setRow +ExtendedCellBuildersetRow(byte[]row) + +Specified by: +setRowin interfaceCellBuilder + + + + + + + + +setRow +ExtendedCellBuildersetRow(byte[]row, + intrOffset, + intrLength) + +Specified by: +setRowin interfaceCellBuilder + + + + + + + + +setFamily +ExtendedCellBuildersetFamily(byte[]family) + +Specified by: +setFamilyin interfaceCellBuilder + + + + + + + + +setFamily +ExtendedCellBuildersetFamily(byte[]family, + intfOffset, + intfLength) + +Specified by: +setFamilyin interfaceCellBuilder + + + + + + + + +setQualifier +ExtendedCellBuildersetQualifier(byte[]qualifier) + +Specified by: +setQualifierin interfaceCellBuilder + + + + + + + + +setQualifier +ExtendedCellBuildersetQualifier(byte[]qualifier, + intqOffset, + intqLength) + +Specified by: +setQualifierin
[46/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/book.html -- diff --git a/book.html b/book.html index 724f1b6..0c51568 100644 --- a/book.html +++ b/book.html @@ -35070,7 +35070,7 @@ The server will return cellblocks compressed using this same compressor as long Version 3.0.0-SNAPSHOT -Last updated 2017-08-27 14:29:40 UTC +Last updated 2017-08-28 14:29:40 UTC http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/bulk-loads.html -- diff --git a/bulk-loads.html b/bulk-loads.html index 1f486e8..35f6ce7 100644 --- a/bulk-loads.html +++ b/bulk-loads.html @@ -7,7 +7,7 @@ - + Apache HBase Bulk Loads in Apache HBase (TM) @@ -311,7 +311,7 @@ under the License. --> https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-08-27 + Last Published: 2017-08-28
[29/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/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 aea959f..28fbf76 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 http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object implements RegionScanner, RpcCallback RegionScannerImpl is used to combine scanners from multiple Stores (aka column families). @@ -429,7 +429,7 @@ implements storeHeap -KeyValueHeap storeHeap +KeyValueHeap storeHeap @@ -438,7 +438,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. @@ -449,7 +449,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. @@ -460,7 +460,7 @@ implements filterClosed -privateboolean filterClosed +privateboolean filterClosed @@ -469,7 +469,7 @@ implements stopRow -protected finalbyte[] stopRow +protected finalbyte[] stopRow @@ -478,7 +478,7 @@ implements includeStopRow -protected finalboolean includeStopRow +protected finalboolean includeStopRow @@ -487,7 +487,7 @@ implements region -protected finalHRegion region +protected finalHRegion region @@ -496,7 +496,7 @@ implements comparator -protected finalCellComparator comparator +protected finalCellComparator comparator @@ -505,7 +505,7 @@ implements readPt -private finallong readPt +private finallong readPt @@ -514,7 +514,7 @@ implements maxResultSize -private finallong maxResultSize +private finallong maxResultSize @@ -523,7 +523,7 @@ implements defaultScannerContext -private finalScannerContext defaultScannerContext +private finalScannerContext defaultScannerContext @@ -532,7 +532,7 @@ implements filter -private finalFilterWrapper filter +private finalFilterWrapper filter @@ -549,7 +549,7 @@ implements RegionScannerImpl -RegionScannerImpl(Scanscan, +RegionScannerImpl(Scanscan, http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListKeyValueScanneradditionalScanners, HRegionregion) throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException @@ -565,7 +565,7 @@ implements RegionScannerImpl -RegionScannerImpl(Scanscan, +RegionScannerImpl(Scanscan, http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListKeyValueScanneradditionalScanners, HRegionregion, longnonceGroup, @@ -591,7 +591,7 @@ implements getRegionInfo -publicHRegionInfogetRegionInfo() +publicHRegionInfogetRegionInfo() Specified by: getRegionInfoin interfaceRegionScanner @@ -606,7 +606,7 @@ implements initializeScanners -protectedvoidinitializeScanners(Scanscan, +protectedvoidinitializeScanners(Scanscan, http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListKeyValueScanneradditionalScanners) throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException @@ -621,7 +621,7 @@ implements initializeKVHeap -protectedvoidinitializeKVHeap(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListKeyValueScannerscanners, +protectedvoidinitializeKVHeap(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListKeyValueScannerscanners, http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListKeyValueScannerjoinedScanners, HRegionregion) throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true;
[21/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColByteBufferCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColByteBufferCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColByteBufferCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColByteBufferCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColByteBufferCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields
[41/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyCell.html index 7e0a2f6..4d8c4c8 100644 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyCell.html +++ b/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyCell.html @@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -private abstract static class CellUtil.EmptyCell +private abstract static class CellUtil.EmptyCell extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object implements Cell, SettableSequenceId @@ -282,7 +282,7 @@ implements EmptyCell -privateEmptyCell() +privateEmptyCell() @@ -299,7 +299,7 @@ implements setSequenceId -publicvoidsetSequenceId(longseqId) +publicvoidsetSequenceId(longseqId) Description copied from interface:SettableSequenceId Sets with the given seqId. @@ -314,7 +314,7 @@ implements getRowArray -publicbyte[]getRowArray() +publicbyte[]getRowArray() Description copied from interface:Cell Contiguous raw bytes that may start at any index in the containing array. Max length is Short.MAX_VALUE which is 32,767 bytes. @@ -332,7 +332,7 @@ implements getRowOffset -publicintgetRowOffset() +publicintgetRowOffset() Specified by: getRowOffsetin interfaceCell @@ -347,7 +347,7 @@ implements getRowLength -publicshortgetRowLength() +publicshortgetRowLength() Specified by: getRowLengthin interfaceCell @@ -362,7 +362,7 @@ implements getFamilyArray -publicbyte[]getFamilyArray() +publicbyte[]getFamilyArray() Description copied from interface:Cell Contiguous bytes composed of legal HDFS filename characters which may start at any index in the containing array. Max length is Byte.MAX_VALUE, which is 127 bytes. @@ -380,7 +380,7 @@ implements getFamilyOffset -publicintgetFamilyOffset() +publicintgetFamilyOffset() Specified by: getFamilyOffsetin interfaceCell @@ -395,7 +395,7 @@ implements getFamilyLength -publicbytegetFamilyLength() +publicbytegetFamilyLength() Specified by: getFamilyLengthin interfaceCell @@ -410,7 +410,7 @@ implements getQualifierArray -publicbyte[]getQualifierArray() +publicbyte[]getQualifierArray() Description copied from interface:Cell Contiguous raw bytes that may start at any index in the containing array. @@ -427,7 +427,7 @@ implements getQualifierOffset -publicintgetQualifierOffset() +publicintgetQualifierOffset() Specified by: getQualifierOffsetin interfaceCell @@ -442,7 +442,7 @@ implements getQualifierLength -publicintgetQualifierLength() +publicintgetQualifierLength() Specified by: getQualifierLengthin interfaceCell @@ -457,7 +457,7 @@ implements getSequenceId -publiclonggetSequenceId() +publiclonggetSequenceId() Description copied from interface:Cell A region-specific unique monotonically increasing sequence ID given to each Cell. It always exists for cells in the memstore but is not retained forever. It will be kept for @@ -477,7 +477,7 @@ implements getValueArray -publicbyte[]getValueArray() +publicbyte[]getValueArray() Description copied from interface:Cell Contiguous raw bytes that may start at any index in the containing array. Max length is Integer.MAX_VALUE which is 2,147,483,647 bytes. @@ -495,7 +495,7 @@ implements getValueOffset -publicintgetValueOffset() +publicintgetValueOffset() Specified by: getValueOffsetin interfaceCell @@ -510,7 +510,7 @@ implements getValueLength -publicintgetValueLength() +publicintgetValueLength() Specified by: getValueLengthin interfaceCell @@ -525,7 +525,7 @@ implements getTagsArray -publicbyte[]getTagsArray() +publicbyte[]getTagsArray() Description copied from interface:Cell Contiguous raw bytes representing tags that may start at any index in the containing array. @@ -542,7 +542,7 @@ implements getTagsOffset -publicintgetTagsOffset() +publicintgetTagsOffset() Specified by: getTagsOffsetin interfaceCell @@ -557,7 +557,7 @@ implements getTagsLength -publicintgetTagsLength() +publicintgetTagsLength() Description copied from interface:Cell HBase internally uses 2 bytes to store tags length in Cell. As the tags length is always a non-negative number, to make good use of the sign bit, http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/CellUtil.FirstOnRowByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.FirstOnRowByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.FirstOnRowByteBufferCell.html index 7f5a97f..76b30ed 100644 ---
[44/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/checkstyle.rss -- diff --git a/checkstyle.rss b/checkstyle.rss index ce692ce..2bf4b31 100644 --- a/checkstyle.rss +++ b/checkstyle.rss @@ -25,8 +25,8 @@ under the License. en-us 2007 - 2017 The Apache Software Foundation - File: 2029, - Errors: 12865, + File: 2037, + Errors: 12876, Warnings: 0, Infos: 0 @@ -1376,6 +1376,20 @@ under the License. + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.CellBuilderFactory.java;>org/apache/hadoop/hbase/CellBuilderFactory.java + + + 0 + + + 0 + + + 4 + + + + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.exceptions.RegionOpeningException.java;>org/apache/hadoop/hbase/exceptions/RegionOpeningException.java @@ -9057,7 +9071,7 @@ under the License. 0 - 5 + 6 @@ -9090,6 +9104,20 @@ under the License. + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.ExtendedCellBuilderFactory.java;>org/apache/hadoop/hbase/ExtendedCellBuilderFactory.java + + + 0 + + + 0 + + + 0 + + + + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.exceptions.ConnectionClosingException.java;>org/apache/hadoop/hbase/exceptions/ConnectionClosingException.java @@ -10014,6 +10042,20 @@ under the License. + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.ExtendedCellBuilderImpl.java;>org/apache/hadoop/hbase/ExtendedCellBuilderImpl.java + + + 0 + + + 0 + + + 0 + + + + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.master.MasterServices.java;>org/apache/hadoop/hbase/master/MasterServices.java @@ -11073,7 +5,7 @@ under the License. 0 - 8 + 11 @@ -11190,6 +11232,20 @@ under the License. + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.CellBuilder.java;>org/apache/hadoop/hbase/CellBuilder.java + + + 0 + + + 0 + + + 0 + + + + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.backup.impl.BackupManager.java;>org/apache/hadoop/hbase/backup/impl/BackupManager.java @@ -11372,6 +11428,20 @@ under the License. + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.KeyValueBuilder.java;>org/apache/hadoop/hbase/KeyValueBuilder.java + + + 0 + + + 0 + + + 0 + + + + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.regionserver.CompactingMemStore.java;>org/apache/hadoop/hbase/regionserver/CompactingMemStore.java @@ -11423,7 +11493,7 @@ under the License. 0 - 1 + 2 @@ -11540,6 +11610,20 @@ under the License. +
[27/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/regionserver/RSRpcServices.LogDelegate.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/RSRpcServices.LogDelegate.html b/devapidocs/org/apache/hadoop/hbase/regionserver/RSRpcServices.LogDelegate.html index e1209be..eaeba94 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/RSRpcServices.LogDelegate.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/RSRpcServices.LogDelegate.html @@ -126,7 +126,8 @@ var activeTableTab = "activeTableTab"; void -logBatchWarning(intsum, +logBatchWarning(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringfirstRegionName, + intsum, introwSizeWarnThreshold) @@ -144,13 +145,14 @@ var activeTableTab = "activeTableTab"; Method Detail - + logBatchWarning -voidlogBatchWarning(intsum, +voidlogBatchWarning(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringfirstRegionName, + intsum, introwSizeWarnThreshold) http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/regionserver/RSRpcServices.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/RSRpcServices.html b/devapidocs/org/apache/hadoop/hbase/regionserver/RSRpcServices.html index 5a521ee..46613ec 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/RSRpcServices.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/RSRpcServices.html @@ -1159,7 +1159,7 @@ implements ld -private finalRSRpcServices.LogDelegate ld +private finalRSRpcServices.LogDelegate ld @@ -1169,7 +1169,7 @@ implements SCANNER_ALREADY_CLOSED http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -private static finalhttp://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException SCANNER_ALREADY_CLOSED +private static finalhttp://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException SCANNER_ALREADY_CLOSED Deprecated. @@ -1187,7 +1187,7 @@ private static finalhttp://docs.oracle.com/javase/8/docs/api/java RSRpcServices -publicRSRpcServices(HRegionServerrs) +publicRSRpcServices(HRegionServerrs) throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Throws: @@ -1201,7 +1201,7 @@ private static finalhttp://docs.oracle.com/javase/8/docs/api/java RSRpcServices -RSRpcServices(HRegionServerrs, +RSRpcServices(HRegionServerrs, RSRpcServices.LogDelegateld) throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException @@ -1535,7 +1535,7 @@ private static finalhttp://docs.oracle.com/javase/8/docs/api/java onConfigurationChange -publicvoidonConfigurationChange(org.apache.hadoop.conf.ConfigurationnewConf) +publicvoidonConfigurationChange(org.apache.hadoop.conf.ConfigurationnewConf) Description copied from interface:ConfigurationObserver This method would be called by the ConfigurationManager object when the Configuration object is reloaded from disk. @@ -1551,7 +1551,7 @@ private static finalhttp://docs.oracle.com/javase/8/docs/api/java createPriority -protectedPriorityFunctioncreatePriority() +protectedPriorityFunctioncreatePriority() @@ -1560,7 +1560,7 @@ private static finalhttp://docs.oracle.com/javase/8/docs/api/java getHostname -public statichttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringgetHostname(org.apache.hadoop.conf.Configurationconf, +public statichttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringgetHostname(org.apache.hadoop.conf.Configurationconf, booleanisMaster) throws http://docs.oracle.com/javase/8/docs/api/java/net/UnknownHostException.html?is-external=true; title="class or interface in java.net">UnknownHostException @@ -1575,7 +1575,7 @@ private static finalhttp://docs.oracle.com/javase/8/docs/api/java getScannersCount -publicintgetScannersCount() +publicintgetScannersCount() @@ -1584,7 +1584,7 @@ private static finalhttp://docs.oracle.com/javase/8/docs/api/java getScanner -publicRegionScannergetScanner(longscannerId)
[32/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/classification/class-use/InterfaceAudience.Public.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/classification/class-use/InterfaceAudience.Public.html b/devapidocs/org/apache/hadoop/hbase/classification/class-use/InterfaceAudience.Public.html index 4d1d5cf..7c6ffee 100644 --- a/devapidocs/org/apache/hadoop/hbase/classification/class-use/InterfaceAudience.Public.html +++ b/devapidocs/org/apache/hadoop/hbase/classification/class-use/InterfaceAudience.Public.html @@ -304,88 +304,106 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. +interface +CellBuilder +Use CellBuilderFactory to get CellBuilder instance. + + + +class +CellBuilderFactory +Create a CellBuilder instance. + + + +class +CellBuilderType +Used by CellBuilderFactory and ExtendedCellBuilderFactory. + + + class CellUtil Utility methods helpful slinging Cell instances. - + class ChoreService ChoreService is a service that can be used to schedule instances of ScheduledChore to run periodically while sharing threads. - + class ClockOutOfSyncException This exception is thrown by the master when a region server clock skew is too high. - + class ClusterStatus Status information on the HBase cluster. - + class DoNotRetryIOException Subclass if exception is not meant to be retried: e.g. - + class DroppedSnapshotException Thrown during flush if the possibility snapshot content was not properly persisted into store files. - + class HBaseConfiguration Adds HBase configuration files to a Configuration - + class HBaseInterfaceAudience This class defines constants for different classes of hbase limited private apis - + class HBaseIOException All hbase specific IOExceptions should be subclasses of HBaseIOException - + class HColumnDescriptor Deprecated. - + class HConstants HConstants holds a bunch of HBase-related constants - + class HRegionInfo Information about a region. - + class HRegionLocation Data structure to hold HRegionInfo and the address for the hosting HRegionServer. - + class HTableDescriptor Deprecated. @@ -394,79 +412,79 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. - + class InvalidFamilyOperationException Thrown if a request is table schema modification is requested but made for an invalid family name. - + class KeepDeletedCells Ways to keep cells marked for delete around. - + class LocalHBaseCluster This class creates a single process HBase cluster. - + class MasterNotRunningException Thrown if the master is not running - + class MemoryCompactionPolicy Enum describing all possible memory compaction policies - + class MultiActionResultTooLarge Exception thrown when the result needs to be chunked on the server side. - + class NamespaceDescriptor Namespace POJO class. - + static class NamespaceDescriptor.Builder - + class NamespaceExistException Thrown when a namespace exists but should not - + class NamespaceNotFoundException Thrown when a namespace can not be located - + class NotAllMetaRegionsOnlineException Thrown when an operation requires the root and all meta regions to be online - + class NotServingRegionException Thrown by a region server if it is sent a request for a region it is not serving. - + class PleaseHoldException This exception is thrown by the master when a region server was shut down and @@ -475,119 +493,119 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. operations, or when an operation is performed on a region server that is still starting. - + class ProcedureInfo Procedure information - + class ProcedureState POJO representing Procedure State - + class RegionException Thrown when something happens related to region handling. - + class RegionLoad Encapsulates per-region load metrics. - + class RegionTooBusyException Thrown by a region server if it will block and wait to serve a request. - + class ReplicationPeerNotFoundException Thrown when a replication peer can not be found - + class RetryImmediatelyException - + class ScheduledChore ScheduledChore is a task performed on a period in hbase. - + class ServerLoad This class is used for exporting current state of load on a RegionServer. - + class ServerName Name of a particular incarnation of an HBase Server. - + interface Stoppable Implementers are Stoppable. - + class TableExistsException Thrown when a table exists but should not - + class TableInfoMissingException Failed to find .tableinfo file under table dir - + class TableName Immutable POJO class for representing a table name. - + class
[33/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/class-use/ExtendedCellBuilder.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/ExtendedCellBuilder.html b/devapidocs/org/apache/hadoop/hbase/class-use/ExtendedCellBuilder.html new file mode 100644 index 000..d496175 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/class-use/ExtendedCellBuilder.html @@ -0,0 +1,348 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Interface org.apache.hadoop.hbase.ExtendedCellBuilder (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 Interfaceorg.apache.hadoop.hbase.ExtendedCellBuilder + + + + + +Packages that use ExtendedCellBuilder + +Package +Description + + + +org.apache.hadoop.hbase + + + +org.apache.hadoop.hbase.codec + + + + + + + + + + +Uses of ExtendedCellBuilder in org.apache.hadoop.hbase + +Classes in org.apache.hadoop.hbase that implement ExtendedCellBuilder + +Modifier and Type +Class and Description + + + +class +ExtendedCellBuilderImpl + + +(package private) class +IndividualBytesFieldCellBuilder + + +(package private) class +KeyValueBuilder + + + + +Methods in org.apache.hadoop.hbase that return ExtendedCellBuilder + +Modifier and Type +Method and Description + + + +ExtendedCellBuilder +ExtendedCellBuilder.clear() + + +ExtendedCellBuilder +ExtendedCellBuilderImpl.clear() + + +static ExtendedCellBuilder +ExtendedCellBuilderFactory.create(CellBuilderTypetype) + + +ExtendedCellBuilder +ExtendedCellBuilder.setFamily(byte[]family) + + +ExtendedCellBuilder +ExtendedCellBuilderImpl.setFamily(byte[]family) + + +ExtendedCellBuilder +ExtendedCellBuilder.setFamily(byte[]family, + intfOffset, + intfLength) + + +ExtendedCellBuilder +ExtendedCellBuilderImpl.setFamily(byte[]family, + intfOffset, + intfLength) + + +ExtendedCellBuilder +ExtendedCellBuilder.setQualifier(byte[]qualifier) + + +ExtendedCellBuilder +ExtendedCellBuilderImpl.setQualifier(byte[]qualifier) + + +ExtendedCellBuilder +ExtendedCellBuilder.setQualifier(byte[]qualifier, +intqOffset, +intqLength) + + +ExtendedCellBuilder +ExtendedCellBuilderImpl.setQualifier(byte[]qualifier, +intqOffset, +intqLength) + + +ExtendedCellBuilder +ExtendedCellBuilder.setRow(byte[]row) + + +ExtendedCellBuilder +ExtendedCellBuilderImpl.setRow(byte[]row) + + +ExtendedCellBuilder +ExtendedCellBuilder.setRow(byte[]row, + intrOffset, + intrLength) + + +ExtendedCellBuilder +ExtendedCellBuilderImpl.setRow(byte[]row, + intrOffset, + intrLength) + + +ExtendedCellBuilder +ExtendedCellBuilder.setSequenceId(longseqId) + + +ExtendedCellBuilder +ExtendedCellBuilderImpl.setSequenceId(longseqId) + + +ExtendedCellBuilder +ExtendedCellBuilder.setTags(byte[]tags) + + +ExtendedCellBuilder +ExtendedCellBuilderImpl.setTags(byte[]tags) + + +ExtendedCellBuilder +ExtendedCellBuilder.setTags(byte[]tags, + inttagsOffset, + inttagsLength) + + +ExtendedCellBuilder +ExtendedCellBuilderImpl.setTags(byte[]tags, + inttagsOffset, + inttagsLength) + + +ExtendedCellBuilder +ExtendedCellBuilder.setTimestamp(longtimestamp) + + +ExtendedCellBuilder +ExtendedCellBuilderImpl.setTimestamp(longtimestamp) + + +ExtendedCellBuilder +ExtendedCellBuilder.setType(bytetype) + + +ExtendedCellBuilder +ExtendedCellBuilderImpl.setType(bytetype) + + +ExtendedCellBuilder +ExtendedCellBuilder.setValue(byte[]value) + + +ExtendedCellBuilder +ExtendedCellBuilderImpl.setValue(byte[]value) + + +ExtendedCellBuilder +ExtendedCellBuilder.setValue(byte[]value, +intvOffset, +intvLength) + + +ExtendedCellBuilder +ExtendedCellBuilderImpl.setValue(byte[]value, +intvOffset, +intvLength) + + + + + + + +Uses of ExtendedCellBuilder in org.apache.hadoop.hbase.codec + +Fields in org.apache.hadoop.hbase.codec declared as ExtendedCellBuilder + +Modifier and Type +Field and Description + + + +private ExtendedCellBuilder +CellCodecWithTags.CellDecoder.cellBuilder + + +private ExtendedCellBuilder +CellCodec.CellDecoder.cellBuilder + + +private ExtendedCellBuilder +MessageCodec.MessageDecoder.cellBuilder + + + + + + + + + + + + +Skip navigation links + + +
[51/51] [partial] hbase-site git commit: Published site at .
Published site at . Project: http://git-wip-us.apache.org/repos/asf/hbase-site/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase-site/commit/f751513b Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/f751513b Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/f751513b Branch: refs/heads/asf-site Commit: f751513b0276e47f16940bf732a447a69e1831c8 Parents: 201e4cc Author: jenkinsAuthored: Mon Aug 28 15:10:17 2017 + Committer: jenkins Committed: Mon Aug 28 15:10:17 2017 + -- acid-semantics.html | 4 +- apache_hbase_reference_guide.pdf| 4 +- apidocs/allclasses-frame.html | 3 + apidocs/allclasses-noframe.html | 3 + apidocs/deprecated-list.html|48 + apidocs/index-all.html |95 +- apidocs/org/apache/hadoop/hbase/Cell.html | 4 +- .../org/apache/hadoop/hbase/CellBuilder.html| 390 + .../apache/hadoop/hbase/CellBuilderFactory.html | 254 + .../apache/hadoop/hbase/CellBuilderType.html| 353 + apidocs/org/apache/hadoop/hbase/CellUtil.html | 257 +- .../org/apache/hadoop/hbase/class-use/Cell.html |98 +- .../hadoop/hbase/class-use/CellBuilder.html | 221 + .../hbase/class-use/CellBuilderFactory.html | 125 + .../hadoop/hbase/class-use/CellBuilderType.html | 189 + .../org/apache/hadoop/hbase/package-frame.html | 3 + .../apache/hadoop/hbase/package-summary.html|58 +- .../org/apache/hadoop/hbase/package-tree.html | 3 + .../org/apache/hadoop/hbase/package-use.html|10 + apidocs/overview-tree.html | 3 + .../org/apache/hadoop/hbase/CellBuilder.html| 124 + .../apache/hadoop/hbase/CellBuilderFactory.html | 124 + .../apache/hadoop/hbase/CellBuilderType.html| 110 + .../org/apache/hadoop/hbase/CellUtil.html | 5683 ++-- book.html | 2 +- bulk-loads.html | 4 +- checkstyle-aggregate.html | 26964 + checkstyle.rss | 130 +- coc.html| 4 +- cygwin.html | 4 +- dependencies.html | 4 +- dependency-convergence.html | 4 +- dependency-info.html| 4 +- dependency-management.html | 4 +- devapidocs/allclasses-frame.html| 8 + devapidocs/allclasses-noframe.html | 8 + devapidocs/constant-values.html | 6 +- devapidocs/deprecated-list.html |48 + devapidocs/index-all.html | 261 +- devapidocs/org/apache/hadoop/hbase/Cell.html| 4 +- .../org/apache/hadoop/hbase/CellBuilder.html| 398 + .../apache/hadoop/hbase/CellBuilderFactory.html | 290 + .../apache/hadoop/hbase/CellBuilderType.html| 353 + .../org/apache/hadoop/hbase/CellComparator.html | 4 +- .../hbase/CellUtil.EmptyByteBufferCell.html |58 +- .../apache/hadoop/hbase/CellUtil.EmptyCell.html |38 +- .../CellUtil.FirstOnRowByteBufferCell.html |20 +- .../hadoop/hbase/CellUtil.FirstOnRowCell.html |20 +- .../CellUtil.FirstOnRowColByteBufferCell.html |28 +- .../hbase/CellUtil.FirstOnRowColCell.html |28 +- .../CellUtil.FirstOnRowColTSByteBufferCell.html | 8 +- .../hbase/CellUtil.FirstOnRowColTSCell.html | 8 +- .../CellUtil.FirstOnRowDeleteFamilyCell.html|20 +- .../hbase/CellUtil.LastOnRowByteBufferCell.html |20 +- .../hadoop/hbase/CellUtil.LastOnRowCell.html|20 +- .../CellUtil.LastOnRowColByteBufferCell.html|28 +- .../hadoop/hbase/CellUtil.LastOnRowColCell.html |28 +- .../CellUtil.TagRewriteByteBufferCell.html |82 +- .../hadoop/hbase/CellUtil.TagRewriteCell.html |62 +- ...llUtil.ValueAndTagRewriteByteBufferCell.html |26 +- .../hbase/CellUtil.ValueAndTagRewriteCell.html |26 +- .../org/apache/hadoop/hbase/CellUtil.html | 343 +- .../org/apache/hadoop/hbase/ExtendedCell.html | 4 +- .../hadoop/hbase/ExtendedCellBuilder.html | 493 + .../hbase/ExtendedCellBuilderFactory.html | 275 + .../hadoop/hbase/ExtendedCellBuilderImpl.html | 857 + .../apache/hadoop/hbase/HBaseConfiguration.html | 4 +- .../hadoop/hbase/IndividualBytesFieldCell.html | 352 +- .../hbase/IndividualBytesFieldCellBuilder.html | 308 + .../hbase/InvalidFamilyOperationException.html | 4 +- .../org/apache/hadoop/hbase/KeyValue.Type.html | 4 +- .../apache/hadoop/hbase/KeyValueBuilder.html| 308 + .../apache/hadoop/hbase/KeyValueTestUtil.html | 4 +-
[38/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/CellUtil.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.html index 3aa6e23..7287868 100644 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.html +++ b/devapidocs/org/apache/hadoop/hbase/CellUtil.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":9,"i59":9,"i60":9,"i61":9,"i62":9,"i63":9,"i64":9,"i65":41,"i66":9,"i67":9,"i68":9,"i69":9,"i70":9,"i71":9,"i72":9,"i73":9,"i74":9,"i75":9,"i76":9,"i77":9,"i78":9,"i79":9,"i80":9,"i81":9,"i82":9,"i83":9,"i84":9,"i85":9,"i86":9,"i87":9,"i88":9,"i89":9,"i90":9,"i91":9,"i92":9,"i93":9,"i94":9,"i95":9,"i96":9,"i97":9,"i98":41,"i99":9,"i100":9,"i101":9,"i102":9,"i103":9,"i104":9,"i105":9,"i106":9,"i107":9,"i108":9,"i109":9,"i110":41,"i111":9,"i112":9,"i113":9,"i114":9,"i115":9,"i116":9,"i117":9,"i118":9,"i119":9,"i120":9, "i121":9,"i122":9,"i123":9,"i124":9,"i125":9}; +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":41,"i21":41,"i22":41,"i23":41,"i24":41,"i25":41,"i26":41,"i27":41,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9,"i42":9,"i43":9,"i44":9,"i45":9,"i46":9,"i47":9,"i48":9,"i49":9,"i50":9,"i51":9,"i52":9,"i53":9,"i54":9,"i55":9,"i56":9,"i57":9,"i58":9,"i59":9,"i60":9,"i61":9,"i62":9,"i63":9,"i64":9,"i65":41,"i66":9,"i67":9,"i68":9,"i69":9,"i70":9,"i71":9,"i72":9,"i73":9,"i74":9,"i75":9,"i76":9,"i77":9,"i78":9,"i79":9,"i80":9,"i81":9,"i82":9,"i83":9,"i84":9,"i85":9,"i86":9,"i87":9,"i88":9,"i89":9,"i90":9,"i91":9,"i92":9,"i93":9,"i94":9,"i95":9,"i96":9,"i97":9,"i98":41,"i99":9,"i100":9,"i101":9,"i102":9,"i103":9,"i104":9,"i105":9,"i106":9,"i107":9,"i108":9,"i109":9,"i110":41,"i111":9,"i112":9,"i113":9,"i114":9,"i115":9,"i116":9,"i117":9,"i118":9,"i119":9," i120":9,"i121":9,"i122":9,"i123":9,"i124":9,"i125":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -379,14 +379,20 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? static Cell createCell(byte[]row) -Create a Cell with specific row. +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use CellBuilder instead + static Cell createCell(byte[]row, byte[]value) -Create a Cell with specific row and value. +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use CellBuilder instead + @@ -394,7 +400,10 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? createCell(byte[]row, byte[]family, byte[]qualifier) -Create a Cell with specific row. +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use CellBuilder instead + @@ -404,7 +413,12 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? byte[]qualifier, longtimestamp, bytetype, - byte[]value) + byte[]value) +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use CellBuilder instead + + static Cell @@ -416,7 +430,10 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? byte[]value, byte[]tags, longmemstoreTS) -Marked as audience Private as of 1.2.0. +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use ExtendedCellBuilder instead + @@ -428,7 +445,10 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? bytetype, byte[]value, longmemstoreTS) -Marked as audience Private as of 1.2.0. +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use ExtendedCellBuilder instead + @@ -440,7 +460,10 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? KeyValue.Typetype, byte[]value, byte[]tags) -Marked as audience Private as of 1.2.0. +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use ExtendedCellBuilder instead + @@ -453,7 +476,12 @@ extends
[50/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/apidocs/org/apache/hadoop/hbase/CellBuilderType.html -- diff --git a/apidocs/org/apache/hadoop/hbase/CellBuilderType.html b/apidocs/org/apache/hadoop/hbase/CellBuilderType.html new file mode 100644 index 000..4fed455 --- /dev/null +++ b/apidocs/org/apache/hadoop/hbase/CellBuilderType.html @@ -0,0 +1,353 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +CellBuilderType (Apache HBase 3.0.0-SNAPSHOT API) + + + + + +var methods = {"i0":9,"i1":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass +NextClass + + +Frames +NoFrames + + +AllClasses + + + + + + + +Summary: +Nested| +Enum Constants| +Field| +Method + + +Detail: +Enum Constants| +Field| +Method + + + + + + + + +org.apache.hadoop.hbase +Enum CellBuilderType + + + +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">java.lang.EnumCellBuilderType + + +org.apache.hadoop.hbase.CellBuilderType + + + + + + + + + +All Implemented Interfaces: +http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable, http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableCellBuilderType + + + +@InterfaceAudience.Public +public enum CellBuilderType +extends http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">EnumCellBuilderType +Used by CellBuilderFactory and ExtendedCellBuilderFactory. + Indicates which memory copy is used in building cell. + + + + + + + + + + + +Enum Constant Summary + +Enum Constants + +Enum Constant and Description + + +DEEP_COPY +The cell builder will copy all passed bytes for building cell. + + + +SHALLOW_COPY +DON'T modify the byte array passed to cell builder + because all fields in new cell are reference to input arguments + + + + + + + + + + +Method Summary + +All MethodsStatic MethodsConcrete Methods + +Modifier and Type +Method and Description + + +static CellBuilderType +valueOf(http://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. + + + +static CellBuilderType[] +values() +Returns an array containing the constants of this enum type, in +the order they are declared. + + + + + + + +Methods inherited from classjava.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">Enum +http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#clone--; title="class or interface in java.lang">clone, http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#compareTo-E-; title="class or interface in java.lang">compareTo, http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#equals-java.lang.Object-; title="class or interface in java.lang">equals, http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#finalize--; title="class or interface in java.lang">finalize, http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass--; title="class or interface in java.lang">getDeclaringClass, http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#hashCode--; title="class or interface in java.lang">hashCode, http://docs.oracle.com/javase/8/docs/ api/java/lang/Enum.html?is-external=true#name--" title="class or interface in java.lang">name, http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#ordinal--; title="class or interface in java.lang">ordinal, http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#toString--; title="class or interface in java.lang">toString,
[12/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteByteBufferCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteByteBufferCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteByteBufferCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteByteBufferCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteByteBufferCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields defaulted. -407 *
[26/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/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 7cba16c..33cb6b6 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.http://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.http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableT, java.io.http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable) -org.apache.hadoop.hbase.regionserver.wal.RingBufferTruck.Type org.apache.hadoop.hbase.regionserver.wal.ProtobufLogReader.WALHdrResult +org.apache.hadoop.hbase.regionserver.wal.RingBufferTruck.Type http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/replication/BulkLoadCellFilter.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/replication/BulkLoadCellFilter.html b/devapidocs/org/apache/hadoop/hbase/replication/BulkLoadCellFilter.html index 26573d4..cae0806 100644 --- a/devapidocs/org/apache/hadoop/hbase/replication/BulkLoadCellFilter.html +++ b/devapidocs/org/apache/hadoop/hbase/replication/BulkLoadCellFilter.html @@ -109,7 +109,7 @@ var activeTableTab = "activeTableTab"; -public class BulkLoadCellFilter +public class BulkLoadCellFilter extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object @@ -130,6 +130,10 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? Field and Description +private CellBuilder +cellBuilder + + private static org.apache.commons.logging.Log LOG @@ -197,10 +201,19 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? - + LOG -private static finalorg.apache.commons.logging.Log LOG +private static finalorg.apache.commons.logging.Log LOG + + + + + + + +cellBuilder +private finalCellBuilder cellBuilder @@ -217,7 +230,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? BulkLoadCellFilter -publicBulkLoadCellFilter() +publicBulkLoadCellFilter() @@ -234,7 +247,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? filterCell -publicCellfilterCell(Cellcell, +publicCellfilterCell(Cellcell, org.apache.hadoop.hbase.shaded.com.google.common.base.Predicatebyte[]famPredicate) Filters the bulk load cell using the supplied predicate. http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/replication/regionserver/package-tree.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/replication/regionserver/package-tree.html b/devapidocs/org/apache/hadoop/hbase/replication/regionserver/package-tree.html index 2680226..1185ae8 100644 --- a/devapidocs/org/apache/hadoop/hbase/replication/regionserver/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/replication/regionserver/package-tree.html @@ -214,8 +214,8 @@ java.lang.http://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.http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableT, java.io.http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable) -org.apache.hadoop.hbase.replication.regionserver.MetricsReplicationSourceFactoryImpl.SourceHolder org.apache.hadoop.hbase.replication.regionserver.ReplicationSourceShipper.WorkerState +org.apache.hadoop.hbase.replication.regionserver.MetricsReplicationSourceFactoryImpl.SourceHolder http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/security/access/package-tree.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/security/access/package-tree.html b/devapidocs/org/apache/hadoop/hbase/security/access/package-tree.html index d5d4962..1a1b294 100644 --- a/devapidocs/org/apache/hadoop/hbase/security/access/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/security/access/package-tree.html @@ -136,9 +136,9 @@
[24/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.EmptyCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.EmptyCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.EmptyCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.EmptyCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.EmptyCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields defaulted. -407 * @param row -408 * @param family -409 * @param qualifier -410 * @return
[19/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSByteBufferCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSByteBufferCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSByteBufferCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSByteBufferCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColTSByteBufferCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other
[09/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields defaulted. -407 * @param row
[30/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/regionserver/HMobStore.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/HMobStore.html b/devapidocs/org/apache/hadoop/hbase/regionserver/HMobStore.html index eff1b8f..9bf8f6c 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/HMobStore.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HMobStore.html @@ -974,7 +974,7 @@ extends readCell -privateCellreadCell(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listorg.apache.hadoop.fs.Pathlocations, +privateCellreadCell(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listorg.apache.hadoop.fs.Pathlocations, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringfileName, Cellsearch, booleancacheMobBlocks, @@ -1008,7 +1008,7 @@ extends getPath -publicorg.apache.hadoop.fs.PathgetPath() +publicorg.apache.hadoop.fs.PathgetPath() Gets the mob file path. Returns: @@ -1022,7 +1022,7 @@ extends updateCellsCountCompactedToMob -publicvoidupdateCellsCountCompactedToMob(longcount) +publicvoidupdateCellsCountCompactedToMob(longcount) @@ -1031,7 +1031,7 @@ extends getCellsCountCompactedToMob -publiclonggetCellsCountCompactedToMob() +publiclonggetCellsCountCompactedToMob() @@ -1040,7 +1040,7 @@ extends updateCellsCountCompactedFromMob -publicvoidupdateCellsCountCompactedFromMob(longcount) +publicvoidupdateCellsCountCompactedFromMob(longcount) @@ -1049,7 +1049,7 @@ extends getCellsCountCompactedFromMob -publiclonggetCellsCountCompactedFromMob() +publiclonggetCellsCountCompactedFromMob() @@ -1058,7 +1058,7 @@ extends updateCellsSizeCompactedToMob -publicvoidupdateCellsSizeCompactedToMob(longsize) +publicvoidupdateCellsSizeCompactedToMob(longsize) @@ -1067,7 +1067,7 @@ extends getCellsSizeCompactedToMob -publiclonggetCellsSizeCompactedToMob() +publiclonggetCellsSizeCompactedToMob() @@ -1076,7 +1076,7 @@ extends updateCellsSizeCompactedFromMob -publicvoidupdateCellsSizeCompactedFromMob(longsize) +publicvoidupdateCellsSizeCompactedFromMob(longsize) @@ -1085,7 +1085,7 @@ extends getCellsSizeCompactedFromMob -publiclonggetCellsSizeCompactedFromMob() +publiclonggetCellsSizeCompactedFromMob() @@ -1094,7 +1094,7 @@ extends updateMobFlushCount -publicvoidupdateMobFlushCount() +publicvoidupdateMobFlushCount() @@ -1103,7 +1103,7 @@ extends getMobFlushCount -publiclonggetMobFlushCount() +publiclonggetMobFlushCount() @@ -1112,7 +1112,7 @@ extends updateMobFlushedCellsCount -publicvoidupdateMobFlushedCellsCount(longcount) +publicvoidupdateMobFlushedCellsCount(longcount) @@ -1121,7 +1121,7 @@ extends getMobFlushedCellsCount -publiclonggetMobFlushedCellsCount() +publiclonggetMobFlushedCellsCount() @@ -1130,7 +1130,7 @@ extends updateMobFlushedCellsSize -publicvoidupdateMobFlushedCellsSize(longsize) +publicvoidupdateMobFlushedCellsSize(longsize) @@ -1139,7 +1139,7 @@ extends getMobFlushedCellsSize -publiclonggetMobFlushedCellsSize() +publiclonggetMobFlushedCellsSize() @@ -1148,7 +1148,7 @@ extends updateMobScanCellsCount -publicvoidupdateMobScanCellsCount(longcount) +publicvoidupdateMobScanCellsCount(longcount) @@ -1157,7 +1157,7 @@ extends getMobScanCellsCount -publiclonggetMobScanCellsCount() +publiclonggetMobScanCellsCount() @@ -1166,7 +1166,7 @@ extends updateMobScanCellsSize -publicvoidupdateMobScanCellsSize(longsize) +publicvoidupdateMobScanCellsSize(longsize) @@ -1175,7 +1175,7 @@ extends getMobScanCellsSize -publiclonggetMobScanCellsSize() +publiclonggetMobScanCellsSize() @@ -1184,7 +1184,7 @@ extends getRefCellTags -publicbyte[]getRefCellTags() +publicbyte[]getRefCellTags() http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/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 e1af95a..cff1a1e 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 http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true;
[07/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCellBuilder.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCellBuilder.html b/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCellBuilder.html new file mode 100644 index 000..6ebbc6e --- /dev/null +++ b/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCellBuilder.html @@ -0,0 +1,139 @@ +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 */ +018package org.apache.hadoop.hbase; +019 +020import org.apache.hadoop.hbase.classification.InterfaceAudience; +021 +022/** +023 * For internal purpose. +024 * {@link Tag} and memstoreTS/mvcc are internal implementation detail +025 * that should not be exposed publicly. +026 * Use {@link ExtendedCellBuilderFactory} to get ExtendedCellBuilder instance. +027 * TODO: ditto for ByteBufferCell? +028 */ +029@InterfaceAudience.Private +030public interface ExtendedCellBuilder extends CellBuilder { +031 @Override +032 ExtendedCellBuilder setRow(final byte[] row); +033 @Override +034 ExtendedCellBuilder setRow(final byte[] row, final int rOffset, final int rLength); +035 +036 @Override +037 ExtendedCellBuilder setFamily(final byte[] family); +038 @Override +039 ExtendedCellBuilder setFamily(final byte[] family, final int fOffset, final int fLength); +040 +041 @Override +042 ExtendedCellBuilder setQualifier(final byte[] qualifier); +043 @Override +044 ExtendedCellBuilder setQualifier(final byte[] qualifier, final int qOffset, final int qLength); +045 +046 @Override +047 ExtendedCellBuilder setTimestamp(final long timestamp); +048 +049 @Override +050 ExtendedCellBuilder setType(final byte type); +051 +052 @Override +053 ExtendedCellBuilder setValue(final byte[] value); +054 @Override +055 ExtendedCellBuilder setValue(final byte[] value, final int vOffset, final int vLength); +056 +057 @Override +058 ExtendedCell build(); +059 +060 @Override +061 ExtendedCellBuilder clear(); +062 +063 ExtendedCellBuilder setTags(final byte[] tags); +064 ExtendedCellBuilder setTags(final byte[] tags, int tagsOffset, int tagsLength); +065 +066 ExtendedCellBuilder setSequenceId(final long seqId); +067} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCellBuilderFactory.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCellBuilderFactory.html b/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCellBuilderFactory.html new file mode 100644 index 000..76fd12b --- /dev/null +++ b/devapidocs/src-html/org/apache/hadoop/hbase/ExtendedCellBuilderFactory.html @@ -0,0 +1,112 @@ +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 org.apache.hadoop.hbase.classification.InterfaceAudience; +022 +023 +024@InterfaceAudience.Private +025public
[11/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields defaulted. -407 * @param row -408 * @param family -409 * @param
[17/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowDeleteFamilyCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowDeleteFamilyCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowDeleteFamilyCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowDeleteFamilyCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowDeleteFamilyCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields defaulted.
[40/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferCell.html index 2cf991f..b934d09 100644 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferCell.html +++ b/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowColByteBufferCell.html @@ -133,7 +133,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -private static class CellUtil.LastOnRowColByteBufferCell +private static class CellUtil.LastOnRowColByteBufferCell extends CellUtil.LastOnRowByteBufferCell @@ -283,7 +283,7 @@ extends fBuffer -private finalhttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffer fBuffer +private finalhttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffer fBuffer @@ -292,7 +292,7 @@ extends foffset -private finalint foffset +private finalint foffset @@ -301,7 +301,7 @@ extends flength -private finalbyte flength +private finalbyte flength @@ -310,7 +310,7 @@ extends qBuffer -private finalhttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffer qBuffer +private finalhttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffer qBuffer @@ -319,7 +319,7 @@ extends qoffset -private finalint qoffset +private finalint qoffset @@ -328,7 +328,7 @@ extends qlength -private finalint qlength +private finalint qlength @@ -345,7 +345,7 @@ extends LastOnRowColByteBufferCell -publicLastOnRowColByteBufferCell(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferrBuffer, +publicLastOnRowColByteBufferCell(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferrBuffer, introffset, shortrlength, http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferfBuffer, @@ -370,7 +370,7 @@ extends getFamilyByteBuffer -publichttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffergetFamilyByteBuffer() +publichttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffergetFamilyByteBuffer() Overrides: getFamilyByteBufferin classCellUtil.EmptyByteBufferCell @@ -385,7 +385,7 @@ extends getFamilyPosition -publicintgetFamilyPosition() +publicintgetFamilyPosition() Overrides: getFamilyPositionin classCellUtil.EmptyByteBufferCell @@ -400,7 +400,7 @@ extends getFamilyLength -publicbytegetFamilyLength() +publicbytegetFamilyLength() Specified by: getFamilyLengthin interfaceCell @@ -417,7 +417,7 @@ extends getQualifierByteBuffer -publichttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffergetQualifierByteBuffer() +publichttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffergetQualifierByteBuffer() Overrides: getQualifierByteBufferin classCellUtil.EmptyByteBufferCell @@ -432,7 +432,7 @@ extends getQualifierPosition -publicintgetQualifierPosition() +publicintgetQualifierPosition() Overrides: getQualifierPositionin classCellUtil.EmptyByteBufferCell @@ -447,7 +447,7 @@ extends getQualifierLength -publicintgetQualifierLength() +publicintgetQualifierLength() Specified by: getQualifierLengthin interfaceCell http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html index ec59dbd..9a63b4a 100644 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html +++ b/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowColCell.html @@ -128,7 +128,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -private static class CellUtil.LastOnRowColCell +private static class CellUtil.LastOnRowColCell extends CellUtil.LastOnRowCell @@ -283,7
[20/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowColCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields defaulted. -407 * @param row -408 * @param family
[31/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html b/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html index a342ec0..cf3ceb3 100644 --- a/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/filter/package-tree.html @@ -175,14 +175,14 @@ java.lang.http://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.http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableT, java.io.http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable) -org.apache.hadoop.hbase.filter.BitComparator.BitwiseOp -org.apache.hadoop.hbase.filter.RegexStringComparator.EngineType org.apache.hadoop.hbase.filter.CompareFilter.CompareOp +org.apache.hadoop.hbase.filter.FilterWrapper.FilterRowRetCode org.apache.hadoop.hbase.filter.FuzzyRowFilter.SatisfiesCode +org.apache.hadoop.hbase.filter.BitComparator.BitwiseOp org.apache.hadoop.hbase.filter.Filter.ReturnCode -org.apache.hadoop.hbase.filter.FilterWrapper.FilterRowRetCode -org.apache.hadoop.hbase.filter.FilterList.Operator org.apache.hadoop.hbase.filter.FuzzyRowFilter.Order +org.apache.hadoop.hbase.filter.FilterList.Operator +org.apache.hadoop.hbase.filter.RegexStringComparator.EngineType http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html index fe35db8..0071645 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/package-tree.html @@ -273,12 +273,12 @@ java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">EnumE (implements java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableT, java.io.http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable) -org.apache.hadoop.hbase.io.hfile.BlockType -org.apache.hadoop.hbase.io.hfile.BlockType.BlockCategory org.apache.hadoop.hbase.io.hfile.BlockPriority org.apache.hadoop.hbase.io.hfile.HFileBlock.Writer.State org.apache.hadoop.hbase.io.hfile.CacheConfig.ExternalBlockCaches +org.apache.hadoop.hbase.io.hfile.BlockType.BlockCategory org.apache.hadoop.hbase.io.hfile.Cacheable.MemoryType +org.apache.hadoop.hbase.io.hfile.BlockType http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/ipc/package-tree.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/ipc/package-tree.html b/devapidocs/org/apache/hadoop/hbase/ipc/package-tree.html index 007957e..ea3d1c5 100644 --- a/devapidocs/org/apache/hadoop/hbase/ipc/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/ipc/package-tree.html @@ -341,9 +341,9 @@ java.lang.http://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.http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableT, java.io.http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable) -org.apache.hadoop.hbase.ipc.CallEvent.Type org.apache.hadoop.hbase.ipc.MetricsHBaseServerSourceFactoryImpl.SourceStorage org.apache.hadoop.hbase.ipc.BufferCallBeforeInitHandler.BufferCallAction +org.apache.hadoop.hbase.ipc.CallEvent.Type http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html b/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html index 2d3a12d..6cb6153 100644 --- a/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/mapreduce/package-tree.html @@ -286,9 +286,9 @@ java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">EnumE (implements
[43/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/index-all.html -- diff --git a/devapidocs/index-all.html b/devapidocs/index-all.html index e481c3b..f1dc0c1 100644 --- a/devapidocs/index-all.html +++ b/devapidocs/index-all.html @@ -6915,6 +6915,8 @@ build() - Method in class org.apache.hadoop.hbase.backup.RestoreRequest.Builder +build() - Method in interface org.apache.hadoop.hbase.CellBuilder + build() - Method in interface org.apache.hadoop.hbase.client.AsyncAdminBuilder Create a AsyncAdmin instance. @@ -6958,6 +6960,10 @@ build() - Method in class org.apache.hadoop.hbase.ClusterStatus.Builder +build() - Method in interface org.apache.hadoop.hbase.ExtendedCellBuilder + +build() - Method in class org.apache.hadoop.hbase.ExtendedCellBuilderImpl + build() - Method in class org.apache.hadoop.hbase.http.HttpServer.Builder build() - Method in class org.apache.hadoop.hbase.io.hfile.HFileContextBuilder @@ -9204,6 +9210,30 @@ cellBlockStream - Variable in class org.apache.hadoop.hbase.ipc.ServerCall +CellBuilder - Interface in org.apache.hadoop.hbase + +Use CellBuilderFactory to get CellBuilder instance. + +cellBuilder - Variable in class org.apache.hadoop.hbase.codec.CellCodec.CellDecoder + +cellBuilder - Variable in class org.apache.hadoop.hbase.codec.CellCodecWithTags.CellDecoder + +cellBuilder - Variable in class org.apache.hadoop.hbase.codec.MessageCodec.MessageDecoder + +cellBuilder - Variable in class org.apache.hadoop.hbase.replication.BulkLoadCellFilter + +CellBuilderFactory - Class in org.apache.hadoop.hbase + +Create a CellBuilder instance. + +CellBuilderFactory() - Constructor for class org.apache.hadoop.hbase.CellBuilderFactory + +CellBuilderType - Enum in org.apache.hadoop.hbase + +Used by CellBuilderFactory and ExtendedCellBuilderFactory. + +CellBuilderType() - Constructor for enum org.apache.hadoop.hbase.CellBuilderType + CellChunkImmutableSegment - Class in org.apache.hadoop.hbase.regionserver CellChunkImmutableSegment extends the API supported by a Segment, @@ -10077,6 +10107,8 @@ checkAnyLimitReached(ScannerContext.LimitScope) - Method in class org.apache.hadoop.hbase.regionserver.ScannerContext +checkArrayBounds(byte[], int, int) - Method in class org.apache.hadoop.hbase.IndividualBytesFieldCell + checkAuths - Variable in class org.apache.hadoop.hbase.security.visibility.VisibilityController checkAuths(SetInteger, int, String, boolean) - Static method in class org.apache.hadoop.hbase.security.visibility.VisibilityUtils @@ -10091,6 +10123,8 @@ checkBatchSizeAndLogLargeSize(ClientProtos.MultiRequest) - Method in class org.apache.hadoop.hbase.regionserver.RSRpcServices +checkBeforeBuild() - Method in class org.apache.hadoop.hbase.ExtendedCellBuilderImpl + checkBit(int, ByteBuff, int) - Static method in class org.apache.hadoop.hbase.util.BloomFilterUtil Check if bit at specified index is 1. @@ -11431,6 +11465,10 @@ Clean up any temp detritus that may have been left around from previous operation attempts. +clear() - Method in interface org.apache.hadoop.hbase.CellBuilder + +Remove all internal elements from builder. + clear() - Method in class org.apache.hadoop.hbase.client.AllowPartialScanResultCache clear() - Method in class org.apache.hadoop.hbase.client.BatchErrors @@ -11455,6 +11493,10 @@ These methods are unsupported, and no code using CompoundConfiguration depend upon them. +clear() - Method in interface org.apache.hadoop.hbase.ExtendedCellBuilder + +clear() - Method in class org.apache.hadoop.hbase.ExtendedCellBuilderImpl + clear() - Method in class org.apache.hadoop.hbase.io.hfile.HFile.FileInfo clear() - Method in class org.apache.hadoop.hbase.io.hfile.HFileBlockIndex.BlockIndexChunk @@ -17841,6 +17883,10 @@ Create an archive tracker with the special passed in table monitor. +create(CellBuilderType) - Static method in class org.apache.hadoop.hbase.CellBuilderFactory + +Create a CellBuilder instance. + create(Configuration) - Static method in class org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicyFactory create(Configuration) - Static method in class org.apache.hadoop.hbase.client.RequestControllerFactory @@ -17867,6 +17913,8 @@ create(Configuration) - Static method in class org.apache.hadoop.hbase.client.ServerStatisticTracker +create(CellBuilderType) - Static method in class org.apache.hadoop.hbase.ExtendedCellBuilderFactory + create() - Static method in class org.apache.hadoop.hbase.HBaseConfiguration Creates a Configuration with HBase resources @@ -18234,32 +18282,60 @@ Create a caller. createCell(byte[], byte[], byte[], long, byte, byte[]) - Static method in class org.apache.hadoop.hbase.CellUtil - + +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use CellBuilder instead + + createCell(byte[], int, int, byte[],
[36/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/ExtendedCellBuilderImpl.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/ExtendedCellBuilderImpl.html b/devapidocs/org/apache/hadoop/hbase/ExtendedCellBuilderImpl.html new file mode 100644 index 000..0351eeb --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/ExtendedCellBuilderImpl.html @@ -0,0 +1,857 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +ExtendedCellBuilderImpl (Apache HBase 3.0.0-SNAPSHOT API) + + + + + +var methods = {"i0":10,"i1":10,"i2":10,"i3":6,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +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 +Class ExtendedCellBuilderImpl + + + +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.hadoop.hbase.ExtendedCellBuilderImpl + + + + + + + +All Implemented Interfaces: +CellBuilder, ExtendedCellBuilder + + +Direct Known Subclasses: +IndividualBytesFieldCellBuilder, KeyValueBuilder + + + +@InterfaceAudience.Private +public abstract class ExtendedCellBuilderImpl +extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +implements ExtendedCellBuilder + + + + + + + + + + + +Field Summary + +Fields + +Modifier and Type +Field and Description + + +protected byte[] +family + + +protected int +fLength + + +protected int +fOffset + + +protected int +qLength + + +protected int +qOffset + + +protected byte[] +qualifier + + +protected int +rLength + + +protected int +rOffset + + +protected byte[] +row + + +protected long +seqId + + +protected byte[] +tags + + +protected int +tagsLength + + +protected int +tagsOffset + + +protected long +timestamp + + +protected http://docs.oracle.com/javase/8/docs/api/java/lang/Byte.html?is-external=true; title="class or interface in java.lang">Byte +type + + +protected byte[] +value + + +protected int +vLength + + +protected int +vOffset + + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +ExtendedCellBuilderImpl() + + + + + + + + + +Method Summary + +All MethodsInstance MethodsAbstract MethodsConcrete Methods + +Modifier and Type +Method and Description + + +ExtendedCell +build() + + +private void +checkBeforeBuild() + + +ExtendedCellBuilder +clear() +Remove all internal elements from builder. + + + +protected abstract ExtendedCell +innerBuild() + + +ExtendedCellBuilder +setFamily(byte[]family) + + +ExtendedCellBuilder +setFamily(byte[]family, + intfOffset, + intfLength) + + +ExtendedCellBuilder +setQualifier(byte[]qualifier) + + +ExtendedCellBuilder +setQualifier(byte[]qualifier, +intqOffset, +intqLength) + + +ExtendedCellBuilder +setRow(byte[]row) + + +ExtendedCellBuilder +setRow(byte[]row, + intrOffset, + intrLength) + + +ExtendedCellBuilder +setSequenceId(longseqId) + + +ExtendedCellBuilder +setTags(byte[]tags) + + +ExtendedCellBuilder +setTags(byte[]tags, + inttagsOffset, + inttagsLength) + + +ExtendedCellBuilder +setTimestamp(longtimestamp) + + +ExtendedCellBuilder +setType(bytetype) + + +ExtendedCellBuilder +setValue(byte[]value) + + +ExtendedCellBuilder +setValue(byte[]value, +intvOffset, +intvLength) + + + + + + +Methods inherited from classjava.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--; title="class or interface in java.lang">clone, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-; title="class or interface in java.lang">equals,
[34/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/org/apache/hadoop/hbase/KeyValueBuilder.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/KeyValueBuilder.html b/devapidocs/org/apache/hadoop/hbase/KeyValueBuilder.html new file mode 100644 index 000..2a6b092 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/KeyValueBuilder.html @@ -0,0 +1,308 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +KeyValueBuilder (Apache HBase 3.0.0-SNAPSHOT API) + + + + + +var methods = {"i0":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; + + +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 +Class KeyValueBuilder + + + +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">java.lang.Object + + +org.apache.hadoop.hbase.ExtendedCellBuilderImpl + + +org.apache.hadoop.hbase.KeyValueBuilder + + + + + + + + + +All Implemented Interfaces: +CellBuilder, ExtendedCellBuilder + + + +@InterfaceAudience.Private +class KeyValueBuilder +extends ExtendedCellBuilderImpl + + + + + + + + + + + +Field Summary + + + + +Fields inherited from classorg.apache.hadoop.hbase.ExtendedCellBuilderImpl +family, fLength, fOffset, qLength, qOffset, qualifier, rLength, rOffset, row, seqId, tags, tagsLength, tagsOffset, timestamp, type, value, vLength, vOffset + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +KeyValueBuilder() + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +protected ExtendedCell +innerBuild() + + + + + + +Methods inherited from classorg.apache.hadoop.hbase.ExtendedCellBuilderImpl +build, clear, setFamily, setFamily, setQualifier, setQualifier, setRow, setRow, setSequenceId, setTags, setTags, setTimestamp, setType, setValue, setValue + + + + + +Methods inherited from classjava.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object +http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--; title="class or interface in java.lang">clone, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-; title="class or interface in java.lang">equals, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--; title="class or interface in java.lang">finalize, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--; title="class or interface in java.lang">getClass, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--; title="class or interface in java.lang">hashCode, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--; title="class or interface in java.lang">notify, http://docs.oracle.com/javase/8/docs/api/java/lang /Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--; title="class or interface in java.lang">toString, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--; title="class or interface in java.lang">wait, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-; title="class or interface in java.lang">wait, http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-; title="class or interface in java.lang">wait + + + + + + + + + + + + + + +Constructor Detail + + + + + +KeyValueBuilder +KeyValueBuilder() + + + + + + + + + +Method Detail + + + + + +innerBuild +protectedExtendedCellinnerBuild() + +Specified by: +innerBuildin classExtendedCellBuilderImpl + + + + + + + + + + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +PrevClass
[08/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields defaulted. -407 * @param row -408 * @param family -409 * @param qualifier -410 * @return Cell with passed row but all other fields are
[10/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.ValueAndTagRewriteByteBufferCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific
[05/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/codec/CellCodecWithTags.CellEncoder.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/codec/CellCodecWithTags.CellEncoder.html b/devapidocs/src-html/org/apache/hadoop/hbase/codec/CellCodecWithTags.CellEncoder.html index b7a4105..3faea99 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/codec/CellCodecWithTags.CellEncoder.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/codec/CellCodecWithTags.CellEncoder.html @@ -31,111 +31,123 @@ 023 024import org.apache.commons.io.IOUtils; 025import org.apache.hadoop.hbase.Cell; -026import org.apache.hadoop.hbase.CellUtil; -027import org.apache.hadoop.hbase.HBaseInterfaceAudience; -028import org.apache.hadoop.hbase.classification.InterfaceAudience; -029import org.apache.hadoop.hbase.io.ByteBuffInputStream; -030import org.apache.hadoop.hbase.nio.ByteBuff; -031import org.apache.hadoop.hbase.util.Bytes; -032 -033/** -034 * Basic Cell codec that just writes out all the individual elements of a Cell including the tags. -035 * Uses ints delimiting all lengths. Profligate. Needs tune up. -036 * bUse this Codec only at server side./b -037 */ -038@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.CONFIG) -039public class CellCodecWithTags implements Codec { -040 static class CellEncoder extends BaseEncoder { -041CellEncoder(final OutputStream out) { -042 super(out); -043} -044 -045@Override -046public void write(Cell cell) throws IOException { -047 checkFlushed(); -048 // Row -049 write(cell.getRowArray(), cell.getRowOffset(), cell.getRowLength()); -050 // Column family -051 write(cell.getFamilyArray(), cell.getFamilyOffset(), cell.getFamilyLength()); -052 // Qualifier -053 write(cell.getQualifierArray(), cell.getQualifierOffset(), cell.getQualifierLength()); -054 // Version -055 this.out.write(Bytes.toBytes(cell.getTimestamp())); -056 // Type -057 this.out.write(cell.getTypeByte()); -058 // Value -059 write(cell.getValueArray(), cell.getValueOffset(), cell.getValueLength()); -060 // Tags -061 write(cell.getTagsArray(), cell.getTagsOffset(), cell.getTagsLength()); -062 // MvccVersion -063 this.out.write(Bytes.toBytes(cell.getSequenceId())); -064} -065 -066/** -067 * Write int length followed by array bytes. -068 * -069 * @param bytes -070 * @param offset -071 * @param length -072 * @throws IOException -073 */ -074private void write(final byte[] bytes, final int offset, final int length) throws IOException { -075 this.out.write(Bytes.toBytes(length)); -076 this.out.write(bytes, offset, length); -077} -078 } -079 -080 static class CellDecoder extends BaseDecoder { -081public CellDecoder(final InputStream in) { -082 super(in); -083} -084 -085protected Cell parseCell() throws IOException { -086 byte[] row = readByteArray(this.in); -087 byte[] family = readByteArray(in); -088 byte[] qualifier = readByteArray(in); -089 byte[] longArray = new byte[Bytes.SIZEOF_LONG]; -090 IOUtils.readFully(this.in, longArray); -091 long timestamp = Bytes.toLong(longArray); -092 byte type = (byte) this.in.read(); -093 byte[] value = readByteArray(in); -094 byte[] tags = readByteArray(in); -095 // Read memstore version -096 byte[] memstoreTSArray = new byte[Bytes.SIZEOF_LONG]; -097 IOUtils.readFully(this.in, memstoreTSArray); -098 long memstoreTS = Bytes.toLong(memstoreTSArray); -099 return CellUtil.createCell(row, family, qualifier, timestamp, type, value, tags, memstoreTS); -100} -101 -102/** -103 * @return Byte array read from the stream. -104 * @throws IOException -105 */ -106private byte[] readByteArray(final InputStream in) throws IOException { -107 byte[] intArray = new byte[Bytes.SIZEOF_INT]; -108 IOUtils.readFully(in, intArray); -109 int length = Bytes.toInt(intArray); -110 byte[] bytes = new byte[length]; -111 IOUtils.readFully(in, bytes); -112 return bytes; -113} -114 } -115 -116 @Override -117 public Decoder getDecoder(InputStream is) { -118return new CellDecoder(is); -119 } -120 -121 @Override -122 public Decoder getDecoder(ByteBuff buf) { -123return getDecoder(new ByteBuffInputStream(buf)); -124 } -125 -126 @Override -127 public Encoder getEncoder(OutputStream os) { -128return new CellEncoder(os); -129 } -130} +026import org.apache.hadoop.hbase.CellBuilderType; +027import org.apache.hadoop.hbase.ExtendedCellBuilder; +028import org.apache.hadoop.hbase.ExtendedCellBuilderFactory; +029import org.apache.hadoop.hbase.HBaseInterfaceAudience; +030import
[28/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/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 05e0e9e..390d63c 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/HRegion.html @@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -public class HRegion +public class HRegion extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object implements HeapSize, PropagatingConfigurationObserver, Region @@ -2340,7 +2340,7 @@ implements LOG -private static finalorg.apache.commons.logging.Log LOG +private static finalorg.apache.commons.logging.Log LOG @@ -2349,7 +2349,7 @@ implements LOAD_CFS_ON_DEMAND_CONFIG_KEY -public static finalhttp://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 finalhttp://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 @@ -2362,7 +2362,7 @@ implements HREGION_MVCC_PRE_ASSIGN -public static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String HREGION_MVCC_PRE_ASSIGN +public static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String HREGION_MVCC_PRE_ASSIGN Config key for using mvcc pre-assign feature for put See Also: @@ -2376,7 +2376,7 @@ implements DEFAULT_HREGION_MVCC_PRE_ASSIGN -public static finalboolean DEFAULT_HREGION_MVCC_PRE_ASSIGN +public static finalboolean DEFAULT_HREGION_MVCC_PRE_ASSIGN See Also: Constant Field Values @@ -2389,7 +2389,7 @@ implements HREGION_UNASSIGN_FOR_FNFE -public static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String HREGION_UNASSIGN_FOR_FNFE +public static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String HREGION_UNASSIGN_FOR_FNFE See Also: Constant Field Values @@ -2402,7 +2402,7 @@ implements DEFAULT_HREGION_UNASSIGN_FOR_FNFE -public static finalboolean DEFAULT_HREGION_UNASSIGN_FOR_FNFE +public static finalboolean DEFAULT_HREGION_UNASSIGN_FOR_FNFE See Also: Constant Field Values @@ -2415,7 +2415,7 @@ implements HBASE_MAX_CELL_SIZE_KEY -public static finalhttp://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 finalhttp://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 @@ -2428,7 +2428,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 @@ -2441,7 +2441,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. @@ -2452,7 +2452,7 @@ implements closed -finalhttp://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 +finalhttp://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 @@ -2461,7 +2461,7 @@ implements closing -finalhttp://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 +finalhttp://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 @@ -2470,7 +2470,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. @@ -2481,7 +2481,7 @@ implements lastFlushOpSeqId -private volatilelong lastFlushOpSeqId
[22/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.FirstOnRowCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields defaulted. -407 * @param row -408 * @param family -409 * @param
[25/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.EmptyByteBufferCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.EmptyByteBufferCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.EmptyByteBufferCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.EmptyByteBufferCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.EmptyByteBufferCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields defaulted. -407 * @param row -408 * @param
[03/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.BatchOperation.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.BatchOperation.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.BatchOperation.html index 7ae9178..c234c4c 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.BatchOperation.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.BatchOperation.html @@ -131,8074 +131,8079 @@ 123import org.apache.hadoop.hbase.conf.ConfigurationManager; 124import org.apache.hadoop.hbase.conf.PropagatingConfigurationObserver; 125import org.apache.hadoop.hbase.coprocessor.RegionObserver.MutationType; -126import org.apache.hadoop.hbase.errorhandling.ForeignExceptionSnare; -127import org.apache.hadoop.hbase.exceptions.FailedSanityCheckException; -128import org.apache.hadoop.hbase.exceptions.RegionInRecoveryException; -129import org.apache.hadoop.hbase.exceptions.TimeoutIOException; -130import org.apache.hadoop.hbase.exceptions.UnknownProtocolException; -131import org.apache.hadoop.hbase.filter.ByteArrayComparable; -132import org.apache.hadoop.hbase.filter.CompareFilter.CompareOp; -133import org.apache.hadoop.hbase.filter.FilterWrapper; -134import org.apache.hadoop.hbase.filter.IncompatibleFilterException; -135import org.apache.hadoop.hbase.io.HFileLink; -136import org.apache.hadoop.hbase.io.HeapSize; -137import org.apache.hadoop.hbase.io.TimeRange; -138import org.apache.hadoop.hbase.io.hfile.HFile; -139import org.apache.hadoop.hbase.ipc.CallerDisconnectedException; -140import org.apache.hadoop.hbase.ipc.CoprocessorRpcUtils; -141import org.apache.hadoop.hbase.ipc.RpcCall; -142import org.apache.hadoop.hbase.ipc.RpcCallContext; -143import org.apache.hadoop.hbase.ipc.RpcServer; -144import org.apache.hadoop.hbase.monitoring.MonitoredTask; -145import org.apache.hadoop.hbase.monitoring.TaskMonitor; -146import org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControl.WriteEntry; -147import org.apache.hadoop.hbase.regionserver.ScannerContext.LimitScope; -148import org.apache.hadoop.hbase.regionserver.ScannerContext.NextState; -149import org.apache.hadoop.hbase.regionserver.compactions.CompactionContext; -150import org.apache.hadoop.hbase.regionserver.throttle.CompactionThroughputControllerFactory; -151import org.apache.hadoop.hbase.regionserver.throttle.NoLimitThroughputController; -152import org.apache.hadoop.hbase.regionserver.throttle.ThroughputController; -153import org.apache.hadoop.hbase.regionserver.wal.WALEdit; -154import org.apache.hadoop.hbase.regionserver.wal.WALUtil; -155import org.apache.hadoop.hbase.security.User; -156import org.apache.hadoop.hbase.shaded.com.google.protobuf.TextFormat; -157import org.apache.hadoop.hbase.shaded.com.google.protobuf.UnsafeByteOperations; -158import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil; -159import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.GetRegionInfoResponse.CompactionState; -160import org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos; -161import org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.CoprocessorServiceCall; -162import org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionLoad; -163import org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.StoreSequenceId; -164import org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription; -165import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos; -166import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.CompactionDescriptor; -167import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor; -168import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor.FlushAction; -169import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor.StoreFlushDescriptor; -170import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor; -171import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor.EventType; -172import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.StoreDescriptor; -173import org.apache.hadoop.hbase.snapshot.SnapshotDescriptionUtils; -174import org.apache.hadoop.hbase.snapshot.SnapshotManifest; -175import org.apache.hadoop.hbase.util.Bytes; -176import org.apache.hadoop.hbase.util.CancelableProgressable; -177import org.apache.hadoop.hbase.util.ClassSize; -178import org.apache.hadoop.hbase.util.CollectionUtils; -179import org.apache.hadoop.hbase.util.CompressionTest; -180import org.apache.hadoop.hbase.util.EncryptionTest; -181import org.apache.hadoop.hbase.util.EnvironmentEdgeManager; -182import
[16/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferCell.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferCell.html b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferCell.html index 3e734a6..6b0729b 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferCell.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferCell.html @@ -324,2879 +324,2916 @@ 316return buffer; 317 } 318 -319 public static Cell createCell(final byte [] row, final byte [] family, final byte [] qualifier, -320 final long timestamp, final byte type, final byte [] value) { -321// I need a Cell Factory here. Using KeyValue for now. TODO. -322// TODO: Make a new Cell implementation that just carries these -323// byte arrays. -324// TODO: Call factory to create Cell -325return new KeyValue(row, family, qualifier, timestamp, KeyValue.Type.codeToType(type), value); -326 } -327 -328 public static Cell createCell(final byte [] rowArray, final int rowOffset, final int rowLength, -329 final byte [] familyArray, final int familyOffset, final int familyLength, -330 final byte [] qualifierArray, final int qualifierOffset, final int qualifierLength) { -331// See createCell(final byte [] row, final byte [] value) for why we default Maximum type. -332return new KeyValue(rowArray, rowOffset, rowLength, -333familyArray, familyOffset, familyLength, -334qualifierArray, qualifierOffset, qualifierLength, -335HConstants.LATEST_TIMESTAMP, -336KeyValue.Type.Maximum, -337HConstants.EMPTY_BYTE_ARRAY, 0, HConstants.EMPTY_BYTE_ARRAY.length); -338 } -339 -340 /** -341 * Marked as audience Private as of 1.2.0. -342 * Creating a Cell with a memstoreTS/mvcc is an internal implementation detail not for -343 * public use. -344 */ -345 @InterfaceAudience.Private -346 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -347 final long timestamp, final byte type, final byte[] value, final long memstoreTS) { -348KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -349KeyValue.Type.codeToType(type), value); -350keyValue.setSequenceId(memstoreTS); -351return keyValue; -352 } -353 -354 /** -355 * Marked as audience Private as of 1.2.0. -356 * Creating a Cell with tags and a memstoreTS/mvcc is an internal implementation detail not for -357 * public use. -358 */ -359 @InterfaceAudience.Private -360 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -361 final long timestamp, final byte type, final byte[] value, byte[] tags, -362 final long memstoreTS) { -363KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, -364KeyValue.Type.codeToType(type), value, tags); -365keyValue.setSequenceId(memstoreTS); -366return keyValue; -367 } -368 -369 /** -370 * Marked as audience Private as of 1.2.0. -371 * Creating a Cell with tags is an internal implementation detail not for -372 * public use. -373 */ -374 @InterfaceAudience.Private -375 public static Cell createCell(final byte[] row, final byte[] family, final byte[] qualifier, -376 final long timestamp, Type type, final byte[] value, byte[] tags) { -377KeyValue keyValue = new KeyValue(row, family, qualifier, timestamp, type, value, tags); -378return keyValue; -379 } -380 -381 /** -382 * Create a Cell with specific row. Other fields defaulted. -383 * @param row -384 * @return Cell with passed row but all other fields are arbitrary -385 */ -386 public static Cell createCell(final byte [] row) { -387return createCell(row, HConstants.EMPTY_BYTE_ARRAY); -388 } -389 -390 /** -391 * Create a Cell with specific row and value. Other fields are defaulted. -392 * @param row -393 * @param value -394 * @return Cell with passed row and value but all other fields are arbitrary -395 */ -396 public static Cell createCell(final byte [] row, final byte [] value) { -397// An empty family + empty qualifier + Type.Minimum is used as flag to indicate last on row. -398// See the CellComparator and KeyValue comparator. Search for compareWithoutRow. -399// Lets not make a last-on-row key as default but at same time, if you are making a key -400// without specifying type, etc., flag it as weird by setting type to be Maximum. -401return createCell(row, HConstants.EMPTY_BYTE_ARRAY, HConstants.EMPTY_BYTE_ARRAY, -402 HConstants.LATEST_TIMESTAMP, KeyValue.Type.Maximum.getCode(), value); -403 } -404 -405 /** -406 * Create a Cell with specific row. Other fields defaulted. -407 * @param
[01/51] [partial] hbase-site git commit: Published site at .
Repository: hbase-site Updated Branches: refs/heads/asf-site 201e4cc2a -> f751513b0 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f751513b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.MutationBatch.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.MutationBatch.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.MutationBatch.html index 7ae9178..c234c4c 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.MutationBatch.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegion.MutationBatch.html @@ -131,8074 +131,8079 @@ 123import org.apache.hadoop.hbase.conf.ConfigurationManager; 124import org.apache.hadoop.hbase.conf.PropagatingConfigurationObserver; 125import org.apache.hadoop.hbase.coprocessor.RegionObserver.MutationType; -126import org.apache.hadoop.hbase.errorhandling.ForeignExceptionSnare; -127import org.apache.hadoop.hbase.exceptions.FailedSanityCheckException; -128import org.apache.hadoop.hbase.exceptions.RegionInRecoveryException; -129import org.apache.hadoop.hbase.exceptions.TimeoutIOException; -130import org.apache.hadoop.hbase.exceptions.UnknownProtocolException; -131import org.apache.hadoop.hbase.filter.ByteArrayComparable; -132import org.apache.hadoop.hbase.filter.CompareFilter.CompareOp; -133import org.apache.hadoop.hbase.filter.FilterWrapper; -134import org.apache.hadoop.hbase.filter.IncompatibleFilterException; -135import org.apache.hadoop.hbase.io.HFileLink; -136import org.apache.hadoop.hbase.io.HeapSize; -137import org.apache.hadoop.hbase.io.TimeRange; -138import org.apache.hadoop.hbase.io.hfile.HFile; -139import org.apache.hadoop.hbase.ipc.CallerDisconnectedException; -140import org.apache.hadoop.hbase.ipc.CoprocessorRpcUtils; -141import org.apache.hadoop.hbase.ipc.RpcCall; -142import org.apache.hadoop.hbase.ipc.RpcCallContext; -143import org.apache.hadoop.hbase.ipc.RpcServer; -144import org.apache.hadoop.hbase.monitoring.MonitoredTask; -145import org.apache.hadoop.hbase.monitoring.TaskMonitor; -146import org.apache.hadoop.hbase.regionserver.MultiVersionConcurrencyControl.WriteEntry; -147import org.apache.hadoop.hbase.regionserver.ScannerContext.LimitScope; -148import org.apache.hadoop.hbase.regionserver.ScannerContext.NextState; -149import org.apache.hadoop.hbase.regionserver.compactions.CompactionContext; -150import org.apache.hadoop.hbase.regionserver.throttle.CompactionThroughputControllerFactory; -151import org.apache.hadoop.hbase.regionserver.throttle.NoLimitThroughputController; -152import org.apache.hadoop.hbase.regionserver.throttle.ThroughputController; -153import org.apache.hadoop.hbase.regionserver.wal.WALEdit; -154import org.apache.hadoop.hbase.regionserver.wal.WALUtil; -155import org.apache.hadoop.hbase.security.User; -156import org.apache.hadoop.hbase.shaded.com.google.protobuf.TextFormat; -157import org.apache.hadoop.hbase.shaded.com.google.protobuf.UnsafeByteOperations; -158import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil; -159import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.GetRegionInfoResponse.CompactionState; -160import org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos; -161import org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.CoprocessorServiceCall; -162import org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.RegionLoad; -163import org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.StoreSequenceId; -164import org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription; -165import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos; -166import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.CompactionDescriptor; -167import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor; -168import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor.FlushAction; -169import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor.StoreFlushDescriptor; -170import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor; -171import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptor.EventType; -172import org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.StoreDescriptor; -173import org.apache.hadoop.hbase.snapshot.SnapshotDescriptionUtils; -174import org.apache.hadoop.hbase.snapshot.SnapshotManifest; -175import org.apache.hadoop.hbase.util.Bytes; -176import org.apache.hadoop.hbase.util.CancelableProgressable; -177import org.apache.hadoop.hbase.util.ClassSize; -178import org.apache.hadoop.hbase.util.CollectionUtils; -179import org.apache.hadoop.hbase.util.CompressionTest; -180import org.apache.hadoop.hbase.util.EncryptionTest; -181import
hbase git commit: HBASE-18640 (Addendum) Remove the redundant dependency
Repository: hbase Updated Branches: refs/heads/master a7270cc08 -> e219d3469 HBASE-18640 (Addendum) Remove the redundant dependency Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e219d346 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e219d346 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e219d346 Branch: refs/heads/master Commit: e219d34694783383f580067053614f6e6b227b03 Parents: a7270cc Author: Chia-Ping TsaiAuthored: Mon Aug 28 23:01:55 2017 +0800 Committer: Chia-Ping Tsai Committed: Mon Aug 28 23:01:55 2017 +0800 -- hbase-it/pom.xml | 6 -- 1 file changed, 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/e219d346/hbase-it/pom.xml -- diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml index 5dc4d4f..2a9cf75 100644 --- a/hbase-it/pom.xml +++ b/hbase-it/pom.xml @@ -210,12 +210,6 @@ org.apache.hbase - hbase-mapreduce - test-jar - test - - - org.apache.hbase hbase-rsgroup
hbase git commit: HBASE-18640 (Addendum) Remove the redundant dependency
Repository: hbase Updated Branches: refs/heads/branch-2 62c3439dd -> 152ad3025 HBASE-18640 (Addendum) Remove the redundant dependency Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/152ad302 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/152ad302 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/152ad302 Branch: refs/heads/branch-2 Commit: 152ad3025b47cc5026c960b4672f54ccf3db0675 Parents: 62c3439 Author: Chia-Ping TsaiAuthored: Mon Aug 28 23:01:55 2017 +0800 Committer: Chia-Ping Tsai Committed: Mon Aug 28 23:04:03 2017 +0800 -- hbase-it/pom.xml | 6 -- 1 file changed, 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/152ad302/hbase-it/pom.xml -- diff --git a/hbase-it/pom.xml b/hbase-it/pom.xml index 527de7f..57f87a1 100644 --- a/hbase-it/pom.xml +++ b/hbase-it/pom.xml @@ -210,12 +210,6 @@ org.apache.hbase - hbase-mapreduce - test-jar - test - - - org.apache.hbase hbase-rsgroup
hbase git commit: HBASE-18705 bin/hbase does not find cached_classpath.txt
Repository: hbase Updated Branches: refs/heads/master 4e7f67717 -> a7270cc08 HBASE-18705 bin/hbase does not find cached_classpath.txt Signed-off-by: tedyuProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a7270cc0 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a7270cc0 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a7270cc0 Branch: refs/heads/master Commit: a7270cc08c75134d01f1f9faf079d6a17955753a Parents: 4e7f677 Author: Balazs Meszaros Authored: Mon Aug 28 11:31:19 2017 +0200 Committer: tedyu Committed: Mon Aug 28 04:09:05 2017 -0700 -- bin/hbase | 4 ++-- bin/hbase.cmd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/a7270cc0/bin/hbase -- diff --git a/bin/hbase b/bin/hbase index 7eeaf2d..91cf015 100755 --- a/bin/hbase +++ b/bin/hbase @@ -164,7 +164,7 @@ if [ -d "$HBASE_HOME/hbase-server/target/hbase-webapps" ]; then fi add_maven_deps_to_classpath() { - f="${HBASE_HOME}/target/cached_classpath.txt" + f="${HBASE_HOME}/hbase-build-configuration/target/cached_classpath.txt" if [ ! -f "${f}" ] then echo "As this is a development environment, we need ${f} to be generated from maven (command: mvn install -DskipTests)" @@ -321,7 +321,7 @@ if [[ $jruby_needed ]]; then else # JRUBY_HOME is not specified explicitly if $in_dev_env; then # in dev environment - F_JRUBY="${HBASE_HOME}/target/cached_classpath_jruby.txt" + F_JRUBY="${HBASE_HOME}/hbase-build-configuration/target/cached_classpath_jruby.txt" if [ ! -f "${F_JRUBY}" ]; then echo "As this is a development environment, we need ${F_JRUBY} to be generated from maven (command: mvn install -DskipTests)" exit 1 http://git-wip-us.apache.org/repos/asf/hbase/blob/a7270cc0/bin/hbase.cmd -- diff --git a/bin/hbase.cmd b/bin/hbase.cmd index 457e4f7..0ff6ff5 100644 --- a/bin/hbase.cmd +++ b/bin/hbase.cmd @@ -103,7 +103,7 @@ if defined HBASE_OFFHEAPSIZE ( set CLASSPATH=%HBASE_CONF_DIR%;%JAVA_HOME%\lib\tools.jar rem Add maven target directory -set cached_classpath_filename=%HBASE_HOME%\target\cached_classpath.txt +set cached_classpath_filename=%HBASE_HOME%\hbase-build-configuration\target\cached_classpath.txt if "%in_dev_env%"=="true" ( rem adding maven main classes to classpath @@ -288,7 +288,7 @@ if defined jruby-needed ( if not defined JRUBY_HOME ( @rem in dev environment if "%in_dev_env%"=="true" ( - set cached_classpath_jruby_filename=%HBASE_HOME%\target\cached_classpath_jruby.txt + set cached_classpath_jruby_filename=%HBASE_HOME%\hbase-build-configuration\target\cached_classpath_jruby.txt if not exist "!cached_classpath_jruby_filename!" ( echo "As this is a development environment, we need !cached_classpath_jruby_filename! to be generated from maven (command: mvn install -DskipTests)" goto :eof
hbase git commit: HBASE-18633 Add more info to understand the source/scenario of large batch requests exceeding threshold
Repository: hbase Updated Branches: refs/heads/branch-2 0142c0921 -> 62c3439dd HBASE-18633 Add more info to understand the source/scenario of large batch requests exceeding threshold Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/62c3439d Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/62c3439d Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/62c3439d Branch: refs/heads/branch-2 Commit: 62c3439dd716828439d0ee622fdcf5a3a25157ad Parents: 0142c09 Author: Vikas VishwakarmaAuthored: Wed Aug 23 11:34:10 2017 +0530 Committer: Vikas Vishwakarma Committed: Mon Aug 28 15:32:49 2017 +0530 -- .../hadoop/hbase/regionserver/RSRpcServices.java | 13 + .../hbase/regionserver/TestMultiLogThreshold.java | 8 2 files changed, 13 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/62c3439d/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java -- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java index 7fc025a..707321d 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java @@ -1131,16 +1131,17 @@ public class RSRpcServices implements HBaseRPCErrorHandler, // Exposed for testing static interface LogDelegate { -void logBatchWarning(int sum, int rowSizeWarnThreshold); +void logBatchWarning(String firstRegionName, int sum, int rowSizeWarnThreshold); } private static LogDelegate DEFAULT_LOG_DELEGATE = new LogDelegate() { @Override -public void logBatchWarning(int sum, int rowSizeWarnThreshold) { +public void logBatchWarning(String firstRegionName, int sum, int rowSizeWarnThreshold) { if (LOG.isWarnEnabled()) { LOG.warn("Large batch operation detected (greater than " + rowSizeWarnThreshold + ") (HBASE-18023)." + " Requested Number of Rows: " + sum + " Client: " -+ RpcServer.getRequestUserName() + "/" + RpcServer.getRemoteAddress()); ++ RpcServer.getRequestUserName() + "/" + RpcServer.getRemoteAddress() ++ " first region in multi=" + firstRegionName); } } }; @@ -2513,11 +2514,15 @@ public class RSRpcServices implements HBaseRPCErrorHandler, private void checkBatchSizeAndLogLargeSize(MultiRequest request) { int sum = 0; +String firstRegionName = null; for (RegionAction regionAction : request.getRegionActionList()) { + if (sum == 0) { +firstRegionName = Bytes.toStringBinary(regionAction.getRegion().getValue().toByteArray()); + } sum += regionAction.getActionCount(); } if (sum > rowSizeWarnThreshold) { - ld.logBatchWarning(sum, rowSizeWarnThreshold); + ld.logBatchWarning(firstRegionName, sum, rowSizeWarnThreshold); } } http://git-wip-us.apache.org/repos/asf/hbase/blob/62c3439d/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.java -- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.java index 6a5dc64..e18e8dd 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.java @@ -117,25 +117,25 @@ public class TestMultiLogThreshold { @Test public void testMultiLogThresholdRegionActions() throws ServiceException, IOException { sendMultiRequest(THRESHOLD + 1, ActionType.REGION_ACTIONS); -verify(LD, Mockito.times(1)).logBatchWarning(Mockito.anyInt(), Mockito.anyInt()); +verify(LD, Mockito.times(1)).logBatchWarning(Mockito.anyString(), Mockito.anyInt(), Mockito.anyInt()); } @Test public void testMultiNoLogThresholdRegionActions() throws ServiceException, IOException { sendMultiRequest(THRESHOLD, ActionType.REGION_ACTIONS); -verify(LD, Mockito.never()).logBatchWarning(Mockito.anyInt(), Mockito.anyInt()); +verify(LD, Mockito.never()).logBatchWarning(Mockito.anyString(), Mockito.anyInt(), Mockito.anyInt()); } @Test public void testMultiLogThresholdActions() throws ServiceException, IOException { sendMultiRequest(THRESHOLD + 1, ActionType.ACTIONS); -verify(LD,
hbase git commit: HBASE-18633 Add more info to understand the source/scenario of large batch requests exceeding threshold
Repository: hbase Updated Branches: refs/heads/branch-1 dbe60e385 -> f071e56a9 HBASE-18633 Add more info to understand the source/scenario of large batch requests exceeding threshold Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f071e56a Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f071e56a Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f071e56a Branch: refs/heads/branch-1 Commit: f071e56a9e9c231b7e834c26835db9f472dc824f Parents: dbe60e3 Author: Vikas VishwakarmaAuthored: Wed Aug 23 16:48:17 2017 +0530 Committer: Vikas Vishwakarma Committed: Mon Aug 28 15:30:40 2017 +0530 -- .../hadoop/hbase/regionserver/RSRpcServices.java | 13 + .../hbase/regionserver/TestMultiLogThreshold.java | 8 2 files changed, 13 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/f071e56a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java -- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java index cd73e32..d3c8772 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java @@ -1026,16 +1026,17 @@ public class RSRpcServices implements HBaseRPCErrorHandler, // Exposed for testing static interface LogDelegate { -void logBatchWarning(int sum, int rowSizeWarnThreshold); +void logBatchWarning(String firstRegionName, int sum, int rowSizeWarnThreshold); } private static LogDelegate DEFAULT_LOG_DELEGATE = new LogDelegate() { @Override -public void logBatchWarning(int sum, int rowSizeWarnThreshold) { +public void logBatchWarning(String firstRegionName, int sum, int rowSizeWarnThreshold) { if (LOG.isWarnEnabled()) { LOG.warn("Large batch operation detected (greater than " + rowSizeWarnThreshold + ") (HBASE-18023)." + " Requested Number of Rows: " + sum + " Client: " -+ RpcServer.getRequestUserName() + "/" + RpcServer.getRemoteAddress()); ++ RpcServer.getRequestUserName() + "/" + RpcServer.getRemoteAddress() ++ " first region in multi=" + firstRegionName); } } }; @@ -2268,11 +2269,15 @@ public class RSRpcServices implements HBaseRPCErrorHandler, private void checkBatchSizeAndLogLargeSize(MultiRequest request) { int sum = 0; +String firstRegionName = null; for (RegionAction regionAction : request.getRegionActionList()) { + if (sum == 0) { +firstRegionName = Bytes.toStringBinary(regionAction.getRegion().getValue().toByteArray()); + } sum += regionAction.getActionCount(); } if (sum > rowSizeWarnThreshold) { - ld.logBatchWarning(sum, rowSizeWarnThreshold); + ld.logBatchWarning(firstRegionName, sum, rowSizeWarnThreshold); } } http://git-wip-us.apache.org/repos/asf/hbase/blob/f071e56a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.java -- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.java index 23ab1ff..9e0c687 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.java @@ -119,25 +119,25 @@ public class TestMultiLogThreshold { @Test public void testMultiLogThresholdRegionActions() throws ServiceException, IOException { sendMultiRequest(THRESHOLD + 1, ActionType.REGION_ACTIONS); -verify(LD, Mockito.times(1)).logBatchWarning(Mockito.anyInt(), Mockito.anyInt()); +verify(LD, Mockito.times(1)).logBatchWarning(Mockito.anyString(), Mockito.anyInt(), Mockito.anyInt()); } @Test public void testMultiNoLogThresholdRegionActions() throws ServiceException, IOException { sendMultiRequest(THRESHOLD, ActionType.REGION_ACTIONS); -verify(LD, Mockito.never()).logBatchWarning(Mockito.anyInt(), Mockito.anyInt()); +verify(LD, Mockito.never()).logBatchWarning(Mockito.anyString(), Mockito.anyInt(), Mockito.anyInt()); } @Test public void testMultiLogThresholdActions() throws ServiceException, IOException { sendMultiRequest(THRESHOLD + 1, ActionType.ACTIONS); -verify(LD,
hbase git commit: HBASE-18633 Add more info to understand the source/scenario of large batch requests exceeding threshold
Repository: hbase Updated Branches: refs/heads/master d63a287bf -> 4e7f67717 HBASE-18633 Add more info to understand the source/scenario of large batch requests exceeding threshold Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/4e7f6771 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/4e7f6771 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/4e7f6771 Branch: refs/heads/master Commit: 4e7f67717033afb46aac045a8ca81dbd2140bc9e Parents: d63a287 Author: Vikas VishwakarmaAuthored: Wed Aug 23 11:34:10 2017 +0530 Committer: Vikas Vishwakarma Committed: Mon Aug 28 15:20:21 2017 +0530 -- .../hadoop/hbase/regionserver/RSRpcServices.java | 13 + .../hbase/regionserver/TestMultiLogThreshold.java | 8 2 files changed, 13 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/4e7f6771/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java -- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java index 7fc025a..707321d 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java @@ -1131,16 +1131,17 @@ public class RSRpcServices implements HBaseRPCErrorHandler, // Exposed for testing static interface LogDelegate { -void logBatchWarning(int sum, int rowSizeWarnThreshold); +void logBatchWarning(String firstRegionName, int sum, int rowSizeWarnThreshold); } private static LogDelegate DEFAULT_LOG_DELEGATE = new LogDelegate() { @Override -public void logBatchWarning(int sum, int rowSizeWarnThreshold) { +public void logBatchWarning(String firstRegionName, int sum, int rowSizeWarnThreshold) { if (LOG.isWarnEnabled()) { LOG.warn("Large batch operation detected (greater than " + rowSizeWarnThreshold + ") (HBASE-18023)." + " Requested Number of Rows: " + sum + " Client: " -+ RpcServer.getRequestUserName() + "/" + RpcServer.getRemoteAddress()); ++ RpcServer.getRequestUserName() + "/" + RpcServer.getRemoteAddress() ++ " first region in multi=" + firstRegionName); } } }; @@ -2513,11 +2514,15 @@ public class RSRpcServices implements HBaseRPCErrorHandler, private void checkBatchSizeAndLogLargeSize(MultiRequest request) { int sum = 0; +String firstRegionName = null; for (RegionAction regionAction : request.getRegionActionList()) { + if (sum == 0) { +firstRegionName = Bytes.toStringBinary(regionAction.getRegion().getValue().toByteArray()); + } sum += regionAction.getActionCount(); } if (sum > rowSizeWarnThreshold) { - ld.logBatchWarning(sum, rowSizeWarnThreshold); + ld.logBatchWarning(firstRegionName, sum, rowSizeWarnThreshold); } } http://git-wip-us.apache.org/repos/asf/hbase/blob/4e7f6771/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.java -- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.java index 6a5dc64..e18e8dd 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestMultiLogThreshold.java @@ -117,25 +117,25 @@ public class TestMultiLogThreshold { @Test public void testMultiLogThresholdRegionActions() throws ServiceException, IOException { sendMultiRequest(THRESHOLD + 1, ActionType.REGION_ACTIONS); -verify(LD, Mockito.times(1)).logBatchWarning(Mockito.anyInt(), Mockito.anyInt()); +verify(LD, Mockito.times(1)).logBatchWarning(Mockito.anyString(), Mockito.anyInt(), Mockito.anyInt()); } @Test public void testMultiNoLogThresholdRegionActions() throws ServiceException, IOException { sendMultiRequest(THRESHOLD, ActionType.REGION_ACTIONS); -verify(LD, Mockito.never()).logBatchWarning(Mockito.anyInt(), Mockito.anyInt()); +verify(LD, Mockito.never()).logBatchWarning(Mockito.anyString(), Mockito.anyInt(), Mockito.anyInt()); } @Test public void testMultiLogThresholdActions() throws ServiceException, IOException { sendMultiRequest(THRESHOLD + 1, ActionType.ACTIONS); -verify(LD,
hbase git commit: HBASE-18519 Use builder pattern to create cell
Repository: hbase Updated Branches: refs/heads/branch-2 e07ff0452 -> 0142c0921 HBASE-18519 Use builder pattern to create cell Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/0142c092 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0142c092 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0142c092 Branch: refs/heads/branch-2 Commit: 0142c09217aa4f93cbf7410bbc8c2bce20ff772f Parents: e07ff04 Author: Chia-Ping TsaiAuthored: Sun Aug 27 20:12:28 2017 +0800 Committer: Chia-Ping Tsai Committed: Mon Aug 28 14:19:45 2017 +0800 -- .../hadoop/hbase/protobuf/ProtobufUtil.java | 51 -- .../hbase/shaded/protobuf/ProtobufUtil.java | 63 --- .../org/apache/hadoop/hbase/CellBuilder.java| 52 ++ .../apache/hadoop/hbase/CellBuilderFactory.java | 52 ++ .../apache/hadoop/hbase/CellBuilderType.java| 38 + .../java/org/apache/hadoop/hbase/CellUtil.java | 79 ++--- .../hadoop/hbase/ExtendedCellBuilder.java | 67 .../hbase/ExtendedCellBuilderFactory.java | 40 + .../hadoop/hbase/ExtendedCellBuilderImpl.java | 163 +++ .../hadoop/hbase/IndividualBytesFieldCell.java | 146 +++-- .../hbase/IndividualBytesFieldCellBuilder.java | 33 .../apache/hadoop/hbase/KeyValueBuilder.java| 35 .../apache/hadoop/hbase/codec/CellCodec.java| 15 +- .../hadoop/hbase/codec/CellCodecWithTags.java | 16 +- .../apache/hadoop/hbase/TestCellBuilder.java| 139 .../hbase/TestIndividualBytesFieldCell.java | 73 - .../apache/hadoop/hbase/types/TestPBCell.java | 4 +- .../apache/hadoop/hbase/codec/MessageCodec.java | 13 +- .../hadoop/hbase/regionserver/HMobStore.java| 22 +-- .../hadoop/hbase/regionserver/HRegion.java | 19 ++- .../hbase/replication/BulkLoadCellFilter.java | 14 +- .../hbase/security/access/AccessController.java | 10 +- .../hadoop/hbase/protobuf/TestProtobufUtil.java | 4 +- .../hbase/shaded/protobuf/TestProtobufUtil.java | 4 +- 24 files changed, 1002 insertions(+), 150 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/0142c092/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java -- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java index 753b0d3..81ec05c 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java @@ -31,9 +31,14 @@ import java.util.function.Function; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.Cell; +import org.apache.hadoop.hbase.CellBuilder; +import org.apache.hadoop.hbase.CellBuilderFactory; +import org.apache.hadoop.hbase.CellBuilderType; import org.apache.hadoop.hbase.CellScanner; import org.apache.hadoop.hbase.CellUtil; import org.apache.hadoop.hbase.DoNotRetryIOException; +import org.apache.hadoop.hbase.ExtendedCellBuilder; +import org.apache.hadoop.hbase.ExtendedCellBuilderFactory; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HBaseIOException; import org.apache.hadoop.hbase.HConstants; @@ -491,6 +496,7 @@ public final class ProtobufUtil { throw new IllegalArgumentException("row cannot be null"); } // The proto has the metadata and the data itself + ExtendedCellBuilder cellBuilder = ExtendedCellBuilderFactory.create(CellBuilderType.SHALLOW_COPY); for (ColumnValue column: proto.getColumnValueList()) { byte[] family = column.getFamily().toByteArray(); for (QualifierValue qv: column.getQualifierValueList()) { @@ -510,9 +516,14 @@ public final class ProtobufUtil { if (qv.hasTags()) { allTagsBytes = qv.getTags().toByteArray(); if(qv.hasDeleteType()) { - byte[] qual = qv.hasQualifier() ? qv.getQualifier().toByteArray() : null; - put.add(new KeyValue(proto.getRow().toByteArray(), family, qual, ts, - fromDeleteType(qv.getDeleteType()), null, allTagsBytes)); + put.add(cellBuilder.clear() + .setRow(proto.getRow().toByteArray()) + .setFamily(family) + .setQualifier(qv.hasQualifier() ? qv.getQualifier().toByteArray() : null) + .setTimestamp(ts) + .setType(fromDeleteType(qv.getDeleteType()).getCode()) + .setTags(allTagsBytes) + .build()); } else {
hbase git commit: HBASE-18519 Use builder pattern to create cell
Repository: hbase Updated Branches: refs/heads/master a407b58f1 -> d63a287bf HBASE-18519 Use builder pattern to create cell Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/d63a287b Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/d63a287b Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/d63a287b Branch: refs/heads/master Commit: d63a287bfdaed1a9035a3a04db0fef92ddd6bde2 Parents: a407b58 Author: Chia-Ping TsaiAuthored: Sun Aug 27 20:12:28 2017 +0800 Committer: Chia-Ping Tsai Committed: Mon Aug 28 14:14:49 2017 +0800 -- .../hadoop/hbase/protobuf/ProtobufUtil.java | 51 -- .../hbase/shaded/protobuf/ProtobufUtil.java | 63 --- .../org/apache/hadoop/hbase/CellBuilder.java| 52 ++ .../apache/hadoop/hbase/CellBuilderFactory.java | 52 ++ .../apache/hadoop/hbase/CellBuilderType.java| 38 + .../java/org/apache/hadoop/hbase/CellUtil.java | 79 ++--- .../hadoop/hbase/ExtendedCellBuilder.java | 67 .../hbase/ExtendedCellBuilderFactory.java | 40 + .../hadoop/hbase/ExtendedCellBuilderImpl.java | 163 +++ .../hadoop/hbase/IndividualBytesFieldCell.java | 146 +++-- .../hbase/IndividualBytesFieldCellBuilder.java | 33 .../apache/hadoop/hbase/KeyValueBuilder.java| 35 .../apache/hadoop/hbase/codec/CellCodec.java| 15 +- .../hadoop/hbase/codec/CellCodecWithTags.java | 16 +- .../apache/hadoop/hbase/TestCellBuilder.java| 139 .../hbase/TestIndividualBytesFieldCell.java | 73 - .../apache/hadoop/hbase/types/TestPBCell.java | 4 +- .../apache/hadoop/hbase/codec/MessageCodec.java | 13 +- .../hadoop/hbase/regionserver/HMobStore.java| 22 +-- .../hadoop/hbase/regionserver/HRegion.java | 19 ++- .../hbase/replication/BulkLoadCellFilter.java | 14 +- .../hbase/security/access/AccessController.java | 10 +- .../hadoop/hbase/protobuf/TestProtobufUtil.java | 4 +- .../hbase/shaded/protobuf/TestProtobufUtil.java | 4 +- 24 files changed, 1002 insertions(+), 150 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/d63a287b/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java -- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java index e5373b8..b54a49d 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java @@ -31,9 +31,14 @@ import java.util.function.Function; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.Cell; +import org.apache.hadoop.hbase.CellBuilder; +import org.apache.hadoop.hbase.CellBuilderFactory; +import org.apache.hadoop.hbase.CellBuilderType; import org.apache.hadoop.hbase.CellScanner; import org.apache.hadoop.hbase.CellUtil; import org.apache.hadoop.hbase.DoNotRetryIOException; +import org.apache.hadoop.hbase.ExtendedCellBuilder; +import org.apache.hadoop.hbase.ExtendedCellBuilderFactory; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HBaseIOException; import org.apache.hadoop.hbase.HConstants; @@ -490,6 +495,7 @@ public final class ProtobufUtil { throw new IllegalArgumentException("row cannot be null"); } // The proto has the metadata and the data itself + ExtendedCellBuilder cellBuilder = ExtendedCellBuilderFactory.create(CellBuilderType.SHALLOW_COPY); for (ColumnValue column: proto.getColumnValueList()) { byte[] family = column.getFamily().toByteArray(); for (QualifierValue qv: column.getQualifierValueList()) { @@ -509,9 +515,14 @@ public final class ProtobufUtil { if (qv.hasTags()) { allTagsBytes = qv.getTags().toByteArray(); if(qv.hasDeleteType()) { - byte[] qual = qv.hasQualifier() ? qv.getQualifier().toByteArray() : null; - put.add(new KeyValue(proto.getRow().toByteArray(), family, qual, ts, - fromDeleteType(qv.getDeleteType()), null, allTagsBytes)); + put.add(cellBuilder.clear() + .setRow(proto.getRow().toByteArray()) + .setFamily(family) + .setQualifier(qv.hasQualifier() ? qv.getQualifier().toByteArray() : null) + .setTimestamp(ts) + .setType(fromDeleteType(qv.getDeleteType()).getCode()) + .setTags(allTagsBytes) + .build()); } else {