Go to file
Bharath Vissapragada 9384b84552 HBASE-24075: Fix a race between master shutdown and metrics (re)init
JMXCacheBuster resets the metrics state at various points in time. These
events can potentially race with a master shutdown. When the master is
tearing down, metrics initialization can touch a lot of unsafe state,
for example invalidated FS objects. To avoid this, this patch makes
the getMetrics() a no-op when the master is either stopped or in the
process of shutting down. Additionally, getClusterId() when the server
is shutting down is made a no-op.

Simulating a test for this is a bit tricky but with the patch I don't
locally see the long stacktraces from the jira.

Signed-off-by: Michael Stack <stack@apache.org>
(cherry picked from commit 6f213e9d5a)
2020-04-01 10:14:34 -07:00
.idea HBASE-23707 Add IntelliJ check style plugin configuration (#1064) (#1092) 2020-01-27 10:45:27 -08:00
bin HBASE-23165 [hbtop] Some modifications from HBASE-22988 (#987) 2020-01-11 21:22:14 +09:00
conf HBASE-23165 [hbtop] Some modifications from HBASE-22988 (#987) 2020-01-11 21:22:14 +09:00
dev-support HBASE-22022 nightly fails rat check down in the dev-support/hbase_nightly_source-artifact.sh check 2020-03-31 09:51:31 -07:00
hbase-annotations HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-archetypes HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-assembly HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-build-configuration HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-checkstyle HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-client HBASE-23937 : Support Online LargeLogs similar to SlowLogs APIs (#1346) 2020-04-01 19:56:42 +05:30
hbase-common HBASE-24050 Deprecated PBType on all 2.x branches (#1354) 2020-03-27 10:43:14 +08:00
hbase-endpoint HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-examples HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-external-blockcache HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-hadoop-compat HBASE-24075: Fix a race between master shutdown and metrics (re)init 2020-04-01 10:14:34 -07:00
hbase-hadoop2-compat HBASE-24075: Fix a race between master shutdown and metrics (re)init 2020-04-01 10:14:34 -07:00
hbase-hbtop HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-http HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-it HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-mapreduce HBASE-24057 Add modules to mapreduce job classpaths (#1359) 2020-03-27 11:15:50 +01:00
hbase-metrics HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-metrics-api HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-procedure HBASE-24000 Simplify CommonFSUtils after upgrading to hadoop 2.10.0 (#1335) 2020-03-26 18:10:03 +08:00
hbase-protocol HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-protocol-shaded HBASE-23937 : Support Online LargeLogs similar to SlowLogs APIs (#1346) 2020-04-01 19:56:42 +05:30
hbase-replication HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-resource-bundle HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-rest HBASE-24041 [regression] Increase RESTServer buffer size back to 64k (#1339) 2020-03-25 17:00:40 -05:00
hbase-rsgroup HBASE-23949 refactor loadBalancer implements for rsgroup balance by table to achieve overallbalanced (#1324) 2020-03-25 11:27:32 +08:00
hbase-server HBASE-24075: Fix a race between master shutdown and metrics (re)init 2020-04-01 10:14:34 -07:00
hbase-shaded HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-shell HBASE-23937 : Support Online LargeLogs similar to SlowLogs APIs (#1346) 2020-04-01 19:56:42 +05:30
hbase-testing-util HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
hbase-thrift HBASE-23937 : Support Online LargeLogs similar to SlowLogs APIs (#1346) 2020-04-01 19:56:42 +05:30
hbase-zookeeper HBASE-24013 Bump branch-2 version to 2.4.0-SNAPSHOT (#1309) 2020-03-19 08:01:43 -07:00
src HBASE-23937 : Documentation for get_largelog_responses command (ADDENDUM) 2020-04-01 20:14:42 +05:30
.editorconfig HBASE-23767 Add JDK11 compilation and unit test support to Github precommit 2020-03-05 13:59:01 -08:00
.gitattributes HBASE-6816. [WINDOWS] line endings on checkout for .sh files 2013-01-23 19:30:14 +00:00
.gitignore HBASE-22593 Added Jenv file to gitignore (#314) 2019-06-17 10:07:41 +02:00
.pylintrc HBASE-21712 : Make submit-patch.py python3 compatible 2019-01-16 09:28:25 +01:00
.rubocop.yml HBASE-23943 Updated Rubocop configuration to current version 2020-03-18 11:48:36 +01:00
CHANGES.txt HBASE-18548 Move sources of website gen and check jobs into source control 2017-12-19 23:40:46 +08:00
LICENSE.txt HBASE-18548 Move sources of website gen and check jobs into source control 2017-12-19 23:40:46 +08:00
NOTICE.txt HBASE-15666 shaded dependencies for hbase-testing-util 2019-08-07 07:43:44 -07:00
README.txt HBASE-18548 Move sources of website gen and check jobs into source control 2017-12-19 23:40:46 +08:00
pom.xml HBASE-24007 Get `-PrunLargeTests` passing on JDK11 (#1351) 2020-03-30 09:48:58 -07:00

README.txt

Apache HBase [1] is an open-source, distributed, versioned, column-oriented
store modeled after Google' Bigtable: A Distributed Storage System for
Structured Data by Chang et al.[2]  Just as Bigtable leverages the distributed
data storage provided by the Google File System, HBase provides Bigtable-like
capabilities on top of Apache Hadoop [3].

To get started using HBase, the full documentation for this release can be
found under the doc/ directory that accompanies this README.  Using a browser,
open the docs/index.html to view the project home page (or browse to [1]).
The hbase 'book' at http://hbase.apache.org/book.html has a 'quick start'
section and is where you should being your exploration of the hbase project.

The latest HBase can be downloaded from an Apache Mirror [4].

The source code can be found at [5]

The HBase issue tracker is at [6]

Apache HBase is made available under the Apache License, version 2.0 [7]

The HBase mailing lists and archives are listed here [8].

The HBase distribution includes cryptographic software. See the export control
notice here [9].

1. http://hbase.apache.org
2. http://research.google.com/archive/bigtable.html
3. http://hadoop.apache.org
4. http://www.apache.org/dyn/closer.cgi/hbase/
5. https://hbase.apache.org/source-repository.html
6. https://hbase.apache.org/issue-tracking.html
7. http://hbase.apache.org/license.html
8. http://hbase.apache.org/mail-lists.html
9. https://hbase.apache.org/export_control.html