You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FileWriterBase's constructor is called from TextFileWriter constructor or SequenceFileWriter constructor. Configuration conf is created by new Configuration() which should denote its file system as the local one by default. If this is still pointing to HDFS file system, that's what I have missed.
Suro does not need to run with remote file system directly without any reason. So, instead of localFileSystem boolean flag, you can feel free to send PR with the fix FileSystem.getLocal(conf).
with hadoop's configuration file in classpath, even the nested localFileSink will using hadoop's remote file system.
when deep into the code ,i found there has no judge on whether to use localFileSystem or not.
the FileWriterBase's constructor should be changed by adding a
localFileSystem
flag to control this.i'll give a pull request for this ASAP.
The text was updated successfully, but these errors were encountered: