Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.20.204.0, 0.20.205.0, 1.1.0
Description
The stopDataNode method will shut down the last node in the list of nodes, if one matching a specific name is not found
This is possibly not what was intended. Better to return false or fail in some other manner if the named node was not located
synchronized boolean stopDataNode(String name) {
int i;
for (i = 0; i < dataNodes.size(); i++) {
DataNode dn = dataNodes.get.datanode;
if (dn.dnRegistration.getName().equals(name))
}
return stopDataNode;
}
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-4278 TestDatanodeDeath failed occasionally
-
- Closed
-