WenFeiYi
0356e8efd1
HBASE-25240 gson format of RpcServer.logResponse is abnormal
...
Closes #2623
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-11-05 19:58:05 +05:30
niuyulin
0e71d6192a
HBASE-25053 WAL replay should ignore 0-length files ( #2437 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-11-04 08:21:31 -08:00
Duo Zhang
49774c7e18
HBASE-25216 The client zk syncer should deal with meta replica count change ( #2614 )
...
Signed-off-by: Yu Li <liyu@apache.org>
2020-11-04 17:54:18 +08:00
Duo Zhang
f37cd05c32
HBASE-25235 Cleanup the deprecated methods in TimeRange ( #2616 )
...
Signed-off-by: Jan Hentschel <janh@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-11-04 11:02:28 +08:00
Andrew Purtell
c98e993b23
HBASE-25212 Optionally abort requests in progress after deciding a region should close ( #2574 )
...
If hbase.regionserver.close.wait.abort is set to true, interrupt RPC
handler threads holding the region close lock.
Until requests in progress can be aborted, wait on the region close lock for
a configurable interval (specified by hbase.regionserver.close.wait.time.ms,
default 60000 (1 minute)). If we have failed to acquire the close lock after
this interval elapses, if allowed (also specified by
hbase.regionserver.close.wait.abort), abort the regionserver.
We will attempt to interrupt any running handlers every
hbase.regionserver.close.wait.interval.ms (default 10000 (10 seconds)) until
either the close lock is acquired or we reach the maximum wait time.
Define a subset of region operations as interruptible. Track threads holding
the close lock transiting those operations. Set the thread interrupt status
of tracked threads when trying to close the region. Use the thread interrupt
status where safe to break out of request processing.
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-11-03 15:20:27 -08:00
Nick Dimiduk
d790bdedde
HBASE-25167 Normalizer support for hot config reloading ( #2523 )
...
Wire up the `ConfigurationObserver` chain for
`RegionNormalizerManager`. The following configuration keys support
hot-reloading:
* hbase.normalizer.throughput.max_bytes_per_sec
* hbase.normalizer.split.enabled
* hbase.normalizer.merge.enabled
* hbase.normalizer.min.region.count
* hbase.normalizer.merge.min_region_age.days
* hbase.normalizer.merge.min_region_size.mb
Note that support for `hbase.normalizer.period` is not provided
here. Support would need to be implemented generally for the `Chore`
subsystem.
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Aman Poonia <aman.poonia.29@gmail.com>
2020-10-30 10:41:56 -07:00
Pankaj
e3beccf1fc
HBASE-24977 Meta table shouldn't be modified as read only ( #2537 )
...
Signed-off-by: stack <stack@apache.org>
2020-10-29 16:34:23 -07:00
Nick Dimiduk
12d0397015
HBASE-24419 Normalizer merge plans should consider more than 2 regions when possible
...
The core change here is to the loop in
`SimpleRegionNormalizer#computeMergeNormalizationPlans`. It's a nested
loop that walks the table's region chain once, looking for contiguous
sequences of regions that meet the criteria for merge. The outer loop
tracks the starting point of the next sequence, the inner loop looks
for the end of that sequence. A single sequence becomes an instance of
`MergeNormalizationPlan`.
Signed-off-by: Huaxiang Sun <huaxiangsun@apache.org>
2020-10-29 13:37:23 -07:00
GeorryHuang
35b344c337
HBASE-25090 CompactionConfiguration logs unrealistic store file sizes ( #2595 )
...
Signed-off-by: stack <stack@apache.org>
2020-10-29 13:10:35 -07:00
Peter Somogyi
bb4a9d335f
HBASE-25224 Maximize sleep for checking meta and namespace regions availability ( #2593 )
...
Signed-off-by: Michael Stack <stack@apache.org>
2020-10-28 18:08:05 +01:00
Minji Kim
735689d0f7
HBASE-25223 Use try-with-resources statement ( #2592 )
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-10-28 09:17:31 -07:00
niuyulin
17f9aded2c
HBASE-25201 YouAreDeadException should be moved to hbase-server module ( #2581 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-10-28 14:58:28 +08:00
niuyulin
485da758bb
HBASE-25176 MasterStoppedException should be moved to hbase-client module ( #2538 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-10-28 14:52:27 +08:00
WenFeiYi
4bbc772ffc
HBASE-25173 Remove owner related methods in TableDescriptor/TableDescriptorBuilder ( #2541 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-10-27 22:01:57 +08:00
Duo Zhang
164cc5a3dc
HBASE-25215 TestClientOperationTimeout.testScanTimeout is flaky ( #2583 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-10-26 10:03:43 +08:00
Reid Chan
e5d4e2fc81
HBASE-25189 [Metrics] Add checkAndPut and checkAndDelete latency metrics at table level ( #2549 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-10-25 17:46:14 +08:00
Toshihiro Suzuki
881c92b892
HBASE-25206 Data loss can happen if a cloned table loses original split region(delete table) ( #2569 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-10-24 22:49:14 +08:00
Sandeep Pal
5e3ffb1db6
HBASE-25193: Add support for row prefix and type in the WAL Pretty Printer
...
Closes #2556
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-10-23 12:30:35 +05:30
Duo Zhang
74df1e1aba
HBASE-25207 Revisit the implementation and usage of RegionStates.include ( #2571 )
...
Remove the RegionStates.include method as its name is ambiguous.
Add more comments to describe the logic on why we filter region like
this.
Signed-off-by: Toshihiro Suzuki <brfrn169@gmail.com>
2020-10-22 21:50:43 +08:00
Jan Hentschel
2cd5f914af
HBASE-25197 Remove SingletonCoprocessorService interface ( #2560 )
...
Remove the SingletonCoprocessorService interface targeted for removal in
3.0.0.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-10-21 19:04:17 +02:00
Jan Hentschel
1b58af1841
HBASE-25198 Remove deprecated RpcSchedulerFactory#create ( #2561 )
...
Remove the deprecated RpcSchedulerFactory#create(Configuration,
PriorityFunction) method from the interface and in all implementing
classes.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-10-21 21:40:45 +08:00
Ankit Singhal
7d00e43dce
HBASE-25166 MobFileCompactionChore is closing the master's shared cluster connection ( #2514 )
2020-10-19 22:22:33 -07:00
shahrs87
e6c78f4037
HBASE-25179 : Fix Assert format in HFilePerformanceEvaluation class
...
Closes #2551
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-10-16 12:08:10 +05:30
Nick Dimiduk
70d2f37ee3
HBASE-24628 Region normalizer now respects a rate limit (HMaster chore shutdown NPE ADDENDUM) ( #2540 )
...
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-10-15 22:02:53 +08:00
Duo Zhang
38ac7e26ae
HBASE-25186 TestMasterRegionOnTwoFileSystems is failing after HBASE-25065 ( #2544 )
...
Signed-off-by: Ramkrishna <ramkrishna@apache.org>
2020-10-15 10:22:14 +08:00
XinSun
78b7244091
HBASE-25117 ReplicationSourceShipper thread can not be finished ( #2521 )
...
Signed-off-by: Wellington Chevreuil <wellington.chevreuil@gmail.com>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-10-14 18:08:54 +01:00
Duo Zhang
92c3bcd9fb
HBASE-25164 Make ModifyTableProcedure support changing meta replica count ( #2513 )
...
Signed-off-by: Michael Stack <stack@apache.org>
2020-10-13 09:43:56 +08:00
stack
c28220522d
HBASE-25168 Unify WAL name timestamp parsers
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2020-10-12 07:52:26 -07:00
niuyulin
8eea052359
HBASE-25093 the RSGroupBasedLoadBalancer#retainAssignment throws NPE ( #2450 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-10-12 11:02:37 +08:00
Nick Dimiduk
c8c860c906
HBASE-25156 TestMasterFailover.testSimpleMasterFailover is flaky (ADDENDUM) ( #2529 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-10-11 21:52:11 +08:00
bsglz
5a474449c1
HBASE-24840 Avoid shows closing region task when create table ( #2226 )
2020-10-11 19:12:56 +08:00
ramkrish86
accd9750aa
HBASE-25065 WAL archival to be done by a separate thread ( #2501 )
...
* HBASE-25065 WAL archival can be batched/throttled and also done by a separate thread
* Fix checkstyle issues
* Address review comments
* checkstyle comments
* Addressing final review comments
Signed-off-by: Michael Stack <stack@apache.org>
2020-10-11 10:46:06 +05:30
Michael Stack
665a8767a0
HBASE-22976 [HBCK2] Add RecoveredEditsPlayer ( #2504 )
...
Make it so WALPlayer can replay recovered.edits files.
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/WALInputFormat.java
Allow for WAL files that do NOT have a startime in their name.
Use the 'generic' WAL-filename parser instead of the one that
used be local here. Implement support for 'startTime' filter.
Previous was just not implemented.
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/WALPlayer.java
Checkstyle.
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/AbstractFSWALProvider.java
Use the new general WAL name timestamp parser.
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WAL.java
Utility for parsing timestamp from WAL filename.
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRecoveredEdits.java
Export attributes about the local recovered.edits test file
so other tests can play with it.
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-10-09 08:46:05 -07:00
Nick Dimiduk
78ae1f176d
HBASE-24628 Region normalizer now respects a rate limit
...
Implement a rate limiter for the normalizer. Implemented in terms of
MB/sec of affacted region size (the same metrics used to make
normalization decisions). Uses Guava `RateLimiter` to perform the
resource accounting. `RateLimiter` works by blocking (uninterruptible
😖 ) the calling thread. Thus, the whole construction of the normalizer
subsystem needed refactoring. See the provided `package-info.java` for
an overview of this new structure.
Introduces a new configuration,
`hbase.normalizer.throughput.max_bytes_per_sec`, for specifying a
limit on the throughput of actions executed by the normalizer. Note
that while this configuration value is in bytes, the minimum honored
valued `1_000_000`. Supports values configured using the
human-readable suffixes honored by `Configuration.getLongBytes`
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Huaxiang Sun <huaxiangsun@apache.com>
Signed-off-by: Michael Stack <stack@apache.org>
2020-10-08 15:45:08 -07:00
Nick Dimiduk
b82d8a5517
HBASE-25156 TestMasterFailover.testSimpleMasterFailover is flaky ( #2507 )
...
Change the test to wait for evidence that the active master has seen
that the backup master killed by the test has gone away. This is done
before proceeding to validate that the dead backup is correctly
omitted from the ClusterStatus report.
Also, minor fixup to several assertions, using `assertEquals` instead
of `assertTrue(...equals(...))` and correcting expected vs. actual
ordering of assertion arguments.
Signed-off-by: Michael Stack <stack@apache.org>
2020-10-08 14:23:38 -07:00
Mohammad Arshad
bdcafa895c
HBASE-24025: Improve performance of move_servers_rsgroup by using async region move API ( #1549 )
2020-10-08 10:30:16 -07:00
Michael Stack
8a995ae81b
HBASE-25165 Change 'State time' in UI so sorts ( #2508 )
...
Display startcode in iso8601.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2020-10-08 09:10:30 -07:00
Duo Zhang
0d63318f10
HBASE-25124 Support changing region replica count without disabling table ( #2497 )
...
Signed-off-by: stack <stack@apache.org>
2020-10-08 21:35:29 +08:00
Toshihiro Suzuki
aff8bbf0cb
HBASE-25160 Refactor AccessController and VisibilityController ( #2506 )
...
Signed-off-by: stack <stack@apache.org>
2020-10-08 17:04:48 +09:00
Duo Zhang
e88509841f
Revert "HBASE-24813 ReplicationSource should clear buffer usage on Replicatio… ( #2191 )"
...
This reverts commit 687e53b7e4
.
2020-10-06 21:09:00 +08:00
Andor Molnár
14b523ec98
HBASE-25146 Add extra logging at info level to HFileCorruptionChecker in order to report progress ( #2503 )
...
Signed-off-by: Wellington Chevreuil <wellington.chevreuil@gmail.com>
Signed-off-by: Mate Szalay-Beko <szalay.beko.mate@gmail.com>
Signed-off-by: Balazs Meszaros <meszibalu@apache.org>
2020-10-06 09:38:18 +02:00
Duo Zhang
9ba90e1679
HBASE-25121 Refactor MetaTableAccessor.addRegionsToMeta and its usage places ( #2476 )
...
Signed-off-by: stack <stack@apache.org>
2020-10-05 21:29:55 +08:00
Viraj Jasani
23ce91819a
HBASE-25147 : Serialize regionNames in ReopenTableRegionsProcedure
...
Closes #2494
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-10-05 15:49:26 +05:30
niuyulin
3226c1795a
HBASE-25115 HFilePrettyPrinter can't seek to the row which is the first row of a hfile
...
Closes #2473
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-10-04 16:07:28 +05:30
Duo Zhang
b0170d0e24
HBASE-25080 Should not use AssignmentManager to test whether a table is enabled or not ( #2436 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-10-03 20:48:38 +08:00
Michael Stack
3b91a15183
HBASE-25091 Move LogComparator from ReplicationSource to AbstractFSWALProvider#.WALsStartTimeComparator ( #2449 )
...
Give the comparator a more descriptive name, a better location,
and make it work even when passed hbase:meta WAL files.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-10-01 10:04:58 -07:00
ramkrish86
a0b3d6276f
HBASE-25135 Convert the internal seperator while emitting the memstore read metrics to # ( #2486 )
...
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
2020-10-01 18:07:28 +05:30
Wellington Ramos Chevreuil
9fc29c4cbf
HBASE-24877 addendum: additional checks to avoid one extra possible race control in the initialize loop ( #2400 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2020-09-29 10:00:57 +01:00
Duo Zhang
b268b1f621
HBASE-25103 Remove ZNodePaths.metaReplicaZNodes ( #2464 )
...
Signed-off-by: Huaxiang Sun <huaxiangsun@apache.com>
2020-09-29 15:48:57 +08:00
bsglz
5d926627ae
HBASE-24967 The table.jsp cost long time to load if the table include… ( #2326 )
...
* HBASE-24967 The table.jsp cost long time to load if the table include closed regions
* fix it by another way
* fix review issue
* fix checkstyle warnings
* fix checkstyle warning
2020-09-29 15:36:03 +08:00
XinSun
68b56beab7
HBASE-25100 conf and conn are assigned twice in HBaseReplicationEndpoint and HBaseInterClusterReplicationEndpoint ( #2463 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-29 08:27:37 +08:00
Viraj Jasani
80ffac29c1
HBASE-25070 : With new generic API getLogEntries, cleaning up unused RPC APIs
...
Closes #2426
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-28 12:54:35 +05:30
Toshihiro Suzuki
86557edf2c
HBASE-25096 WAL size in RegionServer UI is wrong ( #2456 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-28 14:47:18 +09:00
Mohammad Arshad
b57bef5b7d
HBASE-25077: hbck.jsp page loading fails, logs NPE in master log. ( #2433 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
2020-09-27 14:05:38 +08:00
XinSun
380585ef20
HBASE-25098 ReplicationStatisticsChore runs in wrong time unit ( #2460 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-26 19:49:02 +08:00
meiyi
4f8aa75dca
HBASE-25097 Wrong RIT page number in Master UI ( #2458 )
...
Signed-off-by: Viraj Jasani<virajjasani@apache.org>
2020-09-25 18:36:41 +08:00
Wellington Ramos Chevreuil
687e53b7e4
HBASE-24813 ReplicationSource should clear buffer usage on Replicatio… ( #2191 )
...
Signed-off-by: Josh Elser <elserj@apache.org>
2020-09-24 10:44:36 +01:00
Guanghao Zhang
8828643bb2
HBASE-25086 Refactor Replication: move the default ReplicationSinkService implementation out ( #2444 )
...
Signed-off-by: meiyi <myimeiyi@gmail.com>
2020-09-24 17:25:34 +08:00
Bharath Vissapragada
56c7505f8f
HBASE-25082: Per table WAL metrics: appendCount and appendSize ( #2440 )
...
Signed-off-by: Geoffrey Jacoby <gjacoby@apache.org>
Signed-off-by: Ankit Jain <jain.ankit@salesforce.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-09-23 21:06:57 -07:00
Andrew Purtell
8bfa2cb2ee
HBASE-25079 Upgrade Bootstrap to 3.3.7 ( #2442 )
...
Signed-off-by: Viraj Jasani<virajjasani@apache.org>
2020-09-23 14:56:50 -07:00
stack
e7797208d6
Revert "HBASE-25068 Pass WALFactory to Replication so it knows of all WALProviders, not just default/user-space"
...
This reverts commit 17ebf917ba
.
2020-09-22 20:48:31 -07:00
Guanghao Zhang
7e910a573f
HBASE-25074 Refactor ReplicationSinkManager: reduce code and make it easy to understand ( #2430 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-09-23 08:30:43 +08:00
stack
17ebf917ba
HBASE-25068 Pass WALFactory to Replication so it knows of all WALProviders, not just default/user-space
...
Pass WALFactory to Replication instead of WALProvider. WALFactory has all
WALProviders in it, not just the user-space WALProvider. Do this so
ReplicationService has access to all WALProviders in the Server (To be
exploited by the follow-on patch in HBASE-25055)
2020-09-22 10:18:26 -07:00
Michael Stack
70a947dc6b
HBASE-25067 Edit of log messages around async WAL Replication; checkstyle fixes; and a bugfix ( #2435 )
...
Editing logging around region replicas: shortening and adding context.
Checkstyle fixes in edited files while I was in there.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-09-22 10:10:31 -07:00
niuyulin
8a6299bb38
HBASE-25076 fix typo in MasterRegion java doc ( #2432 )
...
Co-authored-by: niuyulin <niuyulin@xiaomi.com>
Signed-off-by: Jan Hentschel <janh@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-09-21 19:00:49 +02:00
niuyulin
36e8b0beec
HBASE-25075 Fix typo in ReplicationProtobufUtil ( #2431 )
...
Co-authored-by: niuyulin <niuyulin@xiaomi.com>
Signed-off-by: Jan Hentschel <janh@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-09-21 18:44:47 +02:00
stack
3e13b3f059
HBASE-24896 'Stuck' in static initialization creating RegionInfo instance
...
Closes #2422
Untangle RegionInfo, RegionInfoBuilder, and MutableRegionInfo static
initializations some. Move MutableRegionInfo from inner-class of
RegionInfoBuilder to be (package private) standalone. Undo static
initializing references from RI to RIB.
Co-authored-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-09-20 14:18:32 +05:30
Mohammad Arshad
fd7260b506
HBASE-25069: Display region name instead of encoded region name in HBCK report page. ( #2428 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-20 09:00:28 +08:00
Joseph295
58618e35ad
HBASE-24991 Replace MovedRegionsCleaner with guava cache ( #2357 )
...
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-19 14:53:13 +08:00
Hyeran Lee
6371914adb
HBASE-25057: Fix typo memeber ( #2414 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-09-19 14:36:06 +08:00
GeorryHuang
16831ec515
HBASE-24857:Fix several problems when starting webUI ( #2245 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-09-19 14:34:30 +08:00
Joseph295
9fc586a7eb
HBASE-25047 WAL split edits number is negative in RegionServerUI ( #2408 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-17 09:38:28 +08:00
Viraj Jasani
35d59dc570
HBASE-24528 : BalancerDecision queue implementation in HMaster with Admin API
...
* Admin API getLogEntries() for ring buffer use-cases: so far, provides balancerDecision and slowLogResponse
* Refactor RPC call for similar use-cases
* Single RPC API getLogEntries() for both Master.proto and Admin.proto
Closes #2261
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2020-09-16 20:56:54 +05:30
Duo Zhang
1bb19e0cdd
HBASE-25037 Lots of thread pool are changed to non daemon after HBASE-24750 which causes trouble when shutting down ( #2407 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-09-16 21:11:47 +08:00
XinSun
a918bf0d7b
HBASE-25012 HBASE-24359 causes replication missed log of some RemoteException ( #2384 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-16 18:01:55 +08:00
bsglz
c5ca191921
HBASE-24875 Remove the force param for unassign since it dose not take effect any more ( #2254 )
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-09-15 22:05:03 -05:00
Mohammad Arshad
6d985dd7c6
HBASE-25009: Hbck chore logs wrong message when loading regions from RS ( #2379 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-16 09:08:04 +08:00
Duo Zhang
724a0e5500
HBASE-25022 Remove 'hbase.testing.nocluster' config ( #2394 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-14 20:15:43 +08:00
Wellington Ramos Chevreuil
2042523f43
HBASE-24877 Add option to avoid aborting RS process upon uncaught exc… ( #2255 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2020-09-14 11:13:14 +01:00
Clara Xiong
fe776306d0
HBASE-25006 Make the cost functions optional for StochastoicBalancer
...
Closes #2386
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-09-13 14:16:02 +05:30
ankitjain64
9c5dbb29c0
HBASE-24764: Add support of adding default peer configs via hbase-site.xml for all replication peers. ( #2284 )
...
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
2020-09-10 10:08:44 -07:00
WenFeiYi
bbfbe33520
HBASE-24958 CompactingMemStore.timeOfOldestEdit error update ( #2321 )
2020-09-10 09:46:04 -07:00
Viraj Jasani
ce59a2ba30
HBASE-25004 : Log RegionTooBusyException details ( #2371 )
...
Signed-off-by: mnpoonia <apoonia@salesforce.com>
Signed-off-by: stack <stack@apache.org>
2020-09-10 21:22:37 +05:30
Duo Zhang
23713f4693
HBASE-25005 Refactor CatalogJanitor ( #2373 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-10 11:59:15 +08:00
Sandeep Pal
84a34be761
HBASE-24974: Provide a flexibility to print only row key and filter for multiple tables in the WALPrettyPrinter ( #2345 )
...
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-09-09 10:16:45 -07:00
Duo Zhang
0511089066
HBASE-25000 Move delete region info related methods to RegionStateStore ( #2366 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-09 23:11:28 +08:00
niuyulin
2e96a5b2d3
HBASE-24993 Remove OfflineMetaRebuildTestCore ( #2359 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-09-09 09:47:15 +08:00
Javier Akira Luca de Tena
2e638de6a3
HBASE-24994 Add hedgedReadOpsInCurThread metric ( #2365 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-09-09 09:45:46 +08:00
Mohammad Arshad
2250b51fe7
HBASE-24995: MetaFixer fails to fix overlaps when multiple tables have overlaps ( #2361 )
...
Signed-off-by: stack <stack@apache.org>
2020-09-08 12:00:44 -07:00
Viraj Jasani
0d95a8f91b
HBASE-24979 : Client operation timeout test for batch requests
...
Closes #2347
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-08 17:51:38 +05:30
Toshihiro Suzuki
d48c732851
HBASE-24602 Add Increment and Append support to CheckAndMutate ( #2228 )
2020-09-08 15:05:47 +09:00
Duo Zhang
be984cc8d4
HBASE-24986 Move ReplicationBarrier related methods to a separated class ( #2354 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-07 20:35:27 +08:00
XinSun
c2721c8235
HBASE-24759 Refuse to update configuration of default group ( #2126 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-09-04 08:19:39 +08:00
Mohammad Arshad
a352706700
HBASE-24940: runCatalogJanitor() API should return -1 to indicate already running status
...
Closes #2331
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-09-03 15:52:18 +05:30
Qi Yu
4dc08144f3
HBASE-24973 Remove read point parameter in method StoreFlush#performFlush and StoreFlush#createScanner ( #2337 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-09-02 17:43:26 +08:00
Duo Zhang
85a174f5b3
HBASE-24964 addendum fix TestMetaTableMetrics ( #2340 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-09-02 10:28:53 +08:00
Andrew Purtell
74807b951b
HBASE-24971 Upgrade JQuery to 3.5.1 ( #2336 )
...
- Update embedded minimized jquery to 3.5.1
- Update embedded minimized jquery.tablesorter to 2.31.3
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-09-01 10:39:12 -07:00
Zheng Wang
ee450ae943
HBASE-24569 Get hostAndWeights in addition using localhost if it is null in local mode
...
Closes #1909
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-09-01 18:16:10 +05:30
XinSun
25fcc40f6a
HBASE-24913 Refactor TestJMXConnectorServer ( #2286 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-08-31 10:23:59 +08:00
Mohammad Arshad
bb64070bd3
HBASE-24916: Region hole contains wrong regions pair when hole is cre… ( #2304 )
...
Signed-off-by: stack <stack@apache.org>
2020-08-30 10:04:40 -07:00
Viraj Jasani
1c568ec95d
HBASE-24968 : Move META_COMPARATOR to subclass MetaCellComparator
...
* Break subclass referencing of MetaCellComparator from superclass CellComparatorImpl
static initializer by moving META_COMPARATOR to subclass MetaCellComparator
Closes #2329
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-08-30 22:03:57 +05:30
Zheng Wang
2eb2c96960
HBASE-24894 [Flakey Test] TestStochasticLoadBalancer.testMoveCostMultiplier
...
Closes #2270
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-08-30 20:12:16 +05:30
Duo Zhang
2c4204ad75
HBASE-24964 Remove MetaTableAccessor.tableExists ( #2330 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-08-30 17:31:26 +08:00
Duo Zhang
ef5da4a61d
HBASE-24949 Optimize FSTableDescriptors.get to not always go to fs when cache miss ( #2317 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-08-29 22:26:36 +08:00
XinSun
7909e29de5
HBASE-24760 Add a config hbase.rsgroup.fallback.enable for RSGroup fallback feature ( #2149 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-08-28 16:52:45 +08:00
bsglz
047e0618d2
HBASE-24898 Addendum to deal with Daylight Saving Time ( #2310 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-08-27 11:17:23 +08:00
WenFeiYi
f9ce1df3f2
HBASE-24892 config 'hbase.hregion.memstore.mslab.indexchunksize' not be used ( #2265 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-08-27 08:24:40 +08:00
Bharath Vissapragada
01cf60067c
HBASE-24765: Dynamic master discovery ( #2130 )
...
This patch adds the ability to discover newly added masters
dynamically on the master registry side. The trigger for the
re-fetch is either periodic (5 mins) or any registry RPC failure.
Master server information is cached in masters to avoid repeated
ZK lookups.
Updates the client side connection metrics to maintain a counter
per RPC type so that clients have visibility into counts grouped
by RPC method name.
I didn't add the method to ZK registry interface since there
is a design discussion going on in splittable meta doc. We can
add it later if needed.
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-08-25 15:09:03 -07:00
Duo Zhang
227084c41f
HBASE-24945 Remove MetaTableAccessor.getRegionCount ( #2303 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-08-25 21:15:22 +08:00
Duo Zhang
1220a8775c
HBASE-24942 MergeTableRegionsProcedure should not call clean merge region ( #2301 )
...
Signed-off-by: stack <stack@apache.org>
2020-08-25 12:19:19 +08:00
Duo Zhang
57e49b3959
HBASE-23834 HBase fails to run on Hadoop 3.3.0/3.2.2/3.1.4 due to jetty version mismatch ( #2222 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2020-08-25 12:05:52 +08:00
Michael Stack
6ad73b9668
HBASE-24885 STUCK RIT by hbck2 assigns ( #2283 )
...
Adds region state check on hbck2 assigns/unassigns. Returns pid of -1
if in inappropriate state with logging explaination which suggests
passing override if operator wants to assign/unassign anyways. Here
is an example of what happens now if hbck2 tries an unassign and
Region already unassigned:
2020-08-19 11:22:06,926 INFO [RpcServer.default.FPBQ.Fifo.handler=1,queue=0,port=50086] assignment.AssignmentManager(820): Failed {ENCODED => d1112e553991e938b6852f87774c91ee, NAME => 'TestHbck,zzzzz,1597861310769.d1112e553991e938b6852f87774c91ee.', STARTKEY => 'zzzzz', ENDKEY => ''} unassign, override=false; set override to by-pass state checks.
org.apache.hadoop.hbase.client.DoNotRetryRegionException: Unexpected state for state=CLOSED, location=null, table=TestHbck, region=d1112e553991e938b6852f87774c91ee
at org.apache.hadoop.hbase.master.assignment.AssignmentManager.preTransitCheck(AssignmentManager.java:583)
at org.apache.hadoop.hbase.master.assignment.AssignmentManager.createOneUnassignProcedure(AssignmentManager.java:812)
at org.apache.hadoop.hbase.master.MasterRpcServices.unassigns(MasterRpcServices.java:2616)
at org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$HbckService$2.callBlockingMethod(MasterProtos.java)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:397)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:133)
at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:338)
at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:318)
Previous it would just create the unassign anyways. Now must pass override
to queue the procedure regardless. Safer.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java
javadoc on assigns/unassigns. Minor refactor in assigns/unassigns to cater to
case where procedure may come back null (if override not set and fails state checks).
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java
checkstyle cleanups.
Clarifying javadoc on how there is no state checking when bulk assigns creating/enabling
tables.
createOneAssignProcedure and createOneUnassignProcedure now handle exceptions which now
can be thrown if no override and region state is not appropriate.
Aggregation of createAssignProcedure and createUnassignProcedure instances adding in
region state check invoked if override is NOT set.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionStateNode.java
Change to setProcedure so it returns passed proc as result instead of void
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-08-24 09:22:16 -07:00
XinSun
e0c9f911ad
HBASE-24871 Replication may loss data when refresh recovered replication sources ( #2249 )
...
Signed-off-by: huaxiangsun <huaxiangsun@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-08-24 21:43:15 +08:00
niuyulin
2874f00a2f
HBASE-24928 balanceRSGroup should skip generating balance plan for disabled table and splitParent region ( #2292 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-08-24 11:52:21 +08:00
Yechao Chen
9f62a82334
HBASE-24811 Use class access static field or method ( #2189 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
2020-08-23 11:24:44 +08:00
Zheng Wang
0fe97947de
HBASE-24898 Use EnvironmentEdge.currentTime() instead of System.currentTimeMillis() in CurrentHourProvider
...
Closes #2272
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-08-22 15:30:09 +05:30
1996fanrui
5b515de792
HBASE-24915 Improve BlockCache read performance by specifying BlockType ( #2288 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-08-21 09:31:39 -07:00
Duo Zhang
5c298790f2
HBASE-24926 Should call setFailure in MergeTableRegionsProcedure when isMergeable returns false ( #2290 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-08-21 22:01:33 +08:00
Guanghao Zhang
54fe81eb56
HBASE-24912 Enlarge MemstoreFlusherChore/CompactionChecker period for unit test ( #2285 )
...
Signed-off-by: stack <stack@apache.org>
2020-08-21 12:41:20 +08:00
XinSun
65d28da7c2
HBASE-24914 Remove duplicate code appearing continuously in method ReplicationPeerManager.updatePeerConfig ( #2287 )
...
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-08-20 14:44:56 -07:00
Toshihiro Suzuki
1164531d5a
HBASE-24884 BulkLoadHFilesTool/LoadIncrementalHFiles should accept -D options from command line parameters ( #2260 )
...
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2020-08-19 13:36:17 +09:00
Nick Dimiduk
ecc0c67077
HBASE-24627 Normalize one table at a time
...
Introduce an additional method to our Admin interface that allow an
operator to selectivly run the normalizer. The IPC protocol supports
general table name select via compound filter.
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-08-18 09:46:29 -07:00
niuyulin
ea26463a33
HBASE-24880 Remove ReplicationPeerConfigUpgrader
...
Closes #2266
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-08-17 19:20:53 +05:30
Nick Dimiduk
2e8120a63f
HBASE-24583 Normalizer can't actually merge empty regions...
...
when neighbor is larger than average size
* add `testMergeEmptyRegions` to explicitly cover different
interleaving of 0-sized regions.
* fix bug where merging a 0-size region is skipped due to large
neighbor.
* remove unused `splitPoint` from `SplitNormalizationPlan`.
* generate `toString`, `hashCode`, and `equals` methods from Apache
Commons Lang3 template on `SplitNormalizationPlan` and
`MergeNormalizationPlan`.
* simplify test to use equality matching over `*NormalizationPlan`
instances as plain pojos.
* test make use of this handy `TableNameTestRule`.
* fix line-length issues in `TestSimpleRegionNormalizer`
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: huaxiangsun <huaxiangsun@apache.org>
Signed-off-by: Aman Poonia <aman.poonia.29@gmail.com>
2020-08-12 10:04:45 -07:00
Duo Zhang
a535c7b1af
HBASE-24856 Fix error prone error in FlushTableSubprocedure ( #2242 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-08-12 09:51:12 +08:00
Viraj Jasani
ea130249ae
HBASE-24750 : Adding default UncaughtExceptionHandler for Thread factories (ADDENDUM)
...
Closes #2231
2020-08-11 17:18:47 +05:30
Bharath Vissapragada
1d65ad464f
HBASE-24846: Address compaction races in TestFIFOCompactionPolicy ( #2203 )
...
Looped through the test 100 times and it passes. Without the patch it fails
every ~10 runs or so.
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
2020-08-10 16:53:14 -07:00
Bharath Vissapragada
8ad59775c9
Revert "HBASE-21905 (addendum): Address compaction races in TestFIFOCompactionPolicy ( #2203 )"
...
This reverts commit 8003a15835
.
Reverting to apply again as HBASE-24846.
2020-08-10 16:52:36 -07:00
Nick Dimiduk
c1c2e160ec
HBASE-24835 Normalizer should log a successful run at INFO level
...
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-08-10 09:57:48 -07:00
chenglei
7b099eaa75
HBASE-24625 AsyncFSWAL.getLogFileSizeIfBeingWritten does not return the expected synced file length(addendum) ( #2055 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-08-10 09:57:26 +08:00
Duo Zhang
726756a8b9
HBASE-23157 WAL unflushed seqId tracking may wrong when Durability.ASYNC_WAL is used ( #762 )
...
Signed-off-by: stack <stack@apache.org>
2020-08-10 09:11:31 +08:00
stack
11ac0a1ba6
HBASE-24830 Some tests involving RS crash fail with NullPointerException after HBASE-24632 in branch-2
2020-08-09 11:22:19 -07:00
Bo Cui
d492aea3f8
HBASE-21721 FSHLog : reduce write#syncs() times ( #2217 )
...
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Anoop <anoopsamjohn@apache.org>
2020-08-08 09:39:48 +05:30
Josh Elser
124af6392c
HBASE-24779 Report on the WAL edit buffer usage/limit for replication
...
Closes #2193
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-08-07 12:59:17 -04:00
Viraj Jasani
0b604d921a
HBASE-24750 : All ExecutorService should use guava ThreadFactoryBuilder
...
Closes #2196
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Ted Yu <tyu@apache.org>
2020-08-07 20:24:36 +05:30
bsglz
485e0d2fa4
HBASE-24694 Support flush a single column family of table ( #2179 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-08-07 11:28:53 +01:00
niuyulin
f710d2d654
HBASE-24659 Calculate FIXED_OVERHEAD automatically ( #2018 )
...
Co-authored-by: niuyulin <niuyulin@xiaomi.com>
SIgned-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-08-06 14:50:32 -07:00
Michael Stack
0ae125ac6f
HBASE-24817 Allow configuring WALEntry filters on ReplicationSource ( #2198 )
...
Allow specifying base WALEntry filter on construction of
ReplicationSource. Add means of being able to filter WALs by name.
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java
Add constructor that allows passing a predicate for filtering *in* WALs
and a list of filters for filtering *out* WALEntries. The latter was
hardcoded to filter out system-table WALEntries. The former did not
exist but we'll need it if Replication takes in more than just the
default Provider.
Signed-off-by Anoop Sam John <anoopsamjohn@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-08-06 12:35:42 -07:00
Bharath Vissapragada
8003a15835
HBASE-21905 (addendum): Address compaction races in TestFIFOCompactionPolicy ( #2203 )
...
Looped through the test 100 times and it passes. Without the patch it fails
every ~10 runs or so.
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
2020-08-06 09:33:06 -07:00
sguggilam
f8b887b327
HBASE-24823 Port HBASE-22762 Print the delta between phases in the split/merge/compact/flush transaction journals
...
Closes #2204
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Mingliang Liu <liuml07@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-08-06 18:50:12 +05:30
Zheng Wang
c39cad220d
HBASE-24821 simplify the logic of getRegionInfo in TestFlushFromClient to reduce redundancy code
...
Closes #2200
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-08-05 19:59:50 +05:30
Duo Zhang
d2f5a5f27b
HBAE-24507 Remove HTableDescriptor and HColumnDescriptor ( #2186 )
...
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: tedyu <yuzhihong@gmail.com>
2020-08-04 10:31:42 +08:00
Michael Stack
148c185486
HBASE-24808 skip empty log cleaner delegate class names (WAS => cleaner.CleanerChore: Can NOT create CleanerDelegate= ClassNotFoundException) ( #2181 )
...
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-08-03 13:16:27 -07:00
Michael Stack
21a0b8ea11
HBASE-24767 Change default to false for HBASE-15519 per-user metrics Set hbase.regionserver.user.metrics.enabled default to false; i.e. off. ( #2132 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-08-03 11:37:54 -07:00
Viraj Jasani
9ec484a031
HBASE-24795 : TestRegionMover2#testWithSplitRegions fix (ADDENDUM)
2020-08-03 20:26:46 +05:30
Viraj Jasani
ad7caf754a
HBASE-24795 : RegionMover to deal with unknown region while (un)loading
...
* RegionMover to ignore move failures for split/merged regions with ack mode
* Refactor MoveWithAck and MoveWithoutAck as high level classes
* UT for RegionMover gracefully handling split/merged regions while loading regions and throwing failure while loading offline regions
Closes #2172
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Ted Yu <tyu@apache.org>
2020-08-03 17:25:52 +05:30
gkanade
9a1bad84bf
HBASE-24713 RS startup with FSHLog throws NPE after HBASE-21751 ( #2125 )
...
* null check for writer if not initialized yet during syncrunner run
* Revert "null check for writer if not initialized yet during syncrunner run"
This reverts commit 72932ad0df
.
* Writer check while trying to attain safe point
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Ramkrishna <ramkrishna@apache.org>
2020-08-03 10:04:55 +05:30
Zheng Wang
492cf108a9
HBASE-24704 Make Table Schema easier to view with multiple families
...
Closes #2042
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-08-02 23:26:04 +05:30
Sean Busbey
86ebbdd8a2
HBASE-24805 HBaseTestingUtility.getConnection should be threadsafe
...
* refactor how we use connection and async connection to rely on their access methods
* refactor initialization and cleanup of the shared connection
* incompatibly change HCTU's Configuration member variable to be final so it can be safely accessed from multiple threads.
Closes #2180
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-08-01 23:19:07 -05:00
Toshihiro Suzuki
e22a2d2700
HBASE-24680 Refactor the checkAndMutate code on the server side ( #2094 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2020-08-01 21:02:17 +09:00
Anoop Sam John
a3f623eea7
HBASE-24695 FSHLog - close the current WAL file in a background thread. ( #2168 )
...
Signed-off-by: Ramkrishna <ramkrishna@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-08-01 17:27:20 +05:30
Sean Busbey
840a55761b
HBASE-24794 hbase.rowlock.wait.duration should not be <= 0 ( #2174 )
...
if hbase.rowlock.wait.duration is <=0 then log a message and treat it as a value of 1ms.
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-30 12:26:12 -05:00
ddupg
1b9269de4d
HBASE-24797 Move log code out of loop
...
Closes #2175
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-30 15:15:52 +05:30
Bharath Vissapragada
f07f30ae24
HBASE-20226: Parallelize region manifest deletes ( #2159 )
...
We observed this delete call to be a bottleneck for table with lots of
regions. Patch attempts to parallelize them.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2020-07-29 10:59:23 -07:00
Sandeep Pal
d65fb87a2e
HBASE-24788: Fix the connection leaks on getting hbase admin from unclosed connection ( #2162 )
...
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-29 09:09:07 -07:00
WenFeiYi
5f27a009ab
HBASE-24752 NPE/500 accessing webui on master startup
...
Closes #2148
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-29 20:19:29 +05:30
Michael Stack
652f1e664b
HBASE-24766 Document Remote Procedure Execution ( #2131 )
...
Add outline of how the mechanism works generally.
Signed-off-by: Anoop Sam John anoopsamjohn@apache.org
Signed-off-by: Viraj Jasani vjasani@apache.org
Signed-off-by: Jan Hentschel jan.hentschel@ultratendency.com
2020-07-29 07:44:51 -07:00
Michael Stack
345b77a4ca
HBASE-24632 Enable procedure-based log splitting as default in hbase3 Add deprecation of 'classic' zk-based WAL splitter. ( #2156 )
...
Also fix three bugs:
* We were trying to delete non-empty directory; weren't doing
accounting for meta WALs where meta had moved off the server
(successfully)
* We were deleting split WALs rather than archiving them.
* We were not handling corrupt files.
Deprecations and removal of tests of old system.
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
2020-07-29 07:37:28 -07:00
YeChao Chen
5480f350c2
HBASE-24790 Remove unused counter from SplitLogCounters ( #2164 )
...
Signed-off-by: Anoop <anoopsamjohn@apache.org>
Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-29 17:22:17 +05:30
Duo Zhang
7e6e7a7051
HBASE-24770 Reimplement the Constraints API and revisit the IA annotations on related classes ( #2140 )
...
Signed-off-by: stack <stack@apache.org>
2020-07-28 09:24:55 +08:00
Wellington Ramos Chevreuil
8c0d7fa5b8
HBASE-24758 Avoid flooding replication source RSes logs when no sinks… ( #2118 )
...
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-27 10:08:13 +01:00
WenFeiYi
975cdf7b88
HBASE-24665 all wal of RegionGroupingProvider together roll ( #2021 )
...
Co-authored-by: wen_yi <liu.wenwen@immomo.com>
Signed-off-by: Anoop <anoopsamjohn@apache.org>
Signed-off-by: Ramkrishna <ramkrishna@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-24 22:54:25 +05:30
Viraj Jasani
09e7ccd42d
HBASE-24757 : ReplicationSink should limit row count in batch mutation based on hbase.rpc.rows.warning.threshold
...
Closes #2127
Signed-off-by: stack <stack@apache.org>
2020-07-24 13:16:02 +05:30
Duo Zhang
0b85729da4
HBASE-24762 Purge protobuf java 2.5.0 dependency ( #2128 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-07-24 11:48:35 +08:00
Guanghao Zhang
32c7012ad7
HBASE-24743 Reject to add a peer which replicate to itself earlier ( #2122 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
2020-07-24 08:08:20 +08:00
surbhi
8191fbdd7d
HBASE-22146 Removing a namespace-level space quota does not remove policies against contained tables
...
Closes #1935
Signed-off-by: Josh Elser <elserj@apache.org>
2020-07-21 20:12:46 -04:00
Viraj Jasani
f35c5eaadd
HBASE-24718 : Generic NamedQueue framework for multiple use-cases (Refactor SlowLog responses) ( #2109 )
...
Closes #2052
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-07-21 20:24:13 +05:30
Viraj Jasani
32796ad24e
Revert "HBASE-24743 Reject to add a peer which replicate to itself earlier ( #2071 )"
...
This reverts commit 6cf013ddc4
.
TestReplicationAdmin and TestReplicationShell are broken on branch-2 and master respectively
2020-07-21 20:17:27 +05:30
Mingliang Liu
3d270ba6f9
HBASE-24696 Include JVM information on Web UI under "Software Attributes"
...
Closes #2087
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2020-07-21 16:53:58 +05:30
Viraj Jasani
f2c087caeb
Revert "HBASE-24718 : Generic NamedQueue framework for multiple use-cases (Refactor SlowLog responses)"
...
This reverts commit 16f306b4a1
.
TestAdminShell and TestThriftHBaseServiceHandler are failing consistently
2020-07-21 13:50:27 +05:30
sguggilam
430602aed8
HBASE-24740 Enable journal logging for HBase snapshot operation ( #2104 )
...
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
2020-07-20 18:11:41 -07:00
Guanghao Zhang
6cf013ddc4
HBASE-24743 Reject to add a peer which replicate to itself earlier ( #2071 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
2020-07-21 08:37:56 +08:00
Sanjeet Nishad
a857c6d90c
HBASE-24714 Error message is displayed in UI of table's compaction state if any region of that table is not open
...
Closes #2047
Signed-off-by: Mingliang Liu <liuml07@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-20 21:40:23 +05:30
Zheng Wang
9b32943697
HBASE-24709 Support MoveCostFunction use a lower multiplier in offpeak hours
...
Closes #2099
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Mingliang Liu <liuml07@apache.org>
2020-07-19 20:09:12 +05:30
Michael Stack
9b02a26a1d
HBASE-24698 Turn OFF Canary WebUI as default ( #2037 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2020-07-17 15:52:52 -07:00
Wellington Ramos Chevreuil
bd42c75cac
HBASE-24747 Log an ERROR if HBaseSaslRpcServer initialisation fails with an uncaught exception ( #2079 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2020-07-17 18:50:03 +01:00
Mohammad Arshad
1781185b7b
HBASE-24675: On Master restart all servers are assigned to default rsgroup
...
Closes #2053
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-17 22:38:19 +05:30
Zheng Wang
6ae2fdd6b2
HBASE-24746 The sort icons overlap the col name in master UI
...
Closes #2078
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-17 21:47:17 +05:30
Viraj Jasani
16f306b4a1
HBASE-24718 : Generic NamedQueue framework for multiple use-cases (Refactor SlowLog responses)
...
Closes #2052
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-07-17 19:16:22 +05:30
Lars
a4e5ccc798
HBASE-24742 Improve performance of SKIP vs SEEK logic.
2020-07-16 13:17:05 -07:00
huaxiangsun
2505c7760d
HBASE-24581 Skip compaction request/check for replica regions at the early stage. ( #1986 )
...
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2020-07-14 15:49:20 -07:00
huaxiangsun
1360bee7f9
HBASE-24705 MetaFixer#fixHoles() does not include the case for read replicas (i.e, replica regions are not created) ( #2062 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-14 15:48:19 -07:00
BukrosSzabolcs
3e709c6f53
HBASE-24720: Meta replicas not cleaned when disabled ( #2057 )
...
- make sure to always clean up excess meta replicas not just when their
number get decreased
- make sure NotServingRegionException is handled properly even when
wrapped
- add test
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
2020-07-14 18:24:55 +02:00
Mohammad Arshad
70cfe2525e
HBASE-24721: rename_rsgroup overwriting the existing rsgroup
...
Closes #2059
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-14 21:30:23 +05:30
bsglz
3bd54217a0
HBASE-24664 Some changing of split region by overall region size rath… ( #2011 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-07-13 10:00:48 +01:00
Geoffrey Jacoby
af1cc2fc44
HBASE-23744 - FastPathBalancedQueueRpcExecutor should enforce queue length of 0
...
Closes #1094
Signed-off-by: Xu Cang <xucang@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-13 12:15:10 +05:30
bsglz
724f0478ed
HBASE-24404 Support flush a single column family of region ( #2032 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-07-10 18:13:50 +01:00
Zheng Wang
b2321b3583
HBASE-24586 Add table level locality in table.jsp
...
Closes #1926
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-10 21:59:59 +05:30
Viraj Jasani
f0bc33122e
HBASE-24712 : Remove flakes from TestMasterNoCluster#testStopDuringStart ( #2045 )
...
Forward-port from 91da188d78
2020-07-10 20:41:03 +05:30
Joseph295
67dfbe0406
HBASE-24663 Add procedure process time statistics UI ( #2035 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-07-10 15:03:52 +08:00
niuyulin
5de1dff8f6
HBASE-24653 Show snapshot owner on Master WebUI ( #2016 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-07-10 15:03:05 +08:00
XinSun
1d0e285a6f
HBASE-24489 Rewrite TestClusterRestartFailover.test since namespace table is gone on on master ( #2025 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-07-10 10:03:57 +08:00
Wellington Chevreuil
7b92510bb4
Revert "HBASE-21596 Delete for a specific cell version can bring back version… ( #2009 )"
...
This reverts commit 1db89773e6
.
2020-07-09 15:55:57 +01:00
Wellington Ramos Chevreuil
1db89773e6
HBASE-21596 Delete for a specific cell version can bring back version… ( #2009 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-08 15:17:14 +01:00
huaxiangsun
90f4ff7d7c
HBASE-24688 AssignRegionHandler uses EventType.M_RS_CLOSE_META instead of EventType.M_RS_OPEN_META for meta region ( #2029 )
...
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-07 09:58:25 -07:00
Toshihiro Suzuki
34e807a8b5
HBASE-24650 Change the return types of the new CheckAndMutate methods introduced in HBASE-8458 ( #1991 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-07-07 12:49:20 +09:00
WenFeiYi
287f29818f
HBASE-24546 CloneSnapshotProcedure unlimited retry ( #1900 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-07-06 13:45:19 +08:00
WenFeiYi
44691ce23c
HBASE-24578 [WAL] Add a parameter to config RingBufferEventHandler's SyncFuture count ( #1923 )
...
Signed-off-by: Reid Chan <reidchan@apache.org>
2020-07-06 11:24:09 +08:00
chenglei
a7a0e1a596
HBASE-24625 AsyncFSWAL.getLogFileSizeIfBeingWritten does not return the expected synced file length. ( #1970 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-07-04 21:00:35 +08:00
Baiqiang Zhao
afe2eac7b6
HBASE-24560 Add a new option of designatedfile in RegionMover
...
Closes #1901
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-07-01 20:26:51 +05:30
xincunSong
9ad16aa376
HBASE-24624 Optimize table.jsp code ( #1963 )
...
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
2020-07-01 08:49:51 +08:00
stack
2c43f6cde7
HBASE-24661 TestHeapSize.testSizes failure
...
Revert "HBASE-24648 Remove the legacy 'forceSplit' related code at region server side (#1990 )"
This reverts commit bfec964aef
.
2020-06-30 15:57:49 -07:00
pengmq1
be57e40f36
HBASE-24289 Heterogeneous Storage for Date Tiered Compaction ( #1730 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-06-30 15:10:04 +08:00
stack
bfec964aef
HBASE-24648 Remove the legacy 'forceSplit' related code at region server side ( #1990 )
...
Addendum to fix TestHeapSize
2020-06-29 14:20:39 -07:00
Duo Zhang
37b863bd0b
HBASE-24648 Remove the legacy 'forceSplit' related code at region server side ( #1990 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-06-29 22:50:42 +08:00
Duo Zhang
46bf8944fd
HBASE-24646 Set the log level for ScheduledChore to INFO in HBTU ( #1987 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-06-28 23:26:05 +08:00
Viraj Jasani
47742b2083
HBASE-24588 : createTableBegsSplit should consider tuning mergeEnabled for table (ADDENDUM) ( #1988 )
2020-06-27 19:09:19 +05:30
Duo Zhang
af49b87367
HBASE-24635 Addendum make test more robust
2020-06-27 11:29:43 +08:00
Duo Zhang
16a25b74db
HBASE-24635 Split TestMetaWithReplicas ( #1980 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-06-27 10:36:07 +08:00
Viraj Jasani
51ad588565
HBASE-24588 : normalization log format (ADDENDUM)
2020-06-26 23:09:37 +05:30
Viraj Jasani
71af97cd05
HBASE-24588 : Submit task for NormalizationPlan ( #1933 )
...
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2020-06-26 22:08:52 +05:30
bsglz
c0461207ee
HBASE-24382 Flush partial stores of region filtered by seqId when arc… ( #1737 )
...
* HBASE-24382 Flush partial stores of region filtered by seqId when archive wal due to too many wals
* fix checkstyle and javadoc issue
* fix javadoc issues
* move the geting of stores to HRegion, since it should not be part of FlushPolicy, and comment fix
* fix checkstyle issue
* add some comment
* remove the forceFlushAllStores since we can use families to determine how to select stores to flush
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: stack <stack@duboce.net>
2020-06-25 22:03:18 -07:00
Bharath Vissapragada
84e246f9b1
HBASE-24603: Make Zookeeper sync() call synchronous ( #1945 )
...
Writing a test for this is tricky. There is enough coverage for
functional tests. Only concern is performance, but there is enough
logging for it to detect timed out/badly performing sync calls.
Additionally, this patch decouples the ZK event processing into it's
own thread rather than doing it in the EventThread's context. That
avoids deadlocks and stalls of the event thread.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-06-25 13:27:38 -07:00
Michael Stack
e54e3afc5c
HBASE-24616 Remove BoundedRecoveredHFilesOutputSink dependency on a TableDescriptor ( #1955 )
...
Purge query Master for table descriptors; make do w/ generic options.
Logging cleanup.
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/BoundedRecoveredHFilesOutputSink.java
Undo fetching Table Descriptor. Not reliably available at recovery time.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-06-25 12:10:17 -07:00
BukrosSzabolcs
8cdb2cca44
HBASE-24562: Stabilize master startup with meta replicas enabled ( #1903 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Huaxiang Sun <huaxiangsun@apache.com>
2020-06-24 18:38:36 +01:00
huaxiangsun
82fad5d789
HBASE-24552 Replica region needs to check if primary region directory exists at file system in TransitRegionStateProcedure ( #1924 )
...
Signed-off-by: stack <stack@apache.org>
2020-06-24 09:43:12 -07:00
Duo Zhang
22103067b6
HBASE-24609 Move MetaTableAccessor out of hbase-client ( #1943 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-06-24 21:20:35 +08:00
XinSun
4b89ee24f3
HBASE-24431 RSGroupInfo add configuration map to store something extra ( #1782 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-06-24 18:46:09 +08:00
xincunSong
d46adc7cc8
HBASE-24605 Break long region names in the web UI ( #1942 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
2020-06-23 10:03:18 +08:00
Viraj Jasani
5a79a1c83c
HBASE-24102 : Undo visibility change for RegionMover fields (ADDENDUM)
2020-06-22 22:44:05 +05:30
Duo Zhang
8f1353b447
Revert "HBASE-24403 FsDelegationToken Should Cache Token After Acquired A New One ( #1743 )"
...
This reverts commit 7b396e9b8c
.
2020-06-21 23:43:38 +08:00
Viraj Jasani
73ab216414
HBASE-24594 : Separate resource allocation for TestReplicationStatusSink ( #1934 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-06-21 16:11:32 +05:30
XinSun
dfaba965c9
HBASE-24591 get_table_rsgroup ignored the existence of rsgroup config for namespace ( #1925 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-06-21 17:54:39 +08:00
Viraj Jasani
3c31981179
HBASE-24380 : Provide WAL splitting journal logging ( #1860 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2020-06-19 16:25:03 -07:00
stack
537a3caccd
HBASE-24574 Procedure V2 - Distributed WAL Splitting => LOGGING ( #1912 )
...
Addendum 2 fix compile error.
2020-06-18 08:49:39 -07:00
stack
489f07d945
HBASE-24574 Procedure V2 - Distributed WAL Splitting => LOGGING ( #1912 )
...
Addendum; minor log edits
2020-06-18 08:40:11 -07:00
Michael Stack
aadd2bb1a1
HBASE-24574 Procedure V2 - Distributed WAL Splitting => LOGGING ( #1912 )
...
hbase-server/src/main/java/org/apache/hadoop/hbase/master/SplitLogManager.java
Don't register as a chore on construction if no coordination state
manager instance (there is no instance when procv2 WAL splitter).
hbase-server/src/main/java/org/apache/hadoop/hbase/master/SplitWALManager.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java
Edit logs.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionRemoteProcedureBase.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionTransitionProcedure.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ServerCrashProcedure.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/SplitWALProcedure.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/SplitWALRemoteProcedure.java
Add proc name rather than rely on default behavior. Add detail to the
toString.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Factoring
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AbstractFSWAL.java
Print the maxLogs... we don't do it any where.
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WAL.java
Utility method to strip prefix from wal path.
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: tianjingyun <tianjy@apache.org>
2020-06-18 08:38:59 -07:00
Michael Stack
6a576696dc
HBASE-24577 Doc WALSplitter classes ( #1913 )
...
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-06-17 15:03:33 -07:00
Viraj Jasani
192daded61
HBASE-24518 : waitForNamespaceOnline() should return false if any region is offline ( #1869 )
...
Signed-off-by: ramkrish86 <ramkrishna@apache.org>
2020-06-17 19:44:36 +05:30
ramkrish86
b17ba7b81d
HBASE-24205 - Avoid metric collection for flushes and compactions ( #1918 )
...
* HBASE-24205 - Avoid metric collection for flushes and compactions
* Use the existing matcher.isUserScan() to decide the scan type
* Added a comment saying when we track the metrics
2020-06-17 16:47:21 +05:30
ramkrish86
510aad3125
HBASE-24205 Create metric to know the number of reads that happens fr… ( #1552 )
...
* HBASE-24205 Create metric to know the number of reads that happens from memstore
* Fix checkstyles and whitespaces
* Checkstyl, whitespace and javadoc
* Fixed review comments
* Fix unused imports
* Rebase with latest commit
* Adding the table vs store metric by consolidating
* Combine get and scan metrics and make all relevant changes
* Track for full row and then increment either memstore or file read
metric
* TestMetricsStore test fix
* Only increment the memstore metric if all cells are from memstore, if
not treat as mixed reads
* Remove metricsstore and aggregate at region level
* Addresses review comments-metric name updated everywhere
* Metric name change
* Review comment changes
Co-authored-by: Ramkrishna <ramkrishna@apache.org>
Signed-off by:Anoop Sam John<anoopsamjohn@gmail.com>
Signed-off by:Viraj Jasani<virajjasani@apache.org>
2020-06-16 18:30:20 +05:30
xincunSong
3558ee0c3b
HBASE-24478 The regionInfo parameter for MasterProcedureScheduler#wai… ( #1819 )
...
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
Signed-off-by: clarax <clarax98007@gmail.com>
2020-06-16 17:34:07 +08:00
Sandeep Pal
db4d539190
HBASE-24015: Test for Assign and Unassign of Regions on RegionServer on failure ( #1898 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-06-16 12:47:52 +05:30
Bharath Vissapragada
2567d15218
HBASE-24564: Make RS abort call idempotent.
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-06-15 22:45:35 -07:00
Duo Zhang
d0f190bdf0
HBASE-24517 Addendum add more comments ( #1882 )
...
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-06-15 10:43:57 +08:00
bsglz
b83d38fb94
HBASE-24038 Add a metric to show the locality of ssd in table.jsp ( #1337 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-06-14 22:46:18 +05:30
zhaoym6
21fe873eba
HBASE-23195 FSDataInputStreamWrapper unbuffer can NOT invoke the classes that NOT implements CanUnbuffer but its parents class implements CanUnbuffer
...
Closes #746
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2020-06-12 13:01:02 -04:00
Michael Stack
9fbf1f30c9
HBASE-24545 Add backoff to SCP check on WAL split completion ( #1891 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-06-12 07:58:34 -07:00
sguggilam
1dac9f69c4
HBASE-24446 Use EnvironmentEdgeManager to compute clock skew in Master ( #1885 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-06-12 16:17:59 +05:30
Toshihiro Suzuki
6b7a93d10c
HBASE-24529 hbase.rs.evictblocksonclose is not honored when removing compacted files and closing the storefiles ( #1881 )
...
Signed-off-by: Anoop Sam John <anoop.hbase@gmail.com>
2020-06-12 18:59:03 +09:00
Anoop Sam John
4005e42a62
HBASE-24189 WALSplit recreates region dirs for deleted table with recovered edits data.
2020-06-11 21:27:21 +05:30
Viraj Jasani
9b2f961132
HBASE-24532 : Execute region plans with throttle should return succeeded plans ( #1884 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-06-11 18:17:59 +05:30
Toshihiro Suzuki
efd5a962e5
HBASE-8458 Support for batch version of checkAndMutate()
...
Closes #1648
Signed-off-by: Josh Elser <elserj@apache.org>
2020-06-10 22:34:36 -04:00
sguggilam
1eb159b455
HBASE-24511 Ability to configure timeout between RPC retry to RS from master ( #1861 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-06-10 12:53:08 +05:30
Vico.Wu
7b396e9b8c
HBASE-24403 FsDelegationToken Should Cache Token After Acquired A New One ( #1743 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2020-06-10 08:46:58 +08:00
xincunSong
15ddded26b
HBASE-24441 CacheConfig details logged at Store open is not really u… ( #1801 )
...
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
Signed-off-by: binlijin <binlijin@gmail.com>
2020-06-09 14:18:21 +08:00
xincunSong
eee06c2d7e
HBASE-24468 Add region info when log meessages in HStore. ( #1803 )
...
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
Signed-off-by: binlijin <binlijin@gmail.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-06-09 14:12:44 +08:00
Duo Zhang
3d50e73871
HBASE-24117 Shutdown AssignmentManager before ProcedureExecutor may cause SCP to accidentally skip assigning a region ( #1865 )
...
Signed-off-by: Michael Stack <stack@apache.org>
2020-06-09 11:07:16 +08:00
WenFeiYi
2131456e54
HBASE-24444 Should shutdown mini cluster after class in TestMetaAssignmentWithStopMaster ( #1802 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-06-09 08:16:20 +08:00
Guanghao Zhang
a4aa5384f1
Revert "HBASE-24444 Should shutdown mini cluster after class in TestMetaAssignmentWithStopMaster ( #1802 )"
...
This reverts commit 3b3bba1b64
.
2020-06-09 08:15:51 +08:00
WenFeiYi
3b3bba1b64
HBASE-24444 Should shutdown mini cluster after class in TestMetaAssignmentWithStopMaster ( #1802 )
...
* shutdown mini cluster after class
* fix
Co-authored-by: wen_yi <liu.wenwen@immomo.com>
2020-06-09 08:14:18 +08:00
Duo Zhang
2dd34b3f01
HBASE-24517 AssignmentManager.start should add meta region to ServerStateNode ( #1866 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Wellington Ramos Chevreuil <wchevreuil@apache.org>
2020-06-09 08:14:00 +08:00
huaxiangsun
71fae116c3
HBASE-23202 ExportSnapshot (import) will fail if copying files to root directory takes longer than cleaner TTL ( #1874 )
...
Co-authored-by: Guangxu Cheng <guangxucheng@gmail.com>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Zach York <zyork@apache.org>
2020-06-08 14:57:48 -07:00
huaxiangsun
5042b591f8
Revert "HBASE-23202 ExportSnapshot (import) will fail if copying files to root directory takes longer than cleaner TTL ( #1791 )" ( #1873 )
...
This reverts commit f862f3d9b5
.
2020-06-08 14:51:59 -07:00
huaxiangsun
f862f3d9b5
HBASE-23202 ExportSnapshot (import) will fail if copying files to root directory takes longer than cleaner TTL ( #1791 )
...
Co-authored-by: Huaxiang Sun <huaxiangsun@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Zach York <zyork@apache.org>
2020-06-08 14:48:21 -07:00
gkanade
920d60f43b
HBASE-24208 Remove RS entry from zk draining servers node after RS been stopped ( #1841 )
...
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-06-08 22:47:00 +05:30
Duo Zhang
754ac1d06d
HBASE-24506 async client deadlock ( #1858 )
...
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
2020-06-08 09:38:58 +08:00
Toshihiro Suzuki
022dd9687f
HBASE-24515 batch Increment/Append fails when retrying the RPC ( #1864 )
...
Signed-off-by: Viraj Jasani <virajjasani007@gmail.com>
2020-06-08 09:51:21 +09:00
bsglz
66452afc09
HBASE-24496 The tag of Base Stats not actived by default in table.jsp ( #1837 )
...
Signed-off-by: clarax
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-06-06 19:15:37 +05:30
Duo Zhang
16116fa35e
HBASE-24510 Remove HBaseTestCase and GenericTestUtils ( #1859 )
...
Signed-off-by: Michael Stack <stack@apache.org>
2020-06-06 19:06:11 +08:00
Duo Zhang
c91829bb41
HBASE-24491 Remove HRegionInfo ( #1830 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-06-05 22:19:01 +08:00
Duo Zhang
2c2b1f0174
HBASE-24500 The behavior of RegionInfoBuilder.newBuilder(RegionInfo) is strange ( #1850 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-06-05 15:19:04 +08:00
Duo Zhang
b2ec4c1ea0
HBASE-24505 Reimplement Hbck.setRegionStateInMeta ( #1852 )
...
Signed-off-by: Wellington Ramos Chevreuil <wchevreuil@apache.org>
2020-06-05 08:48:39 +08:00
Viraj Jasani
61a7468df7
HBASE-24456 : Create ImmutableScan and use it for CustomizedScanInfoBuilder ( #1818 )
...
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-06-04 16:25:47 +05:30
XinSun
59031ab661
HBASE-24359 Optionally ignore edits for deleted CFs for replication ( #1722 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-06-04 17:52:52 +08:00
Duo Zhang
08c97d3a87
Revert "HBASE-24500 The behavior of RegionInfoBuilder.newBuilder(RegionInfo) is strange ( #1840 )"
...
This reverts commit ee6938abda
.
2020-06-04 12:17:03 +08:00
Duo Zhang
ee6938abda
HBASE-24500 The behavior of RegionInfoBuilder.newBuilder(RegionInfo) is strange ( #1840 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
2020-06-04 11:06:41 +08:00
Bharath Vissapragada
60c9ae58fb
HBASE-21905: [FIFOCompaction] Don't compact already inflight store files ( #1829 )
...
This one surfaced as a flake test but turns out to be a legit bug
in FIFOCompaction code. FifoCompaction does not check if an empty
store file is already being compacted by an in-flight compaction
request and still enqueues. It can potentially race with a running
compaction (as in this test case, see jira for the exact exception).
Fixes the edge case and cleans up the test code a bit.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2020-06-03 16:37:22 -07:00
Viraj Jasani
8de8c44029
HBASE-24492 : Remove infinite loop from ProtobufLogReader#readNext ( #1831 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-06-03 13:41:15 +05:30
niuyulin
f71f1cdfa0
HBASE-24412 Canary support check only one column family per RegionTask ( #1817 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-06-03 09:15:10 +08:00
XinSun
901187ae2f
HBASE-22738 Fallback to default group to choose RS when there are no RS in current group ( #1789 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-06-03 08:26:05 +08:00
Nick Dimiduk
cb5c0d2782
HBASE-24418 Consolidate Normalizer implementations
...
Simplify our Normalizer story to have just a single, configurable
implementation.
* fold the features of `MergeNormalizer` into
`SimpleRegionNormalizer`, removing the intermediate abstract class.
* configuration keys for merge-only features now share a common
structure.
* add configuration to selectively disable normalizer split/merge
operations.
* `RegionNormalizer` now extends `Configurable` instead of creating a
new instance of `HBaseConfiguration` or snooping one off of other
fields.
* avoid the extra RPCs by using `MasterServices` instead of
`MasterRpcServices`.
* boost test coverage of all the various flags and feature
combinations.
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: huaxiangsun <huaxiangsun@apache.org>
2020-06-02 11:38:39 -07:00
Wellington Ramos Chevreuil
e5345b3a7c
HBASE-21406 "status 'replication'" should not show SINK if the cluste… ( #1761 )
...
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
2020-06-02 09:27:16 +01:00
Duo Zhang
bad2d4e409
HBASE-24474 Rename LocalRegion to MasterRegion ( #1811 )
...
Signed-off-by: Michael Stack <stack@apache.org>
2020-06-02 10:37:43 +08:00
Bharath Vissapragada
f5b90fcc44
HBASE-24479: Deflake TestCompaction#testStopStartCompaction ( #1820 )
...
Polling of active compaction count is racy. Tightened the asserts
to be more reliable.
Signed-off-by: Reid Chan <reidchan@apache.org>
2020-05-31 23:54:17 -07:00
Bharath Vissapragada
4f49a96258
HBASE-24477: Move ConfigurationObserver and related classes to hbase-common ( #1815 )
...
This utility is useful for any module that wants to detect
dynamic config changes. Having it to hbase-common makes it
accessible to all the other modules.
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-05-31 11:18:16 -07:00
bsglz
b4a4debdd9
HBASE-24475 Clean up the master thread name getting in SplitLogManager and AssignmentManager ( #1810 )
2020-05-30 22:23:04 -07:00
jacob-leblanc
c120260bce
HBASE-24454 - Read ioErrorStartTime to local temporary variable to avoid issue when it is set to -1 between greater than zero check and calculation of error duration ( #1816 )
...
Signed-off-by Anoop Sam John <anoopsamjohn@apache.org>
2020-05-30 21:06:40 -07:00
Duo Zhang
36a6ef9cf9
HBASE-24471 The way we bootstrap meta table is confusing ( #1806 )
...
Signed-off-by: Michael Stack <stack@apache.org>
2020-05-30 16:03:52 +08:00
Viraj Jasani
f0f9a20cd7
HBASE-23941 : FilterBy operator support in get_slowlog_responses API ( #1793 )
...
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2020-05-30 12:59:59 +05:30
Michael Stack
bda2094ae5
HBASE-22287 inifinite retries on failed server in RSProcedureDispatcher ( #1800 )
...
Adds backoff in place of retry every 100ms.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-05-29 10:04:02 -07:00
xincunSong
da2e03bb3b
HBASE-24470 : Add store file info when log meessages in HStore. ( #1804 )
...
Signed-off-by: binlijin <binlijin@gmail.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-05-29 18:58:57 +05:30
Viraj Jasani
bf869def43
HBASE-24428 : Fix for testSplitCompactWithPriority (ADDENDUM)
2020-05-29 18:15:40 +05:30
bsglz
7b7e25a50b
HBASE-24451 Remove the HasThread because the related bug had been fixed since jdk7 ( #1797 )
...
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-05-29 17:33:18 +05:30
Duo Zhang
f06248ef84
HBASE-24443 Refactor TestCustomSaslAuthenticationProvider ( #1790 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-05-28 20:44:31 +08:00
Viraj Jasani
48e9835adb
HBASE-24428 : Update compaction priority for recently split daughter regions ( #1784 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2020-05-27 20:56:41 +05:30
binlijin
aacb69d098
HBASE-24371 Add more details when print CompactionConfiguration info ( #1711 )
...
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
2020-05-27 19:41:43 +08:00
Duo Zhang
476cb16232
HBASE-24437 Addendum just start mini dfs cluster, and make the log roll more robust ( #1787 )
...
Signed-off-by: stack <stack@apache.org>
2020-05-27 11:25:25 +08:00
Michael Stack
e39fd6d11b
HBASE-24425 Run hbck_chore_run and catalogjanitor_run on draw of 'HBCK Report' page ( #1771 )
...
Signed-off-by: clarax
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Huaxiang Sun <huaxiangsun@apache.com>
2020-05-26 19:51:50 -07:00
stack
a9205f8f4d
HBASE-24437 Flaky test, TestLocalRegionOnTwoFileSystems#testFlushAndCompact
...
Force another WAL roll just in case and make the check more loose (its
about whether the files are present, not their count)
2020-05-26 11:57:19 -07:00
XinSun
e06e1dba10
HBASE-24416 RegionNormalizer spliting region should not be limited by hbase.normalizer.min.region.count ( #1770 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-05-26 17:03:14 +08:00
Zheng Wang
29c59c0ba8
HBASE-24423 No need to get lock in canSplit because hasReferences will get lock too
2020-05-25 22:52:38 -07:00
WenFeiYi
285e59af25
HBASE-24427 HStore.add log format error ( #1773 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-05-25 18:28:12 +05:30
Viraj Jasani
301659dcc7
HBASE-24426 : Provide regionName in warning during failure to move region from CLOSING to CLOSED ( #1772 )
...
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-05-25 17:33:15 +05:30
wenbang
006e4d5e46
HBASE-24401 Cell size limit check on append should consider 0 or less value to disable the check ( #1742 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-05-25 09:58:01 +08:00
huaxiangsun
eaa2762a4e
HBASE-24369 Provide more information about merged child regions in Hbck Overlaps section, which cannot be fixed immediately ( #1756 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Clara Xiong
Signed-off-by: stack <stack@apache.org>
2020-05-24 17:21:04 -07:00
Duo Zhang
c303f9d329
HBASE-24408 Introduce a general 'local region' to store data on master ( #1753 )
...
Signed-off-by: stack <stack@apache.org>
2020-05-23 15:59:51 +08:00
huaxiangsun
2b894dc100
HBASE-24379 CatalogJanitor misreports region holes when there are actually over laps. ( #1741 )
...
Signed-off-by: stack <stack@apache.org>
2020-05-22 16:55:54 -07:00
bsglz
0ce85fe63c
HBASE-24407 Correct the comment of clusterRegionLocationMocks in TestStochasticLoadBalancer ( #1750 )
2020-05-22 14:14:59 -07:00
huaxiangsun
80b64ef4dc
HBASE-24376 MergeNormalizer is merging non-adjacent regions and causing region overlaps/holes. ( #1734 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-05-21 10:08:43 -07:00
huaxiangsun
a8724e8120
HBASE-24370 Avoid aggressive MergeRegion and GCMultipleMergedRegionsProcedure ( #1719 )
...
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-05-20 14:18:58 -07:00
Viraj Jasani
86a2692dc4
HBASE-23938 : System table hbase:slowlog to store complete slow/large… ( #1681 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
Signed-off-by: ramkrish86 <ramkrishna@apache.org>
2020-05-20 15:10:29 +05:30
niuyulin
8f4c255b38
HBASE-24386 TableSnapshotScanner support scan limit ( #1724 )
...
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off by: Viraj Jasani <vjasani@apache.org>
2020-05-19 20:52:28 +05:30
ramkrish86
af8398a0ac
HBASE-24365 MetricsTableWrapperAggregateImpl runnable fails due to exception and never runs ( #1729 )
...
Signed-off-by: binlijin <binlijin@gmail.com>
Signed-off by: Viraj Jasani <vjasani@apache.org>
2020-05-18 15:11:02 +05:30
binlijin
6ce1e140ee
HBASE-24377 MemStoreFlusher throw NullPointerException ( #1721 )
...
Signed-off-by: Ramkrishna <ramkrishna@apache.org>
Signed-off-by: Anoop Sam John <anoop.hbase@gmail.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-05-18 09:58:28 +08:00
Baiqiang Zhao
61efb6d5ad
HBASE-24381 The Size metrics in Master Webui is wrong if the size is 0 ( #1723 )
2020-05-18 09:14:36 +08:00
Viraj Jasani
15627bb722
HBASE-24327 : Flaky connection in TestMasterShutdown (ADDENDUM)
2020-05-16 12:29:16 +05:30
Guanghao Zhang
bab4b1cf8c
HBASE-23702 hbase.hstore.flusher.count setting to 0 breaks HMaster ( #1703 )
...
Co-authored-by: Ctest
Signed-off-by: Anoop Sam John <anoop.hbase@gmail.com>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-05-15 09:21:53 +08:00
Andrew Purtell
94f36fdb8e
Amend HBASE-24350: Extending and Fixing HBaseTable level replication metrics ( #1704 )
...
- Rename WALEntryBatch#getWaEntriesWithSize -> getWalEntriesWithSize
2020-05-14 13:42:48 -07:00
stack
32e2682310
HBASE-24368 Let HBCKSCP clear 'Unknown Servers', even if RegionStateNode has RegionLocation == null
...
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/GCMultipleMergedRegionsProcedure.java
Edit a log.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/HBCKServerCrashProcedure.java
Add override of isMatchingRegionLocation. Allow 'null' as a pass in
HBCKSCP.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ServerCrashProcedure.java
Add a method for HBCKSCP to override and be less strict filtering
assigns.
hbase-server/src/main/resources/hbase-webapps/master/hbck.jsp
Some doc on what 'Unknown Servers' are.
2020-05-14 13:09:03 -07:00
Sandeep Pal
2e5a664233
HBASE-24350: Extending and Fixing HBaseTable level replication metrics ( #1704 )
...
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2020-05-14 10:34:51 -07:00
bsglz
5e32e08782
HBASE-24164 Retain the ReadRequests and WriteRequests of region on we… ( #1500 )
...
Signed-off-by: stack <stack@apache.org>
2020-05-13 22:28:45 -07:00
Mingliang Liu
a40a0322a7
HBASE-23969 Meta browser should show all `info` columns ( #1485 )
...
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-05-13 11:50:53 -07:00
Viraj Jasani
a782531633
HBASE-24327 : Flaky connection in TestMasterShutdown#testMasterShutdo… ( #1690 )
...
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
2020-05-13 02:38:47 +05:30
Gkkkk302
9e73244082
HBASE-24355 Fix typos in the HStore#compact annotation ( #1699 )
...
Co-authored-by: guo.kangkang <guo.kangkang@immomo.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-05-12 21:07:49 +05:30
Duo Zhang
8601416ee8
HBASE-24309 Avoid introducing log4j and slf4j-log4j dependencies for modules other than hbase-assembly ( #1640 )
...
Signed-off-by: stack <stack@apache.org>
2020-05-12 12:03:30 +08:00
stack
bb3191c563
HBASE-24338 [Flakey Tests] NPE in TestRaceBetweenSCPAndDTP Addendum2: make same fix for TestRaceBetweenSCPAndTRSP but in a second place (addendum 1 got first place).
2020-05-11 20:48:21 -07:00
stack
2c11d5a0a0
HBASE-24338 [Flakey Tests] NPE in TestRaceBetweenSCPAndDTP
...
Addendum: make same fix for TestRaceBetweenSCPAndTRSP which does same
thing.
2020-05-11 14:06:56 -07:00
Joseph295
68229c9c99
HBASE-24341 The region should be removed from ConfigurationManager as a ConfigurationObserver when it is closed ( #1675 )
...
Co-authored-by: Joseph295 <johnhomsea@gmail.com>
Signed-off-by Anoop Sam John <anoopsamjohn@apache.org>
2020-05-11 17:31:54 +05:30
Viraj Jasani
6729cafa1d
Revert "HBASE-24327 : Handle shutdown() if master cannot be contacted ( #1684 )" ( #1691 )
...
This reverts commit 34a74534fe
.
2020-05-11 16:43:49 +05:30
Geoffrey Jacoby
ca81283fe5
HBASE-24321 - Add writable MinVersions and read-only Scan to coproc S… ( #1655 )
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Lars Hofhansl <larsh@apache.org>
Signed-off-by: Anoop Sam John <anoopsamjohn@gmail.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-05-11 12:54:22 +05:30
Viraj Jasani
34a74534fe
HBASE-24327 : Handle shutdown() if master cannot be contacted ( #1684 )
...
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
2020-05-10 17:09:51 +05:30
huaxiangsun
30f07e8187
HBASE-24256 When fixOverlap hits the max region limit, it is possible to include the same region in multiple merge request ( #1584 )
...
Signed-off-by: stack <stack@apache.org>
2020-05-08 10:16:42 -07:00
Reid Chan
0cd70ed89c
HBASE-24345 [ACL] renameRSGroup should require Admin level permission ( #1683 )
...
Signed-off-by: binlijin <binlijin@gmail.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-05-08 18:56:05 +08:00
Jan Hentschel
03e5a1402d
HBASE-24305 Removed deprecations in ServerName ( #1666 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-05-08 09:41:55 +02:00
stack
fc283f7a68
HBASE-24338 [Flakey Tests] NPE in TestRaceBetweenSCPAndDTP #1669
...
Signed-off-by: Lijin Bin <binlijin@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-05-07 13:54:45 -07:00
stack
d30268d0ee
HBASE-24342 [Flakey Tests] Disable TestClusterPortAssignment.testClusterPortAssignment as it can't pass 100% of the time
2020-05-07 13:22:35 -07:00
niuyulin
f4a446c3d2
HBASE-24328 skip duplicate GCMultipleMergedRegionsProcedure while previous finished ( #1629 )
...
Signed-off-by: huaxiangsun <huaxiangsun@apache.org>
2020-05-06 10:06:49 -07:00
Michael Stack
6f059ecff0
HBASE-24331 [Flakey Test] TestJMXListener rmi port clash ( #1657 )
...
Add check that we can make jmx connector in setup. If we can't retry.
2020-05-06 09:29:57 -07:00
Reid Chan
c32d18d4fb
HBASE-24336 [Metrics] FSDataInputStream's localBytesRead is wrong ( #1667 )
...
Signed-off-by: binlijin <binlijin@gmail.com>
2020-05-06 19:24:05 +08:00
Mohammad Arshad
294c228c67
HBASE-24211: Create table is slow in large cluster when AccessController is enabled. ( #1631 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-05-06 15:12:20 +05:30
Duo Zhang
c1cb22f0b3
HBASE-24265 Remove hedged rpc call support, implement the logic in MaterRegistry … ( #1593 )
...
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
2020-05-06 15:55:26 +08:00
Duo Zhang
a9a1b9524d
HBASE-24304 Separate a hbase-asyncfs module ( #1628 )
...
Signed-off-by: stack <stack@apache.org>
2020-05-06 14:40:21 +08:00
huaxiangsun
045c909bdf
HBASE-24316 GCMulitpleMergedRegionsProcedure is not idempotent ( #1660 )
...
It addresses couple issues:
1. Make sure deleteMergeQualifiers() does not delete the row if there is no columns with "merge" keyword.
2. GCMulitpleMergedRegionsProcedure now acquire an exclusive lock on the child region.
Signed-off-by: stack <stack@apache.org>
2020-05-05 23:04:48 -07:00
Nick Dimiduk
07077a3950
HBASE-23976 Use nio for file manipulation in TestVerifyBucketCacheFile ( #1342 )
...
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
2020-05-05 22:04:26 -07:00
Michael Stack
33eadb5bb1
HBASE-24307 [Flakey Tests] krb server for secure thrift tests throws BindException ( #1656 )
...
Move the random free port generate back into hbasecommontestingutility
from hbasetestingutility.
Add a create simple kdc server utility that will start a kdc server and
if a bindexception, create a new one on a new random port in hbase-common.
Add new BoundSocketMaker helpful when trying to manufacture
BindExceptions because of port clash.
Change thrift and http kdc tests to use this new utility (removes
code duplication around kdc server setup).
2020-05-05 21:36:59 -07:00
stack
24c995da97
HBASE-24118 [Flakey Tests] TestCloseRegionWhileRSCrash
...
Addendum; add back bit missing off end of test.
2020-05-05 21:16:33 -07:00
Yu Wang
3d96007c37
HBASE-24137:The max merge count of metafixer may be remind in hbase-site.xml ( #1478 )
2020-05-05 16:14:14 -07:00
Michael Stack
5488124be0
HBASE-24284 [h3/jdk11] REST server won't start Exclude transitive includes of jax-rs 1.x and then explicitly include jax-rs 2.x glassfish impl for REST context when hadoop3. ( #1625 )
2020-05-05 15:36:01 -07:00
huaxiangsun
a240ba8214
HBASE-24273 HBCK's "Orphan Regions on FileSystem" reports regions with referenced HFiles ( #1613 )
...
Signed-off-by: stack <stack@apache.org>
2020-05-05 11:10:02 -07:00
Duo Zhang
3340c0024e
HBASE-24314 Some classes still use log4j logger directly ( #1637 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-05-05 20:03:55 +08:00
Minwoo Kang
1b11ea2e1f
HBASE-23968 Periodically check whether a system stop is requested in compaction by time. ( #1274 )
...
Signed-off-by: stack <stack@apache.org>
2020-05-04 14:45:20 -07:00
Nick Dimiduk
e37aafcfc2
HBASE-24260 Add a ClusterManager that issues commands via coprocessor
...
Implements `ClusterManager` that relies on the new
`ShellExecEndpointCoprocessor` for remote shell command execution.
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
2020-05-04 10:53:02 -07:00
Anoop Sam John
7313b4f5aa
HBASE-24311 Add more details in MultiVersionConcurrencyControl STUCK log message ( #1636 )
2020-05-04 21:26:29 +05:30
stack
255470a139
HBASE-24246 Miscellaneous hbck2 fixMeta bulk merge fixes: better logging around merges/overlap-fixing, 'HBCK Report' overlap listing, and configuration ( #1572 )
...
Addendum to address minor feedback on text
2020-05-04 08:27:21 -07:00
Michael Stack
ef4cc669b9
HBASE-24246 Miscellaneous hbck2 fixMeta bulk merge fixes: better logging around merges/overlap-fixing, 'HBCK Report' overlap listing, and configuration ( #1572 )
...
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
Fix weird brackets around each region name when logging.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MetaFixer.java
Log when we hit the max merge limit. Also up limit to 64.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/MergeTableRegionsProcedure.java
Make logs make more sense to operator.
hbase-server/src/main/resources/hbase-webapps/master/hbck.jsp
Make RegionName show when you mouseover so long names don't mess up
display of holes and overlaps.
Address Mingliang Liu liuml07 feedback
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Mingliang Liu <liuml07@apache.org>
2020-05-04 08:27:10 -07:00
niuyulin
c44bb2e99a
HBASE-24221 Support bulkLoadHFile by family (ADDENDUM)
...
Co-authored-by: niuyulin <niuyulin@xiaomi.com>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
2020-05-04 15:21:38 +01:00
Wellington Chevreuil
b6e81c0e3f
Revert "HBASE-24221 Support bulkLoadHFile by family, fix UT ( #1633 )"
...
This reverts commit 5d41588df6
.
2020-05-04 15:21:01 +01:00
niuyulin
5d41588df6
HBASE-24221 Support bulkLoadHFile by family, fix UT ( #1633 )
...
Co-authored-by: niuyulin <niuyulin@xiaomi.com>
2020-05-04 15:18:55 +01:00
xincunSong
d67f065594
[HBASE-24288]Allow admin user to create table and do bulkLoad ( #1612 )
...
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
Signed-off-by: binlijin <binlijin@gmail.com>
2020-05-01 11:57:33 -07:00
gkanade
9785f5d1c9
HBASE-24199 Procedure related metrics is not consumed in the JMX metric ( #1616 )
...
Signed-off-by: stack <stack@apache.org>
2020-05-01 11:45:16 -07:00
Duo Zhang
e8504ba817
HBASE-24277 TestZooKeeper is flaky ( #1617 )
2020-05-01 20:34:42 +08:00
niuyulin
512d00e75d
HBASE-24221 Support bulkLoadHFile by family ( #1569 )
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2020-04-30 18:33:37 +08:00
bsglz
b810c9bb91
HBASE-22710 Wrong result in one case of scan that use raw and version… ( #767 )
...
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-04-30 13:51:37 +05:30
xincunSong
856e21d199
HBASE-24282 'scanDetail' log message is missing when responseTooSlow happens on the first scan rpc call ( #1604 )
...
Signed-off-by: Guangxu Cheng <gxcheng@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-04-29 16:03:24 -07:00
stack
e3c5527ce5
HBASE-24247 Failed multi-merge because two regions not adjacent (legitimately).
...
Addendum: Restore old semantic where merge of non-adjacent required
'force'
2020-04-29 14:35:48 -07:00
stack
9cff7a4ff4
HBASE-24215 [Flakey Tests] [ERROR] TestSecureRESTServer java.lang.NoClassDefFoundError: com/sun/jersey/core/spi/factory/AbstractRuntimeDelegate
...
Addendum: Add jersey-servlet to hadoop3 profile.
Made the hadoop3 profile in top-level pom same as it is for hadoop2
when it comes to exclusions. Then backed out previous attempt mostly.
Made the failing test medium-sized so it ran in its own jvm.
2020-04-29 07:39:59 -07:00
Joseph295
f46dba865f
HBASE-24278 The Java doc for minFilesToCompact is wrong ( #1599 )
...
Co-authored-by: Joseph295 <johnhomsea@gmail.com>
SIgned-off-by: stack <stack@apache.org>
2020-04-28 22:09:56 -07:00
Duo Zhang
9f52e6b725
HBASE-24249 Move code in FSHDFSUtils to FSUtils and mark related clas… ( #1586 )
...
Signed-off-by: stack <stack@apache.org>
2020-04-29 10:44:34 +08:00
Duo Zhang
6928674eb8
HBASE-24228 Merge the code in hbase-hadoop2-compat module to hbase-hadoop-compat ( #1563 )
...
Signed-off-by: stack <stack@apache.org>
2020-04-29 10:34:53 +08:00
Michael Stack
8fceec8cb1
HBASE-24247 Failed multi-merge because two regions not adjacent (legitimately) ( #1570 )
...
hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfo.java
Add new isOverlap method that takes list of RegionInfos checking that
current RegionInfo is overlapped by the passed in Regions.
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Huaxiang Sun <huaxiangsun@apache.com>
2020-04-28 13:24:04 -07:00
Duo Zhang
39a1bc53f8
Revert "HBASE-24212: Create table is slow in large cluster when AccessController is enabled. ( #1546 )"
...
Wrong JIRA issue number and also breaks TestAccessController.testAccessControllerUserPermsRegexHandling
This reverts commit e6cc5eb2f0
.
2020-04-27 22:45:52 +08:00
Duo Zhang
84f2e95dd5
HBASE-24264 Disable TestNettyIPC.testHedgedAsyncEcho ( #1589 )
2020-04-26 23:36:07 +08:00
bsglz
ec0d9d767e
HBASE-23264 Resolve a TODO of BucketAllocator: "Why we add the extra … ( #801 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-04-26 15:15:31 +05:30
Josh Elser
8774614a8c
HBASE-23881 Ensure Netty client receives at least one response before considering SASL negotiation complete
...
The PLAIN mechanism test added in the Shade authentication example has
different semantics than GSSAPI mechanism -- the client reports that the
handshake is done after the original challenge is computed. The javadoc
on SaslClient, however, tells us that we need to wait for a response
from the server before proceeding.
The client, best as I can see, does not receive any data from HBase;
however the application semantics (e.g. throw an exception on auth'n
error) do not work as we intend as a result of this bug.
Extra trace logging was also added to debug this, should a similar error
ever happen again with some other mechanism.
Closes #1260
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Bharath Vissapragada <bharathv@apache.org>
2020-04-26 10:24:07 +08:00
Duo Zhang
c1f0634462
Revert "HBASE-23381 Ensure Netty client receives at least one response before considering SASL negotiation complete"
...
Incorrect jira issue number
This reverts commit 78eecd3a7d
.
2020-04-26 10:23:40 +08:00
Mohammad Arshad
e6cc5eb2f0
HBASE-24211: Create table is slow in large cluster when AccessController is enabled. ( #1546 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Pankaj <pankajkumar@apache.org>
2020-04-25 17:41:43 +05:30
Duo Zhang
24961c5c34
HBASE-23848 Addendum fix TestSeekOptimizations ( #1574 )
2020-04-24 19:50:30 +08:00
niuyulin
6cea5c6462
HBASE-24222 remove FSUtils.checkAccess and replace with FileSystem.access in HBCK ( #1557 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-04-23 23:20:38 +08:00
Viraj Jasani
4ed15e51d9
HBASE-24024 : Reject multi() requests with rows higher than threshold ( #1560 )
...
Signed-off-by: Reid Chan <reidchan@apache.org>
2020-04-22 12:46:40 +05:30
Jan Hentschel
75c717d4c2
HBASE-23848 Removed deprecated setStopRow from Scan ( #1184 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-04-22 15:15:17 +08:00
niuyulin
bc9184ee00
HBASE-23933 Separate a hbase-balancer module ( #1436 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-04-22 14:55:38 +08:00
Beata Sudi
5f45c8293d
HBASE-24139 : Balancer should avoid leaving idle region servers ( #1511 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org>
2020-04-22 09:51:53 +05:30
stack
e7b5c34d28
HBASE-24226 Address other hard references to '/tmp' found in Configuration
2020-04-21 17:40:35 -07:00
Viraj Jasani
5c53b606a9
HBASE-24175 : createDirAndSetProperty() (ADDENDUM)
2020-04-21 23:09:07 +05:30
stack
7c2f13eb70
HBASE-24175 [Flakey Tests] TestSecureExportSnapshot FileNotFoundException
...
Addendum #3 ; catch more '/tmp' references by hadoop.
2020-04-21 09:41:24 -07:00
stack
2d2e1d965d
HBASE-24220 Allow that zk NOTEMPTY multi exception is retryable by running in-series
...
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapred/TableRecordReaderImpl.java
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableRecordReaderImpl.java
Cleanup checkstyle warnings. Don't depend on hbase-client
ScannerCallable.
hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/snapshot/TestExportSnapshot.java
Cut down on cluster resource usage.
hbase-server/src/test/java/org/apache/hadoop/hbase/master/AbstractTestDLS.java
Debug
hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController3.java
Debug
hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftHttpServer.java
Debug
hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.java
Debug
hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
Allow that NONEMPTY is retryable by running in series.
2020-04-20 15:51:11 -07:00
Guangxu Cheng
bcacc4ce93
HBASE-23896 Snapshot owner cannot delete snapshot when ACL is enabled and Kerberos is not enabled ( #1211 )
...
Signed-off-by: binlijin <binlijin@gmail.com>
2020-04-20 09:59:06 +08:00
XinSun
8e5c6da3f0
HBASE-24166 Duplicate implementation for acquireLock between CreateTableProcedure and its parent class ( #1486 )
...
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-04-18 10:30:12 +08:00
Joseph295
5ff4376d80
HBASE-24182 log when the region is set to closing status ( #1509 )
...
Signed-off-by: stack <stack@apache.org>
2020-04-17 12:20:12 -07:00
Reid Chan
db36cf71c5
HBASE-24174 Fix findbugs warning on ServiceAuthorizationManager for master branch ( #1537 )
...
Signed-off-by: binlijin <binlijin@gmail.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-04-18 01:24:31 +08:00
gkanade
12aad76109
MetricsTable#updateFlushTime is wrong ( #1539 )
...
Authored-by: Gaurav Kanade <gkanade@microsoft.com>
Signed-off-by: Ramkrishna <ramkrishna@apache.org>
2020-04-17 15:40:27 +05:30
Viraj Jasani
d212dc4df0
HBASE-24195 : Admin.getRegionServers() should return live servers exc… ( #1523 )
...
Signed-off-by: Mingliang Liu <liuml07@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-04-16 20:13:14 +05:30
BukrosSzabolcs
a0ef4cb8a2
HBASE-24186: RegionMover ignores replicationId ( #1512 )
...
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-04-16 19:53:51 +05:30
Duo Zhang
1f66806c96
HBASE-24170 Remove hadoop-2.0 profile ( #1495 )
...
Signed-off-by: stack <stack@apache.org>
2020-04-16 18:57:40 +08:00
stack
853a72bc46
HBASE-24175 [Flakey Tests] TestSecureExportSnapshot FileNotFoundException
...
Addendum: add test to check for '/tmp' references.
2020-04-15 10:55:40 -07:00
huaxiangsun
3421423dd6
HBASE-24183 [flakey test] replication.TestAddToSerialReplicationPeer ( #1514 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: stack <stack@apache.org>
2020-04-15 10:07:57 -07:00
GeorryHuang
38954edb25
HBASE-23994: Add WebUI to Canary ( #1292 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2020-04-14 15:56:19 -07:00
Nick Dimiduk
cb60d23cb3
Revert "HBASE-23994:Add WebUI to Canary ( #1292 )"
...
This reverts commit daf79de329
.
2020-04-14 15:55:56 -07:00
GeorryHuang
daf79de329
HBASE-23994:Add WebUI to Canary ( #1292 )
...
HBASE-23994: Add WebUI to Canary
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
2020-04-14 15:52:22 -07:00
binlijin
92b30f2638
HBASE-24181 Add region info when log meessages in HRegion. ( #1506 )
...
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-04-14 19:36:16 +08:00
Michael Stack
5f08311b23
HBASE-24134 Down forked JVM heap size from 2800m to 2200m for jdk8 and jdk11 ( #1451 ) ( #1503 )
...
Down jdk8 forked jvm heap from 2800 to 2200 and the jdk11 heap from
3200 to 2200. Down the mvn size from 4G to 3.6G
Change how many puts done by TestMultiRespectsLimits because made
the test run the forked heap over 2.5G in size.
Signed-off-by: Sean Busbey <busbey@apache.org>
2020-04-13 21:35:43 -07:00
Jianfei Jiang
ba34a2ca30
HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 ( #1453 )
...
* HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7
* HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7
Co-authored-by: 姜建飞 10222269 <jiang.jianfei@zte.com.cn>
Signed-off-by: Mate Szalay-Beko <szalay.beko.mate@gmail.com>
Signed-off-by: Norbert Kalmar <nkalmar@cloudera.com>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Duo Zhang <zhangdo@apache.org>
2020-04-13 13:46:37 -07:00
stack
67b2e881ca
HBASE-24158 [Flakey Tests] TestAsyncTableGetMultiThreaded
2020-04-13 11:51:47 -07:00
stack
64c7fc6a52
HBASE-24167 [Flakey Tests] TestHRegionWithInMemoryFlush#testWritesWhileScanning gets stuck MVCC
2020-04-13 11:44:07 -07:00
stack
b00b5270f6
HBASE-24175 [Flakey Tests] TestSecureExportSnapshot FileNotFoundException
...
Overwrite yarn configs that write /tmp dir by default.
2020-04-13 11:29:25 -07:00
Reid Chan
22675d8070
HBASE-24112 [RSGroup] Support renaming rsgroup ( #1435 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2020-04-13 14:04:32 +08:00
stack
72764cf628
HBASE-24153 Revert "Revert "Remove unnecessary super() in MultiVersionConcurrencyControl#MultiVersionConcurrencyControl() ( #1468 )""
...
A revert of a revert; i.e. a reapplication to add missing JIRA number
This reverts commit c4026d1beb
.
2020-04-12 18:30:38 -07:00
stack
c4026d1beb
Revert "Remove unnecessary super() in MultiVersionConcurrencyControl#MultiVersionConcurrencyControl() ( #1468 )"
...
Forgot to add JIRA number. Reverting to add.
This reverts commit 12a0c1d5fe
.
2020-04-12 18:30:11 -07:00
Viraj Jasani
b6b8c6973d
HBASE-24140 : Move CandidateGenerator and their implementors out of StochasticLoadBalancer ( #1458 )
...
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
2020-04-12 19:13:47 +05:30