HDFS-11494. Log message when DN is not selected for block replication. Contributed by Yiqun Lin
This commit is contained in:
parent
6b7cd62b8c
commit
0f336bab9c
@ -687,6 +687,10 @@ public DatanodeStorageInfo chooseStorage4Block(StorageType t,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (requiredSize > remaining - scheduledSize) {
|
if (requiredSize > remaining - scheduledSize) {
|
||||||
|
LOG.debug(
|
||||||
|
"The node {} does not have enough {} space (required={},"
|
||||||
|
+ " scheduled={}, remaining={}).",
|
||||||
|
this, t, requiredSize, scheduledSize, remaining);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return storage;
|
return storage;
|
||||||
|
Loading…
Reference in New Issue
Block a user