mongodb/mongo-hadoop — pull request #83 by bpfoster (2013-10-08 17:53:51+00:00)
Title: Fail fast in MongoSplitterFactory if retrieving collection stats failed.

When checking the stats on the collection, ensure that the stats call was successful before attempting to use its return values.
For example if auth failed on a sharded collection, it would have returned a StandaloneMongoSplitter which doesn't make it immediately obvious what went wrong.