[
https://issues.apache.org/jira/browse/FLUME-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14131996#comment-14131996
]
Hudson commented on FLUME-2420:
-------------------------------
UNSTABLE: Integrated in flume-trunk #655 (See
[https://builds.apache.org/job/flume-trunk/655/])
FLUME-2420. HDFS Bucketwriter must access sfWriters map only within
synchronized blocks. (hshreedharan:
http://git-wip-us.apache.org/repos/asf/flume/repo?p=flume.git&a=commit&h=4e08bf7d38bea365d35a6d391d1507a129cc9ba9)
*
flume-ng-sinks/flume-hdfs-sink/src/main/java/org/apache/flume/sink/hdfs/HDFSEventSink.java
> HDFSEventSink#stop might throw ConcurrentModificationException
> --------------------------------------------------------------
>
> Key: FLUME-2420
> URL: https://issues.apache.org/jira/browse/FLUME-2420
> Project: Flume
> Issue Type: Bug
> Components: Sinks+Sources
> Affects Versions: v1.5.0
> Reporter: chenshangan
> Assignee: chenshangan
> Attachments: FLUME-2420.patch
>
>
> There's a chance that bucketWriter callback and HDFSEventSink#stop operate on
> sfWriter together. So synchronized should apply before operation on sfWriter.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)