Commit Graph

5625 Commits

Author SHA1 Message Date
WenFeiYi f94c19494b HBASE-24040 WALFactory.Providers.multiwal causes StackOverflowError (#1338)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-03-27 10:25:55 +08:00
Huaxiang Sun 61f9048b01
HBASE-23957 [flakey test] client.TestMultiParallel fails to read hbase-site.xml (#1310) (#1344)
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-03-25 09:58:04 -07:00
Viraj Jasani 957bfcb065
HBASE-23631 : Backport HBASE-23350 (Make compaction files cacheonWrite configurable based on threshold) to branch-1 (#1256)
Signed-off-by: ramkrish86 <ramkrishna@apache.org>

Backport of commit: 77229c79e3
2020-03-10 20:35:55 +05:30
Viraj Jasani a50d5c4a8d
HBASE-23631 : Backport HBASE-23588 Cache index & bloom blocks on write if CacheCompactedBlocksOnWrite is enabled
Signed-off-by: ramkrish86 <ramkrishna@apache.org>
Signed-off-by: chenxu14 <47170471+chenxu14@users.noreply.github.com>
2020-02-28 20:42:51 +05:30
Viraj Jasani bd99a55de8
HBASE-23066 : Allow cache on write during compactions when prefetching is enabled
Signed-off-by: ramkrish86 <ramkrishna@apache.org>
Signed-off-by: Reid Chan <reidchan@apache.org>
2020-02-28 20:06:48 +05:30
Sakthi 25654df98b
HBASE-23862 Fix flaky TestSnapshotFromMaster in 1.x versions (#1181)
Backport HBASE-23658 - Fix flaky TestSnapshotFromMaster

(cherry picked from commit e750d2c7af)

Signed-off-by: Guanghao Zhang <zghaobac@gmail.com>
2020-02-19 19:51:07 -08:00
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
Sandeep Pal 901dffd241
HBASE-21776: Avoid duplicate calls to setStoragePolicy which shows up in debug Logging (#856)
Signed-off-by: Xu Cang <xucang@apache.org>
2020-02-13 11:56:17 -08:00
Abhishek Singh Chouhan b25071c679 HBASE-23825 Increment proto conversion is broken 2020-02-11 17:07:43 -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
Nick Dimiduk 9e4aec56c3
HBASE-23802 Remove unnecessary Configuration instantiation in LossyAccounting (#1127) (#1140)
Signed-off-by: stack <stack@apache.org>
2020-02-07 08:56:11 -08:00
Gkkkk302 66f1658167
HBASE-23045 currentPath may be stitched in a loop in replication source code. (#1006)
Co-authored-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-01-30 01:07:40 +05:30
Viraj Jasani dfe636017d
HBASE-23749 : TestHFileWriterV3 for all DataBlock Encoders
Signed-off-by: ramkrish86 <ramkrishna@apache.org>
2020-01-30 00:51:45 +05:30
Jan Hentschel 2267ab9399
HBASE-23621 Reduced the number of Checkstyle violations in tests of hbase-common
Signed-off-by: stack <stack@apache.org>
2020-01-27 13:05:25 +01:00
Geoffrey Jacoby c080923d77
HBASE-23710 - Priority configuration for system coprocessor
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-01-23 16:54:26 -08:00
Geoffrey Jacoby 99d26e884b
HBASE-23711 - Add test for MinVersions and KeepDeletedCells TTL
Co-authored-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-01-22 01:05:08 -08:00
Jeongdae Kim 8bf4985d69 HBASE-23254 Release replication buffer quota correctly, when batch includes bulk loaded hfiles (#792)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-01-21 09:23:55 +00:00
Viraj Jasani 64b9d2f5ab
HBASE-23335 : Improving cost functions array copy in StochasticLoadBalancer
Signed-off-by: stack <stack@apache.org>
2020-01-18 17:45:03 -08:00
Bharath Vissapragada 71bfac3353 HBASE-23665: Split unit tests from TestTableName into a separate test-only class. (#1032) (#1051)
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2020-01-17 09:52:31 -08:00
Viraj Jasani d466f775ad
HBASE-23569 : Validate that all default chores of HRegionServer are scheduled (ADDENDUM)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2020-01-16 23:32:14 -08: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 3cb0431383
HBASE-23569 : Validate that all default chores of HMaster are scheduled
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2020-01-14 23:47:53 -08:00
Baiqiang Zhao 6b940ae986 HBASE-23585 MetricsRegionServerWrapperImpl.getL1CacheHitCount always returns 200 (#945)
Signed-off-by: Jan Hentschel <janh@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-01-03 07:04:57 -08:00
Viraj Jasani 19b35d2b19
HBASE-23590 : Update maxCompactedStoreFileRef (ADDENDUM) 2020-01-02 19:24:01 +05:30
Jeongdae Kim e0c419d76d HBASE-23205 Correctly update the position of WALs currently being replicated (#944)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-01-02 11:56:38 +00: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
Bharath Vissapragada 27fc96e076
HBASE-23238: Remove 'static'ness of cell counter in LimitKVsReturnFilter (addendum)
Having it as static means the test cannot be parameterized (ran into
this issue in HBASE-23305). That happens because the field is not
reset between parameterized runs.

Signed-off-by: Viraj Jasani <vjasani@apache.org>
2019-12-27 23:07:53 +05:30
Bharath Vissapragada 85b43a7059
HBASE-23362: [WalPrettyPrinter] print/filter by table name. (#898)
Reapplied with missing delta for branch-1

Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2019-12-18 16:49:05 -08:00
Andrew Purtell d77da0dcfc
Revert "HBASE-23362: [WalPrettyPrinter] print/filter by table name. (#898)"
This reverts commit afb2e348e6.
2019-12-18 16:48:56 -08:00
Bharath Vissapragada afb2e348e6
HBASE-23362: [WalPrettyPrinter] print/filter by table name. (#898)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2019-12-18 15:34:29 -08:00
Baiqiang Zhao 28673f0c22 HBASE-23375 HBASE-22441 BucketCache NullPointerException in cacheBlock
branches-1 backport. closes #907

Co-authored-by: binlijin <binlijin@apache.org>
Signed-off-by: binlijin <binlijin@apache.org>
Signed-off-by: Viraj Jasani <virajjasani007@gmail.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-12-13 16:02:43 -06:00
Pierre Zemb f5171b419e HBASE-23073 Add an optional costFunction to balance regions according to a capacity rule (#894)
Signed-off-by Wellington Chevreuil <wchevreuil@apache.org>
2019-12-09 15:47:16 +00:00
Lars Hofhansl 9b10afde93 HBASE-23364 HRegionServer sometimes does not shut down. 2019-12-05 18:14:48 -08:00
Toshihiro Suzuki ec55c2a5d9 HBASE-22096 /storeFile.jsp shows CorruptHFileException when the storeFile is a reference file
Signed-off-by: Lijin Bin <binlijin@apache.org>
2019-12-04 21:49:11 +09:00
Toshihiro Suzuki 737eaa635a
HBASE-23359 RS going down with NPE when splitting a region with compaction disabled in branch-1 (#899)
Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
Signed-off-by Anoop Sam John <anoopsamjohn@apache.org>
2019-12-04 21:24:03 +09:00
Karthik Palanisamy da9f6bf818 HBASE-23237 Prevent Negative values in metrics requestsPerSecond (#866)
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2019-11-24 00:13:12 +08:00
Bharath Vissapragada eb5e94aced HBASE-23259: Populate master address end points in cluster/rs configs (#807) (#858)
All the clients need to know the master RPC end points while using master
based registry for creating cluster connections. This patch amends the
test cluster utility to populate these configs in the base configuration
object used to spin up the cluster.

The config key added here ("hbase.master.addrs") is used in the subsequent
patches for HBASE-18095.

Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
(cherry picked from commit 834ccb4bf6)
2019-11-21 09:47:05 -08:00
Baiqiang Zhao eee337f5c3 HBASE-23278 Add a table-level compaction progress display on the UI (#817)
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
2019-11-19 18:55:40 +08:00
Geoffrey Jacoby 5f36343949 HBASE-23288 - Backport HBASE-23251 (Add Column Family and Table Names to HFileContext) to branch-1 (#822)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-11-18 16:56:10 -08:00
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
Baiqiang Zhao 5130bc52d5 HBASE-23287 LogCleaner is not added to choreService
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-11-15 10:14:39 -06:00
Guangxu Cheng 9b30df5c63 HBASE-23273 Fix table header display is incorrect on table.jsp when viewing hbase:meta
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
2019-11-10 20:37:48 +08:00
Viraj Jasani a5f09cd756
HBASE-23212 Dynamically reload configs for Region Recovery chore (#803)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-11-06 15:43:08 -08:00
ravowlga123 1360816786
HBASE-23250 Log message about CleanerChore delegate initialization should be at INFO
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2019-11-05 20:51:36 +01:00
Thiruvel Thirumoolan 2451023327
HBASE-23219 Re-enable ZKLess tests for branch-1 (Revert HBASE-14622)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-10-31 16:22:34 -07: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
Guangxu Cheng 93a97ca475
HBASE-20626 Change the value of "Requests Per Second" on WEBUI
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerWrapperImpl.java
2019-10-28 11:58:07 -07:00
Andrew Purtell d16cbfe91d
HBASE-23210 Backport HBASE-15519 (Add per-user metrics) to branch-1 (#755)
HBASE-15519 Add per-user metrics with lossy counting

Introducing property hbase.regionserver.user.metrics.enabled(Default:true)
to disable user metrics in case it accounts for any performance issues

Signed-off-by: Josh Elser <elserj@apache.org>
2019-10-28 09:05:36 -07:00
Jacky Lau 41f671336c HBASE-23149 RatioBasedCompactionPolicy#shouldPerformMajorCompaction logic is not correct (#744)
Signed-off-by: Guangxu Cheng <guangxucheng@gmail.com>
2019-10-24 17:01:35 +08:00
Andrew Purtell f0999a16ee
HBASE-23207 Log a region open journal (#751)
Signed-off-by: Abhishek Singh Chouhan <achouhan@apache.org>
2019-10-23 17:18:57 -07:00
Caroline Zhou e183c90fe9 HBASE-23172 HBase Canary region success count metrics reflect column family successes, not region successes 2019-10-21 09:19:48 -07:00
stack cad7831567 HBASE-23177 If fail to open reference because FNFE, make it plain it is a Reference
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Viraj Jasani <virajjasani007@gmail.com>
2019-10-21 09:15:33 -07:00
chenxu14 425d84dc14
HBASE-23151 Backport HBASE-23083 (Collect Executor status info periodically and report to metrics system) to branch-1
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-10-15 10:13:04 -07:00
Andrew Purtell d66ed4c32e
HBASE-23153 PrimaryRegionCountSkewCostFunction SLB function should implement CostFunction#isNeeded (#714)
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-10-12 13:21:18 -07:00
Andrew Purtell 214d33e0f4
Renumber branch to 1.5.1-SNAPSHOT 2019-10-12 13:21:18 -07:00
zbq.dean 4a0442d14e HBASE-23056 Block count is 0 when BucketCache using persistent IOEngine and retrieve from file
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-10-12 14:53:00 +08:00
Andrew Purtell f1616ba61d
HBASE-23139 MapReduce jobs lauched from convenience distribution are nonfunctional (#705)
Add hbase-shaded-gson to base job dependencies.
2019-10-08 17:22:42 -07:00
Andrew Purtell 0e8e5a36db
HBASE-23128 Restore Region interface compatibility
Restore and deprecate Region#bulkLoadHFiles(Collection<Pair<byte[],String>>, boolean,
  Region.BulkLoadListener).
Warn if invoked.
2019-10-07 12:23:12 -07:00
Andrew Purtell 3966d0fee6
Update POMs and CHANGES.txt for 1.5.0 RC4 2019-10-07 11:46:53 -07:00
Andrew Purtell 6421112318
HBASE-23110 Backport HBASE-23054 "Remove synchronization block from MetaTableMetrics and fix LossyCounting algorithm" to branch-1 (#683)
Additional fixes for reported findbugs and checkstyle warnings.
2019-10-07 11:10:52 -07:00
Sanjeet Nishad 57b3ff1b14 HBASE-23094 Wrong log message in simpleRegionNormaliser while checking if merge is enabled.
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-10-07 16:24:15 +02:00
Bharath Vissapragada c63b2f4984 HBASE-23116 LoadBalancer should log table name when balancing per table (#689)
This commit adds table name to the logging context when
StochasticLoadBalancer is configured "per table".

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-10-04 15:39:50 -07:00
Rushabh 638508e20d HBASE-22874 Define a public API for Canary checking and a non-public tool implementation
Closes #580

* Canary is now an IA.Public interface
* CanaryTool is now the implementation

Branch-1 specific changes for differences in APIs and cleanup of the ref guide using a classname.

Co-authored-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-10-04 13:14:36 -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
Sandeep Pal 1df99624a5
HBASE-22902 At regionserver start there's a request to roll the WAL
Closes #668

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-10-01 15:16:57 -07:00
Pankaj 4cd51aed31 HBASE-22930 Set unique name to longCompactions/shortCompactions threads (#645) 2019-09-30 10:11:21 +02: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
zbq.dean 771e184376 HBASE-22975 Add read and write QPS metrics at server level and table level
Signed-off-by Reid Chan <reidchan@apache.org>
2019-09-23 13:51:51 +08:00
wuqiong 0339ad1156 HBASE-23058 Should be 'Column Family Name' in table.jsp
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-09-21 19:32:30 +08:00
sreenivasulureddy dd761b1e69 HBASE-22649: Encode StoreFile path URLs in the UI to handle scenarios where CF contains special characters (like # etc.)
Signed-off-by: Sakthi<sakthi@apache.org>
2019-09-20 01:20:15 -07:00
zbq.dean b5b871c133 HBASE-22890 Verify the file integrity in persistent IOEngine
Signed-off-by Anoop Sam John <anoopsamjohn@apache.org>
Signed-off-by stack <stack@apache.org>
Signed-off-by Reid Chan <reidchan@apache.org>
2019-09-20 14:09:34 +08: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
Reid Chan 3b6cff590e Revert "HBASE-22890 Verify the files when RegionServer is starting and BucketCache is in file mode"
Reason: There're still some concerns on whether to delete cached data file.

This reverts commit 5bf60ec55f.
2019-09-16 17:50:57 +08:00
zbq.dean 5bf60ec55f HBASE-22890 Verify the files when RegionServer is starting and BucketCache is in file mode
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Stack <stack@apache.org>
2019-09-16 15:14:39 +08:00
Viraj Jasani 72ea3666c0 HBASE-22760 : Pause/Resume/Query Snapshot Auto Cleanup Activity (#619) 2019-09-13 10:38:10 +05:30
caroliney14 de9b1d403c
[HBASE-22804] Provide an API to get list of successful regions and total expected regions in Canary (#612)
Signed-off-by: Xu Cang <xucang@apache.org>
2019-09-12 13:41:54 -07:00
openinx 352344c9be
HBASE-22912 [Backport] HBASE-22867 to branch-1 to avoid ForkJoinPool to spawn thousands of threads (#549)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-09-05 19:32:42 +08:00
Pierre Zemb 73e0304567 HBASE-22618 added the possibility to load custom cost functions
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2019-08-28 09:56:55 +01:00
David Manning 30ab723e8e
HBASE-22935 Fix false warn of stuck MonitoredRPCHandler MonitoredTask
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-08-27 17:50:33 -07:00
Pankaj 3d226043a6 HBASE-22706 Backport HBASE-21292 to branch-1 2019-08-26 21:17:44 -07:00
Aman Poonia f240ca0e63 HBASE-22872 Don't try to create normalization plan unnecesarily when split and merge both are disabled
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-08-27 11:25:54 +08:00
Dean_19 896131540a HBASE-22880 Move the DirScanPool out and do not use static field
Signed-off-by Reid Chan <reidchan@apache.org>
2019-08-24 13:13:32 +08:00
shahrs87 bb87e3a7bf
[HBASE-22601] Misconfigured addition of peers leads to cluster shutdown. (#490)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-08-22 13:06:32 -07:00
huzheng be2de08c12 HBASE-22810 Initialize an separate ThreadPoolExecutor for taking/restoring snapshot (addendum - use the old config key) 2019-08-22 12:09:57 +08:00
Reid Chan 105008e748
HBASE-22861 [WAL] Merged region should get its WAL according to WALProvider 2019-08-22 11:15:21 +08:00
Andrew Purtell bb31ffa9d2
Revert "HBASE-22823 Mark Canary as Public/Evolving"
This reverts commit 1f7458dc38.

See HBASE-22874
2019-08-20 09:44:46 -07: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
Caroline Zhou 1f7458dc38
HBASE-22823 Mark Canary as Public/Evolving
Signed-off-by: Xu Cang <xucang@apache.org>
2019-08-15 14:11:29 -07:00
openinx eb6b617d92 HBASE-22810 Initialize an separate ThreadPoolExecutor for taking/restoring snapshot (#486) 2019-08-15 11:46:30 +08:00
Reid Chan f887207322
HBASE-22774 [WAL] RegionGroupingStrategy loses its function after split
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-08-14 10:27:55 +08:00
Wellington Chevreuil 9821fd8ffb
HBASE-22784 OldWALs not cleared in a replication slave cluster (cyclic replication bw 2 clusters)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-08-13 16:44:34 -07:00
Andrew Purtell 73a48b7b74
HBASE-22828 Log a region close journal (#471)
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-08-13 15:44:16 -07: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
Geoffrey Jacoby 9888217177 HBASE-22623 - Add RegionObserver coprocessor hook for preWALAppend (#470)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-08-09 14:46:08 -07:00
dingwei-2017 9753791053 HBASE-22773 when set blockSize option in Performance Evaluation tool, error occurs:ERROR: Unrecognized option/command: --blockSize=131072
Signed-off-by: huzheng <openinx@gmail.com>
2019-08-05 11:47:24 +08:00
Andrew Purtell 031a83bb30
Amend HBASE-22762 Print the delta between phases in the split/merge/compact/flush transaction journals
Update merge, compact, and flush transaction journals too
2019-08-01 19:24:52 -07:00
Biju Nair ebc1fab882 HBASE-22363 Remove hardcoded number of read cache block buckets
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-07-31 09:45:38 +02:00
Xu Cang d08463e683
HBASE-22762 Print the delta between phases in the split/merge/compact/flush transaction journals
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-07-30 17:46:41 -07:00
Venkatesh Sridharan b294f7b7b2 HBASE-22313 Add method to FsDelegation token to accept token kind (#199)
Co-authored-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-07-29 11:56:04 +02:00
Viraj Jasani 2be03e130b HBASE-22132 Backport HBASE-22115 to branch-1 (#395)
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-07-25 08:57:59 -07:00
Jeongdae Kim c3a8f6c9ba
HBASE-22715 All scan requests should be handled by scan handler threads in RWQueueRpcExecutor (#393)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-07-24 14:42:15 -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
syedmurtazahassan d38078a67c
HBASE-22603 Javadoc Warnings related to @link tag
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2019-07-23 14:59:55 +02:00
syedmurtazahassan 0d8f9b515b HBASE-22610 [BucketCache] Rename hbase.offheapcache.minblocksize
Co-authored-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-07-23 12:19:31 +08:00
Geoffrey Jacoby 0a5fe609e7
HBASE-22622 WALKey Extended Attributes (#352)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Co-authored-by: Andrew Purtell <apurtell@apache.org>
2019-07-19 15:31:29 -07:00
syedmurtazahassan f81f662ca0
HBASE-22586 Javadoc Warnings related to @param tag
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2019-07-13 17:42:13 +02:00
syedmurtazahassan 4901722508
HBASE-22571 Javadoc Warnings related to @return tag
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2019-07-13 16:26:17 +02:00
Andrew Purtell 4d0378629b
HBASE-22686 ZkSplitLogWorkerCoordination doesn't allow a regionserver to pick up all of the split work it is capable of 2019-07-12 18:23:46 -07:00
Peter Somogyi d2a4be96f0
HBASE-22666 Add missing @Test annotation to TestQuotaThrottle (#364)
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-07-08 15:30:29 +02:00
Reid Chan ebbb0e2987
HBASE-22656 [Metrics] Table metrics 'BatchPut' and 'BatchDelete' are never updated (#358)
Signed-off-by: Michael Stack <stack@apache.org>
2019-07-07 23:15:10 +08:00
Mate Szalay-Beko a09c63ef26 HBASE-22637 fix flaky test in TestMetaTableMetrics
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-07-03 13:57:16 +02:00
Andrew Purtell a0258b53bb
HBASE-22629 Remove TestReplicationDroppedTables from branch-1
Signed-off-by: Xu Cang <xcang@apache.org>
2019-06-25 18:25:22 -07:00
Andrew Purtell 5a06739d04
HBASE-22627 Port HBASE-22617 (Recovered WAL directories not getting cleaned up) to branch-1 (#339)
HBASE-22617 Recovered WAL directories not getting cleaned up (Duo Zhang)

Signed-off-by: Zach York <zyork@apache.org>
2019-06-25 18:14:01 -07:00
Andrew Purtell 5023690c84
HBASE-22616 responseTooXXX logging for Multi should characterize the component ops 2019-06-24 18:06:19 -07:00
Josh Elser 36f4ab0716 HBASE-22492 Wrap RPC responses with SASL after queueing for response (Sébastien Barnoud)
Amending-Author: Josh Elser <elserj@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2019-06-21 21:00:21 -04:00
virajjasani ca7ccb95b0
HBASE-22520 Avoid possible NPE while performing seekBefore in HalfStoreFileReader
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/io/HalfStoreFileReader.java

Co-authored-by: Andrew Purtell <apurtell@apache.org>
2019-06-20 15:00:51 -07:00
Reid Chan be9f0dd588
HBASE-22596 [Chore] Separate the execution period between CompactionChecker and PeriodicMemStoreFlusher
Signed-off-by: Zach York <zyork@apache.org>
Signed-off-by: Xu Cang <xucang@apache.org>
2019-06-20 10:49:11 +08:00
Pankaj 4895fad5b0
HBASE-22426 Disable region split/merge switch doen't work when 'hbase.assignment.usezk' is set true
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-06-19 12:04:32 -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
Josh Elser 84af2a4610 HBASE-22562 Remove dead code: skipControl
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-06-14 19:46:57 +08:00
Reid Chan 2ff4e4f096
HBASE-22559 [RPC] set guard against CALL_QUEUE_HANDLER_FACTOR_CONF_KEY 2019-06-14 11:24:55 +08:00
Mingliang Liu 60cea9ee63 HBASE-22545 TestLogLevel broken
Signed-off-by: Josh Elser <elserj@apache.org>
2019-06-11 14:56:15 -04:00
Syeda 0f470e2f92 HBASE-21920 Ignoring 'empty' end_key while calculating end_key for new region in HBCK -fixHdfsOverlaps command can cause data loss
Signed-off-by: Toshihiro Suzuki <brfrn169@gmail.com>
2019-06-05 18:58:20 +09:00
Pisces c950de7834
HBASE-22540 [Memstore] Correct counters in MemStoreChunkPool
* First commit: HBASE-22540 [Memstore] Correct counters in MemStoreChunkPool

* Address comment and remove useless parent thread info from Statistics thread

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-06-05 11:55:10 +08:00
Andrew Purtell 749d58fc41
HBASE-22533 TestAccessController3 is flaky (branch-1)
Wait for created tables to be online before proceeding in access control tests.

Fix a possible NPE in teardown if secure tests did not properly set up.
2019-06-04 11:28:31 -07:00
Andrew Purtell 5c4708ea73
Revert "HBASE-16488 Starting namespace and quota services in master startup asynchronously"
This reverts commit e4644c35c1.
2019-06-03 18:24:16 -07:00
Andrew Purtell b20e248387
Revert "HBASE-22521 TestOfflineMetaRebuildBase#testHMasterStartupOnMetaRebuild failing (branch-1)"
This reverts commit db6ad391ee.
2019-06-03 18:24:12 -07:00
Artem Ervits e1bca19631 HBASE-22396 Backport HBASE-21536 to branch-1
Fix completebulkload usage instructions

Signed-off-by: Josh Elser <elserj@apache.org>
2019-06-03 16:43:05 -04:00
Andrew Purtell eae71261b3
HBASE-22510 Address findbugs/spotbugs complaints (branch-1) (#278)
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-06-03 11:33:47 -07:00
Andrew Purtell db6ad391ee
HBASE-22521 TestOfflineMetaRebuildBase#testHMasterStartupOnMetaRebuild failing (branch-1) 2019-06-02 10:47:15 -07:00
Andrew Purtell 5beba8fd4e
HBASE-22451 TestLoadIncrementalHFiles and TestSecureLoadIncrementalHFiles are flaky (#250)
Start ZKNamespaceManager as first step in TableNamespaceManager initialization

Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-05-30 17:47:06 -07:00
Andrew Purtell e233cfbe75
HBASE-22459 Expose store reader reference count (#248) 2019-05-30 15:09:15 -07:00
Clay Baenziger 1b2f863cdb HBASE-22487 getMostLoadedRegions is unused
Signed-off-by: Wellington Chevreuil <wellington.chevreuil@gmail.com>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-05-30 16:39:36 +02:00
Andrew Purtell b5d667c345
HBASE-22450 Port TestStoreScannerClosure from HBASE-22072 2019-05-22 17:50:06 -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
zhangduo ee4fe2dca7 HBASE-22444 Backport HBASE-19954 to branch-1 2019-05-20 10:04:52 +08:00
Reid Chan 83983bea18 HBASE-22184 [security] Support get|set LogLevel in HTTPS mode 2019-05-17 23:29:11 +08:00
Sakthi f66953fa52 HBASE-21991 [Addendum] Mark LossCounting as Private
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-05-17 14:42:27 +08:00
wellington 299af7ad77
HBASE-20305 Add option to SyncTable that skip deletes on target cluster
Change-Id: Iccbcd4a7e7ed176d8404cb2ab17e3e47663e0441

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-05-14 15:38:51 -07:00
Xu Cang 0df3875746
HBASE-22391 Fix flaky tests from TestFromClientSide
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-05-14 15:05:02 -07:00
Wellington Chevreuil 46eb56a51b
HBASE-21784 Dump replication queue should show list of wal files ordered chronologically
Change-Id: I18c372406290e2b1e2b5503e2c87adcb9bf6fe91

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-05-14 14:35:28 -07:00
Wei-Chiu Chuang 4d41846246
Amend HBASE-21048 Get LogLevel is not working from console in secure environment
Addenum fix for compile error.

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-05-14 13:58:22 -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
Caroline Zhou 07b31d874f
HBASE-22378. HBase Canary fails with TableNotFoundException when table deleted during Canary run
Signed-off-by: Xu Cang <xucang@apache.org>
2019-05-13 12:13:53 -07:00
Puleya7 30c3eaca1d
HBASE-22392. Remove extra/useless +
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2019-05-12 22:00:25 +02:00
Xu Cang 06fcaac281
HBASE-22274 Cell size limit check on append considers cell's previous size 2019-05-09 20:27:27 -07:00
z-york a66fafbad6
HBASE-22389 Revert "HBASE-19275 TestSnapshotFileCache never worked properly" (#229)
This reverts commit e8e4beacb0.
2019-05-09 17:17:28 -07:00
zhangduo c5859b554d HBASE-22390 Backport HBASE-22190 to branch-1
HBASE-22190 SnapshotFileCache may fail to load the correct snapshot file list when there is an on-going snapshot operation

closes #230

Co-authored-by: Zach York <zyork@amazon.com>
2019-05-09 16:55:30 -07:00
Abhishek Singh Chouhan 190d189fef
Addendum HBASE-22330 Backport HBASE-20724 (Sometimes some compacted storefiles are still opened after region failover) to branch-1 2019-05-09 15:54:00 -07:00
Andrew Purtell 541e942c8d
HBASE-22375 Promote AccessChecker to LimitedPrivate(Coprocessor) 2019-05-08 18:19:17 -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
Yu Li e4ab715901 HBASE-21777 Only log compaction pressure throughput when changed or traced (addendum)
Fix the findbugs warning
2019-05-09 01:00:59 +08:00
Tak Lon (Stephen) Wu fbd53bfefb HBASE-21777 Only log compaction pressure throughput when changed or traced 2019-05-08 02:28:08 +08:00
z-york 13da268169 HBASE-21070 Add Test for SnapshotFileCache for HBase backed by S3 (#209)
SnapshotFileCache depends on getting the last modified time of the
snapshot directory, however, S3 FileSystem's do not update the
last modified time of the top 'folder' when objects are added/removed.
This commit adds a test for the previously fixed SnapshotFileCache.
2019-05-06 12:04:45 -07:00
Andrew Purtell 26b9e76bbf
HBASE-22301 Consider rolling the WAL if the HDFS write pipeline is slow 2019-05-01 17:43:43 -07:00
Thiruvel Thirumoolan 36b4c0fc6f
HBASE-21883 Enhancements to Major Compaction tool
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-04-30 17:29:19 -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 8d18a85e30
HBASE-22225 Profiler tab on Master/RS UI not working w/o comprehensive message 2019-04-29 13:24:47 -07:00
chfeng 0aa75dce28
HBASE-21815 Make isTrackingMetrics and getMetrics of ScannerContext public
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-04-29 13:02:41 -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
Zach York 8563644f89
HBASE-22291 Fix recovery of recovered.edits files under root dir
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-04-25 18:18:55 -07:00
Puleya7 edc30fc950 HBASE-22270. master's jmx.clusterRequests could be negative in branch-1 (#164)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-04-24 14:18:59 -07:00
Xu Cang e4644c35c1
HBASE-16488 Starting namespace and quota services in master startup asynchronously
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-04-23 18:31:52 -07: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
Wellington Chevreuil 539de1cae9
HBASE-21959 - CompactionTool should close the store it uses for compacting files, in order to properly archive compacted files.
Reapply without unit test

Change-Id: If852529e79274a77eb08cac13936f02776232608
Signed-off-by: Xu Cang <xucang@apache.org>
Amending-Author: Andrew Purtell <apurtell@apache.org>
2019-04-17 18:54:34 -07:00
Andrew Purtell 46e0e88056
Revert "HBASE-21959 - CompactionTool should close the store it uses for compacting files, in order to properly archive compacted files."
This reverts commit c1a64aaa1a.
2019-04-17 18:54:34 -07:00
Wei-Chiu Chuang 4af4afc94f HBASE-21048 Get LogLevel is not working from console in secure environment
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-04-17 10:58:39 +08:00
Andrew Purtell 084745de18
HBASE-22235 OperationStatus.{SUCCESS|FAILURE|NOT_RUN} are not visible to 3rd party coprocessors 2019-04-16 13:18:00 -07: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
wellington d526bae579
HBASE-20586: add support for clusters on different realms (with cross-realm authentication)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-04-15 11:24:12 -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
Bahram Chechrazy 465b150975 HBASE-22194 Snapshot unittests fail on Windows due to invalid file path uri
Signed-off-by: Sergey Shelukhin <sershe@apache.org>
2019-04-11 11:38:15 -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
Ankit Singhal 01f8e1eaa3 HBASE-22106 Better log message when failing to load coprocessor
Signed-off-by: Josh Elser <elserj@apache.org>
2019-04-10 12:59:48 -04:00
huzheng 055a47e5c3 HBASE-22185 RAMQueueEntry#writeToCache should freeBlock if any exception encountered instead of the IOException catch block #130 2019-04-10 14:19:23 +08:00
iamgd67 6df26a1ef9 HBASE-21818 Incorrect list item in javadoc
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-04-08 14:53:01 +02:00
chaiwentao 3aa64b12da HBASE-22070 Checking restoreDir in RestoreSnapshotHelper
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-04-06 16:14:58 +02:00
Xu Cang 6f151269d3
HBASE-22067 Fix log in StochasticLoadBalancer when balancer 2019-03-26 11:45:53 -07:00
Sakthi 1366f5cb6a
HBASE-21991: Fix MetaMetrics issues - [Race condition, Faulty remove logic], few improvements
Signed-off-by: Xu Cang <xucang@apache.org>
2019-03-22 00:20:24 -07:00
Andrew Purtell 953e0f5f77
HBASE-22034 Backport HBASE-21401 and HBASE-22032 to branch-1
HBASE-21401 Sanity check when constructing the KeyValue

HBASE-22032 KeyValue validation should check for null byte array
2019-03-21 17:27:54 -07:00
Wellington Chevreuil c1a64aaa1a
HBASE-21959 - CompactionTool should close the store it uses for compacting files, in order to properly archive compacted files.
Change-Id: If852529e79274a77eb08cac13936f02776232608
Signed-off-by: Xu Cang <xucang@apache.org>
2019-03-21 14:20:51 -07:00
Sakthi f4de34a03d
HBASE-21800: RegionServer aborted due to NPE from MetaTableMetrics coprocessor
Have included code refactoring in MetaTableMetrics & LossyCounting

Signed-off-by: Xu Cang <xucang@apache.org>
2019-03-21 14:13:59 -07:00
Sakthi 3d3832ebbc
HBASE-20917 MetaTableMetrics#stop references uninitialized requestsMap for non-meta region - addendum
Signed-off-by: Xu Cang <xucang@apache.org>
2019-03-21 14:09:20 -07:00
Andrew Purtell 301bbe1b8e
HBASE-21926 Profiler servlet 2019-03-17 18:48:41 -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
chenyechao b3e3085bca HBASE-21810 bulkload support set hfile compression on client
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-03-12 18:29:14 +08:00
Xu cang 3b1e56ec36
HBASE-21952 Fix unit test: TestClientOperationInterrupt#testInterrupt50Percent 2019-02-28 22:18:43 -08:00
Mingliang Liu f4af3881c1
HBASE-21164 reportForDuty should do backoff rather than retry
Remove unused methods from Sleeper (its ok, its @Private).
Remove notion of startTime from Sleeper handling (it is is unused).
Allow passing in how long to sleep so can maintain externally.
In HRS, use a RetryCounter to calculate backoff sleep time for when
reportForDuty is failing against a struggling Master.

Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerReportForDuty.java
2019-02-20 18:15:30 -08:00
Andrew Purtell 47e42dab75
Revert "HBASE-21164 reportForDuty should do backoff rather than retry"
This reverts commit f3f3798575.

This change causes TestMasterShutdown to reproducibly fail in some environments.
2019-02-20 09:25:46 -08:00
Guanghao Zhang fd74857d24 HBASE-21932 Use Runtime.getRuntime().halt to terminate regionserver when abort timeout 2019-02-20 16:16:36 +08:00