[
https://issues.apache.org/jira/browse/HBASE-2355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848399#action_12848399
]
Kannan Muthukkaruppan commented on HBASE-2355:
----------------------------------------------
Nice catch Todd!
> 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
> Assignee: Todd Lipcon
> Priority: Critical
> Fix For: 0.20.4, 0.21.0
>
> 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.