Sanjeet Nishad
6def152819
HBASE-23038 Provide consistent and clear logging about disabling chores
...
Signed-off-by: Viraj Jasani <virajjasani007@gmail.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
(cherry picked from commit b45c0d0efa261509ac101748587051ba1c9184bb)
2019-09-27 20:13:18 -05:00
shardul-cr7
43b4ad9e8a
HBASE-22012 Prevent DISABLE quota violation policy from disabling violation policy
...
Space quotas has a feature which intends to avoid enacting a space quota
violation policy when only a subset of the Regions for that Table have
reported their space usage (under the assumption that we cannot make an
informed decision if we do not include all regions in our calculations).
This had the unintended side-effect, when a table is disabled as a part
of a violation policy, of causing the regions for that table to not be
reported which disables the violation policy and enables the table.
Need to make sure that when a table is disabled because of a violation
policy that the code does not automatically move that table out of
violation because region sizes are not being reported (because those
regions are not open).
Closes #572
Signed-off-by: Josh Elser <elserj@apache.org>
2019-09-26 16:19:28 -04:00
BukrosSzabolcs
cd9367512a
HBASE-22982: region server suspend/resume and graceful rolling restart actions ( #592 )
...
* Add chaos monkey action for suspend/resume region servers
* Add chaos monkey action for graceful rolling restart
* Add these to relevant chaos monkeys
Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-09-26 11:56:17 +02:00
zbq.dean
0c5b6df52e
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 15:03:12 +08:00
Pankaj
6fe7063ffc
HBASE-22930 Set unique name to longCompactions/shortCompactions/split threads ( #585 )
2019-09-22 12:26:56 +02:00
Wellington Ramos Chevreuil
38c8bd3731
HBASE-22380 break circle replication when doing bulkload ( #494 )
...
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Norbert Kalmar <nkalmar@cloudera.com>
2019-09-21 14:39:06 +01:00
Guanghao Zhang
adc0197191
HBASE-23035 Retain region to the last RegionServer make the failover slower ( #631 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-09-21 21:13:10 +08:00
wuqiong
7195ab6a15
HBASE-23058 Should be 'Column Family Name' in table.jsp
...
Signed-off-by: Guanghao Zhang <zhangguanghao1@xiaomi.com>
2019-09-21 19:27:15 +08:00
Stig Døssing
047bbfd4c2
HBase-22027: Split non-MR related parts of TokenUtil off into a ClientTokenUtil, and move ClientTokenUtil to hbase-client ( #649 )
2019-09-20 17:38:41 -07:00
shardul-cr7
f1d3b54422
HBASE-22142 Drop table RegionSizes with namespace quota
...
There was a bug in which we would not drop the RegionSizes
for a table in a namespace, where the namespace had a quota
on it. This allowed a scenario in which recreation of a table
inside of a namespace would unintentionally move into violation
despite the table being empty. Need to make sure the RegionSizes
are dropped on table deletion if there is _any_ quota applying
to that table.
Signed-off-by: Josh Elser <elserj@apache.org>
2019-09-20 12:09:45 -04:00
shardul-cr7
ffbf8503ea
HBASE-22944 Check for hbase:quota table existence in SpaceQuotaRefresherChore
...
During startup, it's possible that quotas are enabled but the Master has
not yet created the hbase:quotas table.
Closes #559
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2019-09-20 12:07:32 -04:00
sreenivasulureddy
63593d6cce
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>
(cherry picked from commit 49718b8b46cd9e06aeef3f74647b32c6df99f7ae)
2019-09-20 00:59:08 -07:00
Duo Zhang
5b75bef36e
HBASE-22941 Addendum fix NPE in UT
2019-09-20 14:37:01 +08:00
Duo Zhang
0ed11fe452
HBASE-23051 Addendum add missing import
2019-09-20 11:35:34 +08:00
Istvan Toth
908a4d8f2b
HBASE-22941 merge operation returns parent regions in random order ( #556 )
...
* HBASE-22941 merge operation returns parent regions in random order
store and return the merge parent regions in ascending order
remove left over check for exactly two merged regions
add unit test
* use SortedMap type to emphasise that the Map is sorted.
* use regionCount consistently and checkstyle fixes
* Delete tests that expect multiregion merges to fail.
Signed-off-by: stack <stack@apache.org>
2019-09-20 11:15:21 +08:00
Peter Somogyi
294487ce20
HBASE-23051 Remove unneeded Mockito.mock invocations ( #641 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
2019-09-19 19:29:27 +02:00
Wellington Chevreuil
fc4fa46d8e
HBASE-23047 ChecksumUtil.validateChecksum logs an INFO message inside a "if(LOG.isTraceEnabled())" block.
...
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
(cherry picked from commit a85c6b48672552136ead76a682458c884a558dc2)
2019-09-19 15:35:01 +01:00
Guanghao Zhang
1a85bcff7a
HBASE-23049 TableDescriptors#getAll should return the tables ordering by the name which contain namespace ( #639 )
...
Signed-off-by: stack <stack@apache.org>
2019-09-20 05:28:23 +08:00
Peter Somogyi
ffec1500f6
Revert "HBASE-22700 refactor isMetaClearingException ( #578 )"
...
This reverts commit 5ccab83d6c7f65c7169f74c51c58df48b2cef80e.
2019-09-19 13:22:12 +02:00
Guanghao Zhang
91a6134a41
HBASE-23041 Should not show split parent regions in HBCK report's unknown server part ( #634 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-09-19 10:59:47 +08:00
Guanghao Zhang
fb82c8ecb0
HBASE-23044 CatalogJanitor#cleanMergeQualifier may clean wrong parent regions ( #637 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-09-19 08:10:26 +08:00
Guanghao Zhang
e50d1f5a53
HBASE-23037 Make the split WAL related log more readable ( #632 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-09-19 08:10:14 +08:00
Sean Busbey
7e04eebc62
HBASE-23040 give friendly message about unknown server when running unload for RegionMover.
...
closes #635
Signed-off-by: stack <stack@apache.org>
(cherry picked from commit ab076b07313fe7b86a010eca38ac8db7de405969)
2019-09-18 06:31:50 -05:00
Sean Busbey
1110e23a61
HBASE-21056 Findbugs false positive: BucketCache.persistToFile may fail to clean up java.io.OutputStream
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-09-18 09:58:32 +02:00
Viraj Jasani
faed3e457d
HBASE-23024 Replace initcause with Constructor arg ( #627 )
...
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-09-17 13:40:07 +02:00
Caroline Zhou
aec5638add
HBASE-22804 Provide an API to get list of successful regions and total expected regions in Canary
...
Signed-off-by: Xu Cang <xucang@apache.org>
2019-09-16 10:57:14 -07:00
johnhomsea
5ccab83d6c
HBASE-22700 refactor isMetaClearingException ( #578 )
2019-09-16 10:31:52 -07:00
ravowlga123
cfce7a7604
HBASE-22899 logging improvements for snapshot operations w/large manifests ( #547 )
...
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2019-09-14 10:18:03 -07:00
Viraj Jasani
63568854b6
HBASE-22760 : Pause/Resume/Query Snapshot Auto Cleanup Activity ( #618 )
2019-09-13 10:37:22 +05:30
ramkrish86
909bbaa667
HBASE-22929 - MemStoreLAB ChunkCreator may memory leak(ram) ( #614 )
2019-09-13 10:29:30 +05:30
stack
9059a41fe0
HBASE-22796 [HBCK2] Add fix of overlaps to fixMeta hbck Service
...
Addendum for branch-2+.
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-09-12 13:27:29 -07:00
Guanghao Zhang
31a0db01c6
HBASE-22993 HBCK report UI showed -1 if hbck chore not running ( #610 )
...
Signed-off-by: stack <stack@apache.org>
2019-09-12 09:11:46 +08:00
Guanghao Zhang
9f31d744f6
HBASE-23014 Should not show split parent regions in hbck report UI ( #609 )
2019-09-11 10:13:00 -07:00
meiyi
516e921cc0
HBASE-23009 TestSnapshotScannerHDFSAclController is broken on branch-2
2019-09-11 15:34:10 +02:00
Guanghao Zhang
4224977c0f
HBASE-23005 Table UI showed exception message when table is disabled ( #602 )
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-09-11 10:01:45 +08:00
stack
5f71c487e7
HBASE-22796 [HBCK2] Add fix of overlaps to fixMeta hbck Service
...
Signed-off-by: Sakthi <sakthi@apache.org>
2019-09-10 17:05:25 -07:00
stack
ee08bb8d52
HBASE-22859 [HBCK2] Fix the orphan regions on filesystem
...
Backport of above; only the usage message was changed
in the backport; nothing else. Usage points at refguide.
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-09-09 09:31:49 -07:00
shardul-cr7
e5165428dc
HBASE-22013 Prune replicas when computing the reported number of regions for a table
...
Closes #570
Signed-off-by: Josh Elser <elserj@apache.org>
2019-09-09 11:06:40 -04:00
Peter Somogyi
e7c943f82f
HBASE-22979 Call ChunkCreator.initialize in TestHRegionWithInMemoryFlush ( #589 )
...
Signed-off-by: Zheng Hu <openinx@gmail.com>
2019-09-09 11:53:53 +02:00
chenxu14
4282d70212
HBASE-22802 Avoid temp ByteBuffer allocation in FileIOEngine#read ( #583 )
2019-09-09 17:44:49 +08:00
Duo Zhang
1568e05507
HBASE-22963 Netty ByteBuf leak in rpc client implementation ( #577 )
...
Signed-off-by: Michael Stack <stack@apache.org>
2019-09-08 22:10:18 +08:00
Guanghao Zhang
a4a34e0347
HBASE-22964 Fix flaky TestClusterRestartFailover and TestClusterRestartFailoverSplitWithoutZk ( #574 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-09-09 02:48:24 +08:00
stack
aeacfd3d59
Revert "HBASE-22930 Set unique name to longCompactions/shortCompactions threads ( #548 )"
...
This reverts commit 018181c7a454343b0c35d062749c2ff8e3f893d8.
2019-09-04 09:18:01 -07:00
Pankaj
018181c7a4
HBASE-22930 Set unique name to longCompactions/shortCompactions threads ( #548 )
2019-09-04 08:47:42 -07:00
stack
bfa19f3a5a
HBASE-22970 split parents show as overlaps in the HBCK Report
...
Check if overlap is split parent.
Cleaned up the HBCK Report page too with some notes that it is made of
two reports; have the two sections display the same.
2019-09-03 14:50:08 -07:00
stack
6fae2f8d0d
HBASE-22961 Deprecate hbck1 in core
...
Adds deprecations on HBaseFsck and on supporting classes such as
the reporting Interface. Provides alternatives in FSUtils for
progress reporting and deprecates methods that use hbck1 facility.
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2019-09-03 11:07:13 -07:00
meiyi
b0456f3297
HBASE-22878 Show table throttle quotas in table jsp ( #510 )
2019-09-03 09:53:44 +08:00
meiyi
076bfa1cc6
HBASE-22946 Fix TableNotFound when grant/revoke if AccessController is not loaded ( #561 )
2019-09-02 15:02:25 +08:00
linkaline
7e096e07ff
HBASE-22896 TestHRegion.testFlushMarkersWALFail is flaky ( #551 )
...
* HBASE-22896 TestHRegion.testFlushMarkersWALFail is flaky
* delete blank line
2019-09-01 21:46:30 -07:00
meiyi
41fddd411e
HBASE-22945 Show quota infos in master UI ( #560 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2019-09-01 22:43:29 +08:00