[jira] [Updated] (HBASE-5623) Race condition when rolling the HLog and hlogFlush

2012-03-26 Thread Lars Hofhansl (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl updated HBASE-5623: - Resolution: Fixed Status: Resolved (was: Patch Available) Committed to 0.94 and 0.96.

[jira] [Updated] (HBASE-5623) Race condition when rolling the HLog and hlogFlush

2012-03-23 Thread Lars Hofhansl (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl updated HBASE-5623: - Attachment: 5623-v8.txt Slightly simpler even. Last patch today... Promised. > R

[jira] [Updated] (HBASE-5623) Race condition when rolling the HLog and hlogFlush

2012-03-23 Thread Lars Hofhansl (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl updated HBASE-5623: - Attachment: 5623-v7.txt Here's what I believe is a cleaner patch. Includes Enis' test and volatil

[jira] [Updated] (HBASE-5623) Race condition when rolling the HLog and hlogFlush

2012-03-23 Thread Zhihong Yu (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhihong Yu updated HBASE-5623: -- Attachment: HBASE-5623_v6-alt.patch Re-attaching Enis' patch for Hadoop QA > Race cond

[jira] [Updated] (HBASE-5623) Race condition when rolling the HLog and hlogFlush

2012-03-23 Thread Enis Soztutar (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enis Soztutar updated HBASE-5623: - Attachment: HBASE-5623_v6-alt.patch Thanks Lars for the patch. I retried again based on your comm

[jira] [Updated] (HBASE-5623) Race condition when rolling the HLog and hlogFlush

2012-03-23 Thread Lars Hofhansl (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl updated HBASE-5623: - Attachment: 5623-suggestion.txt This one works for me. The observation is that only with the upda

[jira] [Updated] (HBASE-5623) Race condition when rolling the HLog and hlogFlush

2012-03-23 Thread Enis Soztutar (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enis Soztutar updated HBASE-5623: - Attachment: HBASE-5623_v5.patch @Ted, Forgot to git add. Also applied your suggestion.

[jira] [Updated] (HBASE-5623) Race condition when rolling the HLog and hlogFlush

2012-03-23 Thread Zhihong Yu (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhihong Yu updated HBASE-5623: -- Comment: was deleted (was: For patch v4: {code} +if (this.writerRef.get() != null) { +

[jira] [Updated] (HBASE-5623) Race condition when rolling the HLog and hlogFlush

2012-03-23 Thread Enis Soztutar (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enis Soztutar updated HBASE-5623: - Attachment: HBASE-5623_v4.patch While running the unit test, I also noticed that in some cases, t

[jira] [Updated] (HBASE-5623) Race condition when rolling the HLog and hlogFlush

2012-03-23 Thread Lars Hofhansl (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl updated HBASE-5623: - Attachment: 5623.txt How about this? Could possibly generally synchronize in hLogFlush, since we'

[jira] [Updated] (HBASE-5623) Race condition when rolling the HLog and hlogFlush

2012-03-23 Thread Lars Hofhansl (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl updated HBASE-5623: - Fix Version/s: 0.94.0 I think this needs to be in 0.94.0. > Race condition when

[jira] [Updated] (HBASE-5623) Race condition when rolling the HLog and hlogFlush

2012-03-22 Thread stack (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-5623: - Attachment: 5623v2.txt This patch is Enis's patch plus a test. It doesn't seem to fix the issue (it makes it a

[jira] [Updated] (HBASE-5623) Race condition when rolling the HLog and hlogFlush

2012-03-22 Thread stack (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-5623: - Priority: Critical (was: Major) > Race condition when rolling the HLog and hlogFlush > -

[jira] [Updated] (HBASE-5623) Race condition when rolling the HLog and hlogFlush

2012-03-22 Thread Zhihong Yu (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhihong Yu updated HBASE-5623: -- Hadoop Flags: Reviewed Status: Patch Available (was: Open) Patch makes sense.

[jira] [Updated] (HBASE-5623) Race condition when rolling the HLog and hlogFlush

2012-03-22 Thread Enis Soztutar (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/HBASE-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enis Soztutar updated HBASE-5623: - Attachment: HBASE-5623_v0.patch Attaching a simple patch, which seems to solve the problem. This