HDFS-13667:Typo: Marking all datandoes as stale. Contributed by Nanda Kumar
(cherry picked from commit ccfb816d39878abf4172933327d788c59b9eb082)
This commit is contained in:
parent
ea05171ceb
commit
7c144e4ae4
@ -1832,7 +1832,7 @@ public void setBalancerBandwidth(long bandwidth) throws IOException {
|
|||||||
}
|
}
|
||||||
|
|
||||||
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…
x
Reference in New Issue
Block a user