[ https://issues.apache.org/jira/browse/HDDS-1411?focusedWorklogId=229973&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-229973 ]
ASF GitHub Bot logged work on HDDS-1411: ---------------------------------------- Author: ASF GitHub Bot Created on: 19/Apr/19 01:19 Start Date: 19/Apr/19 01:19 Worklog Time Spent: 10m Work Description: swagle commented on pull request #755: HDDS-1411. Add unit test to check if SCM correctly sends close commands for containers in closing state after a restart. URL: https://github.com/apache/hadoop/pull/755 cc: @nandakumar131 I was able to get this work as expected by stopping the HB processing then closing the container, restarting SCM and making sure the close event is fired. Some ugly reflection had to be used since in general, we do not use test friendly things like dependency injection etc. :) ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 229973) Time Spent: 10m Remaining Estimate: 0h > Add unit test to check if SCM correctly sends close commands for containers > in closing state after a restart > ------------------------------------------------------------------------------------------------------------ > > Key: HDDS-1411 > URL: https://issues.apache.org/jira/browse/HDDS-1411 > Project: Hadoop Distributed Data Store > Issue Type: Test > Components: test > Reporter: Nanda kumar > Assignee: Siddharth Wagle > Priority: Major > Labels: newbie, pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > When the container is in CLOSING state, SCM keeps sending close command to > the datanode until the container is either moved to QUASI_CLOSED or CLOSED > state. The frequency in which the close command is sent by SCM depends on the > property {{hdds.scm.replication.thread.interval}}. > We have to add a test case to verify whether SCM is sending close commands > for containers in the closing state even after a restart. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org