Commit Graph

1326 Commits

Author SHA1 Message Date
Viraj Jasani 96ae39b01b
HBASE-23678 : Builder API for version management - setVersionsWithTimeToLive
Signed-off-by: Xu Cang <xucang@apache.org>
2020-04-01 16:58:44 +05:30
xuqinya1 200bf3de86
HBASE-23967 Improve the accuracy of the method sizeToString (#1273)
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-03-13 19:45:53 +05:30
Andrew Purtell b9c676cdc0
Set version on branch-1 to 1.7.0-SNAPSHOT 2020-02-14 11:31:32 -08:00
Andrew Purtell 5ec5a5b115
Update POMs and CHANGES.txt for 1.6.0RC0 2020-02-14 11:30:22 -08:00
thangTang 942bb77d84 HBASE-23693 Split failure may cause region hole and data loss when use zk assign (#1071)
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-02-10 17:03:42 +00:00
Wellington Chevreuil bb49aa205c Revert "HBASE-23693 Split failure may cause region hole and data loss when use zk assign (#1071)"
This reverts commit f99e899ca3.
2020-02-10 17:03:09 +00:00
thangTang f99e899ca3
HBASE-23693 Split failure may cause region hole and data loss when use zk assign (#1071) 2020-02-10 16:57:30 +00:00
Peter Somogyi 907184dfa0
HBASE-23675 Move to Apache parent POM version 22 (#1023)
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-01-15 10:10:23 +01:00
Viraj Jasani 1451063115
HBASE-23590 : Update maxStoreFileRefCount to maxCompactedStoreFileRefCount for auto region recovery based on old reader references
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
2020-01-01 23:50:24 +05:30
Viraj Jasani 8e60b0c0c6
HBASE-23261 Region stuck in transition while splitting
Processing ZK BadVersionException during node transition

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-11-15 17:32:21 -08:00
bitterfox 3c7c1b5489 HBASE-23185 Fix high cpu usage because getTable()#put() gets config value every time [Take2] (#748)
* HBASE-23185 Fix test failure by HBASE-23185 changes

* HBASE-23185 Fix high cpu usage because getTable()#put() gets config value every time

This reverts commit db2ce23a93.
2019-10-31 15:23:47 -07:00
Wellington Ramos Chevreuil 577db5d7e5
HBASE-23238 Additional test and checks for null references on ScannerCallableWithReplicas (#780)
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-10-31 17:11:20 +00:00
Sean Busbey 4bcc397f3e
HBASE-23229 Update branch-1 to 1.6.0-SNAPSHOT (#772)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2019-10-30 09:22:39 -05:00
Viraj Jasani 5e414f2d46 HBASE-23213 Backport HBASE-22460 to branch-1 (#761)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-10-29 13:15:39 -07:00
Sean Busbey db2ce23a93 Revert "HBASE-23185 Fix high cpu usage because getTable()#put() gets config value every time (#731)"
Causes failure in TestMasterNoCluster and TestCatalogJanitor

This reverts commit ce65db36c4.
2019-10-25 23:59:52 -05:00
bitterfox ce65db36c4 HBASE-23185 Fix high cpu usage because getTable()#put() gets config value every time (#731)
* HBASE-23185 Fix high cpu usage because getTable()#put() gets config value every time

* Fix checkstyle
2019-10-21 09:44:14 -07:00
Andrew Purtell 214d33e0f4
Renumber branch to 1.5.1-SNAPSHOT 2019-10-12 13:21:18 -07:00
Andrew Purtell 3966d0fee6
Update POMs and CHANGES.txt for 1.5.0 RC4 2019-10-07 11:46:53 -07:00
Wellington Chevreuil 0ffbf9c759
HBASE-23101 Backport HBASE-22380 to branch-1
Fixes #680

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-10-02 11:25:26 -07:00
Viraj Jasani f77c14d181 HBASE-23015 : Moving from Jackson2 to shaded Gson (#616)
* Backport HBASE-20587
* moving to shaded gson with jdk7 compatibility
* Include jackson-mapper-asl for testing-util because of Hadoop
* Update shaded jar check to allow hbase-thirdparty libs

Signed-off-by: Sean Busbey <busbey@apache.org>
Co-authored-by: Duo Zhang <zhangduo@apache.org>
2019-09-25 21:49:48 -05:00
Viraj Jasani 5c4d8e036f HBASE-23024 Replace initcause with Constructor arg (#627)
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-09-17 14:00:12 +02:00
Viraj Jasani 72ea3666c0 HBASE-22760 : Pause/Resume/Query Snapshot Auto Cleanup Activity (#619) 2019-09-13 10:38:10 +05:30
Jan Hentschel 24a821c38d
HBASE-22844 Fixed Checkstyle violations in client snapshot exceptions
Signed-off-by: stack <stack@apache.org>
2019-08-21 14:41:36 +02:00
Itsuki Toyota d2793f1cd7 HBASE-22833 MultiRowRangeFilter should provide a method for creating… (#493)
* HBASE-22833: MultiRowRangeFilter should provide a method for creating a filter which is functionally equivalent to multiple prefix filters

* Delete superfluous comments

* Add description for MultiRowRangeFilter constructor

* Add null check for rowKeyPrefixes

* Fix checkstyle

Signed-off-by: huzheng <openinx@gmail.com>
2019-08-16 10:17:06 +08:00
Viraj Jasani 4b34d24f7a
HBASE-22728 Jackson dependency cleanup and moving to Jackson2
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-08-15 18:32:36 -07:00
openinx eb6b617d92 HBASE-22810 Initialize an separate ThreadPoolExecutor for taking/restoring snapshot (#486) 2019-08-15 11:46:30 +08:00
syedmurtazahassan 2d9d405bfa
HBASE-22725 Remove all remaining Javadoc warnings
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2019-08-11 23:00:03 +02:00
Jan Hentschel e26f6950b4
HBASE-22785 Fixed Checkstyle issues in exceptions and enhanced Javadoc
Signed-off-by: stack <stack@apache.org>
2019-08-05 17:28:26 +02:00
Jan Hentschel 9f92a9c949
HBASE-22786 Fixed Checkstyle issues in tests in hbase-client
Signed-off-by: stack <stack@apache.org>
2019-08-05 14:14:06 +02:00
Igor Rudenko 9058bb0c59
HBASE-22047 LeaseException in Scan should be retried
Signed-off-by: stack <stack@apache.org>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClientScanner.java
2019-08-01 17:10:47 -07:00
Viraj Jasani f7bdf76295
HBASE-22648 Snapshot TTL (#371)
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Co-authored-by: Andrew Purtell <apurtell@apache.org>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/SnapshotDescription.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/ProtobufUtil.java
	hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
	hbase-common/src/main/resources/hbase-default.xml
	hbase-protocol-shaded/src/main/protobuf/Snapshot.proto
	hbase-protocol/src/main/protobuf/HBase.proto
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/SnapshotInfo.java
	hbase-server/src/main/resources/hbase-webapps/master/snapshot.jsp
	hbase-server/src/main/resources/hbase-webapps/master/snapshotsStats.jsp
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotFromClient.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestSnapshotTemporaryDirectory.java
	hbase-shell/src/main/ruby/hbase/admin.rb
	src/main/asciidoc/_chapters/hbase-default.adoc
2019-07-23 09:56:31 -07:00
Jan Hentschel 55e2a36a58
HBASE-22344 Documented the deprecation of public and limited private APIs (#208)
Signed-off-by: stack <stack@apache.org>
2019-06-17 23:47:15 +02:00
Andrew Purtell e233cfbe75
HBASE-22459 Expose store reader reference count (#248) 2019-05-30 15:09:15 -07:00
Andrew Purtell 98dc440462
HBASE-22449 https everywhere in Maven metadata (#247) 2019-05-21 12:44:02 -07:00
Duo Zhang 4ab2e1c094 HBASE-22413 Backport 'HBASE-22399 Change default hadoop-two.version to 2.8.x and remove the 2.7.x hadoop checks' to branch-1
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-05-21 07:58:02 +08:00
Andrew Purtell e2d48f41c5
Set version on branch back to 1.5.0-SNAPSHOT 2019-05-20 13:02:40 -07:00
Andrew Purtell 860d7a746e
Amend HBASE-22377 Provide API to check the existence of a namespace which does not require ADMIN permissions
Bring back late review feedback from branch-2 version: use toArray in listNamespaces
2019-05-14 13:54:51 -07:00
Andrew Purtell 1ad5a08ebb
HBASE-22377 Provide API to check the existence of a namespace which does not require ADMIN permissions (#225)
Signed-off-by: Xu Cang <xucang@apache.org>
2019-05-14 13:34:15 -07:00
Abhishek Singh Chouhan f4881dcf1b
HBASE-22330 Backport HBASE-20724 (Sometimes some compacted storefiles are still opened after region failover) to branch-1 2019-05-08 16:27:53 -07:00
Josh Elser 630ac33fb0
HBASE-22215 HBASE-22144 Correct MultiRowRangeFilter to work with reverse scans
Re-application of change with a mind towards binary compatibility.

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-04-30 11:17:51 -07:00
Andrew Purtell d61fcf5848
Revert "HBASE-22215 HBASE-22144 Correct MultiRowRangeFilter to work with reverse scans"
This reverts commit c10ee4d23b.

Reverted due to binary compatibility concerns related to a Public/Evolving interface.
See comments on HBASE-22215 for detail.
2019-04-29 15:32:14 -07:00
Andrew Purtell 5ea7851352
HBASE-22310 checkAndMutate used an incorrect row to check the condition (Adonis Ling) 2019-04-26 14:22:37 -07:00
Yu Li 4648ab1db6 HBASE-22283 Print row and table information when failed to get region location 2019-04-24 15:49:36 +08:00
Josh Elser c10ee4d23b HBASE-22215 HBASE-22144 Correct MultiRowRangeFilter to work with reverse scans
Signed-off-by: Toshihiro Suzuki <brfrn169@gmail.com>
2019-04-23 15:27:27 -04:00
Gary Helmling 0db4041c55
HBASE-17884 Backport HBASE-16217 to branch-1
HBASE-16217 Pass through the calling user in ObserverContext

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-04-16 13:02:11 -07:00
liubangchen e79e4aefc0
HBASE-19008 Add missing equals or hashCode method(s) to stock Filter implementations
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Ted Yu <yuzhihong@gmail.com>

and

HBASE-21129 Clean up duplicate codes in #equals and #hashCode methods of Filter

Signed-off-by Ted Yu <yuzhihong@gmail.com>

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-04-12 16:06:14 -07:00
Josh Elser 677ed9ef89
HBASE-22057 Cap the size of the nodes we delete in one ZK.multi call
If we try to delete too many znodes at once, we'll smack into the
jute.maxbuffer size. Try to prevent that from happening. The dominating
factor of the ZK client request should be the znode side on a delete.

Signed-off-by: Peter Somogyi <psomogyi@apache.org>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
	hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/zookeeper/TestZKMulti.java
2019-04-10 18:24:37 -07:00
Josh Elser 25defc9293 HBASE-21796 Recover a ZK client from the AUTH_FAILED state
Introduces "hbase.zookeeper.authfailed.retries.number" and
"hbase.zookeeper.authfailed.pause" to control number of retries
from the AUTH_FAILED state (and the pause in millis between
attempts) before giving up and throwing an uncaught exception.

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-03-12 22:12:34 -04:00
Andrew Purtell 1acdec96cb
Revert "HBASE-21775 The BufferedMutator doesn't ever refresh region location cache Fix server location metadata refresh in multi-actions"
This reverts commit 4e89d98d4a.

Several unit tests are failing after this commit.
2019-02-05 14:01:37 -08:00
Andrew Purtell ce6a6014da
Update POMs and CHANGES.txt for 1.5.0 RC0 2019-02-01 12:36:10 -08:00