hbase git commit: HBASE-18418 Remove apache_hbase_topology from dev-support
Repository: hbase Updated Branches: refs/heads/master c16eb7881 -> 3acb08178 HBASE-18418 Remove apache_hbase_topology from dev-support Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/3acb0817 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/3acb0817 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/3acb0817 Branch: refs/heads/master Commit: 3acb081787a4289d86d977db26bedaf6a42172ce Parents: c16eb78 Author: Dima SpivakAuthored: Thu Jul 20 10:08:11 2017 -0700 Committer: Dima Spivak Committed: Wed Oct 18 14:08:26 2017 -0700 -- dev-support/apache_hbase_topology/Dockerfile| 24 -- dev-support/apache_hbase_topology/README.md | 49 --- dev-support/apache_hbase_topology/__init__.py | 15 - dev-support/apache_hbase_topology/actions.py| 421 --- .../apache_hbase_topology/configurations.cfg| 80 dev-support/apache_hbase_topology/profile.cfg | 82 dev-support/apache_hbase_topology/ssh/id_rsa| 44 -- .../apache_hbase_topology/ssh/id_rsa.pub| 18 - 8 files changed, 733 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/3acb0817/dev-support/apache_hbase_topology/Dockerfile -- diff --git a/dev-support/apache_hbase_topology/Dockerfile b/dev-support/apache_hbase_topology/Dockerfile deleted file mode 100644 index 714a55c..000 --- a/dev-support/apache_hbase_topology/Dockerfile +++ /dev/null @@ -1,24 +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. -FROM debian:wheezy - -ENV TOPOLOGY_NAME=apache_hbase -ADD . /root/clusterdock/clusterdock/topologies/${TOPOLOGY_NAME} - -RUN find /root -type f -name id_rsa -exec chmod 600 {} \; - -VOLUME /root/clusterdock/clusterdock/topologies/${TOPOLOGY_NAME} -CMD ["/true"] http://git-wip-us.apache.org/repos/asf/hbase/blob/3acb0817/dev-support/apache_hbase_topology/README.md -- diff --git a/dev-support/apache_hbase_topology/README.md b/dev-support/apache_hbase_topology/README.md deleted file mode 100644 index 018ee99..000 --- a/dev-support/apache_hbase_topology/README.md +++ /dev/null @@ -1,49 +0,0 @@ - -# apache_hbase clusterdock topology - -## Overview -*clusterdock* is a framework for creating Docker-based container clusters. Unlike regular Docker -containers, which tend to run single processes and then exit once the process terminates, these -container clusters are characterized by the execution of an init process in daemon mode. As such, -the containers act more like "fat containers" or "light VMs;" entities with accessible IP addresses -which emulate standalone hosts. - -*clusterdock* relies upon the notion of a topology to define how clusters should be built into -images and then what to do with those images to start Docker container clusters. - -## Usage -The *clusterdock* framework is designed to be run out of its own container while affecting -operations on the host. To avoid problems that might result from incorrectly -formatting this framework invocation, a Bash helper script (`clusterdock.sh`) can be sourced on a -host that has Docker installed. Afterwards, running any of the binaries intended to carry -out *clusterdock* actions can be done using the `clusterdock_run` command. -``` -wget https://raw.githubusercontent.com/cloudera/clusterdock/master/clusterdock.sh -# ALWAYS INSPECT SCRIPTS FROM THE INTERNET BEFORE SOURCING THEM. -source clusterdock.sh -``` - -Since the *clusterdock* framework itself lives outside of Apache HBase, an environmental variable -is used to let the helper script know where to find an image of the *apache_hbase* topology. To -start a four-node Apache HBase cluster with default versions, you would simply run -``` -CLUSTERDOCK_TOPOLOGY_IMAGE=apache_hbase_topology_location clusterdock_run \ -./bin/start_cluster apache_hbase --secondary-nodes='node-{2..4}' -```
hbase git commit: HBASE-19020 HBase Rest test for xml parsing external entities should not rely on implementation of java XML APIs.
Repository: hbase Updated Branches: refs/heads/branch-1.1 df4505e7e -> a8dfa464d HBASE-19020 HBase Rest test for xml parsing external entities should not rely on implementation of java XML APIs. Signed-off-by: Chia-Ping TsaiProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a8dfa464 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a8dfa464 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a8dfa464 Branch: refs/heads/branch-1.1 Commit: a8dfa464d5bc88224ed6582b666a791364a85556 Parents: df4505e Author: Sean Busbey Authored: Mon Oct 16 16:11:39 2017 -0500 Committer: Sean Busbey Committed: Wed Oct 18 10:54:31 2017 -0500 -- .../apache/hadoop/hbase/rest/client/TestXmlParsing.java | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/a8dfa464/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java -- diff --git a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java index 56dc05e..0b94e9e 100644 --- a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java +++ b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java @@ -23,7 +23,10 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.IOException; +import javax.xml.bind.UnmarshalException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.rest.Constants; import org.apache.hadoop.hbase.rest.model.StorageClusterVersionModel; @@ -37,6 +40,7 @@ import org.junit.experimental.categories.Category; */ @Category(SmallTests.class) public class TestXmlParsing { + private static final Log LOG = LogFactory.getLog(TestXmlParsing.class); @Test public void testParsingClusterVersion() throws Exception { @@ -68,8 +72,12 @@ public class TestXmlParsing { admin.getClusterVersion(); fail("Expected getClusterVersion() to throw an exception"); } catch (IOException e) { + assertEquals("Cause of exception ought to be a failure to parse the stream due to our " + + "invalid external entity. Make sure this isn't just a false positive due to " + + "implementation. see HBASE-19020.", UnmarshalException.class, e.getCause().getClass()); final String exceptionText = StringUtils.stringifyException(e); - final String expectedText = "The entity \"xee\" was referenced, but not declared."; + final String expectedText = "\"xee\""; + LOG.debug("exception text: '" + exceptionText + "'", e); assertTrue("Exception does not contain expected text", exceptionText.contains(expectedText)); } }
hbase git commit: HBASE-19020 HBase Rest test for xml parsing external entities should not rely on implementation of java XML APIs.
Repository: hbase Updated Branches: refs/heads/branch-1.2 2c6e26f87 -> b4cf88b76 HBASE-19020 HBase Rest test for xml parsing external entities should not rely on implementation of java XML APIs. Signed-off-by: Chia-Ping TsaiProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b4cf88b7 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b4cf88b7 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b4cf88b7 Branch: refs/heads/branch-1.2 Commit: b4cf88b7697cf6bf48647f4387614f681d849751 Parents: 2c6e26f Author: Sean Busbey Authored: Mon Oct 16 16:11:39 2017 -0500 Committer: Sean Busbey Committed: Wed Oct 18 10:46:16 2017 -0500 -- .../apache/hadoop/hbase/rest/client/TestXmlParsing.java | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/b4cf88b7/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java -- diff --git a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java index 56dc05e..0b94e9e 100644 --- a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java +++ b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java @@ -23,7 +23,10 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.IOException; +import javax.xml.bind.UnmarshalException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.rest.Constants; import org.apache.hadoop.hbase.rest.model.StorageClusterVersionModel; @@ -37,6 +40,7 @@ import org.junit.experimental.categories.Category; */ @Category(SmallTests.class) public class TestXmlParsing { + private static final Log LOG = LogFactory.getLog(TestXmlParsing.class); @Test public void testParsingClusterVersion() throws Exception { @@ -68,8 +72,12 @@ public class TestXmlParsing { admin.getClusterVersion(); fail("Expected getClusterVersion() to throw an exception"); } catch (IOException e) { + assertEquals("Cause of exception ought to be a failure to parse the stream due to our " + + "invalid external entity. Make sure this isn't just a false positive due to " + + "implementation. see HBASE-19020.", UnmarshalException.class, e.getCause().getClass()); final String exceptionText = StringUtils.stringifyException(e); - final String expectedText = "The entity \"xee\" was referenced, but not declared."; + final String expectedText = "\"xee\""; + LOG.debug("exception text: '" + exceptionText + "'", e); assertTrue("Exception does not contain expected text", exceptionText.contains(expectedText)); } }
[2/7] hbase git commit: HBASE-19038 precommit mvn install should run from root on patch
HBASE-19038 precommit mvn install should run from root on patch Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/95e92610 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/95e92610 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/95e92610 Branch: refs/heads/branch-1 Commit: 95e926100d796080935f8871c90d02542a6964dd Parents: 2dce7c1 Author: Mike DrobAuthored: Wed Oct 18 10:20:03 2017 -0500 Committer: Mike Drob Committed: Wed Oct 18 10:40:00 2017 -0500 -- dev-support/hbase-personality.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/95e92610/dev-support/hbase-personality.sh -- diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index 43371f8..9b23e11 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -84,9 +84,7 @@ function personality_modules extra="-DHBasePatchProcess" - if [[ ${repostatus} == branch - && ${testtype} == mvninstall ]] || - [[ "${BUILDMODE}" == full ]];then + if [[ ${testtype} == mvninstall ]] || [[ "${BUILDMODE}" == full ]]; then personality_enqueue_module . ${extra} return fi
[4/7] hbase git commit: HBASE-19038 precommit mvn install should run from root on patch
HBASE-19038 precommit mvn install should run from root on patch Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/0706fb3c Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0706fb3c Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0706fb3c Branch: refs/heads/branch-1.3 Commit: 0706fb3cf017fa303db94a0706737ef3aefa12e1 Parents: 90249f1 Author: Mike DrobAuthored: Wed Oct 18 10:20:03 2017 -0500 Committer: Mike Drob Committed: Wed Oct 18 10:40:15 2017 -0500 -- dev-support/hbase-personality.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/0706fb3c/dev-support/hbase-personality.sh -- diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index 43371f8..9b23e11 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -84,9 +84,7 @@ function personality_modules extra="-DHBasePatchProcess" - if [[ ${repostatus} == branch - && ${testtype} == mvninstall ]] || - [[ "${BUILDMODE}" == full ]];then + if [[ ${testtype} == mvninstall ]] || [[ "${BUILDMODE}" == full ]]; then personality_enqueue_module . ${extra} return fi
[1/7] hbase git commit: HBASE-19038 precommit mvn install should run from root on patch
Repository: hbase Updated Branches: refs/heads/branch-1 2dce7c172 -> 95e926100 refs/heads/branch-1.1 9eeb842e9 -> df4505e7e refs/heads/branch-1.2 6d03d2500 -> 2c6e26f87 refs/heads/branch-1.3 90249f110 -> 0706fb3cf refs/heads/branch-1.4 6521816d2 -> 12e058b88 refs/heads/branch-2 12f939803 -> 723eb7c6b refs/heads/master e320df5a0 -> c16eb7881 HBASE-19038 precommit mvn install should run from root on patch Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/723eb7c6 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/723eb7c6 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/723eb7c6 Branch: refs/heads/branch-2 Commit: 723eb7c6bab729eff4ef842dd87cec15c501 Parents: 12f9398 Author: Mike DrobAuthored: Wed Oct 18 10:20:03 2017 -0500 Committer: Mike Drob Committed: Wed Oct 18 10:39:52 2017 -0500 -- dev-support/hbase-personality.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/723eb7c6/dev-support/hbase-personality.sh -- diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index 43371f8..9b23e11 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -84,9 +84,7 @@ function personality_modules extra="-DHBasePatchProcess" - if [[ ${repostatus} == branch - && ${testtype} == mvninstall ]] || - [[ "${BUILDMODE}" == full ]];then + if [[ ${testtype} == mvninstall ]] || [[ "${BUILDMODE}" == full ]]; then personality_enqueue_module . ${extra} return fi
[7/7] hbase git commit: HBASE-19038 precommit mvn install should run from root on patch
HBASE-19038 precommit mvn install should run from root on patch Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c16eb788 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c16eb788 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c16eb788 Branch: refs/heads/master Commit: c16eb7881fa530a2dd626c1e06e294c2d198af22 Parents: e320df5 Author: Mike DrobAuthored: Wed Oct 18 10:20:03 2017 -0500 Committer: Mike Drob Committed: Wed Oct 18 10:41:17 2017 -0500 -- dev-support/hbase-personality.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/c16eb788/dev-support/hbase-personality.sh -- diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index 43371f8..9b23e11 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -84,9 +84,7 @@ function personality_modules extra="-DHBasePatchProcess" - if [[ ${repostatus} == branch - && ${testtype} == mvninstall ]] || - [[ "${BUILDMODE}" == full ]];then + if [[ ${testtype} == mvninstall ]] || [[ "${BUILDMODE}" == full ]]; then personality_enqueue_module . ${extra} return fi
[5/7] hbase git commit: HBASE-19038 precommit mvn install should run from root on patch
HBASE-19038 precommit mvn install should run from root on patch Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/2c6e26f8 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2c6e26f8 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2c6e26f8 Branch: refs/heads/branch-1.2 Commit: 2c6e26f8772e865bda1051234698c6ae8ac27821 Parents: 6d03d25 Author: Mike DrobAuthored: Wed Oct 18 10:20:03 2017 -0500 Committer: Mike Drob Committed: Wed Oct 18 10:40:22 2017 -0500 -- dev-support/hbase-personality.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/2c6e26f8/dev-support/hbase-personality.sh -- diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index 43371f8..9b23e11 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -84,9 +84,7 @@ function personality_modules extra="-DHBasePatchProcess" - if [[ ${repostatus} == branch - && ${testtype} == mvninstall ]] || - [[ "${BUILDMODE}" == full ]];then + if [[ ${testtype} == mvninstall ]] || [[ "${BUILDMODE}" == full ]]; then personality_enqueue_module . ${extra} return fi
[6/7] hbase git commit: HBASE-19038 precommit mvn install should run from root on patch
HBASE-19038 precommit mvn install should run from root on patch Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/df4505e7 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/df4505e7 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/df4505e7 Branch: refs/heads/branch-1.1 Commit: df4505e7e34f595ab8eef4ba3f546df7693f826f Parents: 9eeb842 Author: Mike DrobAuthored: Wed Oct 18 10:20:03 2017 -0500 Committer: Mike Drob Committed: Wed Oct 18 10:40:31 2017 -0500 -- dev-support/hbase-personality.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/df4505e7/dev-support/hbase-personality.sh -- diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index 43371f8..9b23e11 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -84,9 +84,7 @@ function personality_modules extra="-DHBasePatchProcess" - if [[ ${repostatus} == branch - && ${testtype} == mvninstall ]] || - [[ "${BUILDMODE}" == full ]];then + if [[ ${testtype} == mvninstall ]] || [[ "${BUILDMODE}" == full ]]; then personality_enqueue_module . ${extra} return fi
[3/7] hbase git commit: HBASE-19038 precommit mvn install should run from root on patch
HBASE-19038 precommit mvn install should run from root on patch Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/12e058b8 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/12e058b8 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/12e058b8 Branch: refs/heads/branch-1.4 Commit: 12e058b8800352b5273555a49f916839b6e6da9c Parents: 6521816 Author: Mike DrobAuthored: Wed Oct 18 10:20:03 2017 -0500 Committer: Mike Drob Committed: Wed Oct 18 10:40:08 2017 -0500 -- dev-support/hbase-personality.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/12e058b8/dev-support/hbase-personality.sh -- diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index 43371f8..9b23e11 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -84,9 +84,7 @@ function personality_modules extra="-DHBasePatchProcess" - if [[ ${repostatus} == branch - && ${testtype} == mvninstall ]] || - [[ "${BUILDMODE}" == full ]];then + if [[ ${testtype} == mvninstall ]] || [[ "${BUILDMODE}" == full ]]; then personality_enqueue_module . ${extra} return fi
hbase git commit: HBASE-19020 HBase Rest test for xml parsing external entities should not rely on implementation of java XML APIs.
Repository: hbase Updated Branches: refs/heads/branch-1.3 80c14c9b7 -> 90249f110 HBASE-19020 HBase Rest test for xml parsing external entities should not rely on implementation of java XML APIs. Signed-off-by: Chia-Ping TsaiProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/90249f11 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/90249f11 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/90249f11 Branch: refs/heads/branch-1.3 Commit: 90249f1101e1581df8bb93482f952f4bb96270a7 Parents: 80c14c9 Author: Sean Busbey Authored: Mon Oct 16 16:11:39 2017 -0500 Committer: Sean Busbey Committed: Wed Oct 18 10:17:10 2017 -0500 -- .../apache/hadoop/hbase/rest/client/TestXmlParsing.java | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/90249f11/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java -- diff --git a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java index 56dc05e..0b94e9e 100644 --- a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java +++ b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java @@ -23,7 +23,10 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.IOException; +import javax.xml.bind.UnmarshalException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.rest.Constants; import org.apache.hadoop.hbase.rest.model.StorageClusterVersionModel; @@ -37,6 +40,7 @@ import org.junit.experimental.categories.Category; */ @Category(SmallTests.class) public class TestXmlParsing { + private static final Log LOG = LogFactory.getLog(TestXmlParsing.class); @Test public void testParsingClusterVersion() throws Exception { @@ -68,8 +72,12 @@ public class TestXmlParsing { admin.getClusterVersion(); fail("Expected getClusterVersion() to throw an exception"); } catch (IOException e) { + assertEquals("Cause of exception ought to be a failure to parse the stream due to our " + + "invalid external entity. Make sure this isn't just a false positive due to " + + "implementation. see HBASE-19020.", UnmarshalException.class, e.getCause().getClass()); final String exceptionText = StringUtils.stringifyException(e); - final String expectedText = "The entity \"xee\" was referenced, but not declared."; + final String expectedText = "\"xee\""; + LOG.debug("exception text: '" + exceptionText + "'", e); assertTrue("Exception does not contain expected text", exceptionText.contains(expectedText)); } }
hbase git commit: HBASE-19020 HBase Rest test for xml parsing external entities should not rely on implementation of java XML APIs.
Repository: hbase Updated Branches: refs/heads/branch-1.4 b7000706a -> 6521816d2 HBASE-19020 HBase Rest test for xml parsing external entities should not rely on implementation of java XML APIs. Signed-off-by: Chia-Ping TsaiProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/6521816d Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/6521816d Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/6521816d Branch: refs/heads/branch-1.4 Commit: 6521816d266d361a5350da36c1698b5ec56f1390 Parents: b700070 Author: Sean Busbey Authored: Mon Oct 16 16:11:39 2017 -0500 Committer: Sean Busbey Committed: Wed Oct 18 10:08:37 2017 -0500 -- .../apache/hadoop/hbase/rest/client/TestXmlParsing.java | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/6521816d/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java -- diff --git a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java index 5e259f2..586e33c 100644 --- a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java +++ b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java @@ -23,7 +23,10 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.IOException; +import javax.xml.bind.UnmarshalException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.rest.Constants; import org.apache.hadoop.hbase.rest.model.StorageClusterVersionModel; @@ -37,6 +40,7 @@ import org.junit.experimental.categories.Category; */ @Category(SmallTests.class) public class TestXmlParsing { + private static final Log LOG = LogFactory.getLog(TestXmlParsing.class); @Test public void testParsingClusterVersion() throws Exception { @@ -68,8 +72,12 @@ public class TestXmlParsing { admin.getClusterVersion(); fail("Expected getClusterVersion() to throw an exception"); } catch (IOException e) { + assertEquals("Cause of exception ought to be a failure to parse the stream due to our " + + "invalid external entity. Make sure this isn't just a false positive due to " + + "implementation. see HBASE-19020.", UnmarshalException.class, e.getCause().getClass()); final String exceptionText = StringUtils.stringifyException(e); - final String expectedText = "The entity \"xee\" was referenced, but not declared."; + final String expectedText = "\"xee\""; + LOG.debug("exception text: '" + exceptionText + "'", e); assertTrue("Exception does not contain expected text", exceptionText.contains(expectedText)); } }
[43/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/apidocs/src-html/org/apache/hadoop/hbase/client/Put.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/Put.html b/apidocs/src-html/org/apache/hadoop/hbase/client/Put.html index ab5fe55..580feb4 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/client/Put.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/client/Put.html @@ -37,486 +37,485 @@ 029import java.util.UUID; 030 031import org.apache.hadoop.hbase.Cell; -032import org.apache.hadoop.hbase.CellComparator; -033import org.apache.hadoop.hbase.CellUtil; -034import org.apache.hadoop.hbase.HConstants; -035import org.apache.hadoop.hbase.KeyValue; -036import org.apache.hadoop.hbase.IndividualBytesFieldCell; -037import org.apache.hadoop.hbase.Tag; -038import org.apache.yetus.audience.InterfaceAudience; -039import org.apache.hadoop.hbase.io.HeapSize; -040import org.apache.hadoop.hbase.security.access.Permission; -041import org.apache.hadoop.hbase.security.visibility.CellVisibility; -042import org.apache.hadoop.hbase.util.Bytes; -043 -044/** -045 * Used to perform Put operations for a single row. -046 * p -047 * To perform a Put, instantiate a Put object with the row to insert to, and -048 * for each column to be inserted, execute {@link #addColumn(byte[], byte[], -049 * byte[]) add} or {@link #addColumn(byte[], byte[], long, byte[]) add} if -050 * setting the timestamp. -051 */ -052@InterfaceAudience.Public -053public class Put extends Mutation implements HeapSize, ComparableRow { -054 /** -055 * Create a Put operation for the specified row. -056 * @param row row key -057 */ -058 public Put(byte [] row) { -059this(row, HConstants.LATEST_TIMESTAMP); -060 } -061 -062 /** -063 * Create a Put operation for the specified row, using a given timestamp. -064 * -065 * @param row row key; we make a copy of what we are passed to keep local. -066 * @param ts timestamp -067 */ -068 public Put(byte[] row, long ts) { -069this(row, 0, row.length, ts); -070 } -071 -072 /** -073 * We make a copy of the passed in row key to keep local. -074 * @param rowArray -075 * @param rowOffset -076 * @param rowLength -077 */ -078 public Put(byte [] rowArray, int rowOffset, int rowLength) { -079this(rowArray, rowOffset, rowLength, HConstants.LATEST_TIMESTAMP); -080 } -081 -082 /** -083 * @param row row key; we make a copy of what we are passed to keep local. -084 * @param ts timestamp -085 */ -086 public Put(ByteBuffer row, long ts) { -087if (ts 0) { -088 throw new IllegalArgumentException("Timestamp cannot be negative. ts=" + ts); -089} -090checkRow(row); -091this.row = new byte[row.remaining()]; -092row.get(this.row); -093this.ts = ts; -094 } -095 -096 /** -097 * @param row row key; we make a copy of what we are passed to keep local. -098 */ -099 public Put(ByteBuffer row) { -100this(row, HConstants.LATEST_TIMESTAMP); -101 } -102 -103 /** -104 * We make a copy of the passed in row key to keep local. -105 * @param rowArray -106 * @param rowOffset -107 * @param rowLength -108 * @param ts -109 */ -110 public Put(byte [] rowArray, int rowOffset, int rowLength, long ts) { -111checkRow(rowArray, rowOffset, rowLength); -112this.row = Bytes.copy(rowArray, rowOffset, rowLength); -113this.ts = ts; -114if (ts 0) { -115 throw new IllegalArgumentException("Timestamp cannot be negative. ts=" + ts); -116} -117 } -118 -119 /** -120 * Create a Put operation for an immutable row key. -121 * -122 * @param row row key -123 * @param rowIsImmutable whether the input row is immutable. -124 * Set to true if the caller can guarantee that -125 * the row will not be changed for the Put duration. -126 */ -127 public Put(byte [] row, boolean rowIsImmutable) { -128this(row, HConstants.LATEST_TIMESTAMP, rowIsImmutable); -129 } -130 -131 /** -132 * Create a Put operation for an immutable row key, using a given timestamp. -133 * -134 * @param row row key -135 * @param ts timestamp -136 * @param rowIsImmutable whether the input row is immutable. -137 * Set to true if the caller can guarantee that -138 * the row will not be changed for the Put duration. -139 */ -140 public Put(byte[] row, long ts, boolean rowIsImmutable) { -141// Check and set timestamp -142if (ts 0) { -143 throw new IllegalArgumentException("Timestamp cannot be negative. ts=" + ts); -144} -145this.ts = ts; -146 -147// Deal with row according to rowIsImmutable -148checkRow(row); -149if (rowIsImmutable) { // Row is immutable -150 this.row = row; // Do not make a local copy, but point to the provided byte array directly -151} else { // Row is not
[37/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/checkstyle-aggregate.html -- diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html index 34d5221..6d0363b 100644 --- a/checkstyle-aggregate.html +++ b/checkstyle-aggregate.html @@ -7,7 +7,7 @@ - + Apache HBase Checkstyle Results @@ -286,10 +286,10 @@ Warnings Errors -2055 +2056 0 0 -13608 +13615 Files @@ -354,10 +354,10 @@ 0 4 -org/apache/hadoop/hbase/CellComparator.java +org/apache/hadoop/hbase/CellComparatorImpl.java 0 0 -31 +15 org/apache/hadoop/hbase/CellScanner.java 0 @@ -367,7 +367,7 @@ org/apache/hadoop/hbase/CellUtil.java 0 0 -107 +123 org/apache/hadoop/hbase/ChoreService.java 0 @@ -382,7 +382,7 @@ org/apache/hadoop/hbase/ClusterStatus.java 0 0 -4 +3 org/apache/hadoop/hbase/CompatibilityFactory.java 0 @@ -492,7 +492,7 @@ org/apache/hadoop/hbase/KeyValue.java 0 0 -120 +119 org/apache/hadoop/hbase/KeyValueTestUtil.java 0 @@ -567,7 +567,7 @@ org/apache/hadoop/hbase/ServerLoad.java 0 0 -6 +8 org/apache/hadoop/hbase/ServerName.java 0 @@ -1117,7 +1117,7 @@ org/apache/hadoop/hbase/client/ConnectionUtils.java 0 0 -2 +3 org/apache/hadoop/hbase/client/CoprocessorHConnection.java 0 @@ -1262,7 +1262,7 @@ org/apache/hadoop/hbase/client/Put.java 0 0 -20 +19 org/apache/hadoop/hbase/client/Query.java 0 @@ -1972,7 +1972,7 @@ org/apache/hadoop/hbase/coprocessor/RegionObserver.java 0 0 -23 +24 org/apache/hadoop/hbase/coprocessor/RegionServerCoprocessor.java 0 @@ -2212,7 +2212,7 @@ org/apache/hadoop/hbase/filter/InclusiveStopFilter.java 0 0 -11 +12 org/apache/hadoop/hbase/filter/KeyOnlyFilter.java 0 @@ -2672,7 +2672,7 @@ org/apache/hadoop/hbase/io/encoding/RowIndexEncoderV1.java 0 0 -1 +2 org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.java 0 @@ -3327,7 +3327,7 @@ org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.java 0 0 -20 +21 org/apache/hadoop/hbase/mapreduce/HRegionPartitioner.java 0 @@ -3452,7 +3452,7 @@ org/apache/hadoop/hbase/mapreduce/SyncTable.java 0 0 -8 +7 org/apache/hadoop/hbase/mapreduce/TableInputFormat.java 0 @@ -3787,7 +3787,7 @@ org/apache/hadoop/hbase/master/assignment/AssignmentManager.java 0 0 -31 +30 org/apache/hadoop/hbase/master/assignment/GCMergedRegionsProcedure.java 0 @@ -4872,7 +4872,7 @@ org/apache/hadoop/hbase/regionserver/CellArrayImmutableSegment.java 0 0 -2 +3 org/apache/hadoop/hbase/regionserver/CellArrayMap.java 0 @@ -4882,7 +4882,7 @@ org/apache/hadoop/hbase/regionserver/CellChunkImmutableSegment.java 0 0 -5 +6 org/apache/hadoop/hbase/regionserver/CellChunkMap.java 0 @@ -5032,7 +5032,7 @@ org/apache/hadoop/hbase/regionserver/HRegion.java 0 0 -227 +228 org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java 0 @@ -5052,7 +5052,7 @@ org/apache/hadoop/hbase/regionserver/HStore.java 0 0 -59 +60 org/apache/hadoop/hbase/regionserver/HStoreFile.java 0 @@ -5322,12 +5322,12 @@ org/apache/hadoop/hbase/regionserver/Region.java 0 0 -31 +32 org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java 0 0 -50 +47 org/apache/hadoop/hbase/regionserver/RegionScanner.java 0 @@ -5582,7 +5582,7 @@ org/apache/hadoop/hbase/regionserver/compactions/Compactor.java 0 0 -12 +11 org/apache/hadoop/hbase/regionserver/compactions/CurrentHourProvider.java 0 @@ -5822,7 +5822,7 @@ org/apache/hadoop/hbase/regionserver/wal/FSWALEntry.java 0 0 -1 +2 org/apache/hadoop/hbase/regionserver/wal/FailedLogCloseException.java 0 @@ -6532,12 +6532,12 @@ org/apache/hadoop/hbase/rsgroup/RSGroupAdminServer.java 0 0 -13 +14 org/apache/hadoop/hbase/rsgroup/RSGroupBasedLoadBalancer.java 0 0 -3 +4 org/apache/hadoop/hbase/rsgroup/RSGroupInfo.java 0 @@ -7769,406 +7769,411 @@ 0 5 +org/apache/hadoop/hbase/util/RowBloomContext.java +0 +0 +1 + org/apache/hadoop/hbase/util/ServerCommandLine.java 0 0 3 - + org/apache/hadoop/hbase/util/ServerRegionReplicaUtil.java 0 0 2 - + org/apache/hadoop/hbase/util/ShutdownHookManager.java 0 0 1 - + org/apache/hadoop/hbase/util/SimpleByteRange.java 0 0 1 - + org/apache/hadoop/hbase/util/SimpleMutableByteRange.java 0 0 3 - + org/apache/hadoop/hbase/util/SimplePositionedByteRange.java 0 0 1 - + org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.java 0 0 4 - + org/apache/hadoop/hbase/util/Sleeper.java 0 0 3 - + org/apache/hadoop/hbase/util/SoftObjectPool.java 0 0 1 - + org/apache/hadoop/hbase/util/StealJobQueue.java 0 0 2 - + org/apache/hadoop/hbase/util/Strings.java 0 0 3 - + org/apache/hadoop/hbase/util/Threads.java 0 0 7 - + org/apache/hadoop/hbase/util/Triple.java 0 0 3 - + org/apache/hadoop/hbase/util/UnsafeAccess.java 0 0 35 - + org/apache/hadoop/hbase/util/UnsafeAvailChecker.java 0 0 1 - + org/apache/hadoop/hbase/util/VersionInfo.java 0 0 3 - +
[34/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/CellBuilderType.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellBuilderType.html b/devapidocs/org/apache/hadoop/hbase/CellBuilderType.html index 97cb0f9..d0f3aed 100644 --- a/devapidocs/org/apache/hadoop/hbase/CellBuilderType.html +++ b/devapidocs/org/apache/hadoop/hbase/CellBuilderType.html @@ -50,7 +50,7 @@ var activeTableTab = "activeTableTab"; PrevClass -NextClass +NextClass Frames @@ -308,7 +308,7 @@ not permitted.) PrevClass -NextClass +NextClass Frames http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/CellComparator.MetaCellComparator.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellComparator.MetaCellComparator.html b/devapidocs/org/apache/hadoop/hbase/CellComparator.MetaCellComparator.html deleted file mode 100644 index 9abadbc..000 --- a/devapidocs/org/apache/hadoop/hbase/CellComparator.MetaCellComparator.html +++ /dev/null @@ -1,410 +0,0 @@ -http://www.w3.org/TR/html4/loose.dtd;> - - - - - -CellComparator.MetaCellComparator (Apache HBase 3.0.0-SNAPSHOT API) - - - - - -var methods = {"i0":10,"i1":10,"i2":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 CellComparator.MetaCellComparator - - - -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.CellComparator - - -org.apache.hadoop.hbase.CellComparator.MetaCellComparator - - - - - - - - - -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/util/Comparator.html?is-external=true; title="class or interface in java.util">ComparatorCell - - -Enclosing class: -CellComparator - - - -public static class CellComparator.MetaCellComparator -extends CellComparator -A CellComparator for hbase:meta catalog table - KeyValues. - -See Also: -Serialized Form - - - - - - - - - - - - -Nested Class Summary - - - - -Nested classes/interfaces inherited from classorg.apache.hadoop.hbase.CellComparator -CellComparator.MetaCellComparator - - - - - - - - -Field Summary - - - - -Fields inherited from classorg.apache.hadoop.hbase.CellComparator -COMPARATOR, LOG, META_COMPARATOR - - - - - - - - -Constructor Summary - -Constructors - -Constructor and Description - - -MetaCellComparator() - - - - - - - - - -Method Summary - -All MethodsInstance MethodsConcrete Methods - -Modifier and Type -Method and Description - - -private int -compareRows(byte[]left, - intloffset, - intllength, - byte[]right, - introffset, - intrlength) - - -int -compareRows(Cellleft, - byte[]right, - introffset, - intrlength) -Compares the row part of the cell with a simple plain byte[] like the - stopRow in Scan. - - - -int -compareRows(Cellleft, - Cellright) -Compares the rows of the left and right cell. - - - - - - - -Methods inherited from classorg.apache.hadoop.hbase.CellComparator -compare, compare, compareColumns, compareFamilies, compareFamily, compareKeyBasedOnColHint , compareKeyIgnoresMvcc, compareQualifier, compareQualifiers, compareQualifiers, compareRow, compareTimestamps, compareTimestamps, compareValue, compareWithoutRow - - - - - -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,
[45/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/apidocs/src-html/org/apache/hadoop/hbase/ClusterStatus.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/ClusterStatus.html b/apidocs/src-html/org/apache/hadoop/hbase/ClusterStatus.html index 5138b05..3a745d1 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/ClusterStatus.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/ClusterStatus.html @@ -33,425 +33,423 @@ 025import java.util.List; 026import java.util.Map; 027 -028import org.apache.yetus.audience.InterfaceAudience; -029import org.apache.hadoop.hbase.master.RegionState; -030 -031import com.google.common.base.Objects; -032 -033/** -034 * Status information on the HBase cluster. -035 * p -036 * ttClusterStatus/tt provides clients with information such as: -037 * ul -038 * liThe count and names of region servers in the cluster./li -039 * liThe count and names of dead region servers in the cluster./li -040 * liThe name of the active master for the cluster./li -041 * liThe name(s) of the backup master(s) for the cluster, if they exist./li -042 * liThe average cluster load./li -043 * liThe number of regions deployed on the cluster./li -044 * liThe number of requests since last report./li -045 * liDetailed region server loading and resource usage information, -046 * per server and per region./li -047 * liRegions in transition at master/li -048 * liThe unique cluster ID/li -049 * /ul -050 * tt{@link Option}/tt provides a way to get desired ClusterStatus information. -051 * The following codes will get all the cluster information. -052 * pre -053 * {@code -054 * // Original version still works -055 * Admin admin = connection.getAdmin(); -056 * ClusterStatus status = admin.getClusterStatus(); -057 * // or below, a new version which has the same effects -058 * ClusterStatus status = admin.getClusterStatus(EnumSet.allOf(Option.class)); -059 * } -060 * /pre -061 * If information about live servers is the only wanted. -062 * then codes in the following way: -063 * pre -064 * {@code -065 * Admin admin = connection.getAdmin(); -066 * ClusterStatus status = admin.getClusterStatus(EnumSet.of(Option.LIVE_SERVERS)); -067 * } -068 * /pre -069 */ -070@InterfaceAudience.Public -071public class ClusterStatus { -072 -073 // TODO: remove this in 3.0 -074 private static final byte VERSION = 2; -075 -076 private String hbaseVersion; -077 private MapServerName, ServerLoad liveServers; -078 private CollectionServerName deadServers; -079 private ServerName master; -080 private CollectionServerName backupMasters; -081 private ListRegionState intransition; -082 private String clusterId; -083 private String[] masterCoprocessors; -084 private Boolean balancerOn; -085 -086 /** -087 * Use {@link ClusterStatus.Builder} to construct a ClusterStatus instead. -088 * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0 -089 * (a href="https://issues.apache.org/jira/browse/HBASE-15511"HBASE-15511/a;). -090 */ -091 @Deprecated -092 public ClusterStatus(final String hbaseVersion, final String clusterid, -093 final MapServerName, ServerLoad servers, -094 final CollectionServerName deadServers, -095 final ServerName master, -096 final CollectionServerName backupMasters, -097 final ListRegionState rit, -098 final String[] masterCoprocessors, -099 final Boolean balancerOn) { -100// TODO: make this constructor private -101this.hbaseVersion = hbaseVersion; -102this.liveServers = servers; -103this.deadServers = deadServers; -104this.master = master; -105this.backupMasters = backupMasters; -106this.intransition = rit; -107this.clusterId = clusterid; -108this.masterCoprocessors = masterCoprocessors; -109this.balancerOn = balancerOn; -110 } -111 -112 /** -113 * @return the names of region servers on the dead list -114 */ -115 public CollectionServerName getDeadServerNames() { -116if (deadServers == null) { -117 return Collections.ServerNameemptyList(); -118} -119return Collections.unmodifiableCollection(deadServers); -120 } -121 -122 /** -123 * @return the number of region servers in the cluster -124 */ -125 public int getServersSize() { -126return liveServers != null ? liveServers.size() : 0; -127 } -128 -129 /** -130 * @return the number of dead region servers in the cluster -131 * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0 -132 * (a href="https://issues.apache.org/jira/browse/HBASE-13656"HBASE-13656/a;). -133 * Use {@link #getDeadServersSize()}. -134 */ -135 @Deprecated -136 public int getDeadServers() { -137return getDeadServersSize(); -138 } -139 -140 /** -141 * @return the number of dead region servers in the cluster -142 */ -143 public int getDeadServersSize() { -144
hbase-site git commit: INFRA-10751 Empty commit
Repository: hbase-site Updated Branches: refs/heads/asf-site ed0004f88 -> b7daf3658 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/b7daf365 Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/b7daf365 Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/b7daf365 Branch: refs/heads/asf-site Commit: b7daf3658b37de187f09f5c87afce915c7a21198 Parents: ed0004f Author: jenkinsAuthored: Wed Oct 18 15:16:07 2017 + Committer: jenkins Committed: Wed Oct 18 15:16:07 2017 + -- --
[40/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html index 07c10b3..a116d25 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/CompareFilter.html @@ -31,7 +31,7 @@ 023import java.util.ArrayList; 024 025import org.apache.hadoop.hbase.Cell; -026import org.apache.hadoop.hbase.CellComparator; +026import org.apache.hadoop.hbase.CellUtil; 027import org.apache.hadoop.hbase.CompareOperator; 028import org.apache.yetus.audience.InterfaceAudience; 029import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil; @@ -145,7 +145,7 @@ 137if (compareOp == CompareOp.NO_OP) { 138 return true; 139} -140int compareResult = CellComparator.compareRow(cell, comparator); +140int compareResult = CellUtil.compareRow(cell, comparator); 141return compare(compareOp, compareResult); 142 } 143 @@ -154,7 +154,7 @@ 146if (op == CompareOperator.NO_OP) { 147 return true; 148} -149int compareResult = CellComparator.compareRow(cell, comparator); +149int compareResult = CellUtil.compareRow(cell, comparator); 150return compare(op, compareResult); 151 } 152 @@ -168,7 +168,7 @@ 160if (compareOp == CompareOp.NO_OP) { 161 return true; 162} -163int compareResult = CellComparator.compareFamily(cell, comparator); +163int compareResult = CellUtil.compareFamily(cell, comparator); 164return compare(compareOp, compareResult); 165 } 166 @@ -177,7 +177,7 @@ 169if (op == CompareOperator.NO_OP) { 170 return true; 171} -172int compareResult = CellComparator.compareFamily(cell, comparator); +172int compareResult = CellUtil.compareFamily(cell, comparator); 173return compare(op, compareResult); 174 } 175 @@ -192,7 +192,7 @@ 184if (compareOp == CompareOp.NO_OP) { 185 return true; 186} -187int compareResult = CellComparator.compareQualifier(cell, comparator); +187int compareResult = CellUtil.compareQualifier(cell, comparator); 188return compare(compareOp, compareResult); 189 } 190 @@ -202,7 +202,7 @@ 194if (op == CompareOperator.NO_OP) { 195 return true; 196} -197int compareResult = CellComparator.compareQualifier(cell, comparator); +197int compareResult = CellUtil.compareQualifier(cell, comparator); 198return compare(op, compareResult); 199 } 200 @@ -217,7 +217,7 @@ 209if (compareOp == CompareOp.NO_OP) { 210 return true; 211} -212int compareResult = CellComparator.compareValue(cell, comparator); +212int compareResult = CellUtil.compareValue(cell, comparator); 213return compare(compareOp, compareResult); 214 } 215 @@ -226,7 +226,7 @@ 218if (op == CompareOperator.NO_OP) { 219 return true; 220} -221int compareResult = CellComparator.compareValue(cell, comparator); +221int compareResult = CellUtil.compareValue(cell, comparator); 222return compare(op, compareResult); 223 } 224 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/apidocs/src-html/org/apache/hadoop/hbase/filter/FilterList.Operator.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/FilterList.Operator.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/FilterList.Operator.html index fcfe8ab..384673d 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/filter/FilterList.Operator.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/FilterList.Operator.html @@ -34,7 +34,7 @@ 026import java.util.List; 027 028import org.apache.hadoop.hbase.Cell; -029import org.apache.hadoop.hbase.CellComparator; +029import org.apache.hadoop.hbase.CellComparatorImpl; 030import org.apache.hadoop.hbase.CellUtil; 031import org.apache.yetus.audience.InterfaceAudience; 032import org.apache.hadoop.hbase.exceptions.DeserializationException; @@ -508,7 +508,7 @@ 500 keyHint = curKeyHint; 501 continue; 502} -503if (CellComparator.COMPARATOR.compare(keyHint, curKeyHint) 0) { +503if (CellComparatorImpl.COMPARATOR.compare(keyHint, curKeyHint) 0) { 504 keyHint = curKeyHint; 505} 506 } @@ -531,7 +531,7 @@ 523keyHint = curKeyHint; 524continue; 525 } -526 if (CellComparator.COMPARATOR.compare(keyHint, curKeyHint) 0) { +526 if (CellComparatorImpl.COMPARATOR.compare(keyHint, curKeyHint) 0) { 527keyHint = curKeyHint; 528 } 529}
[48/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/apidocs/org/apache/hadoop/hbase/client/Put.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/Put.html b/apidocs/org/apache/hadoop/hbase/client/Put.html index 3a39ca1..f03bf68 100644 --- a/apidocs/org/apache/hadoop/hbase/client/Put.html +++ b/apidocs/org/apache/hadoop/hbase/client/Put.html @@ -129,7 +129,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public class Put +public class Put extends Mutation implements org.apache.hadoop.hbase.io.HeapSize, http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableRow Used to perform Put operations for a single row. @@ -460,7 +460,7 @@ implements org.apache.hadoop.hbase.io.HeapSize, http://docs.oracle.com/ Put -publicPut(byte[]row) +publicPut(byte[]row) Create a Put operation for the specified row. Parameters: @@ -474,7 +474,7 @@ implements org.apache.hadoop.hbase.io.HeapSize, http://docs.oracle.com/ Put -publicPut(byte[]row, +publicPut(byte[]row, longts) Create a Put operation for the specified row, using a given timestamp. @@ -490,7 +490,7 @@ implements org.apache.hadoop.hbase.io.HeapSize, http://docs.oracle.com/ Put -publicPut(byte[]rowArray, +publicPut(byte[]rowArray, introwOffset, introwLength) We make a copy of the passed in row key to keep local. @@ -508,7 +508,7 @@ implements org.apache.hadoop.hbase.io.HeapSize, http://docs.oracle.com/ Put -publicPut(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferrow, +publicPut(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferrow, longts) Parameters: @@ -523,7 +523,7 @@ implements org.apache.hadoop.hbase.io.HeapSize, http://docs.oracle.com/ Put -publicPut(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferrow) +publicPut(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferrow) Parameters: row - row key; we make a copy of what we are passed to keep local. @@ -536,7 +536,7 @@ implements org.apache.hadoop.hbase.io.HeapSize, http://docs.oracle.com/ Put -publicPut(byte[]rowArray, +publicPut(byte[]rowArray, introwOffset, introwLength, longts) @@ -556,7 +556,7 @@ implements org.apache.hadoop.hbase.io.HeapSize, http://docs.oracle.com/ Put -publicPut(byte[]row, +publicPut(byte[]row, booleanrowIsImmutable) Create a Put operation for an immutable row key. @@ -574,7 +574,7 @@ implements org.apache.hadoop.hbase.io.HeapSize, http://docs.oracle.com/ Put -publicPut(byte[]row, +publicPut(byte[]row, longts, booleanrowIsImmutable) Create a Put operation for an immutable row key, using a given timestamp. @@ -594,7 +594,7 @@ implements org.apache.hadoop.hbase.io.HeapSize, http://docs.oracle.com/ Put -publicPut(PutputToCopy) +publicPut(PutputToCopy) Copy constructor. Creates a Put operation cloned from the specified Put. Parameters: @@ -616,7 +616,7 @@ implements org.apache.hadoop.hbase.io.HeapSize, http://docs.oracle.com/ addColumn -publicPutaddColumn(byte[]family, +publicPutaddColumn(byte[]family, byte[]qualifier, byte[]value) Add the specified column and value to this Put operation. @@ -636,7 +636,7 @@ implements org.apache.hadoop.hbase.io.HeapSize, http://docs.oracle.com/ addImmutable -publicPutaddImmutable(byte[]family, +publicPutaddImmutable(byte[]family, byte[]qualifier, byte[]value) See addColumn(byte[], byte[], byte[]). This version expects @@ -650,7 +650,7 @@ implements org.apache.hadoop.hbase.io.HeapSize, http://docs.oracle.com/ addColumn -publicPutaddColumn(byte[]family, +publicPutaddColumn(byte[]family, byte[]qualifier, longts, byte[]value) @@ -673,7 +673,7 @@ implements org.apache.hadoop.hbase.io.HeapSize, http://docs.oracle.com/ addImmutable -publicPutaddImmutable(byte[]family, +publicPutaddImmutable(byte[]family, byte[]qualifier, longts, byte[]value) @@ -688,7 +688,7 @@ implements org.apache.hadoop.hbase.io.HeapSize, http://docs.oracle.com/ addColumn -publicPutaddColumn(byte[]family, +publicPutaddColumn(byte[]family, http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferqualifier,
[17/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/class-use/CellComparatorImpl.MetaCellComparator.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/CellComparatorImpl.MetaCellComparator.html b/devapidocs/org/apache/hadoop/hbase/class-use/CellComparatorImpl.MetaCellComparator.html new file mode 100644 index 000..cc3f042 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/class-use/CellComparatorImpl.MetaCellComparator.html @@ -0,0 +1,125 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.hadoop.hbase.CellComparatorImpl.MetaCellComparator (Apache HBase 3.0.0-SNAPSHOT API) + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Classorg.apache.hadoop.hbase.CellComparatorImpl.MetaCellComparator + +No usage of org.apache.hadoop.hbase.CellComparatorImpl.MetaCellComparator + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 20072017 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. + + http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/class-use/CellComparatorImpl.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/CellComparatorImpl.html b/devapidocs/org/apache/hadoop/hbase/class-use/CellComparatorImpl.html new file mode 100644 index 000..30966e2 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/class-use/CellComparatorImpl.html @@ -0,0 +1,190 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +Uses of Class org.apache.hadoop.hbase.CellComparatorImpl (Apache HBase 3.0.0-SNAPSHOT API) + + + + + + + +JavaScript is disabled on your browser. + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + + +Uses of Classorg.apache.hadoop.hbase.CellComparatorImpl + + + + + +Packages that use CellComparatorImpl + +Package +Description + + + +org.apache.hadoop.hbase + + + + + + + + + + +Uses of CellComparatorImpl in org.apache.hadoop.hbase + +Subclasses of CellComparatorImpl in org.apache.hadoop.hbase + +Modifier and Type +Class and Description + + + +static class +CellComparatorImpl.MetaCellComparator +A CellComparatorImpl for hbase:meta catalog table + KeyValues. + + + + + +Fields in org.apache.hadoop.hbase declared as CellComparatorImpl + +Modifier and Type +Field and Description + + + +static CellComparatorImpl +CellComparatorImpl.COMPARATOR +Comparator for plain key/values; i.e. + + + +static CellComparatorImpl +CellComparatorImpl.META_COMPARATOR +A CellComparatorImpl for hbase:meta catalog table + KeyValues. + + + + + + + + + + + + + +Skip navigation links + + + + +Overview +Package +Class +Use +Tree +Deprecated +Index +Help + + + + +Prev +Next + + +Frames +NoFrames + + +AllClasses + + + + + + + + + +Copyright 20072017 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. + + http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/class-use/KeepDeletedCells.html
[23/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/backup/impl/BackupSystemTable.WALItem.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/backup/impl/BackupSystemTable.WALItem.html b/devapidocs/org/apache/hadoop/hbase/backup/impl/BackupSystemTable.WALItem.html index f247908..3a1eef5 100644 --- a/devapidocs/org/apache/hadoop/hbase/backup/impl/BackupSystemTable.WALItem.html +++ b/devapidocs/org/apache/hadoop/hbase/backup/impl/BackupSystemTable.WALItem.html @@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab"; -static class BackupSystemTable.WALItem +static class BackupSystemTable.WALItem extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object @@ -223,7 +223,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? backupId -http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String backupId +http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String backupId @@ -232,7 +232,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? walFile -http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String walFile +http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String walFile @@ -241,7 +241,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? backupRoot -http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String backupRoot +http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String backupRoot @@ -258,7 +258,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? WALItem -WALItem(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringbackupId, +WALItem(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringbackupId, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringwalFile, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringbackupRoot) @@ -277,7 +277,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? getBackupId -publichttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringgetBackupId() +publichttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringgetBackupId() @@ -286,7 +286,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? getWalFile -publichttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringgetWalFile() +publichttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringgetWalFile() @@ -295,7 +295,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? getBackupRoot -publichttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringgetBackupRoot() +publichttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringgetBackupRoot() @@ -304,7 +304,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? toString -publichttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringtoString() +publichttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringtoString() Overrides: http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--; title="class or interface in java.lang">toStringin classhttp://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object
[38/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html index da32856..8056b4e 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.html @@ -54,7 +54,7 @@ 046import org.apache.hadoop.fs.FileSystem; 047import org.apache.hadoop.fs.Path; 048import org.apache.hadoop.hbase.Cell; -049import org.apache.hadoop.hbase.CellComparator; +049import org.apache.hadoop.hbase.CellComparatorImpl; 050import org.apache.hadoop.hbase.CellUtil; 051import org.apache.hadoop.hbase.HConstants; 052import org.apache.hadoop.hbase.HRegionLocation; @@ -410,12 +410,12 @@ 402 wl.writer = 403 new StoreFileWriter.Builder(conf, new CacheConfig(tempConf), fs) 404 .withOutputDir(familydir).withBloomType(bloomType) -405 .withComparator(CellComparator.COMPARATOR).withFileContext(hFileContext).build(); +405 .withComparator(CellComparatorImpl.COMPARATOR).withFileContext(hFileContext).build(); 406} else { 407 wl.writer = 408 new StoreFileWriter.Builder(conf, new CacheConfig(tempConf), new HFileSystem(fs)) 409 .withOutputDir(familydir).withBloomType(bloomType) -410 .withComparator(CellComparator.COMPARATOR).withFileContext(hFileContext) +410 .withComparator(CellComparatorImpl.COMPARATOR).withFileContext(hFileContext) 411 .withFavoredNodes(favoredNodes).build(); 412} 413 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/Import.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/Import.html b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/Import.html index 0171340..2d3c05b 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/Import.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/Import.html @@ -48,7 +48,7 @@ 040import org.apache.hadoop.fs.FileSystem; 041import org.apache.hadoop.fs.Path; 042import org.apache.hadoop.hbase.Cell; -043import org.apache.hadoop.hbase.CellComparator; +043import org.apache.hadoop.hbase.CellComparatorImpl; 044import org.apache.hadoop.hbase.CellUtil; 045import org.apache.hadoop.hbase.HBaseConfiguration; 046import org.apache.hadoop.hbase.KeyValue; @@ -155,7 +155,7 @@ 147 @edu.umd.cs.findbugs.annotations.SuppressWarnings(value="EQ_COMPARETO_USE_OBJECT_EQUALS", 148 justification="This is wrong, yes, but we should be purging Writables, not fixing them") 149public int compareTo(CellWritableComparable o) { -150 return CellComparator.COMPARATOR.compare(this.kv, ((CellWritableComparable)o).kv); +150 return CellComparatorImpl.COMPARATOR.compare(this.kv, ((CellWritableComparable)o).kv); 151} 152 153public static class CellWritableComparator extends WritableComparator { http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html index 15e4750..d7088f8 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/PutSortReducer.html @@ -35,7 +35,7 @@ 027import org.apache.hadoop.conf.Configuration; 028import org.apache.hadoop.hbase.ArrayBackedTag; 029import org.apache.hadoop.hbase.Cell; -030import org.apache.hadoop.hbase.CellComparator; +030import org.apache.hadoop.hbase.CellComparatorImpl; 031import org.apache.hadoop.hbase.KeyValue; 032import org.apache.hadoop.hbase.KeyValueUtil; 033import org.apache.hadoop.hbase.Tag; @@ -85,7 +85,7 @@ 077"putsortreducer.row.threshold", 1L * (130)); 078IteratorPut iter = puts.iterator(); 079while (iter.hasNext()) { -080 TreeSetKeyValue map = new TreeSet(CellComparator.COMPARATOR); +080 TreeSetKeyValue map = new TreeSet(CellComparatorImpl.COMPARATOR); 081 long curSize = 0; 082 // stop at the end or the RAM threshold 083 ListTag tags = new ArrayList(); http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/apidocs/src-html/org/apache/hadoop/hbase/mapreduce/TextSortReducer.html -- diff --git
[30/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/CellUtil.FirstOnRowDeleteFamilyCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.FirstOnRowDeleteFamilyCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.FirstOnRowDeleteFamilyCell.html index 8709d0e..0497cda 100644 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.FirstOnRowDeleteFamilyCell.html +++ b/devapidocs/org/apache/hadoop/hbase/CellUtil.FirstOnRowDeleteFamilyCell.html @@ -123,7 +123,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -private static class CellUtil.FirstOnRowDeleteFamilyCell +private static class CellUtil.FirstOnRowDeleteFamilyCell extends CellUtil.EmptyCell @@ -248,7 +248,7 @@ extends row -private finalbyte[] row +private finalbyte[] row @@ -257,7 +257,7 @@ extends fam -private finalbyte[] fam +private finalbyte[] fam @@ -274,7 +274,7 @@ extends FirstOnRowDeleteFamilyCell -publicFirstOnRowDeleteFamilyCell(byte[]row, +publicFirstOnRowDeleteFamilyCell(byte[]row, byte[]fam) @@ -292,7 +292,7 @@ extends 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. @@ -312,7 +312,7 @@ extends getRowLength -publicshortgetRowLength() +publicshortgetRowLength() Specified by: getRowLengthin interfaceCell @@ -329,7 +329,7 @@ extends 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. @@ -349,7 +349,7 @@ extends getFamilyLength -publicbytegetFamilyLength() +publicbytegetFamilyLength() Specified by: getFamilyLengthin interfaceCell @@ -366,7 +366,7 @@ extends getTimestamp -publiclonggetTimestamp() +publiclonggetTimestamp() Returns: Long value representing time at which this cell was "Put" into the row. Typically @@ -380,7 +380,7 @@ extends getTypeByte -publicbytegetTypeByte() +publicbytegetTypeByte() Returns: The byte representation of the KeyValue.TYPE of this cell: one of Put, Delete, etc http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferCell.html index 8ac4422..a9371b9 100644 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferCell.html +++ b/devapidocs/org/apache/hadoop/hbase/CellUtil.LastOnRowByteBufferCell.html @@ -132,7 +132,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -private static class CellUtil.LastOnRowByteBufferCell +private static class CellUtil.LastOnRowByteBufferCell extends CellUtil.EmptyByteBufferCell @@ -253,7 +253,7 @@ extends rowBuff -private finalhttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffer rowBuff +private finalhttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffer rowBuff @@ -262,7 +262,7 @@ extends roffset -private finalint roffset +private finalint roffset @@ -271,7 +271,7 @@ extends rlength -private finalshort rlength +private finalshort rlength @@ -288,7 +288,7 @@ extends LastOnRowByteBufferCell -publicLastOnRowByteBufferCell(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferrow, +publicLastOnRowByteBufferCell(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferrow, introffset, shortrlength) @@ -307,7 +307,7 @@ extends getRowByteBuffer -publichttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffergetRowByteBuffer() +publichttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffergetRowByteBuffer() Overrides: getRowByteBufferin classCellUtil.EmptyByteBufferCell @@ -322,7 +322,7 @@ extends getRowPosition -publicintgetRowPosition() +publicintgetRowPosition() Overrides: getRowPositionin classCellUtil.EmptyByteBufferCell @@ -337,7 +337,7 @@ extends getRowLength
[32/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/CellComparatorImpl.MetaCellComparator.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellComparatorImpl.MetaCellComparator.html b/devapidocs/org/apache/hadoop/hbase/CellComparatorImpl.MetaCellComparator.html new file mode 100644 index 000..320e4f3 --- /dev/null +++ b/devapidocs/org/apache/hadoop/hbase/CellComparatorImpl.MetaCellComparator.html @@ -0,0 +1,413 @@ +http://www.w3.org/TR/html4/loose.dtd;> + + + + + +CellComparatorImpl.MetaCellComparator (Apache HBase 3.0.0-SNAPSHOT API) + + + + + +var methods = {"i0":10,"i1":10,"i2":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 CellComparatorImpl.MetaCellComparator + + + +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.CellComparatorImpl + + +org.apache.hadoop.hbase.CellComparatorImpl.MetaCellComparator + + + + + + + + + +All Implemented Interfaces: +http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true; title="class or interface in java.util">ComparatorCell, CellComparator + + +Enclosing class: +CellComparatorImpl + + + +public static class CellComparatorImpl.MetaCellComparator +extends CellComparatorImpl +A CellComparatorImpl for hbase:meta catalog table + KeyValues. + + + + + + + + + + + +Nested Class Summary + + + + +Nested classes/interfaces inherited from classorg.apache.hadoop.hbase.CellComparatorImpl +CellComparatorImpl.MetaCellComparator + + + + + + + + +Field Summary + + + + +Fields inherited from classorg.apache.hadoop.hbase.CellComparatorImpl +COMPARATOR, LOG, META_COMPARATOR + + + + + + + + +Constructor Summary + +Constructors + +Constructor and Description + + +MetaCellComparator() + + + + + + + + + +Method Summary + +All MethodsInstance MethodsConcrete Methods + +Modifier and Type +Method and Description + + +private int +compareRows(byte[]left, + intloffset, + intllength, + byte[]right, + introffset, + intrlength) + + +int +compareRows(Cellleft, + byte[]right, + introffset, + intrlength) +Compares the row part of the cell with a simple plain byte[] like the + stopRow in Scan. + + + +int +compareRows(Cellleft, + Cellright) +Compares the rows of the left and right cell. + + + + + + + +Methods inherited from classorg.apache.hadoop.hbase.CellComparatorImpl +compare, compare, compareColumns, compareFamilies, compareQualifiers, compareTimestamps, compareTimestamps, compareWithoutRow + + + + + +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--;
[02/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.html index ae1cfd0..fcffcc1 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.html @@ -110,7 +110,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -public class HFile +public class HFile extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object File format for hbase. A file of sorted key/value pairs. Both keys and values are byte arrays. @@ -520,7 +520,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? LOG -static finalorg.apache.commons.logging.Log LOG +static finalorg.apache.commons.logging.Log LOG @@ -529,7 +529,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? MAXIMUM_KEY_LENGTH -public static finalint MAXIMUM_KEY_LENGTH +public static finalint MAXIMUM_KEY_LENGTH Maximum length of key in HFile. See Also: @@ -543,7 +543,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? DEFAULT_COMPRESSION_ALGORITHM -public static finalCompression.Algorithm DEFAULT_COMPRESSION_ALGORITHM +public static finalCompression.Algorithm DEFAULT_COMPRESSION_ALGORITHM Default compression: none. @@ -553,7 +553,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? MIN_FORMAT_VERSION -public static finalint MIN_FORMAT_VERSION +public static finalint MIN_FORMAT_VERSION Minimum supported HFile format version See Also: @@ -567,7 +567,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? MAX_FORMAT_VERSION -public static finalint MAX_FORMAT_VERSION +public static finalint MAX_FORMAT_VERSION Maximum supported HFile format version See Also: @@ -581,7 +581,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? MIN_FORMAT_VERSION_WITH_TAGS -public static finalint MIN_FORMAT_VERSION_WITH_TAGS +public static finalint MIN_FORMAT_VERSION_WITH_TAGS Minimum HFile format version with support for persisting cell tags See Also: @@ -595,7 +595,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? DEFAULT_COMPRESSION -public static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String DEFAULT_COMPRESSION +public static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String DEFAULT_COMPRESSION Default compression name: none. @@ -605,7 +605,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? BLOOM_FILTER_DATA_KEY -public static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String BLOOM_FILTER_DATA_KEY +public static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String BLOOM_FILTER_DATA_KEY Meta data block name for bloom filter bits. See Also: @@ -619,7 +619,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? MIN_NUM_HFILE_PATH_LEVELS -public static finalint MIN_NUM_HFILE_PATH_LEVELS +public static finalint MIN_NUM_HFILE_PATH_LEVELS We assume that HFile path ends with ROOT_DIR/TABLE_NAME/REGION_NAME/CF_NAME/HFILE, so it has at least this many levels of nesting. This is needed for identifying table and CF name @@ -636,7 +636,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? DEFAULT_BYTES_PER_CHECKSUM -public static finalint DEFAULT_BYTES_PER_CHECKSUM +public static finalint DEFAULT_BYTES_PER_CHECKSUM The number of bytes per checksum. See Also: @@ -650,7 +650,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? CHECKSUM_FAILURES -static finalhttp://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/LongAdder.html?is-external=true; title="class or interface in java.util.concurrent.atomic">LongAdder CHECKSUM_FAILURES +static finalhttp://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/LongAdder.html?is-external=true; title="class or interface in java.util.concurrent.atomic">LongAdder CHECKSUM_FAILURES @@ -659,7 +659,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? DATABLOCK_READ_COUNT -public static finalhttp://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/LongAdder.html?is-external=true; title="class or interface in java.util.concurrent.atomic">LongAdder DATABLOCK_READ_COUNT +public static
[46/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/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 694db25..0b7322a 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/CellUtil.html @@ -46,3290 +46,3594 @@ 038import java.util.NavigableMap; 039 040import org.apache.hadoop.hbase.KeyValue.Type; -041import org.apache.yetus.audience.InterfaceAudience; -042import org.apache.yetus.audience.InterfaceAudience.Private; -043import org.apache.hadoop.hbase.io.HeapSize; -044import org.apache.hadoop.hbase.io.TagCompressionContext; -045import org.apache.hadoop.hbase.io.util.Dictionary; -046import org.apache.hadoop.hbase.io.util.StreamUtils; -047import org.apache.hadoop.hbase.util.ByteBufferUtils; -048import org.apache.hadoop.hbase.util.ByteRange; -049import org.apache.hadoop.hbase.util.Bytes; -050import org.apache.hadoop.hbase.util.ClassSize; -051 -052/** -053 * Utility methods helpful slinging {@link Cell} instances. -054 * Some methods below are for internal use only and are marked InterfaceAudience.Private at the -055 * method level. -056 */ -057@InterfaceAudience.Public -058public final class CellUtil { -059 -060 /** -061 * Private constructor to keep this class from being instantiated. -062 */ -063 private CellUtil(){} -064 -065 /*** ByteRange ***/ -066 -067 public static ByteRange fillRowRange(Cell cell, ByteRange range) { -068return range.set(cell.getRowArray(), cell.getRowOffset(), cell.getRowLength()); -069 } +041import org.apache.hadoop.hbase.filter.ByteArrayComparable; +042import org.apache.yetus.audience.InterfaceAudience; +043import org.apache.yetus.audience.InterfaceAudience.Private; +044 +045import com.google.common.annotations.VisibleForTesting; +046 +047import org.apache.hadoop.hbase.io.HeapSize; +048import org.apache.hadoop.hbase.io.TagCompressionContext; +049import org.apache.hadoop.hbase.io.util.Dictionary; +050import org.apache.hadoop.hbase.io.util.StreamUtils; +051import org.apache.hadoop.hbase.util.ByteBufferUtils; +052import org.apache.hadoop.hbase.util.ByteRange; +053import org.apache.hadoop.hbase.util.Bytes; +054import org.apache.hadoop.hbase.util.ClassSize; +055 +056/** +057 * Utility methods helpful slinging {@link Cell} instances. +058 * Some methods below are for internal use only and are marked InterfaceAudience.Private at the +059 * method level. +060 */ +061@InterfaceAudience.Public +062public final class CellUtil { +063 +064 /** +065 * Private constructor to keep this class from being instantiated. +066 */ +067 private CellUtil(){} +068 +069 /*** ByteRange ***/ 070 -071 public static ByteRange fillFamilyRange(Cell cell, ByteRange range) { -072return range.set(cell.getFamilyArray(), cell.getFamilyOffset(), cell.getFamilyLength()); +071 public static ByteRange fillRowRange(Cell cell, ByteRange range) { +072return range.set(cell.getRowArray(), cell.getRowOffset(), cell.getRowLength()); 073 } 074 -075 public static ByteRange fillQualifierRange(Cell cell, ByteRange range) { -076return range.set(cell.getQualifierArray(), cell.getQualifierOffset(), -077 cell.getQualifierLength()); -078 } -079 -080 public static ByteRange fillValueRange(Cell cell, ByteRange range) { -081return range.set(cell.getValueArray(), cell.getValueOffset(), cell.getValueLength()); +075 public static ByteRange fillFamilyRange(Cell cell, ByteRange range) { +076return range.set(cell.getFamilyArray(), cell.getFamilyOffset(), cell.getFamilyLength()); +077 } +078 +079 public static ByteRange fillQualifierRange(Cell cell, ByteRange range) { +080return range.set(cell.getQualifierArray(), cell.getQualifierOffset(), +081 cell.getQualifierLength()); 082 } 083 -084 public static ByteRange fillTagRange(Cell cell, ByteRange range) { -085return range.set(cell.getTagsArray(), cell.getTagsOffset(), cell.getTagsLength()); +084 public static ByteRange fillValueRange(Cell cell, ByteRange range) { +085return range.set(cell.getValueArray(), cell.getValueOffset(), cell.getValueLength()); 086 } 087 -088 /* get individual arrays for tests / -089 -090 public static byte[] cloneRow(Cell cell){ -091byte[] output = new byte[cell.getRowLength()]; -092copyRowTo(cell, output, 0); -093return output; -094 } -095 -096 public static byte[] cloneFamily(Cell cell){ -097byte[] output = new byte[cell.getFamilyLength()]; -098copyFamilyTo(cell, output, 0); -099return output; -100 } -101 -102 public static byte[] cloneQualifier(Cell cell){ -103byte[] output = new
[12/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeCell.html b/devapidocs/org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeCell.html index 69d3bdc..bb04c33 100644 --- a/devapidocs/org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeCell.html +++ b/devapidocs/org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeCell.html @@ -123,7 +123,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -public class PrefixTreeCell +public class PrefixTreeCell extends ByteBufferCell implements SettableSequenceId, http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableCell As the PrefixTreeArrayScanner moves through the tree bytes, it changes the @@ -158,7 +158,7 @@ implements -protected CellComparator +protected CellComparator comparator @@ -461,7 +461,7 @@ implements comparator -protectedCellComparator comparator +protectedCellComparator comparator @@ -470,7 +470,7 @@ implements TYPES -public static finalKeyValue.Type[] TYPES +public static finalKeyValue.Type[] TYPES static @@ -480,7 +480,7 @@ implements DEFAULT_TYPE -public static finalKeyValue.Type DEFAULT_TYPE +public static finalKeyValue.Type DEFAULT_TYPE @@ -489,7 +489,7 @@ implements block -protectedByteBuff block +protectedByteBuff block fields @@ -499,7 +499,7 @@ implements includeMvccVersion -protectedboolean includeMvccVersion +protectedboolean includeMvccVersion @@ -508,7 +508,7 @@ implements rowBuffer -protectedbyte[] rowBuffer +protectedbyte[] rowBuffer @@ -517,7 +517,7 @@ implements rowLength -protectedint rowLength +protectedint rowLength @@ -526,7 +526,7 @@ implements familyBuffer -protectedbyte[] familyBuffer +protectedbyte[] familyBuffer @@ -535,7 +535,7 @@ implements familyOffset -protectedint familyOffset +protectedint familyOffset @@ -544,7 +544,7 @@ implements familyLength -protectedint familyLength +protectedint familyLength @@ -553,7 +553,7 @@ implements qualifierBuffer -protectedbyte[] qualifierBuffer +protectedbyte[] qualifierBuffer @@ -562,7 +562,7 @@ implements qualifierOffset -protectedint qualifierOffset +protectedint qualifierOffset @@ -571,7 +571,7 @@ implements qualifierLength -protectedint qualifierLength +protectedint qualifierLength @@ -580,7 +580,7 @@ implements timestamp -protectedhttp://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Long timestamp +protectedhttp://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Long timestamp @@ -589,7 +589,7 @@ implements mvccVersion -protectedhttp://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Long mvccVersion +protectedhttp://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Long mvccVersion @@ -598,7 +598,7 @@ implements type -protectedKeyValue.Type type +protectedKeyValue.Type type @@ -607,7 +607,7 @@ implements absoluteValueOffset -protectedint absoluteValueOffset +protectedint absoluteValueOffset @@ -616,7 +616,7 @@ implements valueLength -protectedint valueLength +protectedint valueLength @@ -625,7 +625,7 @@ implements tagsBuffer -protectedbyte[] tagsBuffer +protectedbyte[] tagsBuffer @@ -634,7 +634,7 @@ implements tagsOffset -protectedint tagsOffset +protectedint tagsOffset @@ -643,7 +643,7 @@ implements tagsLength -protectedint tagsLength +protectedint tagsLength @@ -652,7 +652,7 @@ implements pair -protectedObjectIntPairhttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffer pair +protectedObjectIntPairhttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffer pair @@ -669,7 +669,7 @@ implements PrefixTreeCell -publicPrefixTreeCell() +publicPrefixTreeCell() @@ -686,7 +686,7 @@ implements toString -publichttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringtoString() +publichttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringtoString() For debugging. Currently creates new KeyValue to utilize its toString() method. @@ -701,7 +701,7 @@ implements equals
[41/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/apidocs/src-html/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html index e1f7de1..a10d265 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html @@ -30,207 +30,206 @@ 022import java.util.ArrayList; 023 024import org.apache.hadoop.hbase.Cell; -025import org.apache.hadoop.hbase.CellComparator; -026import org.apache.hadoop.hbase.CellUtil; -027import org.apache.yetus.audience.InterfaceAudience; -028import org.apache.hadoop.hbase.exceptions.DeserializationException; -029import org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos; -030import org.apache.hadoop.hbase.util.Bytes; -031 -032import org.apache.hadoop.hbase.shaded.com.google.common.base.Preconditions; -033import org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException; -034import org.apache.hadoop.hbase.shaded.com.google.protobuf.UnsafeByteOperations; -035 -036/** -037 * A filter, based on the ColumnCountGetFilter, takes two arguments: limit and offset. -038 * This filter can be used for row-based indexing, where references to other tables are stored across many columns, -039 * in order to efficient lookups and paginated results for end users. Only most recent versions are considered -040 * for pagination. -041 */ -042@InterfaceAudience.Public -043public class ColumnPaginationFilter extends FilterBase { -044 -045 private int limit = 0; -046 private int offset = -1; -047 private byte[] columnOffset = null; -048 private int count = 0; -049 -050 /** -051 * Initializes filter with an integer offset and limit. The offset is arrived at -052 * scanning sequentially and skipping entries. @limit number of columns are -053 * then retrieved. If multiple column families are involved, the columns may be spread -054 * across them. -055 * -056 * @param limit Max number of columns to return. -057 * @param offset The integer offset where to start pagination. -058 */ -059 public ColumnPaginationFilter(final int limit, final int offset) -060 { -061Preconditions.checkArgument(limit = 0, "limit must be positive %s", limit); -062Preconditions.checkArgument(offset = 0, "offset must be positive %s", offset); -063this.limit = limit; -064this.offset = offset; -065 } -066 -067 /** -068 * Initializes filter with a string/bookmark based offset and limit. The offset is arrived -069 * at, by seeking to it using scanner hints. If multiple column families are involved, -070 * pagination starts at the first column family which contains @columnOffset. Columns are -071 * then retrieved sequentially upto @limit number of columns which maybe spread across -072 * multiple column families, depending on how the scan is setup. -073 * -074 * @param limit Max number of columns to return. -075 * @param columnOffset The string/bookmark offset on where to start pagination. -076 */ -077 public ColumnPaginationFilter(final int limit, final byte[] columnOffset) { -078Preconditions.checkArgument(limit = 0, "limit must be positive %s", limit); -079 Preconditions.checkArgument(columnOffset != null, -080 "columnOffset must be non-null %s", -081 columnOffset); -082this.limit = limit; -083this.columnOffset = columnOffset; -084 } -085 -086 /** -087 * @return limit -088 */ -089 public int getLimit() { -090return limit; -091 } -092 -093 /** -094 * @return offset -095 */ -096 public int getOffset() { -097return offset; -098 } -099 -100 /** -101 * @return columnOffset -102 */ -103 public byte[] getColumnOffset() { -104return columnOffset; -105 } -106 -107 @Override -108 public boolean filterRowKey(Cell cell) throws IOException { -109// Impl in FilterBase might do unnecessary copy for Off heap backed Cells. -110return false; -111 } -112 -113 @Override -114 public ReturnCode filterKeyValue(Cell v) -115 { -116if (columnOffset != null) { -117 if (count = limit) { -118return ReturnCode.NEXT_ROW; -119 } -120 int cmp = 0; -121 // Only compare if no KV's have been seen so far. -122 if (count == 0) { -123cmp = CellComparator.compareQualifiers(v, this.columnOffset, 0, this.columnOffset.length); -124 } -125 if (cmp 0) { -126return ReturnCode.SEEK_NEXT_USING_HINT; -127 } else { -128count++; -129return ReturnCode.INCLUDE_AND_NEXT_COL; -130 } -131} else { -132 if (count = offset + limit) { -133return ReturnCode.NEXT_ROW; -134 } -135
[18/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html b/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html index 1d9de92..5d092e7 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html @@ -4,7 +4,7 @@ -Uses of Class org.apache.hadoop.hbase.CellComparator (Apache HBase 3.0.0-SNAPSHOT API) +Uses of Interface org.apache.hadoop.hbase.CellComparator (Apache HBase 3.0.0-SNAPSHOT API) @@ -12,7 +12,7 @@
[03/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.FileInfo.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.FileInfo.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.FileInfo.html index a6ecf29..8c271d2 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.FileInfo.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/HFile.FileInfo.html @@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab"; -public static class HFile.FileInfo +public static class HFile.FileInfo extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap.html?is-external=true; title="class or interface in java.util">SortedMapbyte[],byte[] Metadata for this file. Conjured by the writer. Read in by the reader. @@ -376,7 +376,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap RESERVED_PREFIX -static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String RESERVED_PREFIX +static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String RESERVED_PREFIX See Also: Constant Field Values @@ -389,7 +389,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap RESERVED_PREFIX_BYTES -static finalbyte[] RESERVED_PREFIX_BYTES +static finalbyte[] RESERVED_PREFIX_BYTES @@ -398,7 +398,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap LASTKEY -static finalbyte[] LASTKEY +static finalbyte[] LASTKEY @@ -407,7 +407,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap AVG_KEY_LEN -static finalbyte[] AVG_KEY_LEN +static finalbyte[] AVG_KEY_LEN @@ -416,7 +416,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap AVG_VALUE_LEN -static finalbyte[] AVG_VALUE_LEN +static finalbyte[] AVG_VALUE_LEN @@ -425,7 +425,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap CREATE_TIME_TS -static finalbyte[] CREATE_TIME_TS +static finalbyte[] CREATE_TIME_TS @@ -434,7 +434,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap COMPARATOR -static finalbyte[] COMPARATOR +static finalbyte[] COMPARATOR @@ -443,7 +443,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap TAGS_COMPRESSED -static finalbyte[] TAGS_COMPRESSED +static finalbyte[] TAGS_COMPRESSED @@ -452,7 +452,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap MAX_TAGS_LEN -public static finalbyte[] MAX_TAGS_LEN +public static finalbyte[] MAX_TAGS_LEN @@ -461,7 +461,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap map -private finalhttp://docs.oracle.com/javase/8/docs/api/java/util/SortedMap.html?is-external=true; title="class or interface in java.util">SortedMapbyte[],byte[] map +private finalhttp://docs.oracle.com/javase/8/docs/api/java/util/SortedMap.html?is-external=true; title="class or interface in java.util">SortedMapbyte[],byte[] map @@ -478,7 +478,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap FileInfo -publicFileInfo() +publicFileInfo() @@ -495,7 +495,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap append -publicHFile.FileInfoappend(byte[]k, +publicHFile.FileInfoappend(byte[]k, byte[]v, booleancheckPrefix) throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException @@ -520,7 +520,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap clear -publicvoidclear() +publicvoidclear() Specified by: http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#clear--; title="class or interface in java.util">clearin interfacehttp://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Mapbyte[],byte[] @@ -533,7 +533,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/SortedMap comparator -publichttp://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true; title="class or interface in java.util">Comparator? super byte[]comparator() +publichttp://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true; title="class or interface in java.util">Comparator? super byte[]comparator() Specified by:
[33/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/CellComparator.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellComparator.html b/devapidocs/org/apache/hadoop/hbase/CellComparator.html index e948ec0..aae3d67 100644 --- a/devapidocs/org/apache/hadoop/hbase/CellComparator.html +++ b/devapidocs/org/apache/hadoop/hbase/CellComparator.html @@ -18,8 +18,8 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":10,"i9":10,"i10":9,"i11":9,"i12":9,"i13":9,"i14":10,"i15":10,"i16":9,"i17":9,"i18":9,"i19":10,"i20":9}; -var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -50,7 +50,7 @@ var activeTableTab = "activeTableTab"; PrevClass -NextClass +NextClass Frames @@ -74,15 +74,15 @@ var activeTableTab = "activeTableTab"; Summary: -Nested| -Field| -Constr| +Nested| +Field| +Constr| Method Detail: -Field| -Constr| +Field| +Constr| Method @@ -93,128 +93,34 @@ var activeTableTab = "activeTableTab"; org.apache.hadoop.hbase -Class CellComparator +Interface CellComparator - -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.CellComparator - - - -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/util/Comparator.html?is-external=true; title="class or interface in java.util">ComparatorCell +All Superinterfaces: +http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true; title="class or interface in java.util">ComparatorCell -Direct Known Subclasses: -CellComparator.MetaCellComparator +All Known Implementing Classes: +CellComparatorImpl, CellComparatorImpl.MetaCellComparator -@InterfaceAudience.Private +@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving -public class CellComparator -extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object -implements http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true; title="class or interface in java.util">ComparatorCell, http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable -Compare two HBase cells. Do not use this method comparing -ROOT- or - hbase:meta cells. Cells from these tables need a specialized comparator, one that - takes account of the special formatting of the row where we have commas to delimit table from - regionname, from row. See KeyValue for how it has a special comparator to do hbase:meta cells - and yet another for -ROOT-. - While using this comparator for {compareRows(Cell, Cell) et al, the hbase:meta cells - format should be taken into consideration, for which the instance of this comparator - should be used. In all other cases the static APIs in this comparator would be enough - -See Also: -Serialized Form - +public interface CellComparator +extends http://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true; title="class or interface in java.util">ComparatorCell +Comparator for comparing cells and has some specialized methods that allows comparing individual + cell components like row, family, qualifier and timestamp - - - - - -Nested Class Summary - -Nested Classes - -Modifier and Type -Class and Description - - -static class -CellComparator.MetaCellComparator -A CellComparator for hbase:meta catalog table - KeyValues. - - - - - - - - - - -Field Summary - -Fields - -Modifier and Type -Field and Description - - -static CellComparator -COMPARATOR -Comparator for plain key/values; i.e. - - - -(package private) static org.apache.commons.logging.Log -LOG - - -static CellComparator -META_COMPARATOR -A CellComparator for hbase:meta catalog table - KeyValues. - - - -private static long -serialVersionUID - - - - - - - - - -Constructor Summary - -Constructors - -Constructor and Description - - -CellComparator() - - - - @@ -222,185 +128,72 @@ implements http://docs.oracle.com/javase/8/docs/api/java/util/Comparato Method Summary -All MethodsStatic MethodsInstance MethodsConcrete Methods +All MethodsInstance MethodsAbstract Methods Modifier and Type Method and Description int -compare(Cellleft, - byte[]key, -
[42/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/apidocs/src-html/org/apache/hadoop/hbase/client/Result.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/Result.html b/apidocs/src-html/org/apache/hadoop/hbase/client/Result.html index 8d2e3be..e9d286d 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/client/Result.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/client/Result.html @@ -43,975 +43,976 @@ 035 036import org.apache.hadoop.hbase.Cell; 037import org.apache.hadoop.hbase.CellComparator; -038import org.apache.hadoop.hbase.CellScannable; -039import org.apache.hadoop.hbase.CellScanner; -040import org.apache.hadoop.hbase.CellUtil; -041import org.apache.hadoop.hbase.HConstants; -042import org.apache.hadoop.hbase.KeyValue; -043import org.apache.hadoop.hbase.KeyValueUtil; -044import org.apache.yetus.audience.InterfaceAudience; -045import org.apache.hadoop.hbase.util.Bytes; -046 -047/** -048 * Single row result of a {@link Get} or {@link Scan} query.p -049 * -050 * This class is bNOT THREAD SAFE/b.p -051 * -052 * Convenience methods are available that return various {@link Map} -053 * structures and values directly.p -054 * -055 * To get a complete mapping of all cells in the Result, which can include -056 * multiple families and multiple versions, use {@link #getMap()}.p -057 * -058 * To get a mapping of each family to its columns (qualifiers and values), -059 * including only the latest version of each, use {@link #getNoVersionMap()}. -060 * -061 * To get a mapping of qualifiers to latest values for an individual family use -062 * {@link #getFamilyMap(byte[])}.p -063 * -064 * To get the latest value for a specific family and qualifier use -065 * {@link #getValue(byte[], byte[])}. -066 * -067 * A Result is backed by an array of {@link Cell} objects, each representing -068 * an HBase cell defined by the row, family, qualifier, timestamp, and value.p -069 * -070 * The underlying {@link Cell} objects can be accessed through the method {@link #listCells()}. -071 * This will create a List from the internal Cell []. Better is to exploit the fact that -072 * a new Result instance is a primed {@link CellScanner}; just call {@link #advance()} and -073 * {@link #current()} to iterate over Cells as you would any {@link CellScanner}. -074 * Call {@link #cellScanner()} to reset should you need to iterate the same Result over again -075 * ({@link CellScanner}s are one-shot). -076 * -077 * If you need to overwrite a Result with another Result instance -- as in the old 'mapred' -078 * RecordReader next invocations -- then create an empty Result with the null constructor and -079 * in then use {@link #copyFrom(Result)} -080 */ -081@InterfaceAudience.Public -082public class Result implements CellScannable, CellScanner { -083 private Cell[] cells; -084 private Boolean exists; // if the query was just to check existence. -085 private boolean stale = false; -086 -087 /** -088 * See {@link #mayHaveMoreCellsInRow()}. -089 */ -090 private boolean mayHaveMoreCellsInRow = false; -091 // We're not using java serialization. Transient here is just a marker to say -092 // that this is where we cache row if we're ever asked for it. -093 private transient byte [] row = null; -094 // Ditto for familyMap. It can be composed on fly from passed in kvs. -095 private transient NavigableMapbyte[], NavigableMapbyte[], NavigableMapLong, byte[] -096 familyMap = null; -097 -098 private static ThreadLocalbyte[] localBuffer = new ThreadLocal(); -099 private static final int PAD_WIDTH = 128; -100 public static final Result EMPTY_RESULT = new Result(true); -101 -102 private final static int INITIAL_CELLSCANNER_INDEX = -1; -103 -104 /** -105 * Index for where we are when Result is acting as a {@link CellScanner}. -106 */ -107 private int cellScannerIndex = INITIAL_CELLSCANNER_INDEX; -108 private RegionLoadStats stats; -109 -110 private final boolean readonly; -111 -112 private Cursor cursor = null; -113 -114 /** -115 * Creates an empty Result w/ no KeyValue payload; returns null if you call {@link #rawCells()}. -116 * Use this to represent no results if {@code null} won't do or in old 'mapred' as opposed -117 * to 'mapreduce' package MapReduce where you need to overwrite a Result instance with a -118 * {@link #copyFrom(Result)} call. -119 */ -120 public Result() { -121this(false); -122 } -123 -124 /** -125 * Allows to construct special purpose immutable Result objects, -126 * such as EMPTY_RESULT. -127 * @param readonly whether this Result instance is readonly -128 */ -129 private Result(boolean readonly) { -130this.readonly = readonly; -131 } -132 -133 /** -134 * Instantiate a Result with the specified List of KeyValues. -135 * brstrongNote:/strong You must ensure that the keyvalues are already sorted. -136 * @param
[47/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/apidocs/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html -- diff --git a/apidocs/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html b/apidocs/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html index ecc6f6f..f5c3f03 100644 --- a/apidocs/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html +++ b/apidocs/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html @@ -120,7 +120,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public class ColumnPaginationFilter +public class ColumnPaginationFilter extends org.apache.hadoop.hbase.filter.FilterBase A filter, based on the ColumnCountGetFilter, takes two arguments: limit and offset. This filter can be used for row-based indexing, where references to other tables are stored across many columns, @@ -300,7 +300,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase ColumnPaginationFilter -publicColumnPaginationFilter(intlimit, +publicColumnPaginationFilter(intlimit, intoffset) Initializes filter with an integer offset and limit. The offset is arrived at scanning sequentially and skipping entries. @limit number of columns are @@ -319,7 +319,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase ColumnPaginationFilter -publicColumnPaginationFilter(intlimit, +publicColumnPaginationFilter(intlimit, byte[]columnOffset) Initializes filter with a string/bookmark based offset and limit. The offset is arrived at, by seeking to it using scanner hints. If multiple column families are involved, @@ -347,7 +347,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase getLimit -publicintgetLimit() +publicintgetLimit() Returns: limit @@ -360,7 +360,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase getOffset -publicintgetOffset() +publicintgetOffset() Returns: offset @@ -373,7 +373,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase getColumnOffset -publicbyte[]getColumnOffset() +publicbyte[]getColumnOffset() Returns: columnOffset @@ -386,7 +386,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase filterRowKey -publicbooleanfilterRowKey(Cellcell) +publicbooleanfilterRowKey(Cellcell) 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 class:Filter Filters a row based on the row key. If this returns true, the entire row will be excluded. If @@ -414,7 +414,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase filterKeyValue -publicFilter.ReturnCodefilterKeyValue(Cellv) +publicFilter.ReturnCodefilterKeyValue(Cellv) Description copied from class:Filter A way to filter based on the column family, column qualifier and/or the column value. Return code is described below. This allows filters to filter only certain number of columns, then @@ -448,7 +448,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase getNextCellHint -publicCellgetNextCellHint(Cellcell) +publicCellgetNextCellHint(Cellcell) Description copied from class:org.apache.hadoop.hbase.filter.FilterBase Filters that are not sure which key must be next seeked to, can inherit this implementation that, by default, returns a null Cell. @@ -474,7 +474,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase reset -publicvoidreset() +publicvoidreset() Description copied from class:org.apache.hadoop.hbase.filter.FilterBase Filters that are purely stateless and do nothing in their reset() methods can inherit this null/empty implementation. @@ -495,7 +495,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase createFilterFromArguments -public staticFiltercreateFilterFromArguments(http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) +public staticFiltercreateFilterFromArguments(http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) @@ -504,7 +504,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase toByteArray -publicbyte[]toByteArray() +publicbyte[]toByteArray() Description copied from class:org.apache.hadoop.hbase.filter.FilterBase Return length 0 byte array for Filters that don't require special serialization @@ -521,7 +521,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase parseFrom -public staticColumnPaginationFilterparseFrom(byte[]pbBytes) +public staticColumnPaginationFilterparseFrom(byte[]pbBytes) throws org.apache.hadoop.hbase.exceptions.DeserializationException Parameters: @@ -541,7 +541,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase toString
[29/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html index 91bad53..844160b 100644 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html +++ b/devapidocs/org/apache/hadoop/hbase/CellUtil.TagRewriteCell.html @@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -private static class CellUtil.TagRewriteCell +private static class CellUtil.TagRewriteCell 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 ExtendedCell This can be used when a Cell has to change with addition/removal of one or more tags. This is an @@ -367,7 +367,7 @@ implements cell -protectedCell cell +protectedCell cell @@ -376,7 +376,7 @@ implements tags -protectedbyte[] tags +protectedbyte[] tags @@ -385,7 +385,7 @@ implements HEAP_SIZE_OVERHEAD -private static finallong HEAP_SIZE_OVERHEAD +private static finallong HEAP_SIZE_OVERHEAD @@ -402,7 +402,7 @@ implements TagRewriteCell -publicTagRewriteCell(Cellcell, +publicTagRewriteCell(Cellcell, byte[]tags) Parameters: @@ -425,7 +425,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. @@ -443,7 +443,7 @@ implements getRowOffset -publicintgetRowOffset() +publicintgetRowOffset() Specified by: getRowOffsetin interfaceCell @@ -458,7 +458,7 @@ implements getRowLength -publicshortgetRowLength() +publicshortgetRowLength() Specified by: getRowLengthin interfaceCell @@ -473,7 +473,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. @@ -491,7 +491,7 @@ implements getFamilyOffset -publicintgetFamilyOffset() +publicintgetFamilyOffset() Specified by: getFamilyOffsetin interfaceCell @@ -506,7 +506,7 @@ implements getFamilyLength -publicbytegetFamilyLength() +publicbytegetFamilyLength() Specified by: getFamilyLengthin interfaceCell @@ -521,7 +521,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. @@ -538,7 +538,7 @@ implements getQualifierOffset -publicintgetQualifierOffset() +publicintgetQualifierOffset() Specified by: getQualifierOffsetin interfaceCell @@ -553,7 +553,7 @@ implements getQualifierLength -publicintgetQualifierLength() +publicintgetQualifierLength() Specified by: getQualifierLengthin interfaceCell @@ -568,7 +568,7 @@ implements getTimestamp -publiclonggetTimestamp() +publiclonggetTimestamp() Specified by: getTimestampin interfaceCell @@ -584,7 +584,7 @@ implements getTypeByte -publicbytegetTypeByte() +publicbytegetTypeByte() Specified by: getTypeBytein interfaceCell @@ -599,7 +599,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 @@ -619,7 +619,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. @@ -637,7 +637,7 @@ implements getValueOffset -publicintgetValueOffset() +publicintgetValueOffset() Specified by: getValueOffsetin interfaceCell @@ -652,7 +652,7 @@ implements getValueLength -publicintgetValueLength() +publicintgetValueLength() Specified by: getValueLengthin interfaceCell @@ -667,7 +667,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. @@ -684,7 +684,7 @@ implements getTagsOffset -publicintgetTagsOffset() +publicintgetTagsOffset() Specified by: getTagsOffsetin interfaceCell @@ -699,7 +699,7 @@ implements getTagsLength -publicintgetTagsLength() +publicintgetTagsLength() Description copied from interface:Cell HBase internally uses
[39/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/apidocs/src-html/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.html index 7f1c06e..3dcfdd7 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.html @@ -31,432 +31,431 @@ 023import java.util.ArrayList; 024 025import org.apache.hadoop.hbase.Cell; -026import org.apache.hadoop.hbase.CellComparator; -027import org.apache.hadoop.hbase.CellUtil; -028import org.apache.hadoop.hbase.CompareOperator; -029import org.apache.yetus.audience.InterfaceAudience; -030import org.apache.hadoop.hbase.exceptions.DeserializationException; -031import org.apache.hadoop.hbase.filter.CompareFilter.CompareOp; -032import org.apache.hadoop.hbase.shaded.com.google.protobuf.InvalidProtocolBufferException; -033import org.apache.hadoop.hbase.shaded.com.google.protobuf.UnsafeByteOperations; -034import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil; -035import org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos; -036import org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos; -037import org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.CompareType; -038import org.apache.hadoop.hbase.util.Bytes; -039 -040import org.apache.hadoop.hbase.shaded.com.google.common.base.Preconditions; -041 -042/** -043 * This filter is used to filter cells based on value. It takes a {@link CompareFilter.CompareOp} -044 * operator (equal, greater, not equal, etc), and either a byte [] value or -045 * a ByteArrayComparable. -046 * p -047 * If we have a byte [] value then we just do a lexicographic compare. For -048 * example, if passed value is 'b' and cell has 'a' and the compare operator -049 * is LESS, then we will filter out this cell (return true). If this is not -050 * sufficient (eg you want to deserialize a long and then compare it to a fixed -051 * long value), then you can pass in your own comparator instead. -052 * p -053 * You must also specify a family and qualifier. Only the value of this column -054 * will be tested. When using this filter on a -055 * {@link org.apache.hadoop.hbase.CellScanner} with specified -056 * inputs, the column to be tested should also be added as input (otherwise -057 * the filter will regard the column as missing). -058 * p -059 * To prevent the entire row from being emitted if the column is not found -060 * on a row, use {@link #setFilterIfMissing}. -061 * Otherwise, if the column is found, the entire row will be emitted only if -062 * the value passes. If the value fails, the row will be filtered out. -063 * p -064 * In order to test values of previous versions (timestamps), set -065 * {@link #setLatestVersionOnly} to false. The default is true, meaning that -066 * only the latest version's value is tested and all previous versions are ignored. -067 * p -068 * To filter based on the value of all scanned columns, use {@link ValueFilter}. -069 */ -070@InterfaceAudience.Public -071public class SingleColumnValueFilter extends FilterBase { -072 -073 protected byte [] columnFamily; -074 protected byte [] columnQualifier; -075 protected CompareOperator op; -076 protected org.apache.hadoop.hbase.filter.ByteArrayComparable comparator; -077 protected boolean foundColumn = false; -078 protected boolean matchedColumn = false; -079 protected boolean filterIfMissing = false; -080 protected boolean latestVersionOnly = true; -081 -082 /** -083 * Constructor for binary compare of the value of a single column. If the -084 * column is found and the condition passes, all columns of the row will be -085 * emitted. If the condition fails, the row will not be emitted. -086 * p -087 * Use the filterIfColumnMissing flag to set whether the rest of the columns -088 * in a row will be emitted if the specified column to check is not found in -089 * the row. -090 * -091 * @param family name of column family -092 * @param qualifier name of column qualifier -093 * @param compareOp operator -094 * @param value value to compare column values against -095 * @deprecated Since 2.0.0. Will be removed in 3.0.0. Use -096 * {@link #SingleColumnValueFilter(byte[], byte[], CompareOperator, byte[])} instead. -097 */ -098 @Deprecated -099 public SingleColumnValueFilter(final byte [] family, final byte [] qualifier, -100 final CompareOp compareOp, final byte[] value) { -101this(family, qualifier, CompareOperator.valueOf(compareOp.name()), -102 new org.apache.hadoop.hbase.filter.BinaryComparator(value)); -103 } -104 -105 /** -106 * Constructor for binary compare of the value of a single
[50/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/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 730b130..7c9ad66 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":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":9,"i57":41,"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":9,"i86":9,"i87":41,"i88":9,"i89":9,"i90":9,"i91":9,"i92":9,"i93":9,"i94":9,"i95":9,"i96":9,"i97":9,"i98":9,"i99":41,"i100":9,"i101":9,"i102":9,"i103":9,"i104":9,"i105":9,"i106":9,"i107":9,"i108":9,"i109":9,"i110":9,"i111":9,"i112":9,"i113":9,"i114":9,"i115":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":9,"i21":41,"i22":41,"i23":41,"i24":41,"i25":41,"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":41,"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":9,"i86":9,"i87":9,"i88":9,"i89":9,"i90":9,"i91":9,"i92":41,"i93":9,"i94":9,"i95":9,"i96":9,"i97":9,"i98":9,"i99":9,"i100":9,"i101":9,"i102":9,"i103":9,"i104":41,"i105":9,"i106":9,"i107":9,"i108":9,"i109":9,"i110":9,"i111":9,"i112":9,"i113":9,"i114":9,"i115":9,"i116":9,"i117":9,"i118":9,"i119":9,"i12 0":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"; @@ -110,7 +110,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public final class CellUtil +public final class CellUtil extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object Utility methods helpful slinging Cell instances. Some methods below are for internal use only and are marked InterfaceAudience.Private at the @@ -157,35 +157,85 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? static int +compare(org.apache.hadoop.hbase.CellComparatorcomparator, + Cellleft, + byte[]key, + intoffset, + intlength) +Used when a cell needs to be compared with a key byte[] such as cases of + finding the index from the index block, bloom keys from the bloom blocks + This byte[] is expected to be serialized in the KeyValue serialization format + If the KeyValue (Cell's) serialization format changes this method cannot be used. + + + +static int +compareColumns(Cellleft, + byte[]right, + intrfoffset, + intrflength, + intrqoffset, + intrqlength) +Compares the cell's column (family and qualifier) with the given byte[] + + + +static int +compareFamilies(Cellleft, + byte[]right, + introffset, + intrlength) +Compares the cell's family with the given byte[] + + + +static int +compareKeyIgnoresMvcc(org.apache.hadoop.hbase.CellComparatorcomparator, + Cellleft, + Cellright) +Compares only the key portion of a cell. + + + +static int +compareQualifiers(Cellleft, + byte[]right, + intrOffset, + intrLength) +Compares the cell's qualifier with the given byte[] + + + +static int copyFamilyTo(Cellcell, byte[]destination, intdestinationOffset) - + static int copyFamilyTo(Cellcell, http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferdestination, intdestinationOffset) - + static int copyQualifierTo(Cellcell, byte[]destination, intdestinationOffset) - + static int copyQualifierTo(Cellcell,
[27/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/ClusterStatus.Builder.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/ClusterStatus.Builder.html b/devapidocs/org/apache/hadoop/hbase/ClusterStatus.Builder.html index 41c77e4..0b9097a 100644 --- a/devapidocs/org/apache/hadoop/hbase/ClusterStatus.Builder.html +++ b/devapidocs/org/apache/hadoop/hbase/ClusterStatus.Builder.html @@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -public static class ClusterStatus.Builder +public static class ClusterStatus.Builder extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object Builder for construct a ClusterStatus. @@ -273,7 +273,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? hbaseVersion -privatehttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String hbaseVersion +privatehttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String hbaseVersion @@ -282,7 +282,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? liveServers -privatehttp://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">MapServerName,ServerLoad liveServers +privatehttp://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">MapServerName,ServerLoad liveServers @@ -291,7 +291,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? deadServers -privatehttp://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true; title="class or interface in java.util">CollectionServerName deadServers +privatehttp://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true; title="class or interface in java.util">CollectionServerName deadServers @@ -300,7 +300,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? master -privateServerName master +privateServerName master @@ -309,7 +309,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? backupMasters -privatehttp://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true; title="class or interface in java.util">CollectionServerName backupMasters +privatehttp://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true; title="class or interface in java.util">CollectionServerName backupMasters @@ -318,7 +318,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? intransition -privatehttp://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionState intransition +privatehttp://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionState intransition @@ -327,7 +327,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? clusterId -privatehttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String clusterId +privatehttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String clusterId @@ -336,7 +336,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? masterCoprocessors -privatehttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String[] masterCoprocessors +privatehttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String[] masterCoprocessors @@ -345,7 +345,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? balancerOn -privatehttp://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">Boolean balancerOn +privatehttp://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">Boolean balancerOn @@ -362,7 +362,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? Builder -privateBuilder() +privateBuilder() @@ -379,7 +379,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? setHBaseVersion -publicClusterStatus.BuildersetHBaseVersion(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringhbaseVersion)
[25/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/KeyValue.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/KeyValue.html b/devapidocs/org/apache/hadoop/hbase/KeyValue.html index 386ed7c..66b134e 100644 --- a/devapidocs/org/apache/hadoop/hbase/KeyValue.html +++ b/devapidocs/org/apache/hadoop/hbase/KeyValue.html @@ -118,7 +118,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -public class KeyValue +public class KeyValue 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 ExtendedCell An HBase Key/Value. This is the fundamental HBase Type. @@ -181,7 +181,7 @@ implements static class KeyValue.KVComparator Deprecated. -: Use CellComparator. Deprecated for hbase 2.0, remove for hbase 3.0. +: Use CellComparatorImpl. Deprecated for hbase 2.0, remove for hbase 3.0. @@ -189,7 +189,7 @@ implements static class KeyValue.MetaComparator Deprecated. -: CellComparator.META_COMPARATOR to be used. Deprecated for hbase 2.0, remove for hbase 3.0. +: CellComparatorImpl.META_COMPARATOR to be used. Deprecated for hbase 2.0, remove for hbase 3.0. @@ -238,7 +238,7 @@ implements static KeyValue.KVComparator COMPARATOR Deprecated. -Use CellComparator.COMPARATOR instead. Deprecated for hbase 2.0, remove for hbase 3.0. +Use CellComparatorImpl.COMPARATOR instead. Deprecated for hbase 2.0, remove for hbase 3.0. @@ -292,7 +292,7 @@ implements static KeyValue.KVComparator META_COMPARATOR Deprecated. -Use CellComparator.META_COMPARATOR instead. Deprecated for hbase 2.0, remove for hbase 3.0. +Use CellComparatorImpl.META_COMPARATOR instead. Deprecated for hbase 2.0, remove for hbase 3.0. @@ -1141,7 +1141,7 @@ implements EMPTY_ARRAY_LIST -private static finalhttp://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListTag EMPTY_ARRAY_LIST +private static finalhttp://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListTag EMPTY_ARRAY_LIST @@ -1150,7 +1150,7 @@ implements LOG -private static finalorg.apache.commons.logging.Log LOG +private static finalorg.apache.commons.logging.Log LOG @@ -1159,7 +1159,7 @@ implements FIXED_OVERHEAD -public static finallong FIXED_OVERHEAD +public static finallong FIXED_OVERHEAD @@ -1168,7 +1168,7 @@ implements COLUMN_FAMILY_DELIMITER -public static finalchar COLUMN_FAMILY_DELIMITER +public static finalchar COLUMN_FAMILY_DELIMITER Colon character in UTF-8 See Also: @@ -1182,7 +1182,7 @@ implements COLUMN_FAMILY_DELIM_ARRAY -public static finalbyte[] COLUMN_FAMILY_DELIM_ARRAY +public static finalbyte[] COLUMN_FAMILY_DELIM_ARRAY @@ -1192,8 +1192,8 @@ implements COMPARATOR http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -public static finalKeyValue.KVComparator COMPARATOR -Deprecated.Use CellComparator.COMPARATOR instead. Deprecated for hbase 2.0, remove for hbase 3.0. +public static finalKeyValue.KVComparator COMPARATOR +Deprecated.Use CellComparatorImpl.COMPARATOR instead. Deprecated for hbase 2.0, remove for hbase 3.0. Comparator for plain key/values; i.e. non-catalog table key/values. Works on Key portion of KeyValue only. @@ -1205,8 +1205,8 @@ public static final META_COMPARATOR http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -public static finalKeyValue.KVComparator META_COMPARATOR -Deprecated.Use CellComparator.META_COMPARATOR instead. Deprecated for hbase 2.0, remove for hbase 3.0. +public static finalKeyValue.KVComparator META_COMPARATOR +Deprecated.Use CellComparatorImpl.META_COMPARATOR instead. Deprecated for hbase 2.0, remove for hbase 3.0. A KeyValue.KVComparator for hbase:meta catalog table KeyValues. @@ -1217,7 +1217,7 @@ public static final KEY_LENGTH_SIZE -public static finalint KEY_LENGTH_SIZE +public static finalint KEY_LENGTH_SIZE Size of the key length field in bytes See Also: @@ -1231,7 +1231,7 @@ public static final TYPE_SIZE -public static finalint TYPE_SIZE +public static finalint TYPE_SIZE Size of the key type field in bytes See Also: @@ -1245,7 +1245,7 @@ public static final ROW_LENGTH_SIZE -public static finalint ROW_LENGTH_SIZE +public static finalint ROW_LENGTH_SIZE Size of the row length field in bytes See Also: @@ -1259,7 +1259,7 @@ public static final FAMILY_LENGTH_SIZE -public static finalint FAMILY_LENGTH_SIZE +public static finalint FAMILY_LENGTH_SIZE Size of the family length field in bytes See Also: @@ -1273,7 +1273,7 @@ public static final TIMESTAMP_SIZE -public static
[08/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.html b/devapidocs/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.html index 72db4dd..6cbda7f 100644 --- a/devapidocs/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.html +++ b/devapidocs/org/apache/hadoop/hbase/filter/SingleColumnValueFilter.html @@ -124,7 +124,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public class SingleColumnValueFilter +public class SingleColumnValueFilter extends FilterBase This filter is used to filter cells based on value. It takes a CompareFilter.CompareOp operator (equal, greater, not equal, etc), and either a byte [] value or @@ -486,7 +486,7 @@ extends columnFamily -protectedbyte[] columnFamily +protectedbyte[] columnFamily @@ -495,7 +495,7 @@ extends columnQualifier -protectedbyte[] columnQualifier +protectedbyte[] columnQualifier @@ -504,7 +504,7 @@ extends op -protectedCompareOperator op +protectedCompareOperator op @@ -513,7 +513,7 @@ extends comparator -protectedByteArrayComparable comparator +protectedByteArrayComparable comparator @@ -522,7 +522,7 @@ extends foundColumn -protectedboolean foundColumn +protectedboolean foundColumn @@ -531,7 +531,7 @@ extends matchedColumn -protectedboolean matchedColumn +protectedboolean matchedColumn @@ -540,7 +540,7 @@ extends filterIfMissing -protectedboolean filterIfMissing +protectedboolean filterIfMissing @@ -549,7 +549,7 @@ extends latestVersionOnly -protectedboolean latestVersionOnly +protectedboolean latestVersionOnly @@ -567,7 +567,7 @@ extends SingleColumnValueFilter http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -publicSingleColumnValueFilter(byte[]family, +publicSingleColumnValueFilter(byte[]family, byte[]qualifier, CompareFilter.CompareOpcompareOp, byte[]value) @@ -595,7 +595,7 @@ public SingleColumnValueFilter -publicSingleColumnValueFilter(byte[]family, +publicSingleColumnValueFilter(byte[]family, byte[]qualifier, CompareOperatorop, byte[]value) @@ -622,7 +622,7 @@ public SingleColumnValueFilter http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -publicSingleColumnValueFilter(byte[]family, +publicSingleColumnValueFilter(byte[]family, byte[]qualifier, CompareFilter.CompareOpcompareOp, ByteArrayComparablecomparator) @@ -650,7 +650,7 @@ public SingleColumnValueFilter -publicSingleColumnValueFilter(byte[]family, +publicSingleColumnValueFilter(byte[]family, byte[]qualifier, CompareOperatorop, ByteArrayComparablecomparator) @@ -677,7 +677,7 @@ public SingleColumnValueFilter http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -protectedSingleColumnValueFilter(byte[]family, +protectedSingleColumnValueFilter(byte[]family, byte[]qualifier, CompareFilter.CompareOpcompareOp, ByteArrayComparablecomparator, @@ -704,7 +704,7 @@ protected SingleColumnValueFilter -protectedSingleColumnValueFilter(byte[]family, +protectedSingleColumnValueFilter(byte[]family, byte[]qualifier, CompareOperatorop, ByteArrayComparablecomparator, @@ -737,7 +737,7 @@ protected getOperator http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -publicCompareFilter.CompareOpgetOperator() +publicCompareFilter.CompareOpgetOperator() Deprecated.since 2.0.0. Will be removed in 3.0.0. Use getCompareOperator() instead. Returns: @@ -751,7 +751,7 @@ public getCompareOperator -publicCompareOperatorgetCompareOperator() +publicCompareOperatorgetCompareOperator() @@ -760,7 +760,7 @@ public getComparator -publicByteArrayComparablegetComparator() +publicByteArrayComparablegetComparator() Returns: the comparator @@ -773,7 +773,7 @@ public getFamily -publicbyte[]getFamily() +publicbyte[]getFamily()
[28/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/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 e732ebf..4c06688 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":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":9,"i66":41,"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":9,"i99":9,"i100":41,"i101":9,"i102":9,"i103":9,"i104":9,"i105":9,"i106":9,"i107":9,"i108":9,"i109":9,"i110":9,"i111":9,"i112":9,"i113":41,"i114":9,"i115":9,"i116":9,"i117":9,"i118":9,"i119":9," i120":9,"i121":9,"i122":9,"i123":9,"i124":9,"i125":9,"i126":9,"i127":9,"i128":9,"i129":9,"i130":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":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":41,"i32":41,"i33":41,"i34":41,"i35":41,"i36":41,"i37":41,"i38":41,"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":9,"i66":9,"i67":9,"i68":9,"i69":9,"i70":9,"i71":9,"i72":9,"i73":9,"i74":9,"i75":9,"i76":9,"i77":41,"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":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,"i111":41,"i112":9,"i113":9,"i114":9,"i115":9,"i116":9,"i117":9,"i118":9,"i119":9,"i 120":9,"i121":9,"i122":9,"i123":9,"i124":41,"i125":9,"i126":9,"i127":9,"i128":9,"i129":9,"i130":9,"i131":9,"i132":9,"i133":9,"i134":9,"i135":9,"i136":9,"i137":9,"i138":9,"i139":9,"i140":9,"i141":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"; @@ -110,7 +110,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public final class CellUtil +public final class CellUtil extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object Utility methods helpful slinging Cell instances. Some methods below are for internal use only and are marked InterfaceAudience.Private at the @@ -262,24 +262,129 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? cloneValue(Cellcell) +static int +compare(CellComparatorcomparator, + Cellleft, + byte[]key, + intoffset, + intlength) +Used when a cell needs to be compared with a key byte[] such as cases of + finding the index from the index block, bloom keys from the bloom blocks + This byte[] is expected to be serialized in the KeyValue serialization format + If the KeyValue (Cell's) serialization format changes this method cannot be used. + + + +static int +compareColumns(Cellleft, + byte[]right, + intrfoffset, + intrflength, + intrqoffset, + intrqlength) +Compares the cell's column (family and qualifier) with the given byte[] + + + +static int +compareFamilies(Cellleft, + byte[]right, + introffset, + intrlength) +Compares the cell's family with the given byte[] + + + +static int +compareFamily(Cellcell, + ByteArrayComparablecomparator) +Compare cell's column family against given comparator + + + +static int +compareKeyBasedOnColHint(CellComparatorcomparator, +CellnextIndexedCell, +CellcurrentCell, +intfoff, +intflen, +byte[]colHint, +intcoff, +intclen, +longts, +bytetype) +Used to compare two cells based on the column
[11/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionObserver.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionObserver.html b/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionObserver.html index f452b2c..c52b3c5 100644 --- a/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionObserver.html +++ b/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionObserver.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":18,"i1":18,"i2":18,"i3":18,"i4":18,"i5":18,"i6":18,"i7":18,"i8":18,"i9":18,"i10":18,"i11":18,"i12":18,"i13":18,"i14":18,"i15":18,"i16":18,"i17":18,"i18":18,"i19":18,"i20":18,"i21":18,"i22":18,"i23":18,"i24":18,"i25":18,"i26":18,"i27":18,"i28":50,"i29":18,"i30":18,"i31":18,"i32":18,"i33":18,"i34":18,"i35":18,"i36":18,"i37":18,"i38":18,"i39":18,"i40":18,"i41":18,"i42":18,"i43":18,"i44":18,"i45":18,"i46":18,"i47":18,"i48":18,"i49":18,"i50":18,"i51":18,"i52":18,"i53":18,"i54":18,"i55":18,"i56":18,"i57":18,"i58":50,"i59":18,"i60":18}; +var methods = {"i0":18,"i1":18,"i2":18,"i3":18,"i4":18,"i5":18,"i6":18,"i7":18,"i8":18,"i9":18,"i10":18,"i11":18,"i12":18,"i13":18,"i14":18,"i15":18,"i16":18,"i17":18,"i18":18,"i19":18,"i20":18,"i21":18,"i22":18,"i23":18,"i24":18,"i25":18,"i26":18,"i27":18,"i28":50,"i29":18,"i30":18,"i31":18,"i32":18,"i33":18,"i34":18,"i35":18,"i36":18,"i37":18,"i38":18,"i39":18,"i40":18,"i41":18,"i42":18,"i43":18,"i44":18,"i45":18,"i46":18,"i47":18,"i48":18,"i49":18,"i50":18,"i51":18,"i52":18,"i53":18,"i54":18,"i55":18,"i56":50,"i57":18}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],16:["t5","Default Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -548,21 +548,6 @@ public interface -default InternalScanner -preCompactScannerOpen(ObserverContextRegionCoprocessorEnvironmentc, - Storestore, - http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">List? extends KeyValueScannerscanners, - ScanTypescanType, - longearliestPutTs, - InternalScanners, - CompactionLifeCycleTrackertracker, - CompactionRequestrequest, - longreadPoint) -Called prior to writing the StoreFiles selected for compaction into a new - StoreFile and prior to creating the scanner used to read the input files. - - - default void preCompactSelection(ObserverContextRegionCoprocessorEnvironmentc, Storestore, @@ -572,7 +557,7 @@ public interface + default void preDelete(ObserverContextRegionCoprocessorEnvironmentc, Deletedelete, @@ -581,7 +566,7 @@ public interface Called before the client deletes a value. - + default boolean preExists(ObserverContextRegionCoprocessorEnvironmentc, Getget, @@ -589,13 +574,13 @@ public interface Called before the client tests for existence using a Get. - + default void preFlush(ObserverContextRegionCoprocessorEnvironmentc) Called before the memstore is flushed to disk. - + default InternalScanner preFlush(ObserverContextRegionCoprocessorEnvironmentc, Storestore, @@ -603,18 +588,7 @@ public interface Called before a Store's memstore is flushed to disk. - -default InternalScanner -preFlushScannerOpen(ObserverContextRegionCoprocessorEnvironmentc, - Storestore, - http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListKeyValueScannerscanners, - InternalScanners, - longreadPoint) -Called before a memstore is flushed to disk and prior to creating the scanner to read from - the memstore. - - - + default void preGetOp(ObserverContextRegionCoprocessorEnvironmentc, Getget, @@ -622,27 +596,27 @@ public interface Called before the client performs a Get - + default Result preIncrement(ObserverContextRegionCoprocessorEnvironmentc, Incrementincrement) Called before Increment. - + default Result preIncrementAfterRowLock(ObserverContextRegionCoprocessorEnvironmentc, Incrementincrement) Called before Increment but after acquiring rowlock. - + default void preOpen(ObserverContextRegionCoprocessorEnvironmentc) Called before the region is reported as open to the master. - + default void prePrepareTimeStampForDeleteVersion(ObserverContextRegionCoprocessorEnvironmentc, Mutationmutation, @@ -652,7 +626,7 @@ public interface Called before the server updates the timestamp for version delete with latest timestamp. - + default void prePut(ObserverContextRegionCoprocessorEnvironmentc, Putput, @@ -661,7
[21/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/backup/package-tree.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/backup/package-tree.html b/devapidocs/org/apache/hadoop/hbase/backup/package-tree.html index 41566c7..ad92978 100644 --- a/devapidocs/org/apache/hadoop/hbase/backup/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/backup/package-tree.html @@ -167,10 +167,10 @@ 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.backup.BackupInfo.BackupPhase -org.apache.hadoop.hbase.backup.BackupInfo.BackupState org.apache.hadoop.hbase.backup.BackupRestoreConstants.BackupCommand org.apache.hadoop.hbase.backup.BackupType +org.apache.hadoop.hbase.backup.BackupInfo.BackupState +org.apache.hadoop.hbase.backup.BackupInfo.BackupPhase
[35/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/index-all.html -- diff --git a/devapidocs/index-all.html b/devapidocs/index-all.html index 0590d30..37cc963 100644 --- a/devapidocs/index-all.html +++ b/devapidocs/index-all.html @@ -8672,6 +8672,10 @@ callOpenScanner(HBaseRpcController, HRegionLocation, ClientProtos.ClientService.Interface) - Method in class org.apache.hadoop.hbase.client.AsyncClientScanner +callPreMutateCPHooks(HRegion.BatchOperation?) - Method in class org.apache.hadoop.hbase.regionserver.HRegion + +Runs prePut/ preDelete coprocessor hooks for each mutation in a batch. + CallPriorityComparator(Configuration, PriorityFunction) - Constructor for class org.apache.hadoop.hbase.ipc.RpcExecutor.CallPriorityComparator CallQueue - Class in org.apache.hadoop.hbase.thrift @@ -9332,19 +9336,24 @@ CellCodecWithTags.CellEncoder - Class in org.apache.hadoop.hbase.codec -CellComparator - Class in org.apache.hadoop.hbase +CellComparator - Interface in org.apache.hadoop.hbase -Compare two HBase cells. +Comparator for comparing cells and has some specialized methods that allows comparing individual + cell components like row, family, qualifier and timestamp -CellComparator() - Constructor for class org.apache.hadoop.hbase.CellComparator - cellComparator - Variable in class org.apache.hadoop.hbase.regionserver.DefaultStoreFileManager cellComparator - Variable in class org.apache.hadoop.hbase.regionserver.StripeStoreFileManager -CellComparator.MetaCellComparator - Class in org.apache.hadoop.hbase +CellComparatorImpl - Class in org.apache.hadoop.hbase + +Compare two HBase cells. + +CellComparatorImpl() - Constructor for class org.apache.hadoop.hbase.CellComparatorImpl + +CellComparatorImpl.MetaCellComparator - Class in org.apache.hadoop.hbase -A CellComparator for hbase:meta catalog table +A CellComparatorImpl for hbase:meta catalog table KeyValues. cellCount - Variable in class org.apache.hadoop.hbase.coprocessor.Export.Response @@ -10108,7 +10117,11 @@ checkAndMutateChecksPassed - Variable in class org.apache.hadoop.hbase.regionserver.MetricsRegionServerWrapperImpl -checkAndPrepareMutation(Mutation, boolean, Mapbyte[], ListCell, long) - Method in class org.apache.hadoop.hbase.regionserver.HRegion +checkAndPrepare(HRegion) - Method in class org.apache.hadoop.hbase.regionserver.HRegion.BatchOperation + +Validates each mutation and prepares a batch for write. + +checkAndPrepareMutation(Mutation, boolean, long) - Method in class org.apache.hadoop.hbase.regionserver.HRegion checkAndPut(byte[], byte[], byte[], byte[], Put) - Method in class org.apache.hadoop.hbase.client.HTable @@ -10228,8 +10241,6 @@ checkBatchLimit(ScannerContext.LimitScope) - Method in class org.apache.hadoop.hbase.regionserver.ScannerContext -checkBatchOp(HRegion.BatchOperation?, int, Mapbyte[], ListCell[], long, HRegion.ObservedExceptionsInBatch) - Method in class org.apache.hadoop.hbase.regionserver.HRegion - checkBatchSizeAndLogLargeSize(ClientProtos.MultiRequest) - Method in class org.apache.hadoop.hbase.regionserver.RSRpcServices checkBeforeBuild() - Method in class org.apache.hadoop.hbase.ExtendedCellBuilderImpl @@ -14310,7 +14321,7 @@ CompactType(int) - Constructor for enum org.apache.hadoop.hbase.client.CompactType -COMPARATOR - Static variable in class org.apache.hadoop.hbase.CellComparator +COMPARATOR - Static variable in class org.apache.hadoop.hbase.CellComparatorImpl Comparator for plain key/values; i.e. @@ -14361,7 +14372,7 @@ COMPARATOR - Static variable in class org.apache.hadoop.hbase.KeyValue Deprecated. -Use CellComparator.COMPARATOR instead. Deprecated for hbase 2.0, remove for hbase 3.0. +Use CellComparatorImpl.COMPARATOR instead. Deprecated for hbase 2.0, remove for hbase 3.0. COMPARATOR - Static variable in class org.apache.hadoop.hbase.master.cleaner.HFileCleaner @@ -14384,6 +14395,10 @@ comparator - Variable in class org.apache.hadoop.hbase.regionserver.KeyValueHeap +comparator - Variable in class org.apache.hadoop.hbase.regionserver.querymatcher.NewVersionBehaviorTracker + +comparator - Variable in class org.apache.hadoop.hbase.regionserver.querymatcher.ScanDeleteTracker + comparator - Variable in class org.apache.hadoop.hbase.regionserver.ScanInfo comparator - Variable in class org.apache.hadoop.hbase.regionserver.Segment @@ -14420,19 +14435,23 @@ ComparatorType() - Constructor for enum org.apache.hadoop.hbase.rest.model.ScannerModel.FilterModel.ByteArrayComparableModel.ComparatorType -compare(Cell, Cell) - Method in class org.apache.hadoop.hbase.CellComparator +compare(Cell, Cell) - Method in interface org.apache.hadoop.hbase.CellComparator + +Lexographically compares two cells. + +compare(Cell, Cell) - Method in class org.apache.hadoop.hbase.CellComparatorImpl -compare(Cell, byte[], int,
[44/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/apidocs/src-html/org/apache/hadoop/hbase/ServerLoad.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/ServerLoad.html b/apidocs/src-html/org/apache/hadoop/hbase/ServerLoad.html index 3b0b442..093e878 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/ServerLoad.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/ServerLoad.html @@ -34,345 +34,373 @@ 026import java.util.TreeMap; 027import java.util.TreeSet; 028 -029import org.apache.yetus.audience.InterfaceAudience; -030import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil; -031import org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos; -032import org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.Coprocessor; -033import org.apache.hadoop.hbase.replication.ReplicationLoadSink; -034import org.apache.hadoop.hbase.replication.ReplicationLoadSource; -035import org.apache.hadoop.hbase.util.Bytes; -036import org.apache.hadoop.hbase.util.Strings; -037 -038/** -039 * This class is used for exporting current state of load on a RegionServer. -040 */ -041@InterfaceAudience.Public -042public class ServerLoad { -043 private int stores = 0; -044 private int storefiles = 0; -045 private int storeUncompressedSizeMB = 0; -046 private int storefileSizeMB = 0; -047 private int memstoreSizeMB = 0; -048 private long storefileIndexSizeKB = 0; -049 private long readRequestsCount = 0; -050 private long filteredReadRequestsCount = 0; -051 private long writeRequestsCount = 0; -052 private int rootIndexSizeKB = 0; -053 private int totalStaticIndexSizeKB = 0; -054 private int totalStaticBloomSizeKB = 0; -055 private long totalCompactingKVs = 0; -056 private long currentCompactedKVs = 0; -057 private long reportTime = 0; -058 -059 @InterfaceAudience.Private -060 public ServerLoad(ClusterStatusProtos.ServerLoad serverLoad) { -061this.serverLoad = serverLoad; -062this.reportTime = System.currentTimeMillis(); -063for (ClusterStatusProtos.RegionLoad rl: serverLoad.getRegionLoadsList()) { -064 stores += rl.getStores(); -065 storefiles += rl.getStorefiles(); -066 storeUncompressedSizeMB += rl.getStoreUncompressedSizeMB(); -067 storefileSizeMB += rl.getStorefileSizeMB(); -068 memstoreSizeMB += rl.getMemStoreSizeMB(); -069 storefileIndexSizeKB += rl.getStorefileIndexSizeKB(); -070 readRequestsCount += rl.getReadRequestsCount(); -071 filteredReadRequestsCount += rl.getFilteredReadRequestsCount(); -072 writeRequestsCount += rl.getWriteRequestsCount(); -073 rootIndexSizeKB += rl.getRootIndexSizeKB(); -074 totalStaticIndexSizeKB += rl.getTotalStaticIndexSizeKB(); -075 totalStaticBloomSizeKB += rl.getTotalStaticBloomSizeKB(); -076 totalCompactingKVs += rl.getTotalCompactingKVs(); -077 currentCompactedKVs += rl.getCurrentCompactedKVs(); -078} -079 } -080 -081 // NOTE: Function name cannot start with "get" because then an OpenDataException is thrown because -082 // HBaseProtos.ServerLoad cannot be converted to an open data type(see HBASE-5967). -083 /* @return the underlying ServerLoad protobuf object */ -084 @InterfaceAudience.Private -085 public ClusterStatusProtos.ServerLoad obtainServerLoadPB() { -086return serverLoad; -087 } -088 -089 protected ClusterStatusProtos.ServerLoad serverLoad; -090 -091 /* @return number of requests since last report. */ -092 public long getNumberOfRequests() { -093return serverLoad.getNumberOfRequests(); -094 } -095 public boolean hasNumberOfRequests() { -096return serverLoad.hasNumberOfRequests(); -097 } -098 -099 /* @return total Number of requests from the start of the region server. */ -100 public long getTotalNumberOfRequests() { -101return serverLoad.getTotalNumberOfRequests(); -102 } -103 public boolean hasTotalNumberOfRequests() { -104return serverLoad.hasTotalNumberOfRequests(); -105 } -106 -107 /* @return the amount of used heap, in MB. */ -108 public int getUsedHeapMB() { -109return serverLoad.getUsedHeapMB(); -110 } -111 public boolean hasUsedHeapMB() { -112return serverLoad.hasUsedHeapMB(); -113 } -114 -115 /* @return the maximum allowable size of the heap, in MB. */ -116 public int getMaxHeapMB() { -117return serverLoad.getMaxHeapMB(); -118 } -119 public boolean hasMaxHeapMB() { -120return serverLoad.hasMaxHeapMB(); -121 } -122 -123 public int getStores() { -124return stores; -125 } -126 -127 public int getStorefiles() { -128return storefiles; -129 } -130 -131 public int getStoreUncompressedSizeMB() { -132return storeUncompressedSizeMB; -133 } -134 -135 /** -136 * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0 -137 * Use {@link #getStorefileSizeMB()} instead. -138 */ -139 @Deprecated -140 public int
[49/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/apidocs/org/apache/hadoop/hbase/ClusterStatus.html -- diff --git a/apidocs/org/apache/hadoop/hbase/ClusterStatus.html b/apidocs/org/apache/hadoop/hbase/ClusterStatus.html index 67155d7..22501fa 100644 --- a/apidocs/org/apache/hadoop/hbase/ClusterStatus.html +++ b/apidocs/org/apache/hadoop/hbase/ClusterStatus.html @@ -110,7 +110,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public class ClusterStatus +public class ClusterStatus extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object Status information on the HBase cluster. @@ -332,7 +332,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? ClusterStatus http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -publicClusterStatus(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringhbaseVersion, +publicClusterStatus(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringhbaseVersion, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringclusterid, http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">MapServerName,ServerLoadservers, http://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true; title="class or interface in java.util">CollectionServerNamedeadServers, @@ -360,7 +360,7 @@ public getDeadServerNames -publichttp://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true; title="class or interface in java.util">CollectionServerNamegetDeadServerNames() +publichttp://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true; title="class or interface in java.util">CollectionServerNamegetDeadServerNames() Returns: the names of region servers on the dead list @@ -373,7 +373,7 @@ public getServersSize -publicintgetServersSize() +publicintgetServersSize() Returns: the number of region servers in the cluster @@ -387,7 +387,7 @@ public getDeadServers http://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -publicintgetDeadServers() +publicintgetDeadServers() Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0 (https://issues.apache.org/jira/browse/HBASE-13656;>HBASE-13656). Use getDeadServersSize(). @@ -403,7 +403,7 @@ publicint getDeadServersSize -publicintgetDeadServersSize() +publicintgetDeadServersSize() Returns: the number of dead region servers in the cluster @@ -416,7 +416,7 @@ publicint getAverageLoad -publicdoublegetAverageLoad() +publicdoublegetAverageLoad() Returns: the average cluster load @@ -429,7 +429,7 @@ publicint getRegionsCount -publicintgetRegionsCount() +publicintgetRegionsCount() Returns: the number of regions deployed on the cluster @@ -442,7 +442,7 @@ publicint getRequestsCount -publicintgetRequestsCount() +publicintgetRequestsCount() Returns: the number of requests since last report @@ -455,7 +455,7 @@ publicint getHBaseVersion -publichttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringgetHBaseVersion() +publichttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringgetHBaseVersion() Returns: the HBase version string as reported by the HMaster @@ -468,7 +468,7 @@ publicint equals -publicbooleanequals(http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Objecto) +publicbooleanequals(http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Objecto) Overrides: 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">equalsin classhttp://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object @@ -483,7 +483,7 @@ publicint hashCode -publicinthashCode() +publicinthashCode() Overrides: http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--; title="class or interface in java.lang">hashCodein classhttp://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true;
[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/ed0004f8 Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/ed0004f8 Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/ed0004f8 Branch: refs/heads/asf-site Commit: ed0004f88399079365abe3295e8135381093b411 Parents: cc5f9c0 Author: jenkinsAuthored: Wed Oct 18 15:15:24 2017 + Committer: jenkins Committed: Wed Oct 18 15:15:24 2017 + -- acid-semantics.html | 4 +- apache_hbase_reference_guide.pdf| 4 +- apidocs/index-all.html |47 + apidocs/org/apache/hadoop/hbase/CellUtil.html | 630 +- .../org/apache/hadoop/hbase/ClusterStatus.html |52 +- apidocs/org/apache/hadoop/hbase/ServerLoad.html | 190 +- .../org/apache/hadoop/hbase/class-use/Cell.html |93 + apidocs/org/apache/hadoop/hbase/client/Put.html |62 +- .../org/apache/hadoop/hbase/client/Result.html | 110 +- .../hbase/filter/ColumnPaginationFilter.html|28 +- .../hadoop/hbase/filter/ColumnRangeFilter.html |38 +- .../hbase/filter/SingleColumnValueFilter.html |68 +- .../filter/class-use/ByteArrayComparable.html |46 + .../apache/hadoop/hbase/filter/package-use.html |29 +- .../org/apache/hadoop/hbase/CellUtil.html | 6770 ++--- .../org/apache/hadoop/hbase/ClusterStatus.html | 830 +- .../org/apache/hadoop/hbase/ServerLoad.html | 706 +- .../org/apache/hadoop/hbase/client/Put.html | 957 +- .../org/apache/hadoop/hbase/client/Result.html | 1939 +- .../hbase/filter/ColumnPaginationFilter.html| 401 +- .../hadoop/hbase/filter/ColumnRangeFilter.html | 409 +- .../hbase/filter/CompareFilter.CompareOp.html |18 +- .../hadoop/hbase/filter/CompareFilter.html |18 +- .../hbase/filter/FilterList.Operator.html | 6 +- .../apache/hadoop/hbase/filter/FilterList.html | 6 +- .../hadoop/hbase/filter/FuzzyRowFilter.html | 4 +- .../hbase/filter/InclusiveStopFilter.html | 4 +- .../hbase/filter/SingleColumnValueFilter.html | 851 +- .../hadoop/hbase/mapreduce/CellSortReducer.html | 4 +- .../hbase/mapreduce/HFileOutputFormat2.html | 6 +- .../apache/hadoop/hbase/mapreduce/Import.html | 4 +- .../hadoop/hbase/mapreduce/PutSortReducer.html | 4 +- .../hadoop/hbase/mapreduce/TextSortReducer.html | 4 +- book.html | 2 +- bulk-loads.html | 4 +- checkstyle-aggregate.html | 24932 + checkstyle.rss |66 +- 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| 9 +- devapidocs/allclasses-noframe.html | 9 +- devapidocs/constant-values.html |25 +- devapidocs/deprecated-list.html | 8 +- devapidocs/index-all.html | 309 +- .../apache/hadoop/hbase/CellBuilderType.html| 4 +- .../CellComparator.MetaCellComparator.html | 410 - .../org/apache/hadoop/hbase/CellComparator.html | 782 +- .../CellComparatorImpl.MetaCellComparator.html | 413 + .../apache/hadoop/hbase/CellComparatorImpl.html | 680 + .../org/apache/hadoop/hbase/CellScannable.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 | 885 +-
[31/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyByteBufferCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyByteBufferCell.html b/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyByteBufferCell.html index 6c28959..ec88197 100644 --- a/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyByteBufferCell.html +++ b/devapidocs/org/apache/hadoop/hbase/CellUtil.EmptyByteBufferCell.html @@ -127,7 +127,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -private abstract static class CellUtil.EmptyByteBufferCell +private abstract static class CellUtil.EmptyByteBufferCell extends ByteBufferCell implements SettableSequenceId @@ -327,7 +327,7 @@ implements EmptyByteBufferCell -privateEmptyByteBufferCell() +privateEmptyByteBufferCell() @@ -344,7 +344,7 @@ implements setSequenceId -publicvoidsetSequenceId(longseqId) +publicvoidsetSequenceId(longseqId) Description copied from interface:SettableSequenceId Sets with the given seqId. @@ -359,7 +359,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. @@ -377,7 +377,7 @@ implements getRowOffset -publicintgetRowOffset() +publicintgetRowOffset() Specified by: getRowOffsetin interfaceCell @@ -392,7 +392,7 @@ implements getRowLength -publicshortgetRowLength() +publicshortgetRowLength() Specified by: getRowLengthin interfaceCell @@ -407,7 +407,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. @@ -425,7 +425,7 @@ implements getFamilyOffset -publicintgetFamilyOffset() +publicintgetFamilyOffset() Specified by: getFamilyOffsetin interfaceCell @@ -440,7 +440,7 @@ implements getFamilyLength -publicbytegetFamilyLength() +publicbytegetFamilyLength() Specified by: getFamilyLengthin interfaceCell @@ -455,7 +455,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. @@ -472,7 +472,7 @@ implements getQualifierOffset -publicintgetQualifierOffset() +publicintgetQualifierOffset() Specified by: getQualifierOffsetin interfaceCell @@ -487,7 +487,7 @@ implements getQualifierLength -publicintgetQualifierLength() +publicintgetQualifierLength() Specified by: getQualifierLengthin interfaceCell @@ -502,7 +502,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 @@ -522,7 +522,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. @@ -540,7 +540,7 @@ implements getValueOffset -publicintgetValueOffset() +publicintgetValueOffset() Specified by: getValueOffsetin interfaceCell @@ -555,7 +555,7 @@ implements getValueLength -publicintgetValueLength() +publicintgetValueLength() Specified by: getValueLengthin interfaceCell @@ -570,7 +570,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. @@ -587,7 +587,7 @@ implements getTagsOffset -publicintgetTagsOffset() +publicintgetTagsOffset() Specified by: getTagsOffsetin interfaceCell @@ -602,7 +602,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, @@ -623,7 +623,7 @@ implements getRowByteBuffer -publichttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffergetRowByteBuffer() +publichttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffergetRowByteBuffer() Specified by: getRowByteBufferin classByteBufferCell @@ -638,7 +638,7 @@ implements
[14/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/client/class-use/RegionInfo.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/class-use/RegionInfo.html b/devapidocs/org/apache/hadoop/hbase/client/class-use/RegionInfo.html index b3f63f3..f4c5925 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/class-use/RegionInfo.html +++ b/devapidocs/org/apache/hadoop/hbase/client/class-use/RegionInfo.html @@ -3168,71 +3168,75 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -AssignmentManager.offlineRegion(RegionInforegionInfo) +AssignmentManager.move(RegionInforegionInfo) void +AssignmentManager.offlineRegion(RegionInforegionInfo) + + +void AssignmentManager.onlineRegion(RegionInforegionInfo, ServerNameserverName) - + void RegionStates.removeFromFailedOpen(RegionInforegionInfo) - + void RegionStates.removeFromOfflineRegions(RegionInforegionInfo) - + private void AssignmentManager.sendRegionClosedNotification(RegionInforegionInfo) - + private void AssignmentManager.sendRegionOpenedNotification(RegionInforegionInfo, ServerNameserverName) - + private void AssignmentManager.setMetaInitialized(RegionInfometaRegionInfo, booleanisInitialized) - + protected void RegionTransitionProcedure.setRegionInfo(RegionInforegionInfo) - + private boolean AssignmentManager.shouldAssignFavoredNodes(RegionInforegion) - + void RegionStateStore.splitRegion(RegionInfoparent, RegionInfohriA, RegionInfohriB, ServerNameserverName) - + void AssignmentManager.unassign(RegionInforegionInfo) - + void AssignmentManager.unassign(RegionInforegionInfo, booleanforceNewPlan) - + protected void RegionStateStore.updateMetaLocation(RegionInforegionInfo, ServerNameserverName) - + protected void RegionStateStore.updateRegionLocation(RegionInforegionInfo, RegionState.Statestate, Put...put) - + void RegionStateStore.updateRegionLocation(RegionInforegionInfo, RegionState.Statestate, @@ -3241,7 +3245,7 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. longopenSeqNum, longpid) - + private void AssignmentManager.updateRegionMergeTransition(ServerNameserverName, org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionStateTransition.TransitionCodestate, @@ -3249,7 +3253,7 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. RegionInfohriA, RegionInfohriB) - + private void AssignmentManager.updateRegionSplitTransition(ServerNameserverName, org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionStateTransition.TransitionCodestate, @@ -3257,19 +3261,19 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. RegionInfohriA, RegionInfohriB) - + void RegionStates.updateRegionState(RegionInforegionInfo, RegionState.Statestate) - + private void AssignmentManager.updateRegionTransition(ServerNameserverName, org.apache.hadoop.hbase.shaded.protobuf.generated.RegionServerStatusProtos.RegionStateTransition.TransitionCodestate, RegionInforegionInfo, longseqId) - + protected void RegionStateStore.updateUserRegionLocation(RegionInforegionInfo, RegionState.Statestate, @@ -3278,7 +3282,7 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. longopenSeqNum, longpid) - + void RegionStateStore.RegionStateVisitor.visitRegionState(RegionInforegionInfo, RegionState.Statestate, @@ -3286,16 +3290,16 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. ServerNamelastHost, longopenSeqNum) - + boolean AssignmentManager.waitForAssignment(RegionInforegionInfo) - + boolean AssignmentManager.waitForAssignment(RegionInforegionInfo, longtimeout) - + boolean AssignmentManager.waitMetaInitialized(Procedureproc, RegionInforegionInfo) @@ -5586,21 +5590,26 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. RegionInfohri) +private ServerName +RSGroupBasedLoadBalancer.findServerForRegion(http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in
[26/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/KeyValue.KeyOnlyKeyValue.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/KeyValue.KeyOnlyKeyValue.html b/devapidocs/org/apache/hadoop/hbase/KeyValue.KeyOnlyKeyValue.html index e8ccbc0..c5a5ae5 100644 --- a/devapidocs/org/apache/hadoop/hbase/KeyValue.KeyOnlyKeyValue.html +++ b/devapidocs/org/apache/hadoop/hbase/KeyValue.KeyOnlyKeyValue.html @@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab"; -public static class KeyValue.KeyOnlyKeyValue +public static class KeyValue.KeyOnlyKeyValue extends KeyValue A simple form of KeyValue that creates a keyvalue with only the key part of the byte[] Mainly used in places where we need to compare two cells. Avoids copying of bytes @@ -416,7 +416,7 @@ extends rowLen -privateshort rowLen +privateshort rowLen @@ -433,7 +433,7 @@ extends KeyOnlyKeyValue -publicKeyOnlyKeyValue() +publicKeyOnlyKeyValue() @@ -442,7 +442,7 @@ extends KeyOnlyKeyValue -publicKeyOnlyKeyValue(byte[]b) +publicKeyOnlyKeyValue(byte[]b) @@ -451,7 +451,7 @@ extends KeyOnlyKeyValue -publicKeyOnlyKeyValue(byte[]b, +publicKeyOnlyKeyValue(byte[]b, intoffset, intlength) @@ -470,7 +470,7 @@ extends set -publicvoidset(KeyValue.KeyOnlyKeyValuekeyOnlyKeyValue) +publicvoidset(KeyValue.KeyOnlyKeyValuekeyOnlyKeyValue) @@ -479,7 +479,7 @@ extends clear -publicvoidclear() +publicvoidclear() @@ -488,7 +488,7 @@ extends getKeyOffset -publicintgetKeyOffset() +publicintgetKeyOffset() Overrides: getKeyOffsetin classKeyValue @@ -503,7 +503,7 @@ extends setKey -publicvoidsetKey(byte[]key, +publicvoidsetKey(byte[]key, intoffset, intlength) A setter that helps to avoid object creation every time and whenever @@ -522,7 +522,7 @@ extends getKey -publicbyte[]getKey() +publicbyte[]getKey() Description copied from class:KeyValue Do not use unless you have to. Used internally for compacting and testing. Use KeyValue.getRowArray(), KeyValue.getFamilyArray(), KeyValue.getQualifierArray(), and @@ -541,7 +541,7 @@ extends 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. @@ -561,7 +561,7 @@ extends getRowOffset -publicintgetRowOffset() +publicintgetRowOffset() Specified by: getRowOffsetin interfaceCell @@ -578,7 +578,7 @@ extends 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. @@ -598,7 +598,7 @@ extends getFamilyLength -publicbytegetFamilyLength() +publicbytegetFamilyLength() Specified by: getFamilyLengthin interfaceCell @@ -615,7 +615,7 @@ extends getFamilyOffset -publicintgetFamilyOffset() +publicintgetFamilyOffset() Specified by: getFamilyOffsetin interfaceCell @@ -632,7 +632,7 @@ extends getQualifierArray -publicbyte[]getQualifierArray() +publicbyte[]getQualifierArray() Description copied from interface:Cell Contiguous raw bytes that may start at any index in the containing array. @@ -651,7 +651,7 @@ extends getQualifierLength -publicintgetQualifierLength() +publicintgetQualifierLength() Specified by: getQualifierLengthin interfaceCell @@ -668,7 +668,7 @@ extends getQualifierOffset -publicintgetQualifierOffset() +publicintgetQualifierOffset() Specified by: getQualifierOffsetin interfaceCell @@ -685,7 +685,7 @@ extends getKeyLength -publicintgetKeyLength() +publicintgetKeyLength() Overrides: getKeyLengthin classKeyValue @@ -700,7 +700,7 @@ extends getRowLength -publicshortgetRowLength() +publicshortgetRowLength() Specified by: getRowLengthin interfaceCell @@ -717,7 +717,7 @@ extends getTypeByte -publicbytegetTypeByte() +publicbytegetTypeByte() Specified by: getTypeBytein interfaceCell @@ -734,7 +734,7 @@ extends getQualifierLength -privateintgetQualifierLength(intrlength, +privateintgetQualifierLength(intrlength, intflength) @@ -744,7 +744,7 @@ extends getTimestamp -publiclonggetTimestamp() +publiclonggetTimestamp() Specified by: getTimestampin interfaceCell @@ -761,7 +761,7 @@ extends getTimestampOffset -publicintgetTimestampOffset() +publicintgetTimestampOffset() Overrides: getTimestampOffsetin classKeyValue @@ -776,7 +776,7 @@ extends getTagsArray -publicbyte[]getTagsArray() +publicbyte[]getTagsArray() Description copied from interface:Cell Contiguous raw bytes representing tags that may start at any
[24/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/ServerLoad.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/ServerLoad.html b/devapidocs/org/apache/hadoop/hbase/ServerLoad.html index f1a4058..bf7e6d7 100644 --- a/devapidocs/org/apache/hadoop/hbase/ServerLoad.html +++ b/devapidocs/org/apache/hadoop/hbase/ServerLoad.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":42,"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":42,"i19":10,"i20":10,"i21":42,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":42,"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":42,"i20":10,"i21":10,"i22":42,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -110,7 +110,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public class ServerLoad +public class ServerLoad extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object This class is used for exporting current state of load on a RegionServer. @@ -232,29 +232,33 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? Method and Description +boolean +equals(http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Objectother) + + long getCurrentCompactedKVs() - + long getFilteredReadRequestsCount() - + int getInfoServerPort() - + int getLoad() Originally, this method factored in the effect of requests going to the server as well. - + int getMaxHeapMB() - + int getMemstoreSizeInMB() Deprecated. @@ -263,63 +267,63 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? - + int getMemStoreSizeMB() - + int getNumberOfRegions() - + long getNumberOfRequests() - + long getReadRequestsCount() - + http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String[] getRegionServerCoprocessors() Return the RegionServer-level coprocessors - + http://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Mapbyte[],RegionLoad getRegionsLoad() - + ReplicationLoadSink getReplicationLoadSink() Call directly from client such as hbase shell - + http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListReplicationLoadSource getReplicationLoadSourceList() Call directly from client such as hbase shell - + long getReportTime() - + double getRequestsPerSecond() - + int getRootIndexSizeKB() - + http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String[] getRsCoprocessors() Return the RegionServer-level and Region-level coprocessors - + int getStorefileIndexSizeInMB() Deprecated. @@ -328,15 +332,15 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? - + long getStorefileIndexSizeKB() - + int getStorefiles() - + int getStorefileSizeInMB() Deprecated. @@ -345,63 +349,67 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? - + int getStorefileSizeMB() - + int getStores() - + int getStoreUncompressedSizeMB() - + long getTotalCompactingKVs() - + long getTotalNumberOfRequests() - + int getTotalStaticBloomSizeKB() - + int getTotalStaticIndexSizeKB() - + int getUsedHeapMB() - + long getWriteRequestsCount() - + +int +hashCode() + + boolean hasMaxHeapMB() - + boolean hasNumberOfRequests() - + boolean hasTotalNumberOfRequests() - + boolean hasUsedHeapMB() - + org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterStatusProtos.ServerLoad obtainServerLoadPB() - + http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String toString() @@ -411,7 +419,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? 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
[06/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.OnheapDecodedCell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.OnheapDecodedCell.html b/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.OnheapDecodedCell.html index b7ddd89c..f64a4fa 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.OnheapDecodedCell.html +++ b/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.OnheapDecodedCell.html @@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab"; -protected static class BufferedDataBlockEncoder.OnheapDecodedCell +protected static class BufferedDataBlockEncoder.OnheapDecodedCell 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 ExtendedCell Copies only the key part of the keybuffer by doing a deep copy and passes the @@ -434,7 +434,7 @@ implements FIXED_OVERHEAD -private static finallong FIXED_OVERHEAD +private static finallong FIXED_OVERHEAD @@ -443,7 +443,7 @@ implements keyOnlyBuffer -privatebyte[] keyOnlyBuffer +privatebyte[] keyOnlyBuffer @@ -452,7 +452,7 @@ implements rowLength -privateshort rowLength +privateshort rowLength @@ -461,7 +461,7 @@ implements familyOffset -privateint familyOffset +privateint familyOffset @@ -470,7 +470,7 @@ implements familyLength -privatebyte familyLength +privatebyte familyLength @@ -479,7 +479,7 @@ implements qualifierOffset -privateint qualifierOffset +privateint qualifierOffset @@ -488,7 +488,7 @@ implements qualifierLength -privateint qualifierLength +privateint qualifierLength @@ -497,7 +497,7 @@ implements timestamp -privatelong timestamp +privatelong timestamp @@ -506,7 +506,7 @@ implements typeByte -privatebyte typeByte +privatebyte typeByte @@ -515,7 +515,7 @@ implements valueBuffer -privatebyte[] valueBuffer +privatebyte[] valueBuffer @@ -524,7 +524,7 @@ implements valueOffset -privateint valueOffset +privateint valueOffset @@ -533,7 +533,7 @@ implements valueLength -privateint valueLength +privateint valueLength @@ -542,7 +542,7 @@ implements tagsBuffer -privatebyte[] tagsBuffer +privatebyte[] tagsBuffer @@ -551,7 +551,7 @@ implements tagsOffset -privateint tagsOffset +privateint tagsOffset @@ -560,7 +560,7 @@ implements tagsLength -privateint tagsLength +privateint tagsLength @@ -569,7 +569,7 @@ implements seqId -privatelong seqId +privatelong seqId @@ -586,7 +586,7 @@ implements OnheapDecodedCell -protectedOnheapDecodedCell(byte[]keyBuffer, +protectedOnheapDecodedCell(byte[]keyBuffer, shortrowLength, intfamilyOffset, bytefamilyLength, @@ -617,7 +617,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. @@ -635,7 +635,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. @@ -653,7 +653,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. @@ -670,7 +670,7 @@ implements getRowOffset -publicintgetRowOffset() +publicintgetRowOffset() Specified by: getRowOffsetin interfaceCell @@ -685,7 +685,7 @@ implements getRowLength -publicshortgetRowLength() +publicshortgetRowLength() Specified by: getRowLengthin interfaceCell @@ -700,7 +700,7 @@ implements getFamilyOffset -publicintgetFamilyOffset() +publicintgetFamilyOffset() Specified by: getFamilyOffsetin interfaceCell @@ -715,7 +715,7 @@ implements getFamilyLength -publicbytegetFamilyLength() +publicbytegetFamilyLength() Specified by: getFamilyLengthin interfaceCell @@ -730,7 +730,7 @@ implements getQualifierOffset -publicintgetQualifierOffset() +publicintgetQualifierOffset() Specified by: getQualifierOffsetin interfaceCell @@ -745,7 +745,7 @@ implements getQualifierLength -publicintgetQualifierLength() +publicintgetQualifierLength() Specified by: getQualifierLengthin interfaceCell @@ -760,7 +760,7 @@ implements getTimestamp -publiclonggetTimestamp() +publiclonggetTimestamp() Specified by: getTimestampin interfaceCell
[22/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html b/devapidocs/org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html index 33584a1..7e21a3d 100644 --- a/devapidocs/org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html +++ b/devapidocs/org/apache/hadoop/hbase/backup/impl/BackupSystemTable.html @@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -public final class BackupSystemTable +public final class BackupSystemTable extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true; title="class or interface in java.io">Closeable This class provides API to access backup system table @@ -957,7 +957,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h LOG -private static finalorg.apache.commons.logging.Log LOG +private static finalorg.apache.commons.logging.Log LOG @@ -966,7 +966,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h tableName -privateTableName tableName +privateTableName tableName @@ -975,7 +975,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h SESSIONS_FAMILY -static finalbyte[] SESSIONS_FAMILY +static finalbyte[] SESSIONS_FAMILY Stores backup sessions (contexts) @@ -985,7 +985,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h META_FAMILY -static finalbyte[] META_FAMILY +static finalbyte[] META_FAMILY Stores other meta @@ -995,7 +995,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h BULK_LOAD_FAMILY -static finalbyte[] BULK_LOAD_FAMILY +static finalbyte[] BULK_LOAD_FAMILY @@ -1004,7 +1004,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h connection -private finalConnection connection +private finalConnection connection Connection to HBase cluster, shared among all instances @@ -1014,7 +1014,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h BACKUP_INFO_PREFIX -private static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String BACKUP_INFO_PREFIX +private static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String BACKUP_INFO_PREFIX See Also: Constant Field Values @@ -1027,7 +1027,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h START_CODE_ROW -private static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String START_CODE_ROW +private static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String START_CODE_ROW See Also: Constant Field Values @@ -1040,7 +1040,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h ACTIVE_SESSION_ROW -private static finalbyte[] ACTIVE_SESSION_ROW +private static finalbyte[] ACTIVE_SESSION_ROW @@ -1049,7 +1049,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h ACTIVE_SESSION_COL -private static finalbyte[] ACTIVE_SESSION_COL +private static finalbyte[] ACTIVE_SESSION_COL @@ -1058,7 +1058,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h ACTIVE_SESSION_YES -private static finalbyte[] ACTIVE_SESSION_YES +private static finalbyte[] ACTIVE_SESSION_YES @@ -1067,7 +1067,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h ACTIVE_SESSION_NO -private static finalbyte[] ACTIVE_SESSION_NO +private static finalbyte[] ACTIVE_SESSION_NO @@ -1076,7 +1076,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h INCR_BACKUP_SET -private static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String INCR_BACKUP_SET +private static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String INCR_BACKUP_SET See Also: Constant Field Values @@ -1089,7 +1089,7 @@ implements http://docs.oracle.com/javase/8/docs/api/java/io/Closeable.h TABLE_RS_LOG_MAP_PREFIX -private static finalhttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String TABLE_RS_LOG_MAP_PREFIX +private static
[13/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeArrayScanner.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeArrayScanner.html b/devapidocs/org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeArrayScanner.html index eb48257..dec66d6 100644 --- a/devapidocs/org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeArrayScanner.html +++ b/devapidocs/org/apache/hadoop/hbase/codec/prefixtree/decode/PrefixTreeArrayScanner.html @@ -128,7 +128,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -public class PrefixTreeArrayScanner +public class PrefixTreeArrayScanner extends PrefixTreeCell implements CellScanner Extends PtCell and manipulates its protected fields. Could alternatively contain a PtCell and @@ -527,7 +527,7 @@ implements blockMeta -protectedPrefixTreeBlockMeta blockMeta +protectedPrefixTreeBlockMeta blockMeta fields @@ -537,7 +537,7 @@ implements beforeFirst -protectedboolean beforeFirst +protectedboolean beforeFirst @@ -546,7 +546,7 @@ implements afterLast -protectedboolean afterLast +protectedboolean afterLast @@ -555,7 +555,7 @@ implements rowNodes -protectedRowNodeReader[] rowNodes +protectedRowNodeReader[] rowNodes @@ -564,7 +564,7 @@ implements rowNodeStackIndex -protectedint rowNodeStackIndex +protectedint rowNodeStackIndex @@ -573,7 +573,7 @@ implements currentRowNode -protectedRowNodeReader currentRowNode +protectedRowNodeReader currentRowNode @@ -582,7 +582,7 @@ implements familyReader -protectedColumnReader familyReader +protectedColumnReader familyReader @@ -591,7 +591,7 @@ implements qualifierReader -protectedColumnReader qualifierReader +protectedColumnReader qualifierReader @@ -600,7 +600,7 @@ implements tagsReader -protectedColumnReader tagsReader +protectedColumnReader tagsReader @@ -609,7 +609,7 @@ implements timestampDecoder -protectedTimestampDecoder timestampDecoder +protectedTimestampDecoder timestampDecoder @@ -618,7 +618,7 @@ implements mvccVersionDecoder -protectedMvccVersionDecoder mvccVersionDecoder +protectedMvccVersionDecoder mvccVersionDecoder @@ -627,7 +627,7 @@ implements nubCellsRemain -protectedboolean nubCellsRemain +protectedboolean nubCellsRemain @@ -636,7 +636,7 @@ implements currentCellIndex -protectedint currentCellIndex +protectedint currentCellIndex @@ -653,7 +653,7 @@ implements PrefixTreeArrayScanner -publicPrefixTreeArrayScanner(PrefixTreeBlockMetablockMeta, +publicPrefixTreeArrayScanner(PrefixTreeBlockMetablockMeta, introwTreeDepth, introwBufferLength, intqualifierBufferLength, @@ -675,7 +675,7 @@ implements areBuffersBigEnough -publicbooleanareBuffersBigEnough() +publicbooleanareBuffersBigEnough() Call when first accessing a block. Returns: @@ -689,7 +689,7 @@ implements initOnBlock -publicvoidinitOnBlock(PrefixTreeBlockMetablockMeta, +publicvoidinitOnBlock(PrefixTreeBlockMetablockMeta, ByteBuffblock, booleanincludeMvccVersion) @@ -700,7 +700,7 @@ implements resetToBeforeFirstEntry -publicvoidresetToBeforeFirstEntry() +publicvoidresetToBeforeFirstEntry() @@ -709,7 +709,7 @@ implements releaseBlockReference -publicvoidreleaseBlockReference() +publicvoidreleaseBlockReference() Call this before putting the scanner back into a pool so it doesn't hold the last used block in memory. @@ -720,7 +720,7 @@ implements current -publicCellcurrent() +publicCellcurrent() CellScanner Specified by: @@ -736,7 +736,7 @@ implements equals -publicbooleanequals(http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Objectobj) +publicbooleanequals(http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Objectobj) Object methods Overrides: @@ -750,7 +750,7 @@ implements hashCode -publicinthashCode() +publicinthashCode() Overrides: hashCodein classPrefixTreeCell @@ -763,7 +763,7 @@ implements toString -publichttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringtoString() +publichttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringtoString() Override PrefixTreeCell.toString() with a check to see if the current cell is valid. Overrides: @@ -777,7 +777,7 @@ implements positionAtFirstCell -publicbooleanpositionAtFirstCell() +publicbooleanpositionAtFirstCell() advance @@ -787,7 +787,7 @@ implements advance
[01/51] [partial] hbase-site git commit: Published site at .
Repository: hbase-site Updated Branches: refs/heads/asf-site cc5f9c08c -> ed0004f88 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.BlockIndexWriter.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.BlockIndexWriter.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.BlockIndexWriter.html index 15d19e3..7225035 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.BlockIndexWriter.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.BlockIndexWriter.html @@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab"; -public static class HFileBlockIndex.BlockIndexWriter +public static class HFileBlockIndex.BlockIndexWriter 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 InlineBlockWriter Writes the block index into the output stream. Generate the tree from @@ -393,7 +393,7 @@ implements rootChunk -privateHFileBlockIndex.BlockIndexChunk rootChunk +privateHFileBlockIndex.BlockIndexChunk rootChunk While the index is being written, this represents the current block index referencing all leaf blocks, with one exception. If the file is being closed and there are not enough blocks to complete even a single @@ -409,7 +409,7 @@ implements curInlineChunk -privateHFileBlockIndex.BlockIndexChunk curInlineChunk +privateHFileBlockIndex.BlockIndexChunk curInlineChunk Current leaf-level chunk. New entries referencing data blocks get added to this chunk until it grows large enough to be written to disk. @@ -420,7 +420,7 @@ implements numLevels -privateint numLevels +privateint numLevels The number of block index levels. This is one if there is only root level (even empty), two if there a leaf level and root level, and is higher if there are intermediate levels. This is only final after @@ -436,7 +436,7 @@ implements blockWriter -privateHFileBlock.Writer blockWriter +privateHFileBlock.Writer blockWriter @@ -445,7 +445,7 @@ implements firstKey -privatebyte[] firstKey +privatebyte[] firstKey @@ -454,7 +454,7 @@ implements totalNumEntries -privatelong totalNumEntries +privatelong totalNumEntries The total number of leaf-level entries, i.e. entries referenced by leaf-level blocks. For the data block index this is equal to the number of data blocks. @@ -466,7 +466,7 @@ implements totalBlockOnDiskSize -privatelong totalBlockOnDiskSize +privatelong totalBlockOnDiskSize Total compressed size of all index blocks. @@ -476,7 +476,7 @@ implements totalBlockUncompressedSize -privatelong totalBlockUncompressedSize +privatelong totalBlockUncompressedSize Total uncompressed size of all index blocks. @@ -486,7 +486,7 @@ implements maxChunkSize -privateint maxChunkSize +privateint maxChunkSize The maximum size guideline of all multi-level index blocks. @@ -496,7 +496,7 @@ implements minIndexNumEntries -privateint minIndexNumEntries +privateint minIndexNumEntries The maximum level of multi-level index blocks @@ -506,7 +506,7 @@ implements singleLevelOnly -privateboolean singleLevelOnly +privateboolean singleLevelOnly Whether we require this block index to always be single-level. @@ -516,7 +516,7 @@ implements cacheConf -privateCacheConfig cacheConf +privateCacheConfig cacheConf CacheConfig, or null if cache-on-write is disabled @@ -526,7 +526,7 @@ implements nameForCaching -privatehttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String nameForCaching +privatehttp://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String nameForCaching Name to use for computing cache keys @@ -544,7 +544,7 @@ implements BlockIndexWriter -publicBlockIndexWriter() +publicBlockIndexWriter() Creates a single-level block index writer @@ -554,7 +554,7 @@ implements BlockIndexWriter -publicBlockIndexWriter(HFileBlock.WriterblockWriter, +publicBlockIndexWriter(HFileBlock.WriterblockWriter, CacheConfigcacheConf, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringnameForCaching) Creates a multi-level block index writer. @@ -579,7 +579,7 @@ implements setMaxChunkSize -publicvoidsetMaxChunkSize(intmaxChunkSize) +publicvoidsetMaxChunkSize(intmaxChunkSize) @@ -588,7 +588,7 @@ implements setMinIndexNumEntries -publicvoidsetMinIndexNumEntries(intminIndexNumEntries) +publicvoidsetMinIndexNumEntries(intminIndexNumEntries) @@ -597,7 +597,7 @@ implements writeIndexBlocks
[36/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/checkstyle.rss -- diff --git a/checkstyle.rss b/checkstyle.rss index 9a457e3..d966866 100644 --- a/checkstyle.rss +++ b/checkstyle.rss @@ -25,8 +25,8 @@ under the License. en-us 2007 - 2017 The Apache Software Foundation - File: 2055, - Errors: 13608, + File: 2056, + Errors: 13615, Warnings: 0, Infos: 0 @@ -391,7 +391,7 @@ under the License. 0 - 2 + 3 @@ -699,7 +699,7 @@ under the License. 0 - 1 + 2 @@ -993,7 +993,7 @@ under the License. 0 - 59 + 60 @@ -3826,6 +3826,20 @@ under the License. + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.CellComparatorImpl.java;>org/apache/hadoop/hbase/CellComparatorImpl.java + + + 0 + + + 0 + + + 15 + + + + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.metrics.impl.DropwizardMeter.java;>org/apache/hadoop/hbase/metrics/impl/DropwizardMeter.java @@ -4437,7 +4451,7 @@ under the License. 0 - 5 + 6 @@ -4871,7 +4885,7 @@ under the License. 0 - 0 + 1 @@ -5011,7 +5025,7 @@ under the License. 0 - 13 + 14 @@ -5193,7 +5207,7 @@ under the License. 0 - 50 + 47 @@ -5781,7 +5795,7 @@ under the License. 0 - 11 + 12 @@ -6075,7 +6089,7 @@ under the License. 0 - 12 + 11 @@ -7125,7 +7139,7 @@ under the License. 0 - 1 + 2 @@ -8749,7 +8763,7 @@ under the License. 0 - 107 + 123 @@ -9967,7 +9981,7 @@ under the License. 0 - 31 + 0 @@ -10401,7 +10415,7 @@ under the License. 0 - 4 + 3 @@ -10443,7 +10457,7 @@ under the License. 0 - 20 + 21 @@ -20607,7 +20621,7 @@ under the License. 0 - 31 + 30 @@ -20621,7 +20635,7 @@ under the License. 0 - 120 + 119 @@ -21223,7 +21237,7 @@ under the License. 0 - 20 + 19 @@ -22763,7 +22777,7 @@ under the License. 0 - 8 + 7 @@ -25017,7 +25031,7 @@ under the License. 0
[07/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.BufferedEncodedSeeker.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.BufferedEncodedSeeker.html b/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.BufferedEncodedSeeker.html index 3ac82d6..0806e3e 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.BufferedEncodedSeeker.html +++ b/devapidocs/org/apache/hadoop/hbase/io/encoding/BufferedDataBlockEncoder.BufferedEncodedSeeker.html @@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab"; -protected abstract static class BufferedDataBlockEncoder.BufferedEncodedSeekerSTATE extends BufferedDataBlockEncoder.SeekerState +protected abstract static class BufferedDataBlockEncoder.BufferedEncodedSeekerSTATE extends BufferedDataBlockEncoder.SeekerState extends AbstractDataBlockEncoder.AbstractEncodedSeeker @@ -188,7 +188,7 @@ extends Constructor and Description -BufferedEncodedSeeker(CellComparatorcomparator, +BufferedEncodedSeeker(CellComparatorcomparator, HFileBlockDecodingContextdecodingCtx) @@ -208,7 +208,7 @@ extends int -compareKey(CellComparatorcomparator, +compareKey(CellComparatorcomparator, Cellkey) Compare the given key against the current key @@ -338,7 +338,7 @@ extends currentBuffer -protectedByteBuff currentBuffer +protectedByteBuff currentBuffer @@ -347,7 +347,7 @@ extends tagCompressionContext -protectedTagCompressionContext tagCompressionContext +protectedTagCompressionContext tagCompressionContext @@ -356,7 +356,7 @@ extends keyOnlyKV -protectedKeyValue.KeyOnlyKeyValue keyOnlyKV +protectedKeyValue.KeyOnlyKeyValue keyOnlyKV @@ -365,7 +365,7 @@ extends tmpPair -protected finalObjectIntPairhttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffer tmpPair +protected finalObjectIntPairhttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffer tmpPair @@ -374,7 +374,7 @@ extends current -protectedSTATE extends BufferedDataBlockEncoder.SeekerState current +protectedSTATE extends BufferedDataBlockEncoder.SeekerState current @@ -383,7 +383,7 @@ extends previous -protectedSTATE extends BufferedDataBlockEncoder.SeekerState previous +protectedSTATE extends BufferedDataBlockEncoder.SeekerState previous @@ -400,7 +400,7 @@ extends BufferedEncodedSeeker -publicBufferedEncodedSeeker(CellComparatorcomparator, +publicBufferedEncodedSeeker(CellComparatorcomparator, HFileBlockDecodingContextdecodingCtx) @@ -418,7 +418,7 @@ extends compareKey -publicintcompareKey(CellComparatorcomparator, +publicintcompareKey(CellComparatorcomparator, Cellkey) Description copied from interface:DataBlockEncoder.EncodedSeeker Compare the given key against the current key @@ -434,7 +434,7 @@ extends setCurrentBuffer -publicvoidsetCurrentBuffer(ByteBuffbuffer) +publicvoidsetCurrentBuffer(ByteBuffbuffer) Description copied from interface:DataBlockEncoder.EncodedSeeker Set on which buffer there will be done seeking. @@ -449,7 +449,7 @@ extends getKey -publicCellgetKey() +publicCellgetKey() Description copied from interface:DataBlockEncoder.EncodedSeeker From the current position creates a cell using the key part of the current buffer @@ -465,7 +465,7 @@ extends getValueShallowCopy -publichttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffergetValueShallowCopy() +publichttp://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBuffergetValueShallowCopy() Description copied from interface:DataBlockEncoder.EncodedSeeker Does a shallow copy of the value at the current position. A shallow copy is possible because the returned buffer refers to the backing array @@ -482,7 +482,7 @@ extends getCell -publicCellgetCell() +publicCellgetCell() Returns: the Cell at the current position. Includes memstore timestamp. @@ -495,7 +495,7 @@ extends rewind -publicvoidrewind() +publicvoidrewind() Description copied from interface:DataBlockEncoder.EncodedSeeker Set position to beginning of given block @@ -506,7 +506,7 @@ extends next -publicbooleannext() +publicbooleannext() Description copied from interface:DataBlockEncoder.EncodedSeeker Move to next position @@ -521,7 +521,7 @@ extends decodeTags -protectedvoiddecodeTags() +protectedvoiddecodeTags() @@ -530,7 +530,7 @@ extends seekToKeyInBlock -publicintseekToKeyInBlock(CellseekCell,
[04/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.html index 8284e04..36ea0cc 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/FixedFileTrailer.html @@ -110,7 +110,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -public class FixedFileTrailer +public class FixedFileTrailer extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object The HFile has a fixed trailer which contains offsets to other variable parts of the file. Also includes basic metadata on this file. The @@ -292,11 +292,11 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? computeTrailerSizeByVersion() -(package private) CellComparator +(package private) CellComparator createComparator() -static CellComparator +static CellComparator createComparator(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringcomparatorClassName) @@ -342,7 +342,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? -private static http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends CellComparator +private static http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends CellComparator getComparatorClass(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringcomparatorClassName) @@ -450,7 +450,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? void -setComparatorClass(http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends CellComparatorklass) +setComparatorClass(http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class? extends CellComparatorklass) void @@ -532,7 +532,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? MAX_COMPARATOR_NAME_LENGTH -private static finalint MAX_COMPARATOR_NAME_LENGTH +private static finalint MAX_COMPARATOR_NAME_LENGTH We store the comparator class name as a fixed-length field in the trailer. See Also: @@ -546,7 +546,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? fileInfoOffset -privatelong fileInfoOffset +privatelong fileInfoOffset Offset to the fileinfo data, a small block of vitals. Necessary in v1 but only potentially useful for pretty-printing in v2. @@ -557,7 +557,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? loadOnOpenDataOffset -privatelong loadOnOpenDataOffset +privatelong loadOnOpenDataOffset In version 1, the offset to the data block index. Starting from version 2, the meaning of this field is the offset to the section of the file that should be loaded at the time the file is being opened: i.e. on open we load @@ -571,7 +571,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? dataIndexCount -privateint dataIndexCount +privateint dataIndexCount The number of entries in the root data index. @@ -581,7 +581,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? uncompressedDataIndexSize -privatelong uncompressedDataIndexSize +privatelong uncompressedDataIndexSize Total uncompressed size of all blocks of the data index @@ -591,7 +591,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? metaIndexCount -privateint metaIndexCount +privateint metaIndexCount The number of entries in the meta index @@ -601,7 +601,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? totalUncompressedBytes -privatelong totalUncompressedBytes +privatelong totalUncompressedBytes The total uncompressed size of keys/values stored in the file. @@ -611,7 +611,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? entryCount -privatelong entryCount +privatelong entryCount The number of key/value pairs in the file. This field was int in version 1, but is now long. @@ -622,7 +622,7 @@ extends http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html? compressionCodec -privateCompression.Algorithm compressionCodec +privateCompression.Algorithm compressionCodec The compression codec used for all blocks. @@ -632,7 +632,7 @@ extends
[16/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/client/Put.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/Put.html b/devapidocs/org/apache/hadoop/hbase/client/Put.html index 2d0ea04..e3cc37b 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/Put.html +++ b/devapidocs/org/apache/hadoop/hbase/client/Put.html @@ -129,7 +129,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public class Put +public class Put extends Mutation implements HeapSize, http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableRow Used to perform Put operations for a single row. @@ -498,7 +498,7 @@ implements Put -publicPut(byte[]row) +publicPut(byte[]row) Create a Put operation for the specified row. Parameters: @@ -512,7 +512,7 @@ implements Put -publicPut(byte[]row, +publicPut(byte[]row, longts) Create a Put operation for the specified row, using a given timestamp. @@ -528,7 +528,7 @@ implements Put -publicPut(byte[]rowArray, +publicPut(byte[]rowArray, introwOffset, introwLength) We make a copy of the passed in row key to keep local. @@ -546,7 +546,7 @@ implements Put -publicPut(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferrow, +publicPut(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferrow, longts) Parameters: @@ -561,7 +561,7 @@ implements Put -publicPut(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferrow) +publicPut(http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferrow) Parameters: row - row key; we make a copy of what we are passed to keep local. @@ -574,7 +574,7 @@ implements Put -publicPut(byte[]rowArray, +publicPut(byte[]rowArray, introwOffset, introwLength, longts) @@ -594,7 +594,7 @@ implements Put -publicPut(byte[]row, +publicPut(byte[]row, booleanrowIsImmutable) Create a Put operation for an immutable row key. @@ -612,7 +612,7 @@ implements Put -publicPut(byte[]row, +publicPut(byte[]row, longts, booleanrowIsImmutable) Create a Put operation for an immutable row key, using a given timestamp. @@ -632,7 +632,7 @@ implements Put -publicPut(PutputToCopy) +publicPut(PutputToCopy) Copy constructor. Creates a Put operation cloned from the specified Put. Parameters: @@ -654,7 +654,7 @@ implements addColumn -publicPutaddColumn(byte[]family, +publicPutaddColumn(byte[]family, byte[]qualifier, byte[]value) Add the specified column and value to this Put operation. @@ -674,7 +674,7 @@ implements addImmutable -publicPutaddImmutable(byte[]family, +publicPutaddImmutable(byte[]family, byte[]qualifier, byte[]value) See addColumn(byte[], byte[], byte[]). This version expects @@ -689,7 +689,7 @@ implements addImmutable @InterfaceAudience.Private -publicPutaddImmutable(byte[]family, +publicPutaddImmutable(byte[]family, byte[]qualifier, byte[]value, Tag[]tag) @@ -705,7 +705,7 @@ public addColumn -publicPutaddColumn(byte[]family, +publicPutaddColumn(byte[]family, byte[]qualifier, longts, byte[]value) @@ -728,7 +728,7 @@ public addImmutable -publicPutaddImmutable(byte[]family, +publicPutaddImmutable(byte[]family, byte[]qualifier, longts, byte[]value) @@ -744,7 +744,7 @@ public addImmutable @InterfaceAudience.Private -publicPutaddImmutable(byte[]family, +publicPutaddImmutable(byte[]family, byte[]qualifier, longts, byte[]value, @@ -762,7 +762,7 @@ public addImmutable @InterfaceAudience.Private -publicPutaddImmutable(byte[]family, +publicPutaddImmutable(byte[]family, http://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html?is-external=true; title="class or interface in java.nio">ByteBufferqualifier, longts,
[20/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html b/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html index 6e0627a..5183ad4 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html @@ -748,23 +748,13 @@ service. int -CellComparator.compare(Cellleft, - byte[]key, - intoffset, - intlength) -Used when a cell needs to be compared with a key byte[] such as cases of - finding the index from the index block, bloom keys from the bloom blocks - This byte[] is expected to be serialized in the KeyValue serialization format - If the KeyValue (Cell's) serialization format changes this method cannot be used. +CellComparator.compare(CellleftCell, + CellrightCell) +Lexographically compares two cells. int -CellComparator.compare(Cella, - Cellb) - - -int KeyValue.MetaComparator.compare(Cellleft, Cellright) Deprecated. @@ -772,7 +762,7 @@ service. table. - + int KeyValue.KVComparator.compare(Cellleft, Cellright) @@ -781,31 +771,51 @@ service. rowkey, colfam/qual, timestamp, type, mvcc + +int +CellComparatorImpl.compare(Cella, + Cellb) + -private int -CellComparator.compare(Cella, +int +CellComparatorImpl.compare(Cella, Cellb, booleanignoreSequenceid) Compare cells. -private static int -CellComparator.compareColumns(Cellleft, +static int +CellUtil.compare(CellComparatorcomparator, + Cellleft, + byte[]key, + intoffset, + intlength) +Used when a cell needs to be compared with a key byte[] such as cases of + finding the index from the index block, bloom keys from the bloom blocks + This byte[] is expected to be serialized in the KeyValue serialization format + If the KeyValue (Cell's) serialization format changes this method cannot be used. + + + +static int +CellUtil.compareColumns(Cellleft, byte[]right, intrfoffset, intrflength, intrqoffset, - intrqlength) + intrqlength) +Compares the cell's column (family and qualifier) with the given byte[] + - -static int -CellComparator.compareColumns(Cellleft, + +int +CellComparatorImpl.compareColumns(Cellleft, Cellright) Compares the family and qualifier part of the cell - + (package private) int KeyValue.KVComparator.compareColumns(Cellleft, shortlrowlength, @@ -814,23 +824,32 @@ service. Deprecated. - -private static int -CellComparator.compareFamilies(Cellleft, + +static int +CellUtil.compareFamilies(Cellleft, byte[]right, introffset, - intrlength) + intrlength) +Compares the cell's family with the given byte[] + + + +int +CellComparator.compareFamilies(CellleftCell, + CellrightCell) +Lexographically compares the families of the two cells + -static int -CellComparator.compareFamilies(Cellleft, +int +CellComparatorImpl.compareFamilies(Cellleft, Cellright) Compare the families of left and right cell static int -CellComparator.compareFamily(Cellcell, +CellUtil.compareFamily(Cellcell, ByteArrayComparablecomparator) Compare cell's column family against given comparator @@ -853,8 +872,9 @@ service. -int -CellComparator.compareKeyBasedOnColHint(CellnextIndexedCell, +static int +CellUtil.compareKeyBasedOnColHint(CellComparatorcomparator, +CellnextIndexedCell, CellcurrentCell, intfoff, intflen, @@ -867,8 +887,9 @@ service. -int -CellComparator.compareKeyIgnoresMvcc(Cellleft, +static int +CellUtil.compareKeyIgnoresMvcc(CellComparatorcomparator, + Cellleft, Cellright) Compares only the key portion of a cell. @@ -889,33 +910,42 @@ service. static int -CellComparator.compareQualifier(Cellcell, +CellUtil.compareQualifier(Cellcell, ByteArrayComparablecomparator) Compare cell's qualifier against given comparator static int -CellComparator.compareQualifiers(Cellleft, +CellUtil.compareQualifiers(Cellleft, byte[]right, intrOffset, - intrLength) + intrLength) +Compares the cell's qualifier with the given byte[] + -static int -CellComparator.compareQualifiers(Cellleft, +int +CellComparator.compareQualifiers(CellleftCell, + CellrightCell) +Lexographically compares the qualifiers of the two cells + + + +int +CellComparatorImpl.compareQualifiers(Cellleft, Cellright) Compare the qualifiers part of the left and right cells. - + static int
[09/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/coprocessor/example/ZooKeeperScanPolicyObserver.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/coprocessor/example/ZooKeeperScanPolicyObserver.html b/devapidocs/org/apache/hadoop/hbase/coprocessor/example/ZooKeeperScanPolicyObserver.html index 2a380e3..4097bb7 100644 --- a/devapidocs/org/apache/hadoop/hbase/coprocessor/example/ZooKeeperScanPolicyObserver.html +++ b/devapidocs/org/apache/hadoop/hbase/coprocessor/example/ZooKeeperScanPolicyObserver.html @@ -313,7 +313,7 @@ implements RegionObserver -postAppend, postBatchMutate, postBatchMutateIndispensably, postBulkLoadHFile, postCheckAndDelete, postCheckAndPut, postClose, postCloseRegionOperation, postCommitStoreFile, postCompact, postCompactSelection, postDelete, postExists, postFlush, postFlush, postGetOp, postIncrement, postInstantiateDeleteTracker, postLogReplay, postMutationBeforeWAL, postOpen, postPut, postReplayWALs, postScannerClose, postScannerFilterRow, postScannerNext, postScannerOpen, postStartRegionOperation, postStoreFileReaderOpen, postWALRestore, preAppend, preAppendAfterRowLock, preBatchMutate, preBulkLoadHFile, preCheckAndDelete, preCheckAndDeleteAfterRowLock, preCheckAndPut, preCheckAndPutAfterRowLock, preClose, preCommitStoreFile, preCompactScannerOpen, preCompactSelection, preDelete, preExists, preFlush, preFlushScannerOpen, preGetOp, preIncrement, preIncrementAfterRowLock, preOpen, prePrepareTimeStampForDeleteVersion, prePut, preReplayWALs, preScannerClose, preScannerNext, preScannerOpen, preStoreFileReaderOpen, preStoreScannerOpen, preWALRestore +postAppend, postBatchMutate, postBatchMutateIndispensably, postBulkLoadHFile, postCheckAndDelete, postCheckAndPut, postClose, postCloseRegionOperation, postCommitStoreFile, postCompact, postCompactSelection, postDelete, postExists, postFlush, postFlush, postGetOp, postIncrement, postInstantiateDeleteTracker, postLogReplay, postMutationBeforeWAL, postOpen, postPut, postReplayWALs, postScannerClose, postScannerFilterRow, postScannerNext, postScannerOpen, postStartRegionOperation, postStoreFileReaderOpen, postWALRestore, preAppend, preAppendAfterRowLock, preBatchMutate, preBulkLoadHFile, preCheckAndDelete, preCheckAndDeleteAfterRowLock, preCheckAndPut, preCheckAndPutAfterRowLock, preClose, preCommitStoreFile, preCompactSelection, preDelete, preExists, preFlush, preGetOp, preIncrement, preIncrementAfterRowLock, preOpen, prePrepareTimeStampForDeleteVersion, prePut, preReplayWALs, preScannerClose, preScannerNext, preScannerOpen, preStoreFileReaderOpen, preWALRestore http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/executor/package-tree.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/executor/package-tree.html b/devapidocs/org/apache/hadoop/hbase/executor/package-tree.html index bbf68db..5bdab95 100644 --- a/devapidocs/org/apache/hadoop/hbase/executor/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/executor/package-tree.html @@ -104,8 +104,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.executor.EventType org.apache.hadoop.hbase.executor.ExecutorType +org.apache.hadoop.hbase.executor.EventType http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html b/devapidocs/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html index f49fdc6..af191bb 100644 --- a/devapidocs/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html +++ b/devapidocs/org/apache/hadoop/hbase/filter/ColumnPaginationFilter.html @@ -120,7 +120,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public class ColumnPaginationFilter +public class ColumnPaginationFilter extends FilterBase A filter, based on the ColumnCountGetFilter, takes two arguments: limit and offset. This filter can be used for row-based indexing, where references to other tables are stored across many columns, @@ -329,7 +329,7 @@ extends limit -privateint limit +privateint limit @@ -338,7 +338,7 @@ extends offset -privateint offset
[15/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/client/Result.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/Result.html b/devapidocs/org/apache/hadoop/hbase/client/Result.html index 1b36e1b..0797508 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/Result.html +++ b/devapidocs/org/apache/hadoop/hbase/client/Result.html @@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public class Result +public class Result 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 CellScannable, CellScanner Single row result of a Get or Scan query. @@ -659,7 +659,7 @@ implements cells -privateCell[] cells +privateCell[] cells @@ -668,7 +668,7 @@ implements exists -privatehttp://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">Boolean exists +privatehttp://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">Boolean exists @@ -677,7 +677,7 @@ implements stale -privateboolean stale +privateboolean stale @@ -686,7 +686,7 @@ implements mayHaveMoreCellsInRow -privateboolean mayHaveMoreCellsInRow +privateboolean mayHaveMoreCellsInRow See mayHaveMoreCellsInRow(). @@ -696,7 +696,7 @@ implements row -private transientbyte[] row +private transientbyte[] row @@ -705,7 +705,7 @@ implements familyMap -private transienthttp://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],http://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],http://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMaphttp://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Long,byte[] familyMap +private transienthttp://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],http://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],http://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMaphttp://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Long,byte[] familyMap @@ -714,7 +714,7 @@ implements localBuffer -private statichttp://docs.oracle.com/javase/8/docs/api/java/lang/ThreadLocal.html?is-external=true; title="class or interface in java.lang">ThreadLocalbyte[] localBuffer +private statichttp://docs.oracle.com/javase/8/docs/api/java/lang/ThreadLocal.html?is-external=true; title="class or interface in java.lang">ThreadLocalbyte[] localBuffer @@ -723,7 +723,7 @@ implements PAD_WIDTH -private static finalint PAD_WIDTH +private static finalint PAD_WIDTH See Also: Constant Field Values @@ -736,7 +736,7 @@ implements EMPTY_RESULT -public static finalResult EMPTY_RESULT +public static finalResult EMPTY_RESULT @@ -745,7 +745,7 @@ implements INITIAL_CELLSCANNER_INDEX -private static finalint INITIAL_CELLSCANNER_INDEX +private static finalint INITIAL_CELLSCANNER_INDEX See Also: Constant Field Values @@ -758,7 +758,7 @@ implements cellScannerIndex -privateint cellScannerIndex +privateint cellScannerIndex Index for where we are when Result is acting as a CellScanner. @@ -768,7 +768,7 @@ implements stats -privateRegionLoadStats stats +privateRegionLoadStats stats @@ -777,7 +777,7 @@ implements readonly -private finalboolean readonly +private finalboolean readonly @@ -786,7 +786,7 @@ implements cursor -privateCursor cursor +privateCursor cursor @@ -803,7 +803,7 @@ implements Result -publicResult() +publicResult() Creates an empty Result w/ no KeyValue payload; returns null if you call rawCells(). Use this to represent no results if null won't do or in old 'mapred' as opposed to 'mapreduce' package MapReduce where you need to overwrite a Result instance with a @@ -816,7 +816,7 @@ implements Result -privateResult(booleanreadonly) +privateResult(booleanreadonly) Allows to construct special purpose immutable Result objects, such as EMPTY_RESULT. @@ -831,7 +831,7 @@ implements Result -privateResult(Cursorcursor) +privateResult(Cursorcursor) @@ -840,7 +840,7 @@ implements Result -privateResult(Cell[]cells, +privateResult(Cell[]cells,
[05/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html b/devapidocs/org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html index 4c27f8e..0a3e589 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html +++ b/devapidocs/org/apache/hadoop/hbase/io/encoding/DataBlockEncoder.html @@ -156,7 +156,7 @@ public interface DataBlockEncoder.EncodedSeeker -createSeeker(CellComparatorcomparator, +createSeeker(CellComparatorcomparator, HFileBlockDecodingContextdecodingCtx) Create a HFileBlock seeker which find KeyValues within a block. @@ -339,7 +339,7 @@ public interface createSeeker -DataBlockEncoder.EncodedSeekercreateSeeker(CellComparatorcomparator, +DataBlockEncoder.EncodedSeekercreateSeeker(CellComparatorcomparator, HFileBlockDecodingContextdecodingCtx) Create a HFileBlock seeker which find KeyValues within a block. @@ -357,7 +357,7 @@ public interface newDataBlockEncodingContext -HFileBlockEncodingContextnewDataBlockEncodingContext(DataBlockEncodingencoding, +HFileBlockEncodingContextnewDataBlockEncodingContext(DataBlockEncodingencoding, byte[]headerBytes, HFileContextmeta) Creates a encoder specific encoding context @@ -378,7 +378,7 @@ public interface newDataBlockDecodingContext -HFileBlockDecodingContextnewDataBlockDecodingContext(HFileContextmeta) +HFileBlockDecodingContextnewDataBlockDecodingContext(HFileContextmeta) Creates an encoder specific decoding context, which will prepare the data before actual decoding http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/io/encoding/DiffKeyDeltaEncoder.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/io/encoding/DiffKeyDeltaEncoder.html b/devapidocs/org/apache/hadoop/hbase/io/encoding/DiffKeyDeltaEncoder.html index 612f20a..3e0305d 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/encoding/DiffKeyDeltaEncoder.html +++ b/devapidocs/org/apache/hadoop/hbase/io/encoding/DiffKeyDeltaEncoder.html @@ -275,7 +275,7 @@ extends DataBlockEncoder.EncodedSeeker -createSeeker(CellComparatorcomparator, +createSeeker(CellComparatorcomparator, HFileBlockDecodingContextdecodingCtx) Create a HFileBlock seeker which find KeyValues within a block. @@ -552,7 +552,7 @@ extends createSeeker -publicDataBlockEncoder.EncodedSeekercreateSeeker(CellComparatorcomparator, +publicDataBlockEncoder.EncodedSeekercreateSeeker(CellComparatorcomparator, HFileBlockDecodingContextdecodingCtx) Description copied from interface:DataBlockEncoder Create a HFileBlock seeker which find KeyValues within a block. http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/io/encoding/FastDiffDeltaEncoder.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/io/encoding/FastDiffDeltaEncoder.html b/devapidocs/org/apache/hadoop/hbase/io/encoding/FastDiffDeltaEncoder.html index 0820fad..fbcdc87 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/encoding/FastDiffDeltaEncoder.html +++ b/devapidocs/org/apache/hadoop/hbase/io/encoding/FastDiffDeltaEncoder.html @@ -274,7 +274,7 @@ extends DataBlockEncoder.EncodedSeeker -createSeeker(CellComparatorcomparator, +createSeeker(CellComparatorcomparator, HFileBlockDecodingContextdecodingCtx) Create a HFileBlock seeker which find KeyValues within a block. @@ -572,7 +572,7 @@ extends createSeeker -publicDataBlockEncoder.EncodedSeekercreateSeeker(CellComparatorcomparator, +publicDataBlockEncoder.EncodedSeekercreateSeeker(CellComparatorcomparator, HFileBlockDecodingContextdecodingCtx) Description copied from interface:DataBlockEncoder Create a HFileBlock seeker which find KeyValues within a block. http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/io/encoding/PrefixKeyDeltaEncoder.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/io/encoding/PrefixKeyDeltaEncoder.html b/devapidocs/org/apache/hadoop/hbase/io/encoding/PrefixKeyDeltaEncoder.html index 9427329..d1a71cd 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/encoding/PrefixKeyDeltaEncoder.html +++ b/devapidocs/org/apache/hadoop/hbase/io/encoding/PrefixKeyDeltaEncoder.html @@ -203,7 +203,7 @@ extends DataBlockEncoder.EncodedSeeker
[10/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html b/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html index fc61ce4..242b8e1 100644 --- a/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html +++ b/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html @@ -1305,21 +1305,6 @@ -default InternalScanner -RegionObserver.preCompactScannerOpen(ObserverContextRegionCoprocessorEnvironmentc, - Storestore, - http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">List? extends KeyValueScannerscanners, - ScanTypescanType, - longearliestPutTs, - InternalScanners, - CompactionLifeCycleTrackertracker, - CompactionRequestrequest, - longreadPoint) -Called prior to writing the StoreFiles selected for compaction into a new - StoreFile and prior to creating the scanner used to read the input files. - - - default void RegionObserver.preCompactSelection(ObserverContextRegionCoprocessorEnvironmentc, Storestore, @@ -1329,7 +1314,7 @@ available candidates. - + default void MasterObserver.preCreateNamespace(ObserverContextMasterCoprocessorEnvironmentctx, NamespaceDescriptorns) @@ -1337,7 +1322,7 @@ HMaster. - + default void MasterObserver.preCreateTable(ObserverContextMasterCoprocessorEnvironmentctx, TableDescriptordesc, @@ -1346,7 +1331,7 @@ HMaster. - + default void MasterObserver.preCreateTableAction(ObserverContextMasterCoprocessorEnvironmentctx, TableDescriptordesc, @@ -1355,7 +1340,7 @@ HMaster. - + default void RegionObserver.preDelete(ObserverContextRegionCoprocessorEnvironmentc, Deletedelete, @@ -1364,7 +1349,7 @@ Called before the client deletes a value. - + default void MasterObserver.preDeleteColumnFamily(ObserverContextMasterCoprocessorEnvironmentctx, TableNametableName, @@ -1372,7 +1357,7 @@ Called prior to deleting the entire column family. - + default void MasterObserver.preDeleteColumnFamilyAction(ObserverContextMasterCoprocessorEnvironmentctx, TableNametableName, @@ -1380,7 +1365,7 @@ Called prior to deleting the entire column family. - + default void MasterObserver.preDeleteNamespace(ObserverContextMasterCoprocessorEnvironmentctx, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringnamespace) @@ -1389,14 +1374,14 @@ It can't bypass the default action, e.g., ctx.bypass() won't have effect. - + default void MasterObserver.preDeleteSnapshot(ObserverContextMasterCoprocessorEnvironmentctx, SnapshotDescriptionsnapshot) Called before a snapshot is deleted. - + default void MasterObserver.preDeleteTable(ObserverContextMasterCoprocessorEnvironmentctx, TableNametableName) @@ -1404,7 +1389,7 @@ table. - + default void MasterObserver.preDeleteTableAction(ObserverContextMasterCoprocessorEnvironmentctx, TableNametableName) @@ -1412,49 +1397,49 @@ table. - + default void MasterObserver.preDisableReplicationPeer(ObserverContextMasterCoprocessorEnvironmentctx, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringpeerId) Called before disable a replication peer - + default void MasterObserver.preDisableTable(ObserverContextMasterCoprocessorEnvironmentctx, TableNametableName) Called prior to disabling a table. - + default void MasterObserver.preDisableTableAction(ObserverContextMasterCoprocessorEnvironmentctx, TableNametableName) Called prior to disabling a table. - + default void MasterObserver.preEnableReplicationPeer(ObserverContextMasterCoprocessorEnvironmentctx, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringpeerId) Called before enable a replication peer - + default void MasterObserver.preEnableTable(ObserverContextMasterCoprocessorEnvironmentctx, TableNametableName) Called prior to enabling a table. - + default void MasterObserver.preEnableTableAction(ObserverContextMasterCoprocessorEnvironmentctx, TableNametableName) Called prior to enabling a table. - + default com.google.protobuf.Message
[19/51] [partial] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ed0004f8/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.MetaCellComparator.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.MetaCellComparator.html b/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.MetaCellComparator.html deleted file mode 100644 index 1786181..000 --- a/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.MetaCellComparator.html +++ /dev/null @@ -1,125 +0,0 @@ -http://www.w3.org/TR/html4/loose.dtd;> - - - - - -Uses of Class org.apache.hadoop.hbase.CellComparator.MetaCellComparator (Apache HBase 3.0.0-SNAPSHOT API) - - - - - - - -JavaScript is disabled on your browser. - - - - - -Skip navigation links - - - - -Overview -Package -Class -Use -Tree -Deprecated -Index -Help - - - - -Prev -Next - - -Frames -NoFrames - - -AllClasses - - - - - - - - - - -Uses of Classorg.apache.hadoop.hbase.CellComparator.MetaCellComparator - -No usage of org.apache.hadoop.hbase.CellComparator.MetaCellComparator - - - - -Skip navigation links - - - - -Overview -Package -Class -Use -Tree -Deprecated -Index -Help - - - - -Prev -Next - - -Frames -NoFrames - - -AllClasses - - - - - - - - - -Copyright 20072017 https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - -
hbase git commit: HBASE-19020 HBase Rest test for xml parsing external entities should not rely on implementation of java XML APIs.
Repository: hbase Updated Branches: refs/heads/branch-1 9908edc88 -> 2dce7c172 HBASE-19020 HBase Rest test for xml parsing external entities should not rely on implementation of java XML APIs. Signed-off-by: Chia-Ping TsaiProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/2dce7c17 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2dce7c17 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2dce7c17 Branch: refs/heads/branch-1 Commit: 2dce7c17294e9253a74cff0f902f810898fd738c Parents: 9908edc Author: Sean Busbey Authored: Mon Oct 16 16:11:39 2017 -0500 Committer: Sean Busbey Committed: Wed Oct 18 09:59:45 2017 -0500 -- .../apache/hadoop/hbase/rest/client/TestXmlParsing.java | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/2dce7c17/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java -- diff --git a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java index 5e259f2..586e33c 100644 --- a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java +++ b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java @@ -23,7 +23,10 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.IOException; +import javax.xml.bind.UnmarshalException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.rest.Constants; import org.apache.hadoop.hbase.rest.model.StorageClusterVersionModel; @@ -37,6 +40,7 @@ import org.junit.experimental.categories.Category; */ @Category(SmallTests.class) public class TestXmlParsing { + private static final Log LOG = LogFactory.getLog(TestXmlParsing.class); @Test public void testParsingClusterVersion() throws Exception { @@ -68,8 +72,12 @@ public class TestXmlParsing { admin.getClusterVersion(); fail("Expected getClusterVersion() to throw an exception"); } catch (IOException e) { + assertEquals("Cause of exception ought to be a failure to parse the stream due to our " + + "invalid external entity. Make sure this isn't just a false positive due to " + + "implementation. see HBASE-19020.", UnmarshalException.class, e.getCause().getClass()); final String exceptionText = StringUtils.stringifyException(e); - final String expectedText = "The entity \"xee\" was referenced, but not declared."; + final String expectedText = "\"xee\""; + LOG.debug("exception text: '" + exceptionText + "'", e); assertTrue("Exception does not contain expected text", exceptionText.contains(expectedText)); } }
hbase git commit: HBASE-19020 HBase Rest test for xml parsing external entities should not rely on implementation of java XML APIs.
Repository: hbase Updated Branches: refs/heads/branch-2 7a6668580 -> 12f939803 HBASE-19020 HBase Rest test for xml parsing external entities should not rely on implementation of java XML APIs. Signed-off-by: Chia-Ping TsaiProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/12f93980 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/12f93980 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/12f93980 Branch: refs/heads/branch-2 Commit: 12f9398038355dad633c803eb3bc3c514d89085c Parents: 7a66685 Author: Sean Busbey Authored: Mon Oct 16 16:11:39 2017 -0500 Committer: Sean Busbey Committed: Wed Oct 18 09:46:35 2017 -0500 -- .../apache/hadoop/hbase/rest/client/TestXmlParsing.java | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/12f93980/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java -- diff --git a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java index 5e259f2..586e33c 100644 --- a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java +++ b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java @@ -23,7 +23,10 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.IOException; +import javax.xml.bind.UnmarshalException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.rest.Constants; import org.apache.hadoop.hbase.rest.model.StorageClusterVersionModel; @@ -37,6 +40,7 @@ import org.junit.experimental.categories.Category; */ @Category(SmallTests.class) public class TestXmlParsing { + private static final Log LOG = LogFactory.getLog(TestXmlParsing.class); @Test public void testParsingClusterVersion() throws Exception { @@ -68,8 +72,12 @@ public class TestXmlParsing { admin.getClusterVersion(); fail("Expected getClusterVersion() to throw an exception"); } catch (IOException e) { + assertEquals("Cause of exception ought to be a failure to parse the stream due to our " + + "invalid external entity. Make sure this isn't just a false positive due to " + + "implementation. see HBASE-19020.", UnmarshalException.class, e.getCause().getClass()); final String exceptionText = StringUtils.stringifyException(e); - final String expectedText = "The entity \"xee\" was referenced, but not declared."; + final String expectedText = "\"xee\""; + LOG.debug("exception text: '" + exceptionText + "'", e); assertTrue("Exception does not contain expected text", exceptionText.contains(expectedText)); } }
hbase git commit: HBASE-19020 HBase Rest test for xml parsing external entities should not rely on implementation of java XML APIs.
Repository: hbase Updated Branches: refs/heads/master e804dd0b6 -> e320df5a0 HBASE-19020 HBase Rest test for xml parsing external entities should not rely on implementation of java XML APIs. Signed-off-by: Chia-Ping TsaiProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e320df5a Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e320df5a Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e320df5a Branch: refs/heads/master Commit: e320df5a0c267258c03909da8d0eee4c0e287532 Parents: e804dd0 Author: Sean Busbey Authored: Mon Oct 16 16:11:39 2017 -0500 Committer: Sean Busbey Committed: Wed Oct 18 09:39:55 2017 -0500 -- .../apache/hadoop/hbase/rest/client/TestXmlParsing.java | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/e320df5a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java -- diff --git a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java index 5e259f2..586e33c 100644 --- a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java +++ b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestXmlParsing.java @@ -23,7 +23,10 @@ import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.io.IOException; +import javax.xml.bind.UnmarshalException; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.rest.Constants; import org.apache.hadoop.hbase.rest.model.StorageClusterVersionModel; @@ -37,6 +40,7 @@ import org.junit.experimental.categories.Category; */ @Category(SmallTests.class) public class TestXmlParsing { + private static final Log LOG = LogFactory.getLog(TestXmlParsing.class); @Test public void testParsingClusterVersion() throws Exception { @@ -68,8 +72,12 @@ public class TestXmlParsing { admin.getClusterVersion(); fail("Expected getClusterVersion() to throw an exception"); } catch (IOException e) { + assertEquals("Cause of exception ought to be a failure to parse the stream due to our " + + "invalid external entity. Make sure this isn't just a false positive due to " + + "implementation. see HBASE-19020.", UnmarshalException.class, e.getCause().getClass()); final String exceptionText = StringUtils.stringifyException(e); - final String expectedText = "The entity \"xee\" was referenced, but not declared."; + final String expectedText = "\"xee\""; + LOG.debug("exception text: '" + exceptionText + "'", e); assertTrue("Exception does not contain expected text", exceptionText.contains(expectedText)); } }