HDFS-13667:Typo: Marking all datandoes as stale. Contributed by Nanda Kumar
(cherry picked from commit ccfb816d39
)
This commit is contained in:
parent
33b6a68c81
commit
c0d46a84a6
|
@ -1834,7 +1834,7 @@ public class DatanodeManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void markAllDatanodesStale() {
|
public void markAllDatanodesStale() {
|
||||||
LOG.info("Marking all datandoes as stale");
|
LOG.info("Marking all datanodes as stale");
|
||||||
synchronized (this) {
|
synchronized (this) {
|
||||||
for (DatanodeDescriptor dn : datanodeMap.values()) {
|
for (DatanodeDescriptor dn : datanodeMap.values()) {
|
||||||
for(DatanodeStorageInfo storage : dn.getStorageInfos()) {
|
for(DatanodeStorageInfo storage : dn.getStorageInfos()) {
|
||||||
|
|
Loading…
Reference in New Issue