As @octo47 discovered after applying my Hadoop upgrade patch (Issue-94), we get ArrayIndexOutOfBoundsException when calling getLocatedFileStatus on empty file. This is especially a problem after doing the upgrade since create() now returns a LocatedFileStatus object, meaning every create call will throw this Exception. I created a new issue instead of incorporating the fix into upgrade because this is a separate bug.
As @octo47 discovered after applying my Hadoop upgrade patch (Issue-94), we get ArrayIndexOutOfBoundsException when calling getLocatedFileStatus on empty file. This is especially a problem after doing the upgrade since create() now returns a LocatedFileStatus object, meaning every create call will throw this Exception. I created a new issue instead of incorporating the fix into upgrade because this is a separate bug.