YARN-2912 Jersey Tests failing with port in use. (varun saxena via stevel)
HDFS-7517. Remove redundant non-null checks in FSNamesystem#getBlockLocations. Contributed by Haohui Mai.