|
@@ -460,7 +460,7 @@ public class DFSUtil {
|
|
|
|
|
|
// Look for configurations of the form <key>[.<nameserviceId>][.<namenodeId>]
|
|
// Look for configurations of the form <key>[.<nameserviceId>][.<namenodeId>]
|
|
// across all of the configured nameservices and namenodes.
|
|
// across all of the configured nameservices and namenodes.
|
|
- Map<String, Map<String, InetSocketAddress>> ret = Maps.newHashMap();
|
|
|
|
|
|
+ Map<String, Map<String, InetSocketAddress>> ret = Maps.newLinkedHashMap();
|
|
for (String nsId : emptyAsSingletonNull(nameserviceIds)) {
|
|
for (String nsId : emptyAsSingletonNull(nameserviceIds)) {
|
|
Map<String, InetSocketAddress> isas =
|
|
Map<String, InetSocketAddress> isas =
|
|
getAddressesForNameserviceId(conf, nsId, defaultAddress, keys);
|
|
getAddressesForNameserviceId(conf, nsId, defaultAddress, keys);
|