FAQ
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.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedJun 22, '09 at 9:05p
activeJun 22, '09 at 9:05p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Bhupesh bansal: 1 post

People

Translate

site design / logo © 2022 Grokbase