You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2010/03/22 07:44:27 UTC
[jira] Updated: (HBASE-2355) unsychronized logWriters map is
mutated from several threads in HLog splitting
[ https://issues.apache.org/jira/browse/HBASE-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated HBASE-2355:
-------------------------------
Attachment: hbase-2355.txt
Trivial patch.
This seems to fix the issue in my testing - I'm now able to kill region servers and not lose edits (with patched hdfs), whereas I was running into the splitting error maybe 2/3 of the time before.
> unsychronized logWriters map is mutated from several threads in HLog splitting
> ------------------------------------------------------------------------------
>
> Key: HBASE-2355
> URL: https://issues.apache.org/jira/browse/HBASE-2355
> Project: Hadoop HBase
> Issue Type: Bug
> Components: master
> Affects Versions: 0.20.3
> Reporter: Todd Lipcon
> Priority: Critical
> Attachments: hbase-2355.txt
>
>
> In splitLog, the logWriters map is an unsynchronized collection, and the spawned threads mutate it. In practice I've now seen several times a situation where one of the puts into this map is lost, and a thread ends up renaming a file it's in the process of writing to, causing those edits to be lost when the log is split.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.