|
|
-
Re: FileSystem.getFileChecksum() returns null on LocalFileSystemEli Collins 2012-11-14, 18:02
It's not implemented for local file system (RawLocalFileSystem), see the
javadoc from FileSystem: * @return The file checksum. The default return value is null, * which indicates that no checksum algorithm is implemented * in the corresponding FileSystem. Given that LocalFileSystem extends ChecksumFileSystem it would be reasonable for it to implement it. Feel free to file a jira for that if you need it. Thanks, Eli On Wed, Nov 14, 2012 at 8:08 AM, Hans Uhlig <[EMAIL PROTECTED]> wrote: > This seems to return null always, despite the fact that it should return a > checksum for the file. Has this been disabled since the doc was written? > |