anoopsamjohn
e88b3c65b9
HBASE-19439 Mark ShortCircuitMasterConnection with InterfaceAudience Private.
2017-12-07 11:24:00 +05:30
Michael Stack
d29ffd4e29
HBASE-19295 The Configuration returned by CPEnv should be read-only.
...
Adds a ReadOnlyConfiguration that delegates gets but throws exception
on sets/adds, etc.
2017-12-06 15:18:53 -08:00
anoopsamjohn
78a6e0532e
Revert "HBASE-19357 Bucket cache no longer L2 for LRU cache."
...
This reverts commit d952c5df9f
.
2017-12-06 11:36:19 +05:30
anoopsamjohn
d952c5df9f
HBASE-19357 Bucket cache no longer L2 for LRU cache.
2017-12-06 11:26:10 +05:30
Michael Stack
c77778dd13
HBASE-19426 Move has() and setTimestamp() to Mutation (Chia-Ping Tsai)
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-05 09:42:13 -08:00
zhangduo
c61ed5dc7e
HBASE-19399 Purge curator dependency from hbase-client
2017-12-03 08:30:43 +08:00
Enis Soztutar
4f642f659f
HBASE-16239 Better logging for RPC related exceptions
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-03 00:45:08 +08:00
Chia-Ping Tsai
2bda22a64e
HBASE-19350 TestMetaWithReplicas is flaky
2017-12-01 03:40:17 +08:00
Apekshit Sharma
4f4aac77e1
HBASE-19367 Refactoring in RegionStates, and RSProcedureDispatcher
...
- Adding javadoc comments
- Bug: ServerStateNode#regions is HashSet but there's no synchronization to prevent concurrent addRegion/removeRegion. Let's use concurrent set instead.
- Use getRegionsInTransitionCount() directly to avoid instead of getRegionsInTransition().size() because the latter copies everything into a new array - what a waste for just the size.
- There's mixed use of getRegionNode and getRegionStateNode for same return type - RegionStateNode. Changing everything to getRegionStateNode. Similarly rename other *RegionNode() fns to *RegionStateNode().
- RegionStateNode#transitionState() return value is useless since it always returns it's first param.
- Other minor improvements
2017-11-29 22:42:39 -08:00
Guanghao Zhang
9e7ab9ffe2
HBASE-19359 Revisit the default config of hbase client retries number
2017-11-29 10:33:20 -08:00
Jerry He
0c4c395538
HBASE-19096 Add RowMutions batch support in AsyncTable
...
Signed-off-by: Jerry He <jerryjch@apache.org>
2017-11-28 18:49:08 -08:00
Balazs Meszaros
e946d9d841
HBASE-19242 Add MOB compact support for AsyncAdmin
...
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Guanghao Zhang <zghaobac@gmail.com>
2017-11-28 15:04:56 -08:00
Josh Elser
4fef4cfc30
HBASE-19267 Remove compiler-plugin mapping executions as it breaks Java8 detection
...
It seems like the original reason this execution filter was added is no
longer an issue for 2.0. Actually, these entries actually preclude
Eclipse from correctly using the Java8 source/target version that we
have specified (which creates numerous compilation errors in Eclipse)
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2017-11-28 14:54:32 -05:00
Peter Somogyi
12efae4829
HBASE-19351 Deprecated is missing in Table implementations
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-11-28 11:18:07 -08:00
Guanghao Zhang
0406d06533
HBASE-19337 AsyncMetaTableAccessor may hang when call ScanController.terminate many times
2017-11-25 19:39:37 +08:00
Vasudevan
6ac6ae3fa2
HBASE-19092 Make Tag IA.LimitedPrivate and expose for CPs (Ram)
...
Signed-off-by: Chia-ping Tsai, Anoop Sam John, Stack
2017-11-24 12:38:42 +05:30
Guanghao Zhang
ca6e7e68f4
HBASE-16868 Add a replicate_all flag to avoid misuse the namespaces and table-cfs config of replication peer
...
Signed-off-by: Guanghao Zhang <zghao@apache.org>
2017-11-23 15:08:03 +08:00
wuguoquan
8c2a962d1c
HBASE-19321 ZKAsyncRegistry ctor would hang when zookeeper cluster is not available
2017-11-22 15:51:02 +08:00
Peter Somogyi
bcd367e293
HBASE-19315 Incorrect snapshot version is used for 2.0.0-beta-1
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-11-21 10:41:50 -08:00
anoopsamjohn
f7331f9ceb
HBASE-19301 Provide way for CPs to create short circuited connection with custom configurations.
2017-11-21 19:06:39 +05:30
zhangduo
4df2dffbab
HBASE-19313 Call blockUntilConnected when constructing ZKAsyncRegistry(temporary workaround)
2017-11-21 21:29:18 +08:00
Sergey Soldatov
13209bce06
HBASE-19304 KEEP_DELETED_CELLS should ignore case
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-11-21 20:45:50 +08:00
Guanghao Zhang
c978f8ab23
HBASE-19293 Support add a disabled state replication peer directly
2017-11-21 15:37:33 +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
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
zhangduo
bc3542c0fb
HBASE-19251 Merge RawAsyncTable and AsyncTable
2017-11-16 14:37:51 +08:00
Guanghao Zhang
d885e2232d
HBASE-19009 implement modifyTable and enable/disableTableReplication for AsyncAdmin
2017-11-16 07:19:34 +08: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
Lars Hofhansl
3d4fd90947
HBASE-12091 Optionally ignore edits for dropped tables for replication.
2017-11-14 17:16:56 -08: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
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
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
Chia-Ping Tsai
3511f678fb
HBASE-18624 (addendum) correct the annotations
2017-11-10 09:04:51 +08:00
Michael Stack
afdafb4bad
HBASE-19220 Async tests time out talking to zk; 'clusterid came back null'
2017-11-09 10:45:54 -08:00
Michael Stack
0aafbe7aa9
HBASE-19165 TODO Handle stuck in transition: rit=OPENING, location=ve0538....
2017-11-09 10:32:42 -08:00
Zach York
77e7c5ff27
HBASE-18624 Added support for clearing BlockCache based on tablename
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-11-09 04:03:35 +08:00
Mike Drob
0d4f33ca27
HBASE-19195 error-prone fixes for client, mr, and server
2017-11-08 12:04:46 -06:00
Apekshit Sharma
a6d8023ff5
HBASE-19128 Purge Distributed Log Replay from codebase, configurations, text; mark the feature as unsupported, broken.
2017-11-07 17:48:52 -08:00
QilinCao
1110910b3a
HBASE-19103 Add BigDecimalComparator for filter
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-11-07 03:30:43 -08:00
Michael Stack
f13cf56f1c
HBASE-19197 Move version on branch-2 from 2.0.0-alpha4 to 2.0.0-beta-1.SNAPSHOT
2017-11-06 20:46:38 -08:00
Chia-Ping Tsai
43b4aab648
HBASE-19131 (Addendum) Use the emptyList() to replace EMPTY_LIST
2017-11-07 04:06:29 +08:00
Mike Drob
cfddfcf23c
HBASE-19160 expose CellComparator as IA.Public
2017-11-06 10:15:55 -06:00
Guanghao Zhang
47c614c706
HBASE-18950 Remove Optional parameters in AsyncAdmin interface
2017-11-06 20:41:20 +08:00
Mike Drob
33ae6dce42
HBASE-18983 fixes from update error-prone to 2.1.1
2017-11-04 21:29:48 -05:00
Chia-Ping Tsai
d592b29619
HBASE-19131 Add the ClusterStatus hook and cleanup other hooks which can be replaced by ClusterStatus hook
2017-11-05 09:56:04 +08:00
zhangduo
547d46cfac
HBASE-18972 Use Builder pattern to remove nullable parameters for coprocessor methods in RawAsyncTable interface
2017-11-02 13:58:33 +08:00