[
https://issues.apache.org/jira/browse/HBASE-14575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14983101#comment-14983101
]
Ted Yu commented on HBASE-14575:
--------------------------------
Without the lock scope reduction, the test fails with:
{code}
testAtomicBulkLoad(org.apache.hadoop.hbase.regionserver.TestHRegionServerBulkLoad)
Time elapsed: 698.467 sec <<< ERROR!
java.lang.RuntimeException: Deferred
at
org.apache.hadoop.hbase.regionserver.TestHRegionServerBulkLoad.runAtomicBulkloadTest(TestHRegionServerBulkLoad.java:357)
at
org.apache.hadoop.hbase.regionserver.TestHRegionServerBulkLoad.testAtomicBulkLoad(TestHRegionServerBulkLoad.java:332)
Caused by: org.apache.hadoop.hbase.client.RetriesExhaustedException:
Failed after attempts=36, exceptions:
Fri Oct 30 11:57:06 PDT 2015, null, java.net.SocketTimeoutException:
callTimeout=60000, callDuration=77951: row '' on table 'atomicBulkLoad' at
region=atomicBulkLoad,,1446231338683.0235425b9d8c662d4839bf99e57d0072.,
hostname=10.22.24.71,53802,1446231335391, seqNum=2
Caused by: java.net.SocketTimeoutException: callTimeout=60000,
callDuration=77951: row '' on table 'atomicBulkLoad' at
region=atomicBulkLoad,,1446231338683.0235425b9d8c662d4839bf99e57d0072.,
hostname=10.22.24.71,53802,1446231335391, seqNum=2
Caused by: org.apache.hadoop.hbase.ipc.CallTimeoutException: callId=6837,
method=Scan, rpcTimeout=10000, param {region { type: REGION_NAME value:
"atomicBulkLoad,,1446231338683.0235425b9d8c662d4839bf99e57d0072." } scan {
column { family: "family_0000" } column { family: "family_0001" } column {
family: "family_0002" } column { family: "family_0003" } column { family:
"family_0004" } column { family: "family_0005" } column { family: "family_0006"
} column { family: "family_0007" } column { family: "family_0008" } column {
family: "family_0009" } max_versions: 1 cache_blocks: true max_result_size:
2097152 caching: 2147483647 } number_of_rows: 0 close_scanner: false
client_handles_partials: true client_handles_heartbeats: true
track_scan_metrics: false}
{code}
> Reduce scope of compactions holding region lock
> -----------------------------------------------
>
> Key: HBASE-14575
> URL: https://issues.apache.org/jira/browse/HBASE-14575
> Project: HBase
> Issue Type: Sub-task
> Components: Compaction, regionserver
> Reporter: Nick Dimiduk
> Assignee: Nick Dimiduk
> Attachments: 14575-v1.patch, 14575-v2.patch, 14575-v3.patch,
> 14575.v00.patch
>
>
> Per [~devaraj]'s idea on parent issue, let's see if we can reduce the scope
> of critical section under which compactions hold the region read lock.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)