Chia-Ping Tsai
59baf12c03
HBASE-19575 add copy constructor to Mutation
2017-12-22 03:24:43 +08:00
Balazs Meszaros
f572c4b80e
HBASE-10092 Move up on to log4j2
...
Changes:
- replaced commons-logging to slf4j everywhere
- log.XXX(Throwable) calls were replaced with log.XXX(t.toString(), t)
- log.XXX(Object) calls were replaced with log.XXX(Objects.toString(obj))
- log.fatal() calls were replaced with log.error(HBaseMarkers.FATAL, ...)
- programmatic log4j configuration was removed from the unit test
This commit does not affect the current logging configurations, because log4j
is still on the classpath. slf4j-log4j12 binds log4j to slf4j.
Signed-off-by: Michael Stack <stack@apache.org>
2017-12-20 22:21:33 -08:00
Jan Hentschel
dd00081c26
HBASE-19538 Removed unnecessary semicolons in hbase-client
2017-12-19 20:50:18 +01:00
Guanghao Zhang
03e79b7994
HBASE-19492 Add EXCLUDE_NAMESPACE and EXCLUDE_TABLECFS support to replication peer config
2017-12-19 16:53:43 +08:00
Michael Stack
6a9b1480c1
HBASE-19122 Suspect methods on Cell to be deprecated; ADDENDUM to fix
...
compile error
2017-12-18 16:02:54 -08:00
Michael Stack
b4056d267a
HBASE-19122 Suspect methods on Cell to be deprecated
2017-12-18 15:20:44 -08:00
Yun Chi-Shih
9d0c7c6dfb
HBASE-19531 Remove needless volatile declaration
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-19 00:34:28 +08:00
Guanghao Zhang
979767824d
HBASE-19522 The complete order may be wrong in AsyncBufferedMutatorImpl
2017-12-16 14:00:59 +08:00
Apekshit Sharma
a651ab93e3
HBASE-19530 New regions should always be added with state CLOSED
2017-12-15 21:20:58 -08:00
Peter Somogyi
59529a78f0
HBASE-19498 Fix findbugs and error-prone warnings in hbase-client (branch-2)
...
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Apekshit Sharma <appy@apache.org>
2017-12-15 15:55:51 -08:00
Chia-Ping Tsai
70f02dbc7c
HBASE-19462 Deprecate all addImmutable methods in Put
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-12-14 14:15:54 -08:00
zhangduo
fe316fe7ac
HBASE-19512 Move EventType and ExecutorType from hbase-client to hbase-server
2017-12-14 20:15:44 +08:00
tedyu
104afd74a6
HBASE-19434 create_namespace command for existing namespace does not throw useful error message
2017-12-13 16:00:33 -08:00
Guangxu Cheng
86043ef629
HBASE-19000 Group multiple block cache clear requests per server
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-12-13 07:47:09 -08:00
BELUGA BEHR
536187446d
HBASE-19472 Remove ArrayUtil Class
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-13 19:02:07 +08:00
Chia-Ping Tsai
677c1f2c63
HBASE-19427 Add TimeRange support into Append to optimize for counters
2017-12-13 15:35:49 +08:00
Peter Somogyi
7e5f3a516c
HBASE-19213 Align check and mutate operations in Table and AsyncTable
...
- Deprecates old checkAnd*() operations in Table
- Adds Table#CheckAndMutateBuilder and implements it in HTable
Commiter note: When committing the patch, noticed redundant {@inheritDoc} being added in HTable.
Removed new and olds ones.
2017-12-12 20:37:24 -08:00
tedyu
11467ef111
HBASE-19394 Support multi-homing env for the publication of RS status with multicast (hbase.status.published) (Toshihiro Suzuki)
2017-12-12 07:38:15 -08:00
Michael Stack
542060ce40
HBASE-19461 TestRSGroups is broke
2017-12-08 15:09:46 -08:00
Chia-Ping Tsai
464e4e8058
HBASE-12444 Total number of requests overflow because it's int
2017-12-07 18:39:12 +08:00
anoopsamjohn
ba4f9f8349
HBASE-19357 Bucket cache no longer L2 for LRU cache.
2017-12-07 15:03:53 +05:30
anoopsamjohn
98a21ef1ba
HBASE-19439 Mark ShortCircuitMasterConnection with InterfaceAudience Private.
2017-12-07 11:22:40 +05:30
Michael Stack
4a2e8b852d
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:09 -08:00
anoopsamjohn
d107e33fcd
Revert "HBASE-19357 Bucket cache no longer L2 for LRU cache."
...
This reverts commit d34e30cad398ad5a0bf86e85d9f923109af45e6b.
2017-12-06 11:37:09 +05:30
anoopsamjohn
d34e30cad3
HBASE-19357 Bucket cache no longer L2 for LRU cache.
2017-12-06 11:25:08 +05:30
Michael Stack
8e3714e772
HBASE-19426 Move has() and setTimestamp() to Mutation (Chia-Ping Tsai)
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-05 09:40:55 -08:00
zhangduo
7a5b078306
HBASE-19399 Purge curator dependency from hbase-client
2017-12-03 08:30:30 +08:00
Enis Soztutar
bc321a3bdd
HBASE-16239 Better logging for RPC related exceptions
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-03 00:40:39 +08:00
Chia-Ping Tsai
c64546aa31
HBASE-19350 TestMetaWithReplicas is flaky
2017-12-01 03:39:44 +08:00
Apekshit Sharma
81b95afbee
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:40:11 -08:00
Guanghao Zhang
abb535eef6
HBASE-19359 Revisit the default config of hbase client retries number
2017-11-29 10:32:42 -08:00
Jerry He
e67a3699c4
HBASE-19096 Add RowMutions batch support in AsyncTable
...
Signed-off-by: Jerry He <jerryjch@apache.org>
2017-11-28 18:42:17 -08:00
Balazs Meszaros
f6582400be
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:03:50 -08:00
Peter Somogyi
b5a01685f4
HBASE-19351 Deprecated is missing in Table implementations
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-11-28 11:17:35 -08:00
Guanghao Zhang
f521000d78
HBASE-19337 AsyncMetaTableAccessor may hang when call ScanController.terminate many times
2017-11-25 19:29:08 +08:00
Vasudevan
73e3af00e9
HBASE-19092 Make Tag IA.LimitedPrivate and expose for CPs (Ram)
2017-11-24 12:21:38 +05:30
Guanghao Zhang
3e2941a49e
HBASE-16868 Add a replicate_all flag to avoid misuse the namespaces and table-cfs config of replication peer
2017-11-23 14:54:19 +08:00
wuguoquan
7acf3f9a9c
HBASE-19321 ZKAsyncRegistry ctor would hang when zookeeper cluster is not available
2017-11-22 15:41:44 +08:00
anoopsamjohn
984e0ecfc4
HBASE-19301 Provide way for CPs to create short circuited connection with custom configurations.
2017-11-21 19:04:53 +05:30
zhangduo
48cf4c7abe
HBASE-19313 Call blockUntilConnected when constructing ZKAsyncRegistry(temporary workaround)
2017-11-21 21:28:54 +08:00
Sergey Soldatov
0e289a851b
HBASE-19304 KEEP_DELETED_CELLS should ignore case
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-11-21 20:40:56 +08:00
Guanghao Zhang
e1133d5201
HBASE-19293 Support add a disabled state replication peer directly
2017-11-21 15:26:06 +08:00
Michael Stack
777b653b45
HBASE-19260 Add lock back to avoid parallel accessing meta to locate region
2017-11-17 14:03:56 -08:00
Apekshit Sharma
330b0d05b9
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:20:18 -08:00
Guanghao Zhang
52273aa8f3
HBASE-18911 Unify Admin and AsyncAdmin's methods name
2017-11-17 09:46:54 +08:00
huzheng
d726492838
HBASE-19252 Move the transform logic of FilterList into transformCell() method to avoid extra ref to question cell
2017-11-17 09:26:04 +08:00
zhangduo
54827cf613
HBASE-19251 Merge RawAsyncTable and AsyncTable
2017-11-16 14:36:28 +08:00
Guanghao Zhang
600fdee844
HBASE-19009 implement modifyTable and enable/disableTableReplication for AsyncAdmin
2017-11-16 07:07:20 +08:00
Sean Busbey
df98d6848f
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:38:12 -06:00
anoopsamjohn
7d70487442
HBASE-19235 CoprocessorEnvironment should be exposed to CPs.
2017-11-15 14:49:42 +05:30