[
https://issues.apache.org/jira/browse/HBASE-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907303#action_12907303
]
HBase Review Board commented on HBASE-2964:
-------------------------------------------
Message from: [email protected]
bq. On 2010-09-07 18:33:16, Todd Lipcon wrote:
bq. >
src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java, line
207
bq. > <http://review.cloudera.org/r/798/diff/2/?file=11132#file11132line207>
bq. >
bq. > maybe now we can do an:
bq. >
bq. > assert !this.parent.lock.writeLock().isHeldByCurrentThread() :
"Unsafe to hold write lock while performing RPCs";
I'll add in this assert
- stack
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://review.cloudera.org/r/798/#review1122
-----------------------------------------------------------
> Deadlock when RS tries to RPC to itself inside SplitTransaction
> ---------------------------------------------------------------
>
> Key: HBASE-2964
> URL: https://issues.apache.org/jira/browse/HBASE-2964
> Project: HBase
> Issue Type: Bug
> Components: ipc, regionserver
> Affects Versions: 0.90.0
> Reporter: Todd Lipcon
> Priority: Blocker
> Attachments: hbase-2964.txt
>
>
> In testing the 0.89.20100830 rc, I ran into a deadlock with the following
> situation:
> - All of the IPC Handler threads are blocked on the region lock, which is
> held by CompactSplitThread.
> - CompactSplitThread is in the process of trying to edit META to create the
> offline parent. META happens to be on the same server as is executing the
> split.
> Therefore, the CompactSplitThread is trying to connect back to itself, but
> all of the handler threads are blocked, so the IPC never happens. Thus, the
> entire RS gets deadlocked.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.