Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
In FileSystemInputPartition, we check whether the copy to local succeeded by checking whether the file exists locally:
_fileSystem.CopyToLocal(sourceUri, localFilePath); if (File.Exists(localFilePath)) { Logger.Log(Level.Info, string.Format (CultureInfo.CurrentCulture, "File {0} is Copied to local {1}.", sourceUri, localFilePath)); } else { string msg = string.Format (CultureInfo.CurrentCulture, "File {0} is NOT Copied to local {1}.", sourceUri, localFilePath); Exceptions.Throw(new FileLoadException(), msg, Logger); }
However, the FileLoadException doesn't contain any useful error message. We should fix that.
Attachments
Issue Links
- links to