I have two hadoop jobs which makes a Path and tries to get the FileSystem
using. 
 
    Path destFile = new Path("AAA");
    FileSystem fs = destFile.getFileSystem(new Configuration());

I am seeing this exception .. I am using hadoop-0.20.0.

java.util.ConcurrentModificationException
        at 
java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
        at java.util.AbstractList$Itr.next(AbstractList.java:343)
        at
org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1028)
        at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:979)
        at org.apache.hadoop.conf.Configuration.get(Configuration.java:435)
        at org.apache.hadoop.fs.FileSystem.getDefaultUri(FileSystem.java:103)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:180)
        at org.apache.hadoop.fs.Path.getFileSystem(Path.java:175)

Have folks seen these exceptions before ??


-- 
View this message in context: 
http://www.nabble.com/Thread-safety-issue-in-Path.getFileSystem%28%29-tp24155434p24155434.html
Sent from the Hadoop lucene-dev mailing list archive at Nabble.com.

Reply via email to