11293 Commits

Author SHA1 Message Date
stack
9563ab4ca1 HBASE-16176 Bug fixes/improvements on HBASE-15650 Remove TimeRangeTracker as point of contention when many threads reading a StoreFile Fixes HBASE-16074 ITBLL fails, reports lost big or tiny families broken scanning because of a side effect of a clean up in HBASE-15650 to make TimeRange construction consistent exposed a latent issue in TimeRange#compare. See HBASE-16074 for more detail.
Also change HFile Writer constructor so we pass in the TimeRangeTracker, if one,
on construction rather than set later (the flag and reference were not volatile
so could have made for issues in concurrent case). And make sure the construction
of a TimeRange from a TimeRangeTracer on open of an HFile Reader never makes a
bad minimum value, one that would preclude us reading any values from a file
(set min to 0)

M hbase-common/src/main/java/org/apache/hadoop/hbase/io/TimeRange.java
 Call through to next constructor (if minStamp was 0, we'd skip setting
 allTime=true). Add asserts that timestamps are not < 0 cos it messes
 us up if they are (we already were checking for < 0 on construction but
 assert passed in timestamps are not < 0).

M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
 Add constructor override that takes a TimeRangeTracker (set when flushing
 but not when compacting)

M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java
 Add override creating an HFile in tmp that takes a TimeRangeTracker

M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFile.java
 Add override for HFile Writer that takes a TimeRangeTracker Take it on
 construction instead of having it passed by a setter later (flags and
 reference set by the setter were not volatile... could have been prob
 in concurrent case)

M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/TimeRangeTracker.java
 Log WARN if bad initial TimeRange value (and then 'fix' it)

M hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestTimeRangeTracker.java
 A few tests to prove serialization works as expected and that we'll get a bad min if not constructed properly.

M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/ScanQueryMatcher.java
 Handle OLDEST_TIMESTAMP explictly. Don't expect TimeRange to do it.

M hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestQueryMatcher.java
 Refactor from junit3 to junit4 and add test for this weird case.
2016-07-08 14:23:23 -07:00
Yu Li
09d9dc4b59 HBASE-16201 NPE in RpcServer causing intermittent UT failure of TestMasterReplication#testHFileCyclicReplication 2016-07-09 02:04:54 +08:00
Yu Li
44d2a9bc1c Revert "NPE in RpcServer causing intermittent UT failure of TestMasterReplication#testHFileCyclicReplication"
This reverts commit b6d4fc955fe0fc41f5225f1cc2e3e4b92029251c.
2016-07-09 02:04:01 +08:00
Yu Li
b6d4fc955f NPE in RpcServer causing intermittent UT failure of TestMasterReplication#testHFileCyclicReplication 2016-07-09 01:06:55 +08:00
stack
37040bfc42 HBASE-15775 Canary launches two AuthUtil Chores 2016-07-08 09:36:17 -07:00
Joseph Hwang
0d8e7b2f63 HBASE-15935 Set up a concurrent walker that walks flushed circular linked lists as a Loop Mode
Signed-off-by: Elliott Clark <eclark@apache.org>
2016-07-08 09:13:56 -07:00
Enis Soztutar
ed07a38d59 HBASE-16190 IntegrationTestDDLMasterFailover failed with IllegalArgumentException: n must be positive (Romil Choksi and Heng Chen) 2016-07-07 16:34:13 -07:00
Enis Soztutar
74090faafe HBASE-16182 Increase IntegrationTestRpcClient timeout 2016-07-06 11:28:50 -07:00
stack
2d6cdfb10a HBASE-16180 Fix ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD findbugs introduced by parent 2016-07-06 09:12:00 -07:00
tedyu
368c32e322 HBASE-16157 The incorrect block cache count and size are caused by removing duplicate block key in the LruBlockCache (ChiaPing Tsai) 2016-07-05 13:54:59 -07:00
Elliott Clark
ff8c2fcac0 HBASE-16087 Replication shouldn't start on a master if if only hosts system tables 2016-07-05 13:47:49 -07:00
Elliott Clark
1318e84e14 HBASE-16177 In dev mode thrift server can't be run 2016-07-05 12:15:31 -07:00
Andrew Purtell
8efc6148b9 HBASE-16091 Canary takes lot more time when there are delete markers in the table (Vishal Khandelwal)
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java

Amending-Author: Andrew Purtell <apurtell@apache.org>
2016-07-05 10:34:27 -07:00
Yu Li
84dd9cbcb6 HBASE-16132 Scan does not return all the result when regionserver is busy (binlijin) 2016-07-04 21:46:19 +08:00
zhangduo
4807836304 HBASE-16135 addendum format comments 2016-07-04 20:41:06 +08:00
zhangduo
721c5b7128 HBASE-16135 PeerClusterZnode under rs of removed peer may never be deleted 2016-07-04 19:52:28 +08:00
Jerry He
24fd547292 HBASE-16149 Log the underlying RPC exception in RpcRetryingCallerImpl 2016-07-01 22:49:51 -07:00
Jerry He
4d7e5992cf Revert "Log the underlying RPC exception in RpcRetryingCallerImpl": missing HBASE-16149 2016-07-01 22:47:51 -07:00
chenheng
f18ac8157b HBASE-15844 We should respect hfile.block.index.cacheonwrite when write intermediate index Block 2016-07-02 09:09:51 +08:00
tedyu
7121bc41e7 HBASE-16159 OutOfMemory exception when using AsyncRpcClient with encryption to read rpc response (Colin Ma) 2016-07-01 14:33:06 -07:00
Jerry He
e40fcee6b5 Log the underlying RPC exception in RpcRetryingCallerImpl 2016-07-01 14:21:08 -07:00
tedyu
2aa8cdc989 HBASE-16125 RegionMover uses hardcoded, Unix-style tmp folder - breaks Windows (Vladimir Rodionov) 2016-07-01 10:03:45 -07:00
tedyu
a345aa8707 HBASE-16108 RowCounter should support multiple key ranges (Konstantin Ryakhovskiy) 2016-07-01 09:32:43 -07:00
tedyu
5bc0655529 HBASE-16114 Get regionLocation of required regions only for MR jobs (Thiruvel Thirumoolan) 2016-07-01 03:14:51 -07:00
tedyu
b2f9f131b2 HBASE-16147 Addendum fixes syntax in admin_test 2016-06-30 16:24:02 -07:00
tedyu
cbc99f6d5a HBASE-16147 Addendum fixes syntax in admin_test 2016-06-30 16:17:43 -07:00
stack
f4d7cd5f58 HBASE-16150 Remove ConcurrentIndex (Hiroshi Ikeda) 2016-06-30 15:04:36 -07:00
Dima Spivak
f280fa21fb HBASE-15729 Remove old JDiff wrapper scripts in dev-support
Signed-off-by: Sean Busbey <busbey@apache.org>

 Conflicts:
	dev-support/jdiffHBasePublicAPI.sh
2016-06-30 15:48:13 -05:00
Dima Spivak
7f56fb2de7 HBASE-16124 Make check_compatibility.sh less verbose when building HBase
Signed-off-by: Sean Busbey <busbey@apache.org>
2016-06-30 15:48:13 -05:00
Dima Spivak
aa361a20ce HBASE-16129 check_compatibility.sh is broken when using Java API Compliance Checker v1.7
* This commit also fixes some stray tabs that got into the script at
  some point.

Signed-off-by: Sean Busbey <busbey@apache.org>
2016-06-30 15:48:13 -05:00
Dima Spivak
854e796ea9 HBASE-16073 update compatibility_checker for jacc dropping comma sep args
Signed-off-by: Sean Busbey <busbey@apache.org>
2016-06-30 15:48:13 -05:00
Nick Dimiduk
13535f4d43 HBASE-15119 Include git SHA in check_compatibility reports 2016-06-30 15:48:13 -05:00
tedyu
4471b1a023 HBASE-16147 Add ruby wrapper for getting compaction state 2016-06-30 12:32:40 -07:00
Jonathan M Hsieh
9aa40424fe HBASE-16140 bump owasp.esapi from 2.1.0 to 2.1.0.1 2016-06-29 08:58:25 -07:00
Jingcheng Du
b93c08d358 HBASE-15976 RegionServerMetricsWrapperRunnable will be failure when disable blockcache. - Addendum 2016-06-29 16:37:23 +08:00
tedyu
96a24aede7 HBASE-16122 PerformanceEvaluation should provide user friendly hint when client threads argument is missing (Konstantin Ryakhovskiy) 2016-06-28 20:28:06 -07:00
Apekshit Sharma
48492ec7fd Revert HBASE-15965 and HBASE-15849.
While it's fine to introduce these format changes in minor version, reverting it from branch-1 after discussion on HBASE-16044.
2016-06-28 17:59:42 -07:00
Jingcheng Du
7a78d871d0 HBASE-15976 RegionServerMetricsWrapperRunnable will be failure when disable blockcache. 2016-06-28 13:52:30 +08:00
tedyu
1a88673f33 HBASE-16052 Improve HBaseFsck Scalability (Ben Lau) 2016-06-27 20:16:34 -07:00
tedyu
34d62ecfae HBASE-14007 Writing to table through MR should fail upfront if table does not exist/is disabled (Thiruvel Thirumoolan) 2016-06-27 14:47:57 -07:00
Ramkrishna
385a6e878f HBASE-16055 TestHFileOutputFormat2 is broken (Ram) 2016-06-27 11:02:03 +05:30
Elliott Clark
f4c1fd1a47 HBASE-16089 Add on FastPath for CoDel 2016-06-25 12:59:18 -07:00
stack
8ef87ce434 Revert "Is this ok... removing synchronizations?"
REVERT MISTAKEN COMMIT

This reverts commit 86242e1f55da7df6a2119389897d11356e6bbc2a.
2016-06-25 10:45:10 +01:00
Matteo Bertozzi
cf65772a34 Revert "HBASE-16092 Procedure v2 - complete child procedure support"
This reverts commit 1c6b02c08c5e3f8610b5896a01a9107178875063.
2016-06-24 14:37:54 -07:00
Matteo Bertozzi
1c6b02c08c HBASE-16092 Procedure v2 - complete child procedure support 2016-06-24 05:05:00 -07:00
Ramkrishna
a02c6da4d3 HBASE-16055 PutSortReducer loses any Visibility/acl attribute set on the
Puts (Ram)
2016-06-24 15:26:51 +05:30
Jingcheng Du
83c0cc109e HBASE-15353 Add metric for number of CallQueueTooBigException's 2016-06-24 14:39:53 +08:00
Gary Helmling
198165ef5b HBASE-16085 Add a metric for failed compactions 2016-06-23 16:04:27 -07:00
Elliott Clark
93d82112f0 HBASE-16093 Fix splits failed before creating daughter regions leave meta inconsistent 2016-06-23 12:21:52 -07:00
Elliott Clark
b6e2bc5ad1 HBASE-15725 make_patch.sh should add the branch name when -b is passed. -- addendum 2016-06-23 11:29:36 -07:00