zhangduo
8dd4bf8e54
HBASE-19795 Move the tests which only need zookeeper in TestZooKeeper to hbase-zookeeper module
2018-01-15 10:58:03 +08:00
zhangduo
842f794a62
HBASE-19772 Do not close connection to zk when there are still pending request in ReadOnlyZKClient
2018-01-14 17:08:30 +08:00
Michael Stack
a917a4e796
HBASE-19753 Miscellany of fixes for hbase-zookeeper tests to make them more robust
...
First, we add test resources to CLASSPATH when tests run. W/o it, there
was no logging of hbase-zookeeper test output (not sure why I have to
add this here and not over in hbase-server; research turns up nothing
so far).
M hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKMainServer.java
Improve fail log message.
M hbase-zookeeper/src/test/java/org/apache/hadoop/hbase/zookeeper/TestReadOnlyZKClient.java
M hbase-zookeeper/src/test/java/org/apache/hadoop/hbase/zookeeper/TestZKNodeTracker.java
Wait until ZK is connected before progressing. On my slow zk, it could
be a while post construction before zk connected. Using an unconnected
zk caused test to fail.
M hbase-zookeeper/src/test/java/org/apache/hadoop/hbase/zookeeper/TestZKMainServer.java
Change session timeout to default 30s from 1s which was way too short.
M hbase-zookeeper/src/test/resources/log4j.properties
Set zk logs to DEBUG level in this module at least.
Adds a ZooKeeperHelper class that has utility to help interacting w/ ZK.
2018-01-11 11:22:56 -08:00
tedyu
47326729fe
HBASE-19740 Repeated error message for NamespaceExistException
2018-01-10 18:26:23 -08:00
Josh Elser
efa911f56f
HBASE-19734 Fix IntegrationTestReplication and related impl changes
...
Adds (client-side) validation to ReplicationPeerConfigBuilder and javadoc
to builder methods in addition to the test fix.
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
2018-01-10 13:51:22 -05:00
Guanghao Zhang
895267d09c
HBASE-19139 Create Async Admin methods for Clear Block Cache
2018-01-09 14:55:21 +08:00
Mike Drob
b0a92bd4e1
HBASE-19721 Unnecessary stubbings in TestReversedScannerCallable
...
Signed-off-by: Michael Stack <stack@apache.org>
2018-01-06 08:57:20 -06:00
Beluga Behr
88c7493948
HBASE-19651 Remove LimitInputStream
2018-01-05 17:01:50 -06:00
Michael Stack
e7da907c3c
Revert "HBASE-19651 Remove LimitInputStream"
...
Revert to fix author.
This reverts commit 4c19e1f4e3
.
2018-01-05 16:59:59 -06:00
Michael Stack
4c19e1f4e3
HBASE-19651 Remove LimitInputStream
...
Signed-off-by: Beluga Behr <dam6923@gmail.com>
2018-01-05 08:38:12 -06:00
Chia-Ping Tsai
654edc5fa5
HBASE-19596 RegionMetrics/ServerMetrics/ClusterMetrics should apply to all public classes
2018-01-04 13:05:21 +08:00
BELUGA BEHR
72631a08c1
HBASE-19473 Miscellaneous changes to ClientScanner
...
- Remove superfluous logging code guard
- Simplify some of the code
- Use ArrayDeque instead of LinkedList for queue implementation
2018-01-03 20:26:18 -08:00
zhangduo
4bf601a92d
HBASE-19641 AsyncHBaseAdmin should use exponential backoff when polling the procedure result
2018-01-03 18:32:58 +08:00
BELUGA BEHR
b6bff5f8e2
HBASE-19683 Remove Superfluous Methods From String Class (BELUGA BEHR).
...
* Remove isEmpty method
* Remove repeat
Use the Apache Commons implementations instead.
2018-01-02 11:34:52 -08:00
Niels Basjes
0dcbba1563
HBASE-19486: Ensure threadsafe WriteBufferPeriodicFlush operations
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2018-01-02 17:38:45 +08:00
Niels Basjes
e2f07aafb6
HBASE-19486 Periodically ensure records are not buffered too long by BufferedMutator
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-29 22:24:30 +08:00
Chia-Ping Tsai
5612f2f692
HBASE-19428 Deprecate the compareTo(Row)
2017-12-29 20:07:21 +08:00
Michael Stack
a8ef734ddd
HBASE-19651 Remove LimitInputStream
...
Signed-off-by: Beluga Behr <dam6923@gmail.com>
2017-12-28 13:08:46 -08:00
Mike Drob
64cb777a8a
HBASE-19552 find-and-replace thirdparty offset
2017-12-28 12:01:25 -06:00
Guanghao Zhang
4dc38aeb2f
HBASE-19653 Reduce the default hbase.client.start.log.errors.counter
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-12-28 07:56:22 -08:00
Guanghao Zhang
33ce14cb29
HBASE-19643 Need to update cache location when get error in AsyncBatchRpcRetryingCaller
2017-12-28 14:44:17 +08:00
Chia-Ping Tsai
97f0aad66e
HBASE-19626 Rename Cell.DataType to Cell.Type
2017-12-28 12:59:28 +08:00
Michael Stack
50348cc1a4
HBASE-19652 Turn down CleanerChore logging; too chatty
2017-12-27 20:50:46 -08:00
Michael Stack
d6d8369655
HBASE-19648 Move branch-2 version from 2.0.0-beta-1-SNAPSHOT to 2.0.0-beta-1
2017-12-27 14:41:19 -08:00
Michael Stack
e4ab29ada2
HBASE-19647 Logging cleanups; emit regionname when RegionTooBusyException inside RetriesExhausted... make netty connect/disconnect TRACE-level; ADDENDUM
2017-12-27 14:14:37 -08:00
Chia-Ping Tsai
7dee1bcd31
HBASE-19644 add the checkstyle rule to reject the illegal imports
2017-12-28 04:17:45 +08:00
Michael Stack
cc8b37f847
HBASE-19647 Logging cleanups; emit regionname when RegionTooBusyException inside RetriesExhausted... make netty connect/disconnect TRACE-level
2017-12-27 11:56:40 -08:00
Chia-Ping Tsai
2468f30029
HBASE-19628 ByteBufferCell should extend ExtendedCell
2017-12-27 23:02:18 +08:00
Vasudevan
0454a389a3
HBASE-19629 RawCell#getTags should return the Iterator<Tag> in order to avoid iterating through whole tag array at once
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-27 21:30:08 +08:00
Peter Somogyi
15ed748286
HBASE-19545 Replace getBytes(StandardCharsets.UTF_8) with Bytes.toBytes
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-27 20:10:50 +08:00
Chia-Ping Tsai
b6781c9bcc
HBASE-19496 (addendum) don't store the duplicate cp names in ServerMetrics
2017-12-27 07:08:31 +08:00
Chia-Ping Tsai
8362b0dba5
HBASE-19550 Wrap the cell passed via Mutation#add(Cell) to be of ExtendedCell
2017-12-26 16:43:01 +08:00
Guanghao Zhang
2abf7b508c
HBASE-19621 Revisit the methods in ReplicationPeerConfigBuilder
2017-12-26 14:44:07 +08:00
Guanghao Zhang
b552eb2ff9
HBASE-19576 Introduce builder for ReplicationPeerConfig and make it immutable
2017-12-23 19:04:58 +08:00
Chia-Ping Tsai
d4af099e9e
HBASE-19496 Reusing the ByteBuffer in rpc layer corrupt the ServerLoad and RegionLoad
2017-12-22 18:58:08 +08:00
Guanghao Zhang
3a210d514c
HBASE-19590 Remove the duplicate code in deprecated ReplicationAdmin
2017-12-22 18:36:28 +08:00
Apekshit Sharma
11ea19a101
HBASE-19589 New regions should always be added with state CLOSED (followup of HBASE-19530)
2017-12-21 22:58:28 -08:00
Chia-Ping Tsai
4aec7a491a
HBASE-19575 add copy constructor to Mutation
2017-12-22 03:19:47 +08:00
Balazs Meszaros
992b5d8630
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:58:12 -08:00
Jan Hentschel
d111b17c36
HBASE-19538 Removed unnecessary semicolons in hbase-client
2017-12-19 20:56:35 +01:00
Guanghao Zhang
60cd494d1c
HBASE-19492 Add EXCLUDE_NAMESPACE and EXCLUDE_TABLECFS support to replication peer config
2017-12-19 16:57:38 +08:00
Michael Stack
b7268cafac
HBASE-19122 Suspect methods on Cell to be deprecated; ADDENDUM to fix
...
compile error
2017-12-18 16:03:42 -08:00
Michael Stack
495bedea35
HBASE-19122 Suspect methods on Cell to be deprecated
2017-12-18 15:23:03 -08:00
Yun Chi-Shih
5895719420
HBASE-19531 Remove needless volatile declaration
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-19 00:40:37 +08:00
Guanghao Zhang
8fa08b56f3
HBASE-19522 The complete order may be wrong in AsyncBufferedMutatorImpl
2017-12-16 14:09:35 +08:00
Apekshit Sharma
15a4aa0ce1
HBASE-19530 New regions should always be added with state CLOSED
2017-12-15 21:21:37 -08:00
Peter Somogyi
2043c337d8
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:57:01 -08:00
Mike Drob
23a9059cb2
HBASE-18838 Fix hadoop3 check-shaded-invariants
2017-12-15 13:20:54 -06:00
Chia-Ping Tsai
33d48754f5
HBASE-19462 Deprecate all addImmutable methods in Put
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-12-14 14:18:04 -08:00
zhangduo
c2bb63fbf9
HBASE-19512 Move EventType and ExecutorType from hbase-client to hbase-server
2017-12-14 20:15:35 +08:00