7226 Commits

Author SHA1 Message Date
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 a452487a9b82bfd33bc10683c3f8b8ae74d58883.
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 74ea0111696e2a01a478fd7e11cfad14d1bfc3b5)
2018-08-22 11:30:05 -05:00
Sean Busbey
899982c02d Revert "HBASE-20194 Remove the explicit timeout config for TestTruncateTableProcedure"
This reverts commit 74ea0111696e2a01a478fd7e11cfad14d1bfc3b5.

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 c01d4d3a35a53d67d4106fc906629413f8e980a7.
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