Aman Poonia
bc080e7500
HBASE-19835 Use explicit casting to avoid side effects
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-02-08 12:33:08 -08:00
Michael Stack
8f1e01b6e5
HBASE-19951 Cleanup the explicit timeout value for test method
2018-02-07 16:39:54 -08:00
Chia-Ping Tsai
e2636c81f7
HBASE-19900 Region-level exception destroy the result of batch
2018-02-07 08:38:04 +08:00
Umesh Agashe
5905415f9c
HBASE-19915 (addendum): Fixed a typo because of which only daughterA was getting stored with a CLOSED state and not daughterB
2018-02-05 15:41:28 -08:00
Mike Drob
e69c1fd7a0
HBASE-19922 remove ProtobufUtil::PRIMITIVES
2018-02-05 16:55:45 -06:00
Michael Stack
0ca7a2e916
HBASE-19726 Failed to start HMaster due to infinite retrying on meta assign; ADDENDUM Fix failing TestMetaWithReplicas#testShutdownHandling; it was reading meta TableState""
...
Retry applying this addendum. Previous commit added it w/ wrong log
message so had to revert and then reapply here.
2018-02-03 21:49:42 -08:00
Michael Stack
cd610607e7
Revert "HBASE-19928 TestVisibilityLabelsOnNewVersionBehaviorTable fails; ADDENDUM Fix failing TestMetaWithReplicas#testShutdownHandling; it was reading meta TableState"
...
Wrong log message!
This reverts commit fbcb453ce2
.
2018-02-03 21:48:39 -08:00
Michael Stack
fbcb453ce2
HBASE-19928 TestVisibilityLabelsOnNewVersionBehaviorTable fails; ADDENDUM Fix failing TestMetaWithReplicas#testShutdownHandling; it was reading meta TableState
2018-02-03 21:48:18 -08:00
zhangduo
cb138c2da8
HBASE-19914 Refactor TestVisibilityLabelsOnNewVersionBehaviorTable
2018-02-04 13:37:09 +08:00
Michael Stack
bac4687345
HBASE-19919 Tidying up logging
2018-02-02 22:42:30 -08:00
Umesh Agashe
fdbc843516
HBASE-19915 Create merged/ daughter region/s with initial state CLOSED from MetaTableAccessor#splitRegion()/ mergeRegions()
...
If the initial state is not set to CLOSED while creating merged/ children region/s, merged/
children region/s get stored in meta with state OFFLINE(0). If the master gets restarted after
Merge/ Split procedure stores merged/ children region/s, master startup sequence tries to assign
offline region/s. This is followed by re-assignment of merged/ children region from resumed Merge/
Split procedure.
This bug is related to HBASE-19530.
Signed-off-by: Michael Stack <stack@apache.org>
2018-02-02 18:24:42 -08:00
Chia-Ping Tsai
6a1ed25581
HBASE-19897 RowMutations should follow the fluent pattern
2018-02-02 05:24:08 +08:00
zhangduo
28d13c54a9
HBASE-19887 Do not overwrite the surefire junit listener property in the pom of sub modules
2018-01-31 20:49:25 +08:00
Michael Stack
90a75fb052
HBASE-19888 Move branch-2 version from 2.0.0-beta-1 to 2.0.0-beta-2-SNAPSHOT
2018-01-29 14:17:54 -08:00
Duo Zhang
bbf3bae72a
HBASE-19873 Add a CategoryBasedTimeout ClassRule for all UTs
2018-01-29 12:41:14 -08:00
zhangduo
0dea3656ab
HBASE-19870 Fix the NPE in ReadOnlyZKClient#run
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2018-01-29 16:22:40 +08:00
Chia-Ping Tsai
f952779ba2
HBASE-4224 Need a flush by regionserver rather than by table option
2018-01-23 09:47:15 +08:00
Sergey Soldatov
6f8c31242a
HBASE-19774 incorrect behavior of locateRegionInMeta
2018-01-22 11:49:19 -08:00
Guangxu Cheng
c01dc69123
HBASE-19799 Add web UI to rsgroup
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-01-18 19:30:06 -08:00
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