You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "sodonnel (via GitHub)" <gi...@apache.org> on 2023/05/30 10:32:58 UTC

[GitHub] [ozone] sodonnel opened a new pull request, #4797: HDDS-8728. Incorrect expectedNodes passed to InsufficientNodesException

sodonnel opened a new pull request, #4797:
URL: https://github.com/apache/ozone/pull/4797

   ## What changes were proposed in this pull request?
   
   When forming the InsufficientNodesException, we pass missingIndexes.size() as the expected node count. However if there are insufficient nodes, the expected list gets trimmed, so this count is incorrect. We should pass expectedNodes instead, which is the original list length.
   
   ```
   2023-05-30 07:17:30,597 [Under Replicated Processor] ERROR org.apache.hadoop.hdds.scm.container.replication.UnhealthyReplicationProcessor: Error processing Health result of class: class org.apache.hadoop.hdds.scm.container.replication.ContainerHealthResult$UnderReplicatedHealthResult for container ContainerInfo{id=#54, state=CLOSED, pipelineID=PipelineID=d795e5a1-5eb9-4833-9c03-2b1342683b99, stateEnterTime=2023-05-30T06:50:10.331Z, owner=om1}
   org.apache.hadoop.hdds.scm.pipeline.InsufficientDatanodesException: Not enough datanodes, requested: 1, found: 1
           at org.apache.hadoop.hdds.scm.container.replication.ECUnderReplicationHandler.processMissingIndexes(ECUnderReplicationHandler.java:335)
           at org.apache.hadoop.hdds.scm.container.replication.ECUnderReplicationHandler.processAndSendCommands(ECUnderReplicationHandler.java:160)
           at org.apache.hadoop.hdds.scm.container.replication.ReplicationManager.processUnderReplicatedContainer(ReplicationManager.java:776)
           at org.apache.hadoop.hdds.scm.container.replication.UnderReplicatedProcessor.sendDatanodeCommands(UnderReplicatedProcessor.java:58)
           at org.apache.hadoop.hdds.scm.container.replication.UnderReplicatedProcessor.sendDatanodeCommands(UnderReplicatedProcessor.java:27)
           at org.apache.hadoop.hdds.scm.container.replication.UnhealthyReplicationProcessor.processContainer(UnhealthyReplicationProcessor.java:148)
           at org.apache.hadoop.hdds.scm.container.replication.UnhealthyReplicationProcessor.processAll(UnhealthyReplicationProcessor.java:115)
           at org.apache.hadoop.hdds.scm.container.replication.UnhealthyReplicationProcessor.run(UnhealthyReplicationProcessor.java:157)
           at java.base/java.lang.Thread.run(Thread.java:834)
   ```
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-8728
   
   ## How was this patch tested?
   
   Simple log message change


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


[GitHub] [ozone] adoroszlai merged pull request #4797: HDDS-8728. Incorrect expectedNodes passed to InsufficientNodesException

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #4797:
URL: https://github.com/apache/ozone/pull/4797


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org