Michael Stack
eb17a2f285
HBASE-19299 Assert only one Connection is constructed when calculating splits in a MultiTableInputFormat
...
Adds a test suite that has one test in it. Does a bunch of mocking so
getSplits can run. Has counter in mocked Connection constructor so can
count how many Connections made during call to getSplits. Verified that
assert fails if more than one Connection made.
2017-11-20 09:01:56 -08:00
tedyu
b554bbc65e
HBASE-19288 Intermittent test failure in TestHStore.testRunDoubleMemStoreCompactors
2017-11-19 20:23:49 -08:00
Michael Stack
50c3bf9feb
HBASE-19260 Add lock back to avoid parallel accessing meta to locate region
2017-11-17 14:04:41 -08:00
Apekshit Sharma
e0c4f374b5
HBASE-19114 Split out o.a.h.h.zookeeper from hbase-server and hbase-client
...
- Moved DrainingServerTracker and RegionServerTracker to hbase-server:o.a.h.h.master.
- Moved SplitOrMergeTracker to oahh.master (because it depends on a PB)
- Moving hbase-client:oahh.zookeeper.* to hbase-zookeeper module. After HBASE-19200, hbase-client doesn't need them anymore (except 3 classes).
- Renamed some classes to use a consistent naming for classes - ZK instead of mix of ZK, Zk , ZooKeeper. Couldn't rename following public classes: MiniZooKeeperCluster, ZooKeeperConnectionException. Left RecoverableZooKeeper for lack of better name. (suggestions?)
- Sadly, can't move tests out because they depend on HBaseTestingUtility (which defeats part of the purpose - trimming down hbase-server tests. We need to promote more use of mocks in our tests)
2017-11-17 13:23:28 -08:00
Guangxu Cheng
3330dd517e
HBASE-19269 Reenable TestShellRSGroups
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-11-17 11:57:01 -08:00
Guangxu Cheng
63b02a072a
HBASE-19274 Log IOException when unable to determine the size of committed file
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-11-17 03:00:59 -08:00
tedyu
ade66e2868
HBASE-19273 IntegrationTestBulkLoad#installSlowingCoproc() uses read-only HTableDescriptor
2017-11-16 21:07:52 -08:00
huzheng
57291108ed
HBASE-19252 Move the transform logic of FilterList into transformCell() method to avoid extra ref to question cell
2017-11-17 10:42:58 +08:00
Guanghao Zhang
8b30adb834
HBASE-18911 Unify Admin and AsyncAdmin's methods name
2017-11-17 09:50:41 +08:00
Michael Stack
f7ce3fd48a
HBASE-19181 LogRollBackupSubprocedure will fail if we use AsyncFSWAL instead of FSHLog (Vladimir Rodionov)
2017-11-16 15:04:43 -08:00
Michael Stack
9fecb3b2c8
HBASE-19268 Enable Replica tests that were disabled by Proc-V2 AM in HBASE-14614
2017-11-16 13:49:11 -08:00
Michael Stack
2c1ded5425
HBASE-19276 RegionPlan should correctly implement equals and hashCode
...
Andrew's patch that adds equals and hash but revamping compare also.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-11-16 13:27:52 -08:00
Guanghao Zhang
41fa71d9cd
HBASE-19009 implement modifyTable and enable/disableTableReplication for AsyncAdmin (addendum)
2017-11-16 16:31:13 +08:00
Umesh Agashe
e9612e6c89
HBASE-18964 Deprecated RowProcessor and Region#processRowsWithLocks() methods that take RowProcessor as an argument
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-11-15 23:40:20 -08:00
Michael Stack
853ab2f943
HBASE-19270 Reenable TestRegionMergeTransactionOnCluster#testMergeWithReplicas disable by HBASE-14614
2017-11-15 23:38:07 -08:00
Michael Stack
99fbe73552
HBASE-18356 Enable TestFavoredStochasticBalancerPickers#testPickers that was disabled by Proc-V2 AM in HBASE-14614
...
Rebase/Fixup
Signed-off-by: Thiruvel Thirumoolan <thiruvel at yahoo-inc dot com>
Signed-off-by: Michael Stack <stack@apache.org>
2017-11-15 23:36:23 -08:00
Michael Stack
8874890798
HBASE-19278 Reenable cleanup in test teardown in TestAccessController3 disabled by HBASE-14614
...
Remove a few unused imports.
Remove TestAsyncRegionAdminApi#testOffline, a test for a condition that
no longer exists (no offlining supported in hbase2).
M hbase-server/src/test/java/org/apache/hadoop/hbase/security/access/TestAccessController3.java
Uncomment cleanup called in test teardown.
2017-11-15 23:27:28 -08:00
zhangduo
bc3542c0fb
HBASE-19251 Merge RawAsyncTable and AsyncTable
2017-11-16 14:37:51 +08:00
Michael Stack
e063b231da
HBASE-18357 Enable disabled tests in TestHCM that were disabled by Proc-V2 AM in HBASE-14614
...
Restore testRegionCaching and testMulti to working state (required
fixing move procedure and looking for a new exception).
testClusterStatus is broke because multicast is broken.
2017-11-15 18:40:00 -08:00
zhangduo
c5ad801754
HBASE-19262 Revisit checkstyle rules
2017-11-16 09:43:15 +08:00
Guanghao Zhang
d885e2232d
HBASE-19009 implement modifyTable and enable/disableTableReplication for AsyncAdmin
2017-11-16 07:19:34 +08:00
Sean Busbey
fb79e9d4a7
HBASE-19223 Note availability of Date Tiered Compaction in 1.y release for those upgrading from 0.98
...
Signed-off-by: Yu Li <liyu@apache.org>
Signed-off-by: Mike Drob <mdrob@apache.org>
2017-11-15 10:31:52 -06:00
Sean Busbey
9c85d0017f
HBASE-19248 Move tests that need to look at Connection internals to test of said internals.
...
Signed-off-by: zhangduo <zhangduo@apache.org>
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-11-15 08:40:03 -06:00
anoopsamjohn
a1d86d90ba
HBASE-19235 CoprocessorEnvironment should be exposed to CPs.
2017-11-15 14:51:04 +05:30
Guanghao Zhang
2dc191485f
HBASE-19255 PerformanceEvaluation class not found when run PE test
2017-11-15 15:06:45 +08:00
Michael Stack
3ad300a2b0
HBASE-19245 MultiTableInputFormatBase#getSplits creates a Connection per Table
...
We make one Connection only instead of a Connection per table (Change is
just moving one line it involves right-shifting body of the function)
2017-11-14 21:48:06 -08:00
Umesh Agashe
7139113fde
HBASE-18963 Removed MultiRowMutationProcessor and modified mutateRows...() to use batchMutate() with atomic set to true
2017-11-14 21:45:01 -08:00
Lars Hofhansl
3d4fd90947
HBASE-12091 Optionally ignore edits for dropped tables for replication.
2017-11-14 17:16:56 -08:00
tedyu
76b9d4617c
HBASE-19210 TestNamespacesInstanceResource fails
2017-11-14 11:05:36 -08:00
zhangduo
ffb8c641d9
HBASE-19243 Start mini cluster once before class for TestFIFOCompactionPolicy
2017-11-14 15:40:30 +08:00
Sean Busbey
d5df4c0426
HBASE-19249 test for "hbase antipatterns" should check _count_ of occurance rather than text of
...
Signed-off-by: Apekshit Sharma <appy@apache.org>
2017-11-13 23:05:25 -06:00
Abhishek Singh Chouhan
d0fb4bd783
HBASE-19215 Incorrect exception handling on the client causes incorrect call timeouts and byte buffer allocations on the server
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-11-13 18:02:21 -08:00
Andrew Purtell
efe116f11a
HBASE-19250 TestClientClusterStatus is flaky
2017-11-13 18:02:21 -08:00
Yi Liang
57aa6b32a2
HBASE-19237: TestMaster.testMasterOpsWhileSplitting fails
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-11-13 17:55:30 -08:00
tedyu
04a87fe156
HBASE-19210 TestNamespacesInstanceResource fails (Ted Yu)
2017-11-13 13:53:32 -08:00
Apekshit Sharma
72ba5c294e
HBASE-19246 Trivial fix in findHangingTests.py to make it not stop on finding 'bad string'.
2017-11-13 11:46:46 -08:00
tedyu
31287d8931
HBASE-19244 Fix simple typos in HBASE-15518 descriptions (Clay B.)
2017-11-13 11:29:21 -08:00
Michael Stack
18e484c6c4
HBASE-18601: Update Htrace to 4.2; ADDENDUM; hack failing TestHTraceHooks test
2017-11-13 10:39:22 -08:00
Tamas Penzes
7a69ebc73e
HBASE-18601: Update Htrace to 4.2
...
Updated HTrace version to 4.2
Created TraceUtil class to wrap htrace methods. Uses try with resources.
Signed-off-by: Balazs Meszaros <balazs.meszaros@cloudera.com>
Signed-off-by: Michael Stack <stack@apache.org>
2017-11-13 10:38:36 -08:00
zhangduo
8a5273f38c
HBASE-19241 Improve javadoc for AsyncAdmin and cleanup warnings for the implementation classes
2017-11-13 17:00:14 +08:00
Mike Drob
cd681f26bc
HBASE-19240 more error-prone results
2017-11-12 19:47:38 -06:00
Guanghao Zhang
bc8048cf6c
HBASE-19035 Miss metrics when coprocessor use region scanner to read data
2017-11-12 15:16:37 +08:00
anoopsamjohn
3ee76f8573
HBASE-19187 Remove option to create on heap bucket cache.
2017-11-11 12:41:09 +05:30
zhangduo
30f55f2316
HBASE-19200 Make hbase-client only depend on ZKAsyncRegistry and ZNodePaths
...
- Removes zookeeper connection from ClusterConnection
- Deletes class ZooKeeperKeepAliveConnection
- Removes Registry, ZooKeeperRegistry, and RegistryFactory
2017-11-10 10:09:04 -08:00
Apekshit Sharma
dd19fa25d5
HBASE-16459 Remove unused hbase shell --format option
2017-11-10 00:34:16 -08:00
Sean Busbey
d757e651c9
HBASE-19227 Nightly job should archive JVM dumpstream files.
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-11-09 23:21:23 -06:00
Chia-Ping Tsai
3511f678fb
HBASE-18624 (addendum) correct the annotations
2017-11-10 09:04:51 +08:00
Michael Stack
b41dae3149
HBASE-18423 Fix TestMetaWithReplicas
2017-11-09 15:00:53 -08:00
Apekshit Sharma
182690a62e
HBASE-19089 Fix the list of included moduleSets in src and binary tars.
2017-11-09 14:55:46 -08:00
Andrew Purtell
6938ac274a
HBASE-12350 Backport error-prone build support to branch-1 and branch-2
2017-11-09 14:32:43 -08:00