Chia-Ping Tsai
c686b535c2
HBASE-21208 Bytes#toShort doesn't work without unsafe
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
Signed-off-by: anoopsamjohn <anoopsamjohn@gmail.com>
Signed-off-by: Reid Chan <reidchan@apache.org>
2018-09-25 10:19:36 +08:00
zhangduo
dc1dedb073
HBASE-21188 Print heap and gc informations in our junit ResourceChecker
2018-09-13 09:58:34 +08:00
Mike Drob
dbcc80c9e7
HBASE-20884 Replace Base64 with j.u.Base64
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: tedyu <yuzhihong@gmail.com>
2018-07-13 12:59:36 -05:00
Sahil Aggarwal
952bb96c8a
HBASE-19164: Remove UUID.randomUUID in tests.
...
Signed-off-by: Mike Drob <mdrob@apache.org>
2018-06-27 10:34:16 -05:00
Sean Busbey
d909ec55aa
HBASE-20444 Addendum keep folks from looking at raw version component array.
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-05-31 13:29:52 -05:00
maoling
b77fb77b32
HBASE-20444 Improve comparison logic for HBase version strings
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2018-05-30 09:18:53 -05:00
Mike Drob
a110e1eff5
HBASE-20478 Update checkstyle to v8.2
...
Cannot go to latest (8.9) yet due to
https://github.com/checkstyle/checkstyle/issues/5279
* move hbaseanti import checks to checkstyle
* implment a few missing equals checks, and ignore one
* fix lots of javadoc errors
Signed-off-by: Sean Busbey <busbey@apache.org>
2018-05-29 10:12:31 -05:00
Michael Stack
079f168c5c
HBASE-20620 HBASE-20564 Tighter ByteBufferKeyValue Cell Comparator; part 2
...
Adds new stripped-down, faster ByteBufferKeyValue comparator
(BBKV is the base Cell-type in hbase2). Creates an instance
of new Comparator each time we create new memstore rather
than use the universal CellComparator.
Remove unused and unneeded Interfaces from Cell base type.
2018-05-23 13:20:47 -07:00
Michael Stack
f4006b5039
HBASE-20564 Tighter ByteBufferKeyValue Cell Comparator; ADDENDUM2 Add a Test
...
Run meta tests but using our new basis, the ByteBufferKeyValue
instead of the old byte array-backed KeyValue so we catch any
oddness in the Type processing or in the Comparator.
2018-05-16 12:56:08 -07:00
Michael Stack
db04a9f9d9
HBASE-20564 Tighter ByteBufferKeyValue Cell Comparator
...
Make a purposed comparator for the new ByteBufferKeyValue
base type. Cache deserialized sizes rather than recalc each time.
2018-05-14 15:18:26 +01:00
Michael Stack
7790ab156e
HBASE-20506 Add doc and test for unused RetryCounter, useful-looking utility
2018-05-01 07:01:16 -07:00
Josh Elser
15c398f7d2
HBASE-20223 Update to hbase-thirdparty 2.1.0
...
Remove commons-cli and commons-collections4 use. Account
for the newer internal protobuf version of 3.5.1.
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Mike Drob <mdrob@apache.org>
2018-03-26 22:05:19 -04:00
anoopsamjohn
e83ac38d68
HBASE-20078 MultiByteBuff : bug in reading primitives when individual buffers are too small.
2018-03-14 12:07:57 +05:30
tedyu
b7fb2df154
HBASE-20136 TestKeyValue misses ClassRule and Category annotations
2018-03-06 08:34:49 -08:00
Michael Stack
b11e506664
HBASE-20069 fix existing findbugs errors in hbase-server
2018-02-26 16:01:31 -08:00
tedyu
401227ba6a
HBASE-20031 Unable to run integration test using mvn due to missing HBaseClassTestRule
2018-02-21 12:03:32 -08:00
Michael Stack
969895105c
HBASE-20014 TestAdmin1 Times out
2018-02-16 20:57:10 -08:00
Michael Stack
24bed6b3fb
HBASE-19986 If HBaseTestClassRule timesout a test, thread dump; ADDENDUM; white-space, checkstyle, and rb feedback by Duo
2018-02-12 18:12:24 -08:00
Michael Stack
c2ee82c909
HBASE-19986 If HBaseTestClassRule timesout a test, thread dump
2018-02-12 15:28:40 -08:00
Michael Stack
0593dda663
HBASE-19951 Cleanup the explicit timeout value for test method
2018-02-10 09:24:31 -08:00
Michael Stack
277ce3d8a3
HBASE-19956 Remove category as a consideration timing out tests; set all test to timeout at 10minutes regardless
2018-02-07 23:10:12 -08:00
zhangduo
dcbb331792
HBASE-19929 Call RS.stop on a session expired RS may hang
2018-02-07 15:52:04 +08:00
Michael Stack
06dec20582
HBASE-19919 Tidying up logging
2018-02-03 08:42:02 -08:00
zhangduo
6519b98ac3
Revert "HBASE-19919 Tidying up logging"
...
This reverts commit 40250f8c5f8efe3016f0c3300d9728b0ee2056c6.
Wrong patch. Revert to fix compile error.
2018-02-03 18:18:09 +08:00
Michael Stack
40250f8c5f
HBASE-19919 Tidying up logging
2018-02-02 22:52:41 -08:00
Mike Drob
99b9fff07b
HBASE-19841 Every HTU should be local until DFS starts
2018-02-01 20:24:11 -06:00
Michael Stack
52cb9aaf6e
HBASE-19911 Convert some tests from small to medium because they are timing out: TestNettyRpcServer, TestClientClusterStatus; ADDENDUM2 Up timeout for smalltests from 30 seconds to 60 seconds -- a pause on jenkins can mess up smalltests
2018-02-01 08:25:44 -08:00
zhangduo
7c318cead9
HBASE-19887 Do not overwrite the surefire junit listener property in the pom of sub modules
2018-01-31 20:49:18 +08:00
zhangduo
918599ef12
HBASE-19873 Add a CategoryBasedTimeout ClassRule for all UTs
2018-01-29 08:43:56 +08:00
Chia-Ping Tsai
4bd6ac3e10
HBASE-19746 Add default impl to Cell#getType
2018-01-11 15:03:20 -08:00
zhangduo
2509a150c0
HBASE-19731 TestFromClientSide#testCheckAndDeleteWithCompareOp and testNullQualifier are flakey
2018-01-08 10:35:36 -08:00
Mike Drob
c3b4f788b1
HBASE-19552 find-and-replace thirdparty offset
2017-12-28 11:52:32 -06:00
Chia-Ping Tsai
53233be5a9
HBASE-19626 Rename Cell.DataType to Cell.Type
2017-12-28 13:04:29 +08:00
Chia-Ping Tsai
6b39062e86
HBASE-19628 ByteBufferCell should extend ExtendedCell
2017-12-27 22:26:40 +08:00
Vasudevan
467a4667d8
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:33:42 +08:00
Peter Somogyi
7145d98182
HBASE-19545 Replace getBytes(StandardCharsets.UTF_8) with Bytes.toBytes
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-12-27 20:07:25 +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
0f8ea39a5b
HBASE-19539 Removed unnecessary semicolons in hbase-common
2017-12-19 20:22:05 +01:00
Michael Stack
b4056d267a
HBASE-19122 Suspect methods on Cell to be deprecated
2017-12-18 15:20:44 -08:00
Peter Somogyi
f9f869f60a
HBASE-19497 Fix findbugs and error-prone warnings in hbase-common (branch-2)
...
Signed-off-by: Apekshit Sharma <appy@apache.org>
2017-12-15 16:16:34 -08:00
Chia-Ping Tsai
08d6b55750
HBASE-19484 The value array written by ExtendedCell#write is out of bounds
2017-12-11 10:56:50 +08:00
Chia-Ping Tsai
d2b1578b73
HBASE-19430 Remove the SettableTimestamp and SettableSequenceId
2017-12-07 13:28:02 +08:00
zhangduo
75cdbb5700
HBASE-19410 Move zookeeper related UTs to hbase-zookeeper and mark them as ZKTests
2017-12-06 16:38:34 +08:00
Chia-Ping Tsai
e29685ed6d
HBASE-19431 The tag array written by IndividualBytesFieldCell#write is out of bounds
2017-12-05 15:42:02 +08:00
Michael Stack
79a89beb2e
HBASE-19383 [1.2] java.lang.AssertionError: expected:<2> but was:<1> at
...
org.apache.hadoop.hbase.TestChoreService.testTriggerNowFailsWhenNotScheduled(TestChoreService.java:707)
2017-11-29 20:46:18 -08:00
Vasudevan
73e3af00e9
HBASE-19092 Make Tag IA.LimitedPrivate and expose for CPs (Ram)
2017-11-24 12:21:38 +05:30
anoopsamjohn
bff619ef7b
HBASE-19187 Remove option to create on heap bucket cache.
2017-11-11 12:37:18 +05:30
Mike Drob
9ee8e2714d
HBASE-19160 expose CellComparator as IA.Public
2017-11-06 10:08:14 -06:00
Sean Busbey
e79a007dd9
HBASE-18784 if available, query underlying outputstream capabilities where we need hflush/hsync.
...
* pull things that don't rely on HDFS in hbase-server/FSUtils into hbase-common/CommonFSUtils
* refactor setStoragePolicy so that it can move into hbase-common/CommonFSUtils, as a side effect update it for Hadoop 2.8,3.0+
* refactor WALProcedureStore so that it handles its own FS interactions
* add a reflection-based lookup of stream capabilities
* call said lookup in places where we make WALs to make sure hflush/hsync is available.
* javadoc / checkstyle cleanup on changes as flagged by yetus
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-11-02 21:29:20 -05:00
Michael Stack
d7cf88947c
HBASE-19135 TestWeakObjectPool time out
2017-10-31 16:17:31 -07:00