anoopsamjohn
7bd39250e7
HBASE-20078 MultiByteBuff : bug in reading primitives when individual buffers are too small.
2018-03-14 12:10:22 +05:30
Mike Grimes
a9d9fa35a2
HBASE-17165 Make use of retry setting in LoadIncrementalHFiles & fix test
2018-03-13 14:59:56 -07:00
Sahil Aggarwal
3757915dac
HBASE-19075: Fix the 'tasks' table on master info page to not scroll up on clicking the tab
2018-03-13 14:24:56 -07:00
Michael Stack
260ee0da60
HBASE-20173 [AMv2] DisableTableProcedure concurrent to ServerCrashProcedure can deadlock
...
Allow that DisableTableProcedue can grab a region lock before
ServerCrashProcedure can. Cater to this cricumstance where SCP
was not unable to make progress by running the search for RIT
against the crashed server a second time, post creation of all
crashed-server assignemnts. The second run will uncover such as
the above DisableTableProcedure unassign and will interrupt its
suspend allowing both procedures to make progress.
M hbase-protocol-shaded/src/main/protobuf/MasterProcedure.proto
Add new procedure step post-assigns that reruns the RIT finder method.
M hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/AssignmentManager.java
Make this important log more specific as to what is going on.
M hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/UnassignProcedure.java
Better explanation as to what is going on.
M hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ServerCrashProcedure.java
Add extra step and run handleRIT a second time after we've queued up
all SCP assigns. Also fix a but. SCP was adding an assign of a RIT
that was actually trying to unassign (made the deadlock more likely).
2018-03-13 05:44:43 -07:00
Peter Somogyi
e80ce3d91b
HBASE-19802 Wrong usage messages on shell commands (grant/revoke namespace syntax) (Csaba Skrabak)
2018-03-13 10:58:52 +01:00
Mike Drob
d42886f4fe
HBASE-20153 Add error prone to precommit
2018-03-12 16:06:08 -05:00
BELUGA BEHR
4033405b36
HBASE-19449 Minor logging change in HFileArchiver
...
Signed-off-by: Apekshit Sharma <appy@apache.org>
2018-03-12 22:12:27 +05:30
Chia-Ping Tsai
a58f65212c
HBASE-20171 Remove o.a.h.h.ProcedureState
2018-03-12 09:26:25 -07:00
maoling
011809517a
HBASE-20058 improper quoting in presplitting command docs
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2018-03-12 23:46:37 +08:00
maoling
fac3b8aad6
HBASE-20047 AuthenticationTokenIdentifier should provide a toString
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2018-03-12 22:16:22 +08:00
Umesh Agashe
842678c991
HBASE-20120 Removed unused classes/ java files from hbase-server
...
deleted: hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/NoOpHeapMemoryTuner.java
deleted: hbase-server/src/main/java/org/apache/hadoop/hbase/replication/BaseWALEntryFilter.java
deleted: hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSMapRUtils.java
deleted: hbase-server/src/main/java/org/apache/hadoop/hbase/util/ProtoUtil.java
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: tedyu <yuzhihong@gmail.com>
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2018-03-10 12:59:48 +08:00
Guangxu Cheng
1728b48c82
HBASE-20132 Change the "KV" to "Cell" for web UI
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2018-03-10 12:36:29 +08:00
Sean Busbey
b87165cbf7
HBASE-20162 [nightly] depending on pipeline execution we sometimes refer to the wrong workspace
...
Signed-off-by: Mike Drob <mdrob@apache.org>
2018-03-09 17:23:13 -06:00
Mike Drob
32c5118f6f
HBASE-20164 add hadoopcheck link to table footer
2018-03-09 15:41:12 -06:00
Umesh Agashe
55e3dda25d
HBASE-20024 Fixed flakyness of TestMergeTableRegionsProcedure
...
We assumed that we can run for loop from 0 to lastStep sequentially. MergeTableRegionProcedure skips step 2. So, when i is 0 the procedure is already at step 3.
Added a method StateMachineProcedure#getCurrentStateId that can be used from test code only.
2018-03-09 12:44:49 -08:00
Ashish Singhi
cdf7be8929
HBASE-20146 Regions are stuck while opening when WAL is disabled
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2018-03-09 21:14:42 +08:00
zhangduo
d4e0fc74d4
HBASE-20082 Fix findbugs errors only on master which are introduced by HBASE-19397
2018-03-09 20:55:48 +08:00
Guanghao Zhang
55d0d3026a
HBASE-19923 Reset peer state and config when refresh replication source failed
2018-03-09 20:55:48 +08:00
zhangduo
d1e775e35e
HBASE-19936 Introduce a new base class for replication peer procedure
2018-03-09 20:55:48 +08:00
zhangduo
abaa80f26e
HBASE-19873 addendum add missing rule for new tests
2018-03-09 20:55:48 +08:00
Guanghao Zhang
db4cb01a9e
HBASE-19783 Change replication peer cluster key/endpoint from a not-null value to null is not allowed
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2018-03-09 20:55:48 +08:00
huzheng
a7dce36766
HBASE-19748 TestRegionReplicaFailover and TestRegionReplicaReplicationEndpoint UT hangs
2018-03-09 20:55:48 +08:00
zhangduo
1c32241a00
HBASE-19719 Fix checkstyle issues
2018-03-09 20:55:48 +08:00
Guanghao Zhang
1e69d7fa24
HBASE-19711 TestReplicationAdmin.testConcurrentPeerOperations hangs
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2018-03-09 20:55:48 +08:00
zhangduo
0165455d34
HBASE-19707 Race in start and terminate of a replication source after we async start replicatione endpoint
2018-03-09 20:55:48 +08:00
Guanghao Zhang
d36aacdf9e
HBASE-19636 All rs should already start work with the new peer change when replication peer procedure is finished
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2018-03-09 20:55:48 +08:00
zhangduo
53b18fe0ac
HBASE-19634 Add permission check for executeProcedures in AccessController
2018-03-09 20:55:48 +08:00
zhangduo
029406c45b
HBASE-19697 Remove TestReplicationAdminUsingProcedure
2018-03-09 20:55:48 +08:00
huzheng
5655b3c0ca
HBASE-19661 Replace ReplicationStateZKBase with ZKReplicationStorageBase
2018-03-09 20:55:48 +08:00
zhangduo
b84fbde175
HBASE-19687 Move the logic in ReplicationZKNodeCleaner to ReplicationChecker and remove ReplicationZKNodeCleanerChore
2018-03-09 20:55:48 +08:00
Guanghao Zhang
13318dd350
HBASE-19544 Add UTs for testing concurrent modifications on replication peer
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2018-03-09 20:55:48 +08:00
zhangduo
b0de0ec439
HBASE-19686 Use KeyLocker instead of ReentrantLock in PeerProcedureHandlerImpl
2018-03-09 20:55:48 +08:00
zhangduo
5d922a5e0c
HBASE-19623 Create replication endpoint asynchronously when adding a replication source
2018-03-09 20:55:48 +08:00
zhangduo
525fef572e
HBASE-19633 Clean up the replication queues in the postPeerModification stage when removing a peer
2018-03-09 20:55:48 +08:00
huzheng
1e36a84afc
HBASE-19622 Reimplement ReplicationPeers with the new replication storage interface
2018-03-09 20:55:48 +08:00
zhangduo
4c6942df58
HBASE-19635 Introduce a thread at RS side to call reportProcedureDone
2018-03-09 20:55:48 +08:00
zhangduo
d9b5eb3abb
HBASE-19617 Remove ReplicationQueues, use ReplicationQueueStorage directly
2018-03-09 20:55:48 +08:00
zhangduo
b40c426806
HBASE-19642 Fix locking for peer modification procedure
2018-03-09 20:55:48 +08:00
zhangduo
ac07e07988
HBASE-19592 Add UTs to test retry on update zk failure
2018-03-09 20:55:48 +08:00
Guanghao Zhang
712b5a80dc
HBASE-19630 Add peer cluster key check when add new replication peer
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2018-03-09 20:55:48 +08:00
Guanghao Zhang
eae251d203
HBASE-19573 Rewrite ReplicationPeer with the new replication storage interface
2018-03-09 20:55:48 +08:00
Guanghao Zhang
59cad95b58
HBASE-19579 Add peer lock test for shell command list_locks
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2018-03-09 20:55:48 +08:00
zhangduo
15055a421b
HBASE-19599 Remove ReplicationQueuesClient, use ReplicationQueueStorage directly
2018-03-09 20:55:48 +08:00
zhangduo
1de08ded58
HBASE-19543 Abstract a replication storage interface to extract the zk specific code
2018-03-09 20:55:48 +08:00
huzheng
3fd417600e
HBASE-19525 RS side changes for moving peer modification from zk watcher to procedure
2018-03-09 20:55:48 +08:00
zhangduo
da07870995
HBASE-19580 Use slf4j instead of commons-logging in new, just-added Peer Procedure classes
2018-03-09 20:55:48 +08:00
Guanghao Zhang
9ead5934c0
HBASE-19520 Add UTs for the new lock type PEER
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2018-03-09 20:55:48 +08:00
zhangduo
7c2a0d7e21
HBASE-19564 Procedure id is missing in the response of peer related operations
2018-03-09 20:55:48 +08:00
Guanghao Zhang
750b7d8dbe
HBASE-19536 Client side changes for moving peer modification from zk watcher to procedure
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2018-03-09 20:55:48 +08:00
zhangduo
5e410d8140
HBASE-19524 Master side changes for moving peer modification from zk watcher to procedure
2018-03-09 20:55:48 +08:00