FLUME-2302. TestHDFS Sink fails with Can't get Kerberos realm'

(Hari Shreedharan via Jarek Jarcec Cecho)
FLUME-2304. DatasetSink test fails unexpectedly.

(Ryan Blue via Hari Shreedharan)
Merge remote-tracking branch 'remotes/origin/trunk' into trunk