You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2019/11/22 10:44:12 UTC

[GitHub] [hadoop-ozone] chimney-lee commented on issue #214: HDDS-2534.scmcli container delete not working

chimney-lee commented on issue #214: HDDS-2534.scmcli container delete not working
URL: https://github.com/apache/hadoop-ozone/pull/214#issuecomment-557484083
 
 
   @xiaoyuyao thanks for comment, should we remove the container in NodeStateMap with NodeStateMap#removeContainer while do SCMClientProtocolServer#deleteContainer. For that,  After deal with ContainerNotFoundException in ContainerReportHandler#processContainerReplicas by sending datanode container delete command via heatbeat,  then scm handling the first heartbeat from datanode, the  NodeStateMap still contains the containerid. this cause the ContainerNotFoundException in ContainerReportHandler#processMissingReplicas, but after the handle of this heartbeat, the NodeStateMap will be updated.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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