FileSystem Globber does a listStatus(path) and then, if only one element is returned, getFileStatus(path).isDirectory() to see if it is a dir. The way getFileStatus() is wrapped, IOEs are downgraded to null
On S3, if the path has had entries deleted, the listing may include files which are no longer there, so the getFileStatus(path),isDirectory triggers an NPE
While its wrong to glob against S3 when its being inconsistent, we should at least fail gracefully here.
- log all IOEs raised in Globber.getFileStatus @ debug
- catch FNFEs and downgrade to warn
The alternative would be fail fast on FNFE, but that's more traumatic