Tommy Li
d187af00ca
HBASE-21720 : metric to measure how actions are distributed to servers within a MultiAction
...
Signed-off-by: Sergey Shelukhin <sershe@apache.org>
2019-01-23 17:52:58 -08:00
Nihal Jain
050caf425e
HBASE-21475 Put mutation (having TTL set) added via co-processor is retrieved even after TTL expires
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-01-23 16:57:28 -08:00
Allan Yang
b5619a2a26
HBASE-21754 ReportRegionStateTransitionRequest should be executed in priority executor
2019-01-23 20:55:00 +08:00
Duo Zhang
dfad304ddb
HBASE-21753 Support getting the locations for all the replicas of a region
2019-01-23 18:09:39 +08:00
Sergey Shelukhin
fa3946fbea
HBASE-21626 log the regions blocking WAL from being archived ADDENDUM
...
Signed-off-by: Michael Stack <stack@apache.org>
2019-01-22 15:15:38 -08:00
huzheng
35ed5d6c39
HBASE-21750 Most of KeyValueUtil#length can be replaced by cell#getSerializedSize for better performance because the latter one has been optimized
2019-01-22 19:58:03 +08:00
Nihal Jain
f2820ea16f
HBASE-21749 RS UI may throw NPE and make rs-status page inaccessible with multiwal and replication
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-01-21 17:26:07 -08:00
huzheng
35df6147ee
HBASE-21738 Remove all the CLSM#size operation in our memstore because it's an quite time consuming.
2019-01-21 16:52:49 +08:00
zhangduo
a2f6768acd
HBASE-21746 Fix two concern cases in RegionMover
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-20 08:57:01 +08:00
Duo Zhang
882bd564f4
HBASE-21726 Add getAllRegionLocations method to AsyncTableRegionLocator
2019-01-19 11:14:35 +08:00
zhangduo
44dc872b7b
HBASE-19695 Handle disabled table for async client
...
Signed-off-by: tianjingyun <tianjy1990@gmail.com>
2019-01-17 18:34:12 +08:00
Beluga Behr
3e92cd5771
HBASE-20209 Do Not Use Both Map containsKey and get Methods in Replication Sink
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-01-16 09:39:40 -07:00
Duo Zhang
594341d6fe
HBASE-21710 Add quota related methods to the Admin interface
...
Signed-off-by: Michael Stack <stack@apache.org>
2019-01-16 21:08:47 +08:00
huzheng
15031c5bd5
HBASE-21657 PrivateCellUtil#estimatedSerializedSizeOf has been the bottleneck in 100% scan case
2019-01-16 09:41:02 +08:00
tianjingyun
c2c1af4927
HBASE-21647 Add status track for splitting WAL tasks
2019-01-15 16:38:37 -08:00
Pankaj
6da0b4ec34
HBASE-21639 maxHeapUsage value not read properly from config during EntryBuffers initialization
2019-01-15 12:18:28 -08:00
Pankaj
bc0fb66e22
HBASE-21595, Print thread's information and stack traces when RS is aborting forcibly
2019-01-15 12:11:48 -08:00
Sakthi
93d4b95b3f
HBASE-21225: Having RPC & Space quota on a table/Namespace doesn't allow space quota to be removed using 'NONE'
...
Signed-off-by: Josh Elser <elserj@apache.org>
2019-01-14 17:55:42 -07:00
Sergey Shelukhin
e69ab24552
HBASE-21626 : log the regions blocking WAL from being archived
2019-01-14 14:52:24 -08:00
zhangduo
c5691a9f60
HBASE-21705 Should treat meta table specially for some methods in AsyncAdmin
2019-01-13 13:40:52 +08:00
Duo Zhang
3d2580cd6d
HBASE-21704 The implementation of DistributedHBaseCluster.getServerHoldingRegion is incorrect
2019-01-11 21:34:16 +08:00
Duo Zhang
fbf79373e6
HBASE-21663 Add replica scan support
2019-01-11 14:19:05 +08:00
Duo Zhang
7bebdff6a2
HBASE-21580 Support getting Hbck instance from AsyncConnection
2019-01-11 11:26:44 +08:00
Nihal Jain
5d32e80f9e
HBASE-21297 ModifyTableProcedure can throw TNDE instead of IOE in case of REGION_REPLICATION change
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-10 22:01:45 +08:00
Guanghao Zhang
8e39ec2c59
HBASE-21691 Fix flaky test TestRecoveredEdits
2019-01-10 10:06:45 +08:00
meiyi
620d70d618
HBASE-21694 Add append_peer_exclude_tableCFs and remove_peer_exclude_tableCFs shell commands
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-09 22:02:21 +08:00
Guanghao Zhang
a5a61163f1
HBASE-21695 Fix flaky test TestRegionServerAbortTimeout
2019-01-09 21:58:19 +08:00
Sergey Shelukhin
37bc1686d6
HBASE-21614 RIT recovery with ServerCrashProcedure doesn't account for all regions
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2019-01-09 20:03:37 +08:00
Nihal Jain
5c902b48e5
HBASE-21645 Perform sanity check and disallow table creation/modification with region replication < 1
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-09 10:49:19 +08:00
Vladimir Rodionov
d26acbe1db
HBASE-21688: Address WAL filesystem issues
...
Signed-off-by: Josh Elser <elserj@apache.org>
2019-01-08 13:56:11 -05:00
zhangduo
e9dae2adc3
HBASE-21683 Reset readsEnabled flag after successfully flushing the primary region
2019-01-08 16:06:34 +08:00
zhangduo
4f0514e39a
HBASE-21682 Support getting from specific replica
2019-01-08 09:49:12 +08:00
tianjingyun
281d6429e5
HBASE-21588 Procedure v2 wal splitting implementation
2019-01-07 15:58:15 +08:00
meiyi
77db1fae09
HBASE-21159 Add shell command to switch throttle on or off
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2019-01-07 14:21:41 +08:00
zhangduo
db66e6cc9e
HBASE-17356 Add replica get support
2019-01-03 08:38:20 +08:00
Guanghao Zhang
ec948f5d90
HBASE-21659 Avoid to load duplicate coprocessors in system config and table descriptor
2019-01-02 10:41:36 +08:00
Guanghao Zhang
3ab895979b
HBASE-21660 Apply the cell to right memstore for increment/append operation
2019-01-01 17:32:44 +08:00
Guanghao Zhang
f5ea00f724
HBASE-21643 Introduce two new region coprocessor method and deprecated postMutationBeforeWAL
2018-12-27 18:27:06 +08:00
huzheng
c2d5991b82
HBASE-21642 CopyTable by reading snapshot and bulkloading will save a lot of time
2018-12-27 18:22:54 +08:00
Guanghao Zhang
4281cb3b95
HBASE-21640 Remove the TODO when increment zero
2018-12-26 21:47:44 +08:00
Andrey Elenskiy
dbafa1be83
HBASE-21545 NEW_VERSION_BEHAVIOR breaks Get/Scan with specified columns
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Sakthi
2018-12-23 22:01:11 -08:00
zhangduo
97fd647de2
HBASE-21635 Use maven enforcer to ban imports from illegal packages
2018-12-24 11:12:25 +08:00
Guanghao Zhang
7c0a3cc265
HBASE-21621 Reversed scan does not return expected number of rows
...
The unit test is contributed by Nihal Jain
2018-12-23 16:19:05 +08:00
Sakthi
b2bf22e209
HBASE-21631: list_quotas should print human readable values for LIMIT
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2018-12-22 22:00:58 +08:00
openinx
e160b5ac8d
HBASE-21620 Problem in scan query when using more than one column prefix filter in some cases
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Allan Yang <allan163@apache.org>
2018-12-21 15:21:53 -08:00
huzheng
12786f80c1
HBASE-21401 Sanity check when constructing the KeyValue
2018-12-21 18:01:35 +08:00
Guanghao Zhang
ad819380c7
HBASE-21618 Scan with the same startRow(inclusive=true) and stopRow(inclusive=false) returns one result
2018-12-21 09:49:24 +08:00
Pankaj
787567336a
HBASE-21610, numOpenConnections metric is set to -1 when zero server channel exist
2018-12-20 16:36:42 -08:00
Guanghao Zhang
8991877bb2
HBASE-21514: Refactor CacheConfig(addendum)
2018-12-19 13:55:13 +08:00
Pankaj
fb58a23e56
HBASE-21535, Zombie Master detector is not working
2018-12-18 20:51:01 -08:00
Jingyun Tian
c448604ceb
HBASE-21565 Delete dead server from dead server list too early leads to concurrent Server Crash Procedures(SCP) for a same server
2018-12-18 16:57:11 +08:00
xuqinya
f78284685f
HBASE-21592 quota.addGetResult(r) throw NPE
...
Signed-off-by: huzheng <openinx@gmail.com>
2018-12-18 16:15:51 +08:00
Guanghao Zhang
1971d02e72
HBASE-21514 Refactor CacheConfig
2018-12-18 13:43:30 +08:00
stack
68b5df0095
HBASE-21589 TestCleanupMetaWAL fails
2018-12-17 09:31:59 -08:00
huzheng
ac0b3bb547
HBASE-21520 TestMultiColumnScanner cost long time when using ROWCOL bloom type
2018-12-15 21:08:52 +08:00
Sean Busbey
491153488e
HBASE-21590 Optimize trySkipToNextColumn in StoreScanner a bit. (addendum)
2018-12-14 17:08:22 -06:00
meiyi
1b08ba7385
HBASE-21578 Fix wrong throttling exception for capacity unit
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2018-12-14 18:17:47 +08:00
Sergey Shelukhin
3ff274e22e
HBASE-21575 : memstore above high watermark message is logged too much
2018-12-13 12:47:11 -08:00
Sergey Shelukhin
9a25d0c249
Revert "HIVE-21575 : memstore above high watermark message is logged too much"
...
This reverts commit 4640ff5959
.
2018-12-13 12:46:39 -08:00
Lars Hofhansl
cb1966dc2d
HBASE-21590 Optimize trySkipToNextColumn in StoreScanner a bit.
2018-12-13 11:57:16 -08:00
huzheng
f32d261843
HBASE-21582 If call HBaseAdmin#snapshotAsync but forget call isSnapshotFinished, then SnapshotHFileCleaner will skip to run every time
2018-12-13 10:35:20 +08:00
Sergey Shelukhin
4640ff5959
HIVE-21575 : memstore above high watermark message is logged too much
2018-12-12 11:02:25 -08:00
Josh Elser
67d6d5084c
HBASE-21568 Use CacheConfig.DISABLED where we don't expect to have blockcache running
...
This includes removing the "old way" of disabling blockcache in favor of the
new API.
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2018-12-11 10:02:18 -05:00
zhangduo
b09b87d143
HBASE-21570 Add write buffer periodic flush support for AsyncBufferedMutator
2018-12-11 14:51:26 +08:00
Guanghao Zhang
79d90c87b5
HBASE-21560 Return a new TableDescriptor for MasterObserver#preModifyTable to allow coprocessor modify the TableDescriptor
2018-12-08 09:28:14 +08:00
Guanghao Zhang
8d7061a487
HBASE-21554 Show replication endpoint classname for replication peer on master web UI
2018-12-07 13:31:59 +08:00
Allan Yang
e0e0694fa1
HBASE-21413 Empty meta log doesn't get split when restart whole cluster
...
Signed-off-by: stack <stack@apache.org>
2018-12-06 21:21:41 -08:00
huzheng
dfb9ae8e0e
HBASE-21559 The RestoreSnapshotFromClientTestBase related UT are flaky
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2018-12-07 08:22:22 +08:00
Tommy Li
170df27b88
HBASE-21414 : StoreFileSize growth rate metric
...
Signed-off-by: Sergey Shelukhin <sershe@apache.org>
2018-12-06 14:43:17 -08:00
huzheng
67ab8b888f
HBASE-21551 Memory leak when use scan with STREAM at server side - (addendum)
2018-12-06 11:26:52 +08:00
huzheng
3b854859f6
HBASE-21551 Memory leak when use scan with STREAM at server side
2018-12-06 10:55:42 +08:00
Duo Zhang
f49baf259e
HBASE-21550 Add a new method preCreateTableRegionInfos for MasterObserver which allows CPs to modify the TableDescriptor
2018-12-06 08:30:32 +08:00
zhangduo
8bf966c8e9
HBASE-21541 Move MetaTableLocator.verifyRegionLocation to hbase-rsgroup module
2018-12-04 22:33:36 +08:00
zhangduo
dec49135a3
HBASE-21534 Addendum output uncaught exception, fix the way that we add new region servers to avoid recreate a dead server
2018-12-03 08:19:21 +08:00
Duo Zhang
d525ec6a12
HBASE-21534 TestAssignmentManager is flakey
2018-12-01 20:41:11 +08:00
Peter Somogyi
5c209f2cec
HBASE-21479 Individual tests in TestHRegionReplayEvents class are failing
...
Signed-off-by: Michael Stack <stack@apache.org>
2018-12-01 09:36:10 +01:00
Duo Zhang
766aa1bfcc
HBASE-21486 The current replication implementation for peer in STANDBY state breaks serial replication
2018-12-01 12:15:18 +08:00
Peter Somogyi
dfeab9f5c9
HBASE-21518 TestMasterFailoverWithProcedures is flaky
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2018-11-30 09:12:06 +01:00
huzheng
d42e0ade1c
HBASE-21504 If enable FIFOCompactionPolicy, a compaction may write a "empty" hfile whose maxTimeStamp is long max. This kind of hfile will never be archived.
2018-11-30 09:53:06 +08:00
Artem Ervits
3ad2a89fdf
HBASE-18735 Provide an option to kill a MiniHBaseCluster without waiting on shutdown
...
Signed-off-by: Josh Elser <elserj@apache.org>
2018-11-29 16:37:50 -05:00
meiyi
f1f2b5a038
HBASE-21300 Fix the wrong reference file path when restoring snapshots for tables with MOB columns
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2018-11-29 11:23:45 +08:00
Duo Zhang
d6e1d18be9
HBASE-21517 Move the getTableRegionForRow method from HMaster to TestMaster
2018-11-28 09:40:27 +08:00
BELUGA BEHR
7877e09b60
HBASE-21492 CellCodec Written To WAL Before It's Verified
2018-11-27 08:57:06 -08:00
lixiaobao
6f15cecaed
HBASE-21507 Compaction failed when execute AbstractMultiFileWriter.beforeShipped() method
...
Signed-off-by: zhangduo <zhangduo@apache.org>
Signed-off-by: Anoop Sam John <anoop.hbase@gmail.com>
2018-11-27 20:56:23 +08:00
zhangduo
39bc458eab
Revert "HBASE-21507 Compaction failed when execute AbstractMultiFileWriter.beforeShipped() method"
...
Email address is broken.
This reverts commit 3133d43859
.
2018-11-27 20:55:04 +08:00
lixiaobao
3133d43859
HBASE-21507 Compaction failed when execute AbstractMultiFileWriter.beforeShipped() method
...
Signed-off-by: zhangduo <zhangduo@apache.org>
Signed-off-by: Anoop Sam John <anoop.hbase@gmail.com>
2018-11-27 20:31:07 +08:00
Guanghao Zhang
34e1d744f7
HBASE-21498 Master OOM when SplitTableRegionProcedure new CacheConfig and instantiate a new BlockCache
2018-11-27 14:20:15 +08:00
zhangduo
1acbd36c90
HBASE-21154 Remove hbase:namespace table; fold it into hbase:meta
2018-11-26 14:51:56 +08:00
Duo Zhang
a0e3cb6c0c
HBASE-21508 Ignore the reportRegionStateTransition call from a dead server
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2018-11-26 14:32:14 +08:00
Ted Yu
27c0bf5c63
HBASE-21511 Remove in progress snapshot check in SnapshotFileCache#getUnreferencedFiles
2018-11-25 18:20:00 -08:00
zhangduo
701526d19f
HBASE-21510 Test TestRegisterPeerWorkerWhenRestarting is flakey
2018-11-24 19:50:59 +08:00
Ted Yu
d9c773b0a5
HBASE-21387 Addendum fix TestSnapshotFileCache
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2018-11-24 17:00:08 +08:00
huzheng
6d0dc960e6
HBASE-21387 Race condition surrounding in progress snapshot handling in snapshot cache leads to loss of snapshot files
2018-11-23 11:31:37 +08:00
Duo Zhang
5cc845b713
HBASE-21503 Replication normal source can get stuck due potential race conditions between source wal reader and wal provider initialization threads.
...
Found and analysed by Wellington Chevreuil
2018-11-21 17:14:54 +08:00
meiyi
5ded294419
HBASE-21034 Add new throttle type: read/write capacity unit
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2018-11-21 09:46:49 +08:00
Duo Zhang
405bf5e638
HBASE-21490 WALProcedure may remove proc wal files still with active procedures
...
Signed-off-by: Allan Yang <allan163@apache.org>
2018-11-19 08:21:28 -08:00
zhangduo
b329e6e3f2
HBASE-21494 NPE when loading RecoverStandByProcedure
2018-11-19 09:35:18 +08:00
zhangduo
f555258e7a
HBASE-21480 Taking snapshot when RS crashes prevent we bring the regions online
2018-11-18 21:07:22 +08:00
zhangduo
43a10df70f
HBASE-21485 Add more debug logs for remote procedure execution
2018-11-16 14:30:59 +08:00
Reid Chan
130057f137
HBASE-21255 [acl] Refactor TablePermission into three classes (Global, Namespace, Table)
...
Signed-off-by: Michael Stack <stack@apache.org>
2018-11-15 11:34:16 +08:00
zhangduo
9e42a9e310
HBASE-21472 Should not persist the dispatched field for RegionRemoteProcedureBase
2018-11-15 09:41:38 +08:00
huzheng
a8b642067d
HBASE-21473 RowIndexSeekerV1 may return cell with extra two \x00\x00 bytes which has no tags
2018-11-14 23:00:12 +08:00
zhangduo
640a5e390b
HBASE-21465 Retry on reportRegionStateTransition can lead to unexpected errors
2018-11-14 18:48:33 +08:00
zhangduo
64c4861272
Revert "HBASE-21465 Retry on reportRegionStateTransition can lead to unexpected errors"
...
This reverts commit ffb003ee44
.
2018-11-13 22:24:59 +08:00
zhangduo
3eb27a099a
Revert "HBASE-21465 Addendum change TestReportRegionStateTransitionRetry to MediumTests"
...
This reverts commit 114377d426
.
2018-11-13 22:24:50 +08:00
Duo Zhang
114377d426
HBASE-21465 Addendum change TestReportRegionStateTransitionRetry to MediumTests
2018-11-13 14:59:20 +08:00
Duo Zhang
ffb003ee44
HBASE-21465 Retry on reportRegionStateTransition can lead to unexpected errors
2018-11-13 11:49:22 +08:00
Duo Zhang
55fa8f4b33
HBASE-21463 The checkOnlineRegionsReport can accidentally complete a TRSP
2018-11-13 11:31:03 +08:00
tedyu
f770081129
HBASE-21466 WALProcedureStore uses wrong FileSystem if wal.dir is not under rootdir
2018-11-12 17:02:17 -08:00
huzheng
362b5dd259
Revert "HBASE-21401 Sanity check in BaseDecoder#parseCell"
...
This reverts commit f17382792f
.
2018-11-12 11:37:46 +08:00
Duo Zhang
6786aca666
HBASE-21376 Add some verbose log to MasterProcedureScheduler
2018-11-10 17:17:12 +08:00
Duo Zhang
fe2265fa4a
HBASE-21451 The way we maintain the lastestPaths in ReplicationSourceManager is broken when sync replication is used
2018-11-09 14:53:33 +08:00
jingyuntian
fa6373660f
HBASE-21410 A helper page that help find all problematic regions and procedures
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2018-11-09 14:01:49 +08:00
Guanghao Zhang
13b4351012
Revert "HBASE-21410 A helper page that help find all problematic regions and procedures"
...
This reverts commit 3c34073988
.
missing sign-off.
2018-11-09 14:01:29 +08:00
jingyuntian
3c34073988
HBASE-21410 A helper page that help find all problematic regions and procedures
2018-11-09 13:53:00 +08:00
Ben Lau
d9f32137b6
HBASE-21439 RegionLoads aren't being used in RegionLoad cost functions
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-11-08 11:59:34 -08:00
Esteban Gutierrez
a8ad61ec88
HBASE-20604 ProtobufLogReader#readNext can incorrectly loop to the same position in the stream until the the WAL is rolled
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-11-08 10:22:22 -08:00
huzheng
f17382792f
HBASE-21401 Sanity check in BaseDecoder#parseCell
2018-11-08 20:07:04 +08:00
jingyuntian
cf9b515563
HBASE-21419 Show sync replication related field for replication peer on master web UI
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2018-11-08 14:50:37 +08:00
zhangduo
6d46b8d256
HBASE-21441 NPE if RS restarts between REFRESH_PEER_SYNC_REPLICATION_STATE_ON_RS_BEGIN and TRANSIT_PEER_NEW_SYNC_REPLICATION_STATE
2018-11-07 16:10:42 +08:00
Allan Yang
a31458bdee
HBASE-21421 Do not kill RS if reportOnlineRegions fails
2018-11-06 14:58:35 +08:00
tedyu
7395ffac44
HBASE-21247 Custom WAL Provider cannot be specified by configuration whose value is outside the enums in Providers
2018-11-05 08:29:04 -08:00
Duo Zhang
c8574ba3c5
HBASE-21420 Use procedure event to wake up the SyncReplicationReplayWALProcedures which wait for worker
2018-11-05 21:43:18 +08:00
Michael Stack
d08990c962
HBASE-21425 2.1.1 fails to start over 1.x data; namespace not assigned
2018-11-03 09:46:19 -07:00
zhangduo
62fe365934
HBASE-21351 The force update thread may have race with PE worker when the procedure is rolling back
2018-11-03 08:24:11 +08:00
jingyuntian
25c964e9a3
HBASE-21407 Resolve NPE in backup Master UI
...
Signed-off-by: Michael Stack <stack@apache.org>
2018-11-02 11:47:02 -07:00
zhangduo
e7f6c2972d
HBASE-21422 NPE in TestMergeTableRegionsProcedure.testMergeWithoutPONR
2018-11-02 20:54:00 +08:00
Beluga Behr
21b98e1075
HBASE-19682 Use Collections.emptyList() For Empty List Values
2018-11-01 08:51:11 -07:00
Guanghao Zhang
6bdaedd7ce
HBASE-21388 No need to instantiate MemStoreLAB for master which not carry table
2018-11-01 16:15:18 +08:00
zhangduo
02f5f171f5
HBASE-21389 Revisit the procedure lock for sync replication
2018-10-30 18:11:20 +08:00
tianjingyun
116eee6747
HBASE-21322 Add a scheduleServerCrashProcedure() API to HbckService
...
Signed-off-by: Michael Stack <stack@apache.org>
2018-10-29 20:55:37 -07:00
zhangduo
d5e4faacc3
HBASE-21375 Revisit the lock and queue implementation in MasterProcedureScheduler
2018-10-29 19:56:49 +08:00
Guanghao Zhang
c0b994b0c6
HBASE-21325 Force to terminate regionserver when abort hang in somewhere
2018-10-29 10:08:51 +08:00
Artem Ervits
7cdb525192
HBASE-21175 Partially initialized SnapshotHFileCleaner leads to NPE during TestHFileArchiving
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-10-26 16:44:33 -07:00
Duo Zhang
0ab7c3a189
HBASE-21391 RefreshPeerProcedure should also wait master initialized before executing
2018-10-26 21:44:56 +08:00
Guanghao Zhang
23b7510ae2
HBASE-21365 Throw exception when user put data with skip wal to a table which may be replicated
2018-10-26 17:43:38 +08:00
Guanghao Zhang
cd943419b6
HBASE-21385 HTable.delete request use rpc call directly instead of AsyncProcess
...
Signed-off-by: Michael Stack <stack@apache.org>
2018-10-25 16:22:36 -07:00
Michael Stack
6830a1c1a0
HBASE-21372) Set hbase.assignment.maximum.attempts to Long.MAX
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Allan Yang <allan163@apache.org>
2018-10-24 09:07:40 -07:00
Duo Zhang
3fe8649b2c
HBASE-21377 Add debug log for catching the root cause
2018-10-24 15:43:12 +08:00
xcang
1f437ac221
HBASE-21349 Do not run CatalogJanitor or Nomalizer when cluster is shutting down
...
Signed-off-by: Michael Stack <stack@apache.org>
2018-10-23 14:45:05 -07:00
mazhenlin
1e9d998727
HBASE-21342 FileSystem in use may get closed by other bulk load call in secure bulkLoad
...
Signed-off-by: Mike Drob <mdrob@apache.org>
Signed-off-by: Ted Yu <tyu@apache.org>
2018-10-23 15:51:46 -05:00
xcang
807736fcf1
HBASE-21338 Warn if balancer is an ill-fit for cluster size
...
Signed-off-by: Michael Stack <stack@apache.org>
2018-10-23 13:23:24 -07:00
huzheng
ae13b0b293
HBASE-21356 bulkLoadHFile API should ensure that rs has the source hfile's write permissionls
2018-10-23 10:18:40 +08:00
zhangduo
931156f66b
HBASE-21336 Addendum remove unused code in HBTU
2018-10-22 20:26:48 +08:00
huzheng
d0e7367c8d
HBASE-21355 (addendum) replace the expensive reload storefiles with reading the merge result of compacted storefiles and current storefiles
2018-10-22 19:28:53 +08:00
zhangduo
3b66b65b9f
HBASE-21336 Simplify the implementation of WALProcedureMap
2018-10-22 18:36:11 +08:00
huzheng
77ac352a95
HBASE-21355 HStore's storeSize is calculated repeatedly which causing the confusing region split
2018-10-22 09:43:14 +08:00
Duo Zhang
7d7293049a
Revert "HBASE-21336 Simplify the implementation of WALProcedureMap"
...
This reverts commit 7adf590106
.
2018-10-22 09:32:55 +08:00
zhangduo
dd474ef199
HBASE-21334 TestMergeTableRegionsProcedure is flakey
2018-10-21 22:40:19 +08:00
Artem Ervits
b723ce1051
HBASE-21194 Add tests in TestCopyTable which exercises MOB feature
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-10-20 08:10:27 -07:00
zhangduo
7adf590106
HBASE-21336 Simplify the implementation of WALProcedureMap
2018-10-20 21:59:46 +08:00
Toshihiro Suzuki
4bf3c5a702
HBASE-21200 Memstore flush doesn't finish because of seekToPreviousRow() in memstore scanner.
2018-10-20 08:34:23 +09:00
Mike Drob
bc7628a8c3
HBASE-21073 Redo concept of maintenance mode
...
Instead of being an ephemeral state set by hbck, maintenance mode is now
an explicit toggle set by either configuration property or environment
variable. In maintenance mode, master will host system tables and not
assign any user-space tables to RSs. This gives operators the ability to
affect repairs to meta table with fewer moving parts.
2018-10-18 16:27:53 -05:00
jingyuntian
5fbb227deb
HBASE-21269 Forward-port HBASE-21213 [hbck2] bypass leaves behind state in RegionStates when assign/unassign
2018-10-18 06:22:52 -07:00
haxiaolin
92fdc8dd51
HBASE-21055 NullPointerException when balanceOverall() but server balance info is null
...
Signed-off-by: huzheng <openinx@gmail.com>
2018-10-18 14:04:28 +08:00
Duo Zhang
5efa5f6de4
HBASE-21330 ReopenTableRegionsProcedure will enter an infinite loop if we schedule a TRSP at the same time
2018-10-18 11:29:12 +08:00
tedyu
1e339e6629
HBASE-21281 Update bouncycastle dependency - addendum adds dependency for hbase-server module
2018-10-17 15:59:41 -07:00
Michael Stack
fd940f3b78
HBASE-21327 Fix minor logging issue where we don't report servername if no associated SCP
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2018-10-17 09:42:45 -07:00
Michael Stack
8cc56bd18c
HBASE-21320 [canary] Cleanup of usage and add commentary
...
Signed-off-by: Peter Somogyi <psomogyi@cloudera.com>
2018-10-16 22:20:00 -07:00
subrat.mishra
3b91ae5b2a
HBASE-21263 Mention compression algorithm along with other storefile details
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Amending-Author: Andrew Purtell <apurtell@apache.org>
2018-10-16 12:38:11 -07:00
zhangduo
0d9982901a
HBASE-21278 Do not rollback successful sub procedures when rolling back a procedure
2018-10-16 15:12:49 +08:00
Andrew Purtell
c9dcc9a065
HBASE-21266 Not running balancer because processing dead regionservers, but empty dead rs list
2018-10-15 22:28:36 -07:00
zhangduo
fc7a6a64c2
HBASE-21311 Split TestRestoreSnapshotFromClient
2018-10-16 08:29:35 +08:00
Guanghao Zhang
4a043126b1
HBASE-21290 No need to instantiate BlockCache for master which not carry table
2018-10-15 17:21:17 +08:00
haxiaolin
7d798b3c73
HBASE-21260 The whole balancer plans might be aborted if there are more than one plans to move a same region
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2018-10-15 15:54:13 +08:00
zhangduo
6781918ca8
HBASE-21310 Split TestCloneSnapshotFromClient
2018-10-15 14:00:40 +08:00
zhangduo
dde336f6ef
HBASE-21309 Increase the waiting timeout for TestProcedurePriority
2018-10-14 08:46:18 +08:00
Michael Stack
a292ab7c87
HBASE-21299 List counts of actual region states in master UI tables section
2018-10-12 11:02:36 -07:00
Guanghao Zhang
fa5fa6ecdd
HBASE-21289 Remove the log "'hbase.regionserver.maxlogs' was deprecated." in AbstractFSWAL
2018-10-12 20:27:10 +08:00
Duo Zhang
9e9a1e0f0d
HBASE-21254 Need to find a way to limit the number of proc wal files
2018-10-12 11:05:13 +08:00
tedyu
924d183ba0
HBASE-21247 Allow WAL Provider to be specified by configuration without explicit enum in Providers - revert
2018-10-11 09:00:24 -07:00
Josh Elser
8b66dea2ff
HBASE-21281 Upgrade bouncycastle to latest
...
BC 1.47 introduced some incompatible API changes which came in via
a new Maven artifact. We don't use any changed API in HBase. This
also removes some unnecessary dependencies on bcprov in other
modules (presumably, they are vestiges)
Signed-off-by: Mike Drob <mdrob@apache.org>
Signed-off-by: Ted Yu <tedyu@apache.org>
2018-10-11 11:02:32 -04:00
Mike Drob
db9a5b7da7
HBASE-21287 Allow configuring test master initialization wait time.
2018-10-11 09:43:04 -05:00
tedyu
0789f54454
HBASE-21247 Allow WAL Provider to be specified by configuration without explicit enum in Providers
2018-10-10 08:27:16 -07:00
Guanghao Zhang
a1f28f3ca7
HBASE-21277 Prevent to add same table to two sync replication peer's config
2018-10-10 15:43:16 +08:00
Guanghao Zhang
f122328758
HBASE-21251 Refactor RegionMover
2018-10-10 15:10:57 +08:00
Michael Stack
7c755bf06e
HBASE-21280 Add anchors for each heading in UI
...
Signed-off-by: Ted Yu <tedyu@apache.org>
2018-10-09 22:50:19 -07:00
Duo Zhang
e8df847d4e
HBASE-21250 Addendum remove unused modification in hbase-server module
2018-10-08 14:55:55 +08:00
zhangduo
118b074684
HBASE-21250 Refactor WALProcedureStore and add more comments for better understanding the implementation
2018-10-07 17:09:09 +08:00
Wellington Chevreuil
4508f670b1
HBASE-21185 - WALPrettyPrinter: Additional useful info to be printed by wal printer tool, for debugability purposes
...
Signed-off-by: Allan Yang <allan163@apache.org>
2018-10-04 03:32:18 -07:00
tedyu
b9bb14e0fd
HBASE-21221 Ineffective assertion in TestFromClientSide3#testMultiRowMutations - addendum tightens condition for finding exception
2018-10-03 08:22:57 -07:00
Xu Cang
42aa3dd463
HBASE-18549 Add metrics for failed replication queue recovery
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-10-01 18:38:55 -07:00
Xu Cang
1b7e4fdcfc
HBASE-19275 TestSnapshotFileCache never worked properly
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-10-01 17:12:00 -07:00
Guanghao Zhang
f9d51b67e4
HBASE-21245 Add exponential backoff when retrying for sync replication related procedures
2018-09-30 20:05:34 +08:00
zhangduo
fdbaa4c3f0
HBASE-21248 Implement exponential backoff when retrying for ModifyPeerProcedure
2018-09-29 13:19:36 +08:00
zhangduo
ab6ec1f9e4
Revert "HBASE-21248 Implement exponential backoff when retrying for ModifyPeerProcedure"
...
This reverts commit 3baafbed52
.
2018-09-29 09:27:51 +08:00
Nihal Jain
56ac4705e9
HBASE-21196 HTableMultiplexer clears the meta cache after every put operation
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-09-28 16:35:46 -07:00
Kiran Kumar Maturi
aa9e1d0511
HBASE-20857 balancer status tag in jmx metrics
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-09-28 16:12:15 -07:00
Archana Katiyar
801fc05e9c
HBASE-21207 Add client side sorting functionality in master web UI for table and region server details
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-09-28 15:28:20 -07:00
ramie-raufdeen
668a179882
HBASE-19418 configurable range of delay in PeriodicMemstoreFlusher
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-09-28 14:27:07 -07:00
xcang
704f8b81bb
HBASE-18451 PeriodicMemstoreFlusher should inspect the queue before adding a delayed flush request, fix logging
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-09-28 11:50:08 -07:00
zhangduo
d39ea25d44
HBASE-21244 Skip persistence when retrying for assignment related procedures
2018-09-28 21:22:23 +08:00
zhangduo
3baafbed52
HBASE-21248 Implement exponential backoff when retrying for ModifyPeerProcedure
2018-09-28 20:20:48 +08:00
Allan Yang
86cb8e48ad
HBASE-21228 Memory leak since AbstractFSWAL caches Thread object and never clean later
2018-09-27 16:24:17 +08:00
Michael Stack
1154f81230
HBASE-21232 Show table state in Tables view on Master home page
2018-09-26 10:58:16 -07:00
zhangduo
d7e08317d2
HBASE-21227 Implement exponential retrying backoff for Assign/UnassignRegionHandler introduced in HBASE-21217
2018-09-26 20:53:56 +08:00
Allan Yang
7b2f5950ed
HBASE-21212 Wrong flush time when update flush metric
2018-09-26 19:38:15 +08:00
Zach York
0e173d38b0
HBASE-20734 Colocate recovered edits directory with hbase.wal.dir
...
Signed-off-by: Reid Chan <reidchan@apache.org>
2018-09-26 11:20:57 +08:00
Mingliang Liu
08c4d70aaf
HBASE-21164 reportForDuty should do backoff rather than retry
...
Remove unused methods from Sleeper (its ok, its @Private).
Remove notion of startTime from Sleeper handling (it is is unused).
Allow passing in how long to sleep so can maintain externally.
In HRS, use a RetryCounter to calculate backoff sleep time for when
reportForDuty is failing against a struggling Master.
2018-09-25 11:32:28 -07:00
tedyu
b8134fe5b6
HBASE-21221 Ineffective assertion in TestFromClientSide3#testMultiRowMutations
2018-09-25 09:17:26 -07:00
zhangduo
8eaaa63114
HBASE-21217 Revisit the executeProcedure method for open/close region
2018-09-25 17:30:21 +08:00
Andrew Purtell
7ab77518a2
Amend HBASE-20704 Sometimes some compacted storefiles are not archived on region close
...
Forward port small logging improvements from branch-1 version of this change.
2018-09-21 16:12:33 -07:00
Guangxu Cheng
3de02d57f6
HBASE-20636 Introduce two bloom filter type : ROWPREFIX and ROWPREFIX_DELIMITED
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Amending-Author: Andrew Purtell <apurtell@apache.org>
2018-09-21 16:06:39 -07:00
Michael Stack
98909f4a9d
HBASE-21214 [hbck2] setTableState just sets hbase:meta state, not in-memory state
2018-09-21 16:04:59 -07:00
openinx
ddd30a2241
HBASE-21206 Scan with batch size may return incomplete cells
2018-09-20 22:36:24 +08:00
tianjingyun
cd161d976e
HBASE-21204 NPE when scan raw DELETE_FAMILY_VERSION and codec is not set
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-09-20 06:57:50 -07:00
Umesh Agashe
dc767c06d2
HBASE-21023 Added bypassProcedure() API to HbckService
2018-09-19 15:18:16 -07:00
Michael Stack
3a0fcd56cf
HBASE-21156 [hbck2] Queue an assign of hbase:meta and bulk assign/unassign
...
Adds 'raw' assigns and unassigns methods to Hbck Service.
Fixes HbckService so it works when cluster is Kerberized.
2018-09-19 10:06:16 -07:00
tedyu
69431c75c1
HBASE-21102 ServerCrashProcedure should select target server where no other replicas exist for the current region - addendum fixes NPE
2018-09-19 07:17:13 -07:00
Vasudevan
cebb725a9f
HBASE-21102 - ServerCrashProcedure should select target server where no
...
other replicas exist for the current region - fix flaky test (Ram)
2018-09-18 11:28:23 +05:30
tedyu
1cf920db43
HBASE-21160 Assertion in TestVisibilityLabelsWithDeletes#testDeleteColumnsWithoutAndWithVisibilityLabels is ignored (liubangchen)
2018-09-17 08:25:11 -07:00
Michael Stack
6d7bc0e98b
HBASE-21191 Add a holding-pattern if no assign for meta or namespace (Can happen if masterprocwals have been cleared).
...
Add a check for hbase:meta being online before we go to read it.
If not online, move into a holding-pattern until rectified, probably
by external operator.
Incorporates bulk of patch made by Allan Yang over on HBASE-21035.
M hbase-common/src/main/java/org/apache/hadoop/hbase/util/RetryCounterFactory.java
Add a Constructor for case where retries are for ever.
M hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
Move stuff around so that the first hbase:meta read is the AM#loadMeta.
Previously, checking table state and/or favored nodes could end up
trying to read a meta that was not onlined holding up master startup.
Do similar for the namespace table. Adds new methods isMeta and
isNamespace which check that the regions/tables are online.. if not,
we wait logging with a back-off that assigns need to be run.
Signed-off-by: Allan Yang <allan163@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2018-09-16 21:44:17 -07:00
Francis Liu
cdfe808892
HBASE-20704 Sometimes some compacted storefiles are not archived on region close
2018-09-16 18:26:28 -07:00
Ted Yu
9da20a4116
HBASE-21097 Flush pressure assertion may fail in testFlushThroughputTuning
...
Amending-Author: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2018-09-15 18:20:35 +08:00
Mike Drob
0075093d21
HBASE-21168 Insecure Randomness in BloomFilterUtil
...
Flagged by Fortify static analysis
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Mingliang Liu <liuml07@apache.org>
2018-09-12 09:51:45 -05:00
Tyler Mi
5c1b325b51
HBASE-21098 Improve Snapshot Performance with Temporary Snapshot Directory when rootDir on S3
...
Signed-off-by: Zach York <zyork@apache.org>
2018-09-11 16:23:16 -07:00
Nihal Jain
c372175da4
HBASE-21021 Result returned by Append operation should be ordered
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-09-11 14:43:52 -07:00
Duo Zhang
2ab8122a24
HBASE-21172 Addendum fix comment
2018-09-11 17:32:01 +08:00
Duo Zhang
c59ecfb961
HBASE-21172 Reimplement the retry backoff logic for ReopenTableRegionsProcedure
2018-09-11 15:13:58 +08:00
Guangxu Cheng
bea26e98e6
HBASE-21173 Remove the duplicate HRegion#close in TestHRegion
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
Signed-off-by: Mingliang Liu <liuml07@apache.org>
2018-09-11 11:06:23 +08:00
Guangxu Cheng
2aae247e3f
HBASE-21158 Empty qualifier cell is always returned when using QualifierFilter
2018-09-10 21:32:46 +08:00
Vasudevan
b09dbb443e
HBASE-21102 - ServerCrashProcedure should select target server where no
...
other replicas exist for the current region (fix compilation issue)
2018-09-10 13:23:53 +05:30
Vasudevan
dc3ada2614
HBASE-21102 ServerCrashProcedure should select target server where no
...
other replicas exist for the current region (Ram)
2018-09-10 13:12:02 +05:30
Toshihiro Suzuki
a51c333856
HBASE-21052 After restoring a snapshot, table.jsp page for the table gets stuck
2018-09-09 10:23:50 +09:00
zhangduo
b04b4b0fd1
HBASE-21144 Addendum fix race when testing whether a procedure is finished
2018-09-08 08:57:56 +08:00
Guangxu Cheng
c3419be003
HBASE-21001 ReplicationObserver fails to load in HBase 2.0.0
2018-09-07 23:42:02 +08:00
Michael Stack
aab3a8a870
HBASE-21155 Save on a few log strings and some churn in wal splitter by skipping out early if no logs in dir; ADDENDUM
...
Address review comments.
Signed-off-by: Mike Drob <mdrob@apache.org>
2018-09-06 17:25:39 -07:00
Michael Stack
3ac3249423
HBASE-21155 Save on a few log strings and some churn in wal splitter by skipping out early if no logs in dir
2018-09-06 16:52:47 -07:00
Vasudevan
b3908a26ff
HBASE-21161 Enable the test added in HBASE-20741 that was removed
...
accidentally (Ram)
2018-09-06 16:51:40 +05:30
Mingliang Liu
a37c40faa5
HBASE-21138 Close HRegion instance at the end of every test in TestHRegion
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-09-06 03:59:44 -07:00
Huaxiang Sun
bdc168713d
HBASE-21107 add a metrics for netty direct memory
2018-09-05 16:04:25 -07:00
Guangxu Cheng
b62ac3cb11
HBASE-20892 [UI] Start / End keys are empty on table.jsp
2018-09-05 09:09:04 +08:00
Vasudevan
c6a65ba63f
HBASE-20741 - Split of a region with replicas creates all daughter regions
...
and its replica in same server (Addendum for duo's comments in RB)
2018-09-04 16:38:09 +05:30
Duo Zhang
f504c4d797
HBASE-21144 AssignmentManager.waitForAssignment is not stable
2018-09-04 17:07:51 +08:00
Vasudevan
83131b1ac4
HBASE-20741 Split of a region with replicas creates all daughter regions
...
and its replica in same server (Ram)
Signed-off-by: Huaxiang Sun, Michael Stack
2018-09-04 11:18:51 +05:30
Vasudevan
e4c4035ed8
HBASE-20741 Split of a region with replicas creates all daughter regions
...
and its replica in same server (Ram)
Signed-off-by: Huaxiang Sun, Michael Stack
2018-09-04 11:08:03 +05:30
Reid Chan
245bb44703
HBASE-21129 Clean up duplicate codes in #equals and #hashCode methods of Filter
...
Signed-off-by Ted Yu <yuzhihong@gmail.com>
2018-09-04 11:09:21 +08:00
David Manning
5cca61c4d0
HBASE-21126 Configurable number of allowed failures for ZooKeeper Canary
...
Signed-off-by: Josh Elser <elserj@apache.org>
2018-09-03 19:27:23 -07:00
zhangduo
dc79029966
HBASE-21136 NPE in MetricsTableSourceImpl.updateFlushTime
2018-09-02 18:35:45 +08:00
Allan Yang
7c1fad4992
HBASE-21083 Introduce a mechanism to bypass the execution of a stuck procedure
2018-08-30 12:23:24 -07:00
Duo Zhang
98600f1860
HBASE-21128 TestAsyncRegionAdminApi.testAssignRegionAndUnassignRegion is broken
2018-08-30 10:09:44 +08:00
Xu Cang
e903ae5d5e
HBASE-15728 Add Per-Table metrics back
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-08-29 15:21:00 -07:00
krish.dey
fcd883b5dd
HBASE-20942 Fix ArrayIndexOutOfBoundsException for RpcServer TRACE logging
...
Also makes the trace log message length configurable.
Signed-off-by: Josh Elser <elserj@apache.org>
2018-08-28 11:01:49 -04:00
zhangduo
3afe9fb7e6
HBASE-21017 Revisit the expected states for open/close
2018-08-28 14:49:22 +08:00
Umesh Agashe
3813f0ac3d
HBASE-20941 Created and implemented HbckService in master
...
Added API setTableStateInMeta() to update table state only in Meta. This will be used by hbck2 tool.
2018-08-27 12:11:52 -07:00
Mingliang Liu
6dd5383033
HBASE-21071 HBaseTestingUtility::startMiniCluster() to use builder pattern
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
2018-08-27 10:20:31 -07:00
tedyu
9e2732edbb
HBASE-21088 HStoreFile should be closed in HStore#hasReferences
2018-08-27 09:36:44 -07:00
zhangduo
993e74b747
HBASE-21072 Addendum do not write lock file when running TestHBaseFsckReplication
2018-08-27 21:03:32 +08:00
Toshihiro Suzuki
f05f116327
HBASE-21084 When cloning a snapshot including a split parent region, the split parent region of the cloned table will be online
2018-08-26 13:57:44 +09:00
zhangduo
409e742ac3
Revert "HBASE-21017 Add debug log for finding out race where we update region state to OPEN accidentally"
...
This reverts commit a452487a9b
.
2018-08-25 15:21:55 +08:00
Michael Stack
86b35b2687
HBASE-21072 Block out HBCK1 in hbase2
...
Write the hbase-1.x hbck1 lock file to block out hbck1 instances writing
state to an hbase-2.x cluster (could do damage).
Set hbase.write.hbck1.lock.file to false to disable this writing.
2018-08-24 09:26:43 -07:00
Duo Zhang
a452487a9b
HBASE-21017 Add debug log for finding out race where we update region state to OPEN accidentally
2018-08-24 11:48:04 +08:00
zhangduo
aac1a70147
HBASE-21095 The timeout retry logic for several procedures are broken after master restarts
2018-08-24 10:07:31 +08:00
tedyu
780670ede1
HBASE-21097 Flush pressure assertion may fail in testFlushThroughputTuning
2018-08-23 11:48:27 -07:00
liubangchen
72b36e1d9a
HBASE-19008 Add missing equals or hashCode method(s) to stock Filter implementations
...
Signed-off-by: Reid Chan <reidchan@apache.org>
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2018-08-24 00:22:22 +08:00
Duo Zhang
6a5b4f2a5c
HBASE-21101 Remove the waitUntilAllRegionsAssigned call after split in TestTruncateTableProcedure
2018-08-23 18:06:03 +08:00
Jinghan Xu
2d911fdc2f
HBASE-20943 Add offline/online region count into metrics
2018-08-22 16:27:10 -07:00
zhangduo
91edbf592a
HBASE-20193 Move TestCreateTableProcedure.testMRegions to a separated file
2018-08-23 07:01:05 +08:00
Duo Zhang
b0af08bf9b
HBASE-21094 Remove the explicit timeout config for TestTruncateTableProcedure
...
(cherry picked from commit 74ea011169
)
2018-08-22 11:30:05 -05:00
Sean Busbey
899982c02d
Revert "HBASE-20194 Remove the explicit timeout config for TestTruncateTableProcedure"
...
This reverts commit 74ea011169
.
incorrect jira in commit
2018-08-22 11:30:05 -05:00
Allan Yang
77a6bf3b33
HBASE-21041 Memstore's heap size will be decreased to minus zero after flush
2018-08-22 23:19:11 +08:00
Allan Yang
4a52ddb75e
HBASE-21031 Memory leak if replay edits failed during region opening
2018-08-22 22:42:01 +08:00
zhangduo
064388b478
Revert "HBASE-21093 Increase the dispatch delay for testing DDL procedures"
...
This reverts commit c01d4d3a35
.
2018-08-22 21:48:03 +08:00
Duo Zhang
74ea011169
HBASE-20194 Remove the explicit timeout config for TestTruncateTableProcedure
2018-08-22 14:27:11 +08:00
Duo Zhang
c01d4d3a35
HBASE-21093 Increase the dispatch delay for testing DDL procedures
2018-08-22 14:26:35 +08:00
Xu Cang
50055dbf04
HBASE-20666 Unsuccessful table creation leaves entry in hbase:rsgroup table
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-08-21 18:54:36 -07:00
Andrey Elenskiy
a42556553a
HBASE-21032 ScanResponses contain only one cell each
...
Amending-Author: Duo Zhang <zhangduo@apache.org>
2018-08-21 13:32:05 -07:00
zhangduo
bb3494134e
HBASE-20881 Introduce a region transition procedure to handle all the state transition for a region
2018-08-21 06:12:09 +08:00
tedyu
7db116ae1b
HBASE-20917 MetaTableMetrics#stop references uninitialized requestsMap for non-meta region - addendum
2018-08-19 14:24:06 -07:00
Sean Busbey
d159b1f8bb
HBASE-21056 Findbugs false positive: BucketCache.persistToFile may fail to clean up java.io.OutputStream
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-08-17 21:29:32 -05:00
Andrew Purtell
e8eb366514
HBASE-20940 HStore.cansplit should not allow split to happen if it has references (Vishal Khandelwal)
2018-08-17 15:01:44 -07:00
Andrew Purtell
1dbd6fa993
HBASE-21047 Object creation of StoreFileScanner thru constructor and close may leave refCount to -1 (Vishal Khandelwal)
2018-08-16 11:42:15 -07:00
Sakthi
2cfe1e8aef
HBASE-20705 Having RPC quota on a table now no longer prevents Space Quota to be recreate/removed
...
Just added 2 test cases as the subtasks of this jira solves the issue
Signed-off-by: Josh Elser <elserj@apache.org>
2018-08-16 11:07:37 -04:00
Josh Elser
50a8ea7191
HBASE-21062 Spelling mistake (addendum)
...
Forgot to change in master before pushing.
2018-08-16 10:35:47 -04:00
Josh Elser
4d7ed0f94c
HBASE-21062 Correctly use the defaultProvider value on the Providers enum when constructing a WALProvider
2018-08-16 10:23:03 -04:00
Nihal Jain
092efb4274
HBASE-20469 Directory used for sidelining old recovered edits files should be made configurable
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-08-15 17:58:13 -07:00
subrat.mishra
49ae8549cf
HBASE-21040 Replace call to printStackTrace() with proper logger call
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-08-15 08:29:54 -07:00
Michael Stack
e705cf1447
HBASE-20772 Controlled shutdown fills Master log with the disturbing message 'No matching procedure found for rit=OPEN, location=ZZZZ, table=YYYYY, region=XXXX transition to CLOSED'
...
Look for the particular case where RS does the close of region w/o
involving Master and log special message in this case. Dodgy. But
until we have Master run shutdown of all regions, better than
the message we currently show.
2018-08-13 15:59:54 -07:00
jingyuntian
21e02813fe
HBASE-20985 add two attributes when we do normalization
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2018-08-13 16:43:54 +08:00
Duo Zhang
911a6ef412
HBASE-21025 Addendum missed a 'succ = true'
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2018-08-13 10:53:47 +08:00
brandboat
699ea4c7d0
HBASE-21012 Revert the change of serializing TimeRangeTracker
...
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: zhangduo <zhangduo@apache.org>
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2018-08-11 22:17:04 +08:00
Wei-Chiu Chuang
a3ab9306a6
HBASE-21018 RS crashed because AsyncFS was unable to update HDFS data encryption key
2018-08-10 19:53:41 -07:00
zhangduo
397388316e
HBASE-21025 Add cache for TableStateManager
2018-08-10 21:11:40 +08:00
brandboat
28635d6101
HBASE-18201 add UT and docs for DataBlockEncodingTool
...
Signed-off-by: Reid Chan <reidchan@apache.org>
2018-08-10 11:15:50 +08:00
Mike Drob
c6ff1de7e2
HBASE-21027 Inconsistent synchronization in CacheableDeserializerIdManager
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2018-08-09 09:29:21 -05:00
meiyi
e2fcde2d6f
HBASE-20965 Separate region server report requests to new handlers
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2018-08-09 18:10:08 +08:00
Reid Chan
d921262d38
Revert "HBASE-20965 Separate region server report requests to new handlers"
...
This reverts commit 48d387413f
.
2018-08-08 10:44:50 +08:00
meiyi
48d387413f
HBASE-20965 Separate region server report requests to new handlers
2018-08-08 10:39:11 +08:00
Sakthi
6f25102997
HBASE-20813 Removed RPC quotas when the associated table/Namespace is dropped off
...
Signed-off-by: Josh Elser <elserj@apache.org>
2018-08-07 13:17:54 -04:00
jingyuntian
bd01fa7639
HBASE-20986 Separate the config of block size when we do log splitting and write Hlog
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2018-08-07 10:37:22 +08:00
Sakthi
bd30ca62ef
HBASE-20885 Removed entry for RPC quota from hbase:quota when RPC quota is removed
...
Signed-off-by: Josh Elser <elserj@apache.org>
Signed-off-by: Mike Drob <mdrob@apache.org>
2018-08-03 11:06:50 -04:00
Monani Mihir
b3e41c9525
HBASE-19036 Add action in Chaos Monkey to restart Active Namenode
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-08-02 04:59:51 -07:00
Mike Drob
4bcaf495c2
HBASE-20894 Use proto for BucketCache persistence
2018-08-01 16:54:25 -05:00
TAK LON WU
1d0fca370b
HBASE-20856 PITA having to set WAL provider in two places
...
With this change if hbase.wal.meta_provider is not explicitly set,
it uses whatever set with hbase.wal.provider. this change avoids a use
case of unexpectedly using two different providers when only
hbase.wal.provider is set to non-default but not hbase.wal.meta_provider.
This change also include document (architecture.adoc) update
Signed-off-by: Zach York <zyork@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Duo Zhang <Apache9@apache.org>
2018-08-01 11:29:15 -07:00
Michael Stack
c365c4084e
HBASE-20989 Minor, miscellaneous logging fixes
...
Signed-off-by: Zach York <zyork@amazon.com>
Signed-off-by: Mingliang Liu <liuml07@apache.org>
2018-08-01 11:20:59 -07:00
Xu Cang
e7b56c3fa8
HBASE-20794 add INFO level log to createTable operation
2018-08-01 11:04:38 -07:00
Michael Stack
323907f84f
HBASE-20893 Data loss if splitting region while ServerCrashProcedure executing ADDENDUM: Rather than rollback, just do region reopens.
...
In split, reopen the parent if recovered.edits and in merge, reopen the
parent region or regions that happened to have recovered.edits on close.
2018-08-01 00:33:55 -07:00
Andrew Purtell
5a1e02b6dc
HBASE-20935 HStore.removeCompactedFiles should log in case it is unable to delete a file (Vishal Khandelwal)
2018-07-31 15:58:05 -07:00
Wei-Chiu Chuang
7be97980f5
HBASE-20950 Helper method to configure secure DFS cluster for tests
...
Create a helper method HBaseKerberosUtils#setSecuredConfiguration().
TestSecureExport, TestSaslFanOutOneBlockAsyncDFSOutput,
SecureTestCluster and TestThriftSpnegoHttpServer uses this new helper
method.
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-07-31 13:36:17 -07:00
Reid Chan
a8e184dc77
HBASE-20886 [Auth] Support keytab login in hbase client
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2018-07-31 11:04:40 +08:00
zhangduo
df256223d6
HBASE-20538 Upgrade our hadoop versions to 2.7.7 and 3.0.3
2018-07-29 20:18:40 +08:00
zhangduo
e8cd3c4b95
Revert "HBASE-20538 Upgrade our hadoop-two.version to 2.7.7 and 3.0.3"
...
This reverts commit 336fd14e26
.
2018-07-29 20:18:23 +08:00
zhangduo
336fd14e26
HBASE-20538 Upgrade our hadoop-two.version to 2.7.7 and 3.0.3
2018-07-29 20:04:57 +08:00
Alex Leblang
e963694259
HBASE-19369 Switch to Builder Pattern In WAL
...
This patch switches to the builder pattern by adding a helper method.
It also checks to ensure that the pattern is available (i.e. that
HBase is running on a hadoop version that supports it).
Amending-Author: Mike Drob <mdrob@apache.org>
Signed-off-by: tedyu <yuzhihong@gmail.com>
Signed-off-by: zhangduo <zhangduo@apache.org>
2018-07-27 23:42:33 -05:00
zhangduo
7178a98258
HBASE-20939 There will be race when we call suspendIfNotReady and then throw ProcedureSuspendedException
2018-07-27 17:27:12 +08:00
Allan Yang
80b40a3b58
HBASE-20921 Possible NPE in ReopenTableRegionsProcedure
2018-07-27 09:36:50 +08:00
zhangduo
d43e28dc82
Revert "HBASE-20949 Add logs for debugging"
...
This reverts commit 8b8de1f8a7
.
2018-07-27 08:40:46 +08:00
zhangduo
8b8de1f8a7
HBASE-20949 Add logs for debugging
2018-07-26 22:43:14 +08:00
Mingliang Liu
a392c017ed
HBASE-20932 Effective MemStoreSize::hashCode()
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-07-25 14:40:45 -07:00
Peter Somogyi
ba5d1c1f28
HBASE-20649 Validate HFiles do not have PREFIX_TREE DataBlockEncoding
...
Amending-Author: Balazs Meszaros <balazs.meszaros@cloudera.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
2018-07-25 09:00:00 -05:00
Allan Yang
44f6ef1c90
HBASE-20867 RS may get killed while master restarts
2018-07-25 18:16:28 +08:00
zhangduo
f3f17fa111
HBASE-20846 Restore procedure locks when master restarts
2018-07-25 14:37:26 +08:00
Saurabh Singh
3a3855aade
HBASE-20928 Rewrite calculation of midpoint in binarySearch functions to prevent overflow
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-07-24 08:16:30 -07:00
huzheng
a888af3dc9
HBASE-20565 ColumnRangeFilter combined with ColumnPaginationFilter can produce incorrect result
2018-07-24 10:29:24 +08:00
Allan Yang
b631727bdf
HBASE-20878 Data loss if merging regions while ServerCrashProcedure executing
2018-07-24 10:00:28 +08:00
Allan Yang
4804483f7e
HBASE-20893 Data loss if splitting region while ServerCrashProcedure executing
2018-07-23 14:48:43 +08:00
tedyu
37de961f20
HBASE-20917 MetaTableMetrics#stop references uninitialized requestsMap for non-meta region
2018-07-22 20:50:51 -07:00
Reid Chan
4613f3e8c7
HBASE-20401 Make MAX_WAIT and waitIfNotFinished in CleanerContext configurable (Contributed by Stephen Wu)
2018-07-23 10:30:01 +08:00
Toshihiro Suzuki
682aa69677
HBASE-19893 restore_snapshot is broken in master branch when region splits
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-07-21 07:37:10 -07:00
Ankit Singhal
eb906e20ee
HBASE-20908 Infinite loop on regionserver if region replica are reduced
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-07-20 13:05:11 -07:00
Michael Stack
067388bfd9
HBASE-20914 Trim Master memory usage
...
Add (weak reference) interning of ServerNames.
Correct Balancer regions x racks matrix.
Make smaller defaults when creating ArrayDeques.
2018-07-20 10:08:55 -07:00
Allan Yang
03e596c669
HBASE-20870 Wrong HBase root dir in ITBLL's Search Tool
2018-07-20 12:17:21 +08:00
Ankit
e66a6603e3
HBASE-20672 New metrics ReadRequestRate and WriteRequestRate
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-07-19 15:33:09 -07:00
Ankit Singhal
b4eacdabd6
HBASE-20901 Reducing region replica has no effect
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-07-19 13:38:32 -07:00
Mohit Goel
950d6e6fb0
HBASE-6028 Start/Stop compactions at region server level
...
Add switching on/off of compactions.
Switching off compactions will also interrupt any currently ongoing compactions.
Adds a "compaction_switch" to hbase shell. Switching off compactions will
interrupt any currently ongoing compactions. State set from shell will be
lost on restart. To persist the changes across region servers modify
hbase.regionserver.compaction.enabled in hbase-site.xml and restart.
Signed-off-by: Umesh Agashe <uagashe@cloudera.com>
Signed-off-by: Michael Stack <stack@apache.org>
2018-07-19 06:20:44 -07:00
jack-altiscale
7e599428d3
HBASE-20823. Fix wrong param name in javadoc
...
Signed-off-by: Reid Chan <reidchan@apache.org>
2018-07-19 18:26:18 +08:00
Yu Li
619e0fdab8
HBASE-20907 Fix Intermittent failure on TestProcedurePriority
2018-07-19 12:00:55 +08:00
Michael Stack
2bf5e46a33
HBASE-20875 MemStoreLABImp::copyIntoCell uses 7% CPU when writing
...
Make the #copyCellInto method smaller so it inlines; we do it by
checking for the common type early and then taking a code path
that presumes ByteBufferExtendedCell -- avoids checks.
2018-07-18 20:41:19 -07:00
tedyu
2997b6d071
HBASE-20879 Compacting memstore config should handle lower case
2018-07-13 11:19:45 -07:00
Toshihiro Suzuki
ce82fd0f47
HBASE-19572 RegionMover should use the configured default port number and not the one from HConstants
...
Signed-off-by: Reid Chan <reidchan@apache.org>
2018-07-13 10:44:35 +08:00
Toshihiro Suzuki
3fc23fe930
HBASE-20865 CreateTableProcedure is stuck in retry loop in CREATE_TABLE_WRITE_FS_LAYOUT state
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-07-12 00:15:26 -07:00
Allan Yang
51527f551b
HBASE-20860 Merged region's RIT state may not be cleaned after master restart
2018-07-12 10:12:07 +08:00
zhangduo
4a08135dd8
HBASE-20847 Addendum use addFront instead of addBack to add sub procedure
2018-07-12 08:31:05 +08:00
zhangduo
a838f7631f
HBASE-20847 The parent procedure of RegionTransitionProcedure may not have the table lock
2018-07-11 17:34:35 +08:00
eshcar
1804b6d059
HBASE-20542-ADDENDUM: fix TestHStore
2018-07-11 11:25:49 +03:00
zhaoyuan
1e0650955a
HBASE-20697 Can't cache All region locations of the specify table by calling table.getRegionLocator().getAllRegionLocations()
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2018-07-11 10:52:06 +08:00
zhangduo
d7561cee50
HBASE-20784 Will lose the SNAPSHOT suffix if we get the version of RS from ServerManager
2018-07-10 09:59:41 +08:00
Balazs Meszaros
ad5b4af2c4
HBASE-20833 Modify pre-upgrade coprocessor validator to support table level coprocessors
...
- -jar parameter now accepts multiple jar files and directories of jar files.
- observer classes can be verified by -class option.
- -table parameter was added to check table level coprocessors.
- -config parameter was added to obtain the coprocessor classes from
HBase cofiguration.
- -scan option was removed.
Signed-off-by: Mike Drob <mdrob@apache.org>
2018-07-09 11:00:36 -05:00
Abhishek Singh Chouhan
59867eeeeb
HBASE-20806 Split style journal for flushes and compactions
2018-07-09 18:25:34 +05:30
zhangduo
b5222f88b2
HBASE-20822 TestAsyncNonMetaRegionLocator is flakey
2018-07-09 14:56:37 +08:00
Guanghao Zhang
3bca01854a
HBASE-20842 Infinite loop when replaying remote wals
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2018-07-08 09:35:45 +08:00
Nihal Jain
361be53344
HBASE-20808 (Addendum) Remove duplicate calls for cancelling of chores
...
Signed-off-by: Reid Chan <reidchan@apache.org>
2018-07-07 00:17:10 +08:00
Nihal Jain
1ade4d2f44
HBASE-20808 Wrong shutdown order between Chores and ChoreService
...
Signed-off-by: Reid Chan <reidchan@apache.org>
2018-07-06 11:35:03 +08:00
Yu Li
ec8947f226
HBASE-20691 Change the default WAL storage policy back to "NONE""
...
This reverts commit 564c193d61
and added more doc
about why we choose "NONE" as the default.
2018-07-04 13:43:48 +08:00
Guangxu Cheng
ee3990e42c
HBASE-20474 Show non-RPC tasks on master/regionserver Web UI by default
2018-07-04 10:53:02 +08:00
zhangduo
4366720bd1
HBASE-20839 Fallback to FSHLog if we can not instantiated AsyncFSWAL when user does not specify AsyncFSWAL explicitly
2018-07-04 10:29:24 +08:00
Ted Yu
0f23784182
HBASE-20244 NoSuchMethodException when retrieving private method decryptEncryptedDataEncryptionKey from DFSClient
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2018-07-03 22:15:18 +08:00
huzheng
0454878e71
HBASE-20789 TestBucketCache#testCacheBlockNextBlockMetadataMissing is flaky
2018-07-03 17:56:34 +08:00
jingyuntian
66ad9fdef8
HBASE-20193 Basic Replication Web UI - Regionserver
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2018-07-03 15:47:14 +08:00
zhangduo
380350d5bc
HBASE-20829 Remove the addFront assertion in MasterProcedureScheduler.doAdd
2018-07-03 15:43:20 +08:00