apache/hadoop-common — pull request #13 by nishkamravi2 (2014-04-03 05:11:18+00:00)
Title: Thread synchronization issue. Leads to ConcurrentModification Exception....

... Exposed by Spark.

The fix is to move HashSet initialization to the synchronized block right above it.