nns = new int[]{0, 1, 2, 3};
compareAddress(cluster, dn, nns);
nns = new int[]{0, 1};
Configuration conf1 = new Configuration(conf);
setupAddress(conf1, new int[]{0, 1});
dn.refreshNamenodes(conf1);
waitDataNodeInitialized(dn);
compareAddress(cluster, dn, nns);
nns = new int[]{0,2,3};
Configuration conf2 = new Configuration(conf);