hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: FileSystem closed
Date Fri, 30 Sep 2011 09:43:55 GMT
On 29/09/2011 18:02, Joey Echeverria wrote:
> Do you close your FileSystem instances at all? IIRC, the FileSystem
> instance you use is a singleton and if you close it once, it's closed
> for everybody. My guess is you close it in your cleanup method and you
> have JVM reuse turned on.

I've hit this in the past. In 0.21+ you can ask for a new instance 

For 0.20.20x, set "fs.hdfs.impl.disable.cache" to true in the conf, and 
new instances don't get cached.

View raw message