|
@@ -6972,7 +6972,7 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean,
|
|
|
final Map<String, Map<String,Object>> info =
|
|
|
new HashMap<String, Map<String,Object>>();
|
|
|
final List<DatanodeDescriptor> live = new ArrayList<DatanodeDescriptor>();
|
|
|
- blockManager.getDatanodeManager().fetchDatanodes(live, null, true);
|
|
|
+ blockManager.getDatanodeManager().fetchDatanodes(live, null, false);
|
|
|
for (DatanodeDescriptor node : live) {
|
|
|
ImmutableMap.Builder<String, Object> innerinfo =
|
|
|
ImmutableMap.<String,Object>builder();
|
|
@@ -7017,7 +7017,7 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean,
|
|
|
final Map<String, Map<String, Object>> info =
|
|
|
new HashMap<String, Map<String, Object>>();
|
|
|
final List<DatanodeDescriptor> dead = new ArrayList<DatanodeDescriptor>();
|
|
|
- blockManager.getDatanodeManager().fetchDatanodes(null, dead, true);
|
|
|
+ blockManager.getDatanodeManager().fetchDatanodes(null, dead, false);
|
|
|
for (DatanodeDescriptor node : dead) {
|
|
|
Map<String, Object> innerinfo = ImmutableMap.<String, Object>builder()
|
|
|
.put("lastContact", getLastContact(node))
|