We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55514e2 commit e4bee20Copy full SHA for e4bee20
streaming/src/main/scala/org/apache/spark/streaming/util/HdfsUtils.scala
@@ -60,7 +60,7 @@ private[streaming] object HdfsUtils {
60
blockLocs.map(_.flatMap(_.getHosts))
61
}
62
63
- def getFileSystemForPath(path: Path, conf: Configuration): FileSystem = synchronized {
+ def getFileSystemForPath(path: Path, conf: Configuration): FileSystem = {
64
// For local file systems, return the raw loca file system, such calls to flush()
65
// actually flushes the stream.
66
val fs = path.getFileSystem(conf)
0 commit comments