hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ryan rawson (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-3059) TestReadWriteConsistencyControl occasionally hangs
Date Wed, 06 Oct 2010 01:46:31 GMT

     [ https://issues.apache.org/jira/browse/HBASE-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

ryan rawson updated HBASE-3059:
-------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

committed, thanks for that.

Strange that we did not notice it sooner...

> TestReadWriteConsistencyControl occasionally hangs
> --------------------------------------------------
>
>                 Key: HBASE-3059
>                 URL: https://issues.apache.org/jira/browse/HBASE-3059
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.90.0
>
>         Attachments: hbase_trunk_consistency.patch
>
>
> The test hung when I ran mvn test today. The jstack shows that a Writer thread hung at
> "Thread-1" prio=10 tid=0x00002aaad81d2800 nid=0x6ce9 in Object.wait() [0x0000000040f37000]
>    java.lang.Thread.State: WAITING (on object monitor)  at java.lang.Object.wait(Native
Method)
>   at org.apache.hadoop.hbase.regionserver.ReadWriteConsistencyControl.completeMemstoreInsert(ReadWriteConsistencyControl.java:130)
>   -- locked <0x00002aaac9fa0f50> (a java.lang.Object)                
>   at org.apache.hadoop.hbase.regionserver.TestReadWriteConsistencyControl$Writer.run(TestReadWriteConsistencyControl.java:56)
 at java.lang.Thread.run(Thread.java:619)
> It seems to be caused by a race condition in ReadWriteConsistencyControl#completeMemStoreInsert.
Accesses/updates of the value of memStoreRead should be done while holding the readWaiters
lock.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message