ashutoshcipher commented on code in PR #4626:
URL: https://github.com/apache/hadoop/pull/4626#discussion_r928963626
##########
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/DatanodeAdminDefaultMonitor.java:
##########
@@ -265,6 +266,7 @@ private void check() {
// to track maintenance expiration.
dnAdmin.setInMaintenance(dn);
} else {
+ inValidState = true;
Preconditions.checkState(false,
Review Comment:
>"Node %s is in an invalid state! " + "Invalid state: %s %s blocks are on
this dn."
I am not sure if there is really an indentation issue here. I have not added
this change here. To correct existing indentations, a separate JIRA can be
created to track and correct this on module level if required.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]