bharatviswa504 edited a comment on pull request #2294:
URL: https://github.com/apache/ozone/pull/2294#issuecomment-854422133


   Tested this on cluster 
   with the scenario, close pipeline, scrubber removed and created new 
pipeline. Restarted SCM. (As SCM will have in its DB the old pipeline which is 
closed/removed before fix SCM would never come out of safe mode, as it reads 
old pipeline info in DB during rule setup)
   
   And once after leader ready, rules refreshed and data nodes registered, 
rules are successfully validated. (Unlike before after remove pipeline, 
pipeline rules are not successfully validated)
   
   ```
   2021-06-04 07:05:28,646 INFO 
org.apache.hadoop.hdds.scm.safemode.HealthyPipelineSafeModeRule: Refreshed 
total pipeline count is 1, healthy pipeline threshold count is 1
   2021-06-04 07:05:28,646 INFO 
org.apache.hadoop.hdds.scm.safemode.OneReplicaPipelineSafeModeRule: Refreshed 
Total pipeline count is 1, pipeline's with at least one datanode reported 
threshold count is 1
   ```
   ```
   021-06-04 07:05:29,184 INFO org.apache.hadoop.hdds.scm.node.SCMNodeManager: 
Registered Data node : 9642160f-49ab-4400-a66c-e7f4210f4ca0{ip: xx, host: 
bv-unsec-2.bv-unsec.root.hwx.site, ports: [REPLICATION=9886, RATIS=9858, 
RATIS_ADMIN=9857, RATIS_SERVER=9856, STANDALONE=9859], networkLocation: 
/default, certSerialId: null, persistedOpState: IN_SERVICE, 
persistedOpStateExpiryEpochSec: 0}
   2021-06-04 07:05:30,038 INFO org.apache.hadoop.hdds.scm.node.SCMNodeManager: 
Registered Data node : b44ed911-3a93-4b83-9e81-88fe47369a84{ip: xx, host: 
bv-unsec-3.bv-unsec.root.hwx.site, ports: [REPLICATION=9886, RATIS=9858, 
RATIS_ADMIN=9857, RATIS_SERVER=9856, STANDALONE=9859], networkLocation: 
/default, certSerialId: null, persistedOpState: IN_SERVICE, 
persistedOpStateExpiryEpochSec: 0}
   2021-06-04 07:05:30,098 INFO org.apache.hadoop.hdds.scm.node.SCMNodeManager: 
Registered Data node : 37d28fa1-41db-4f44-963e-45675b822884{ip: xx, host: 
bv-unsec-1.bv-unsec.root.hwx.site, ports: [REPLICATION=9886, RATIS=9858, 
RATIS_ADMIN=9857, RATIS_SERVER=9856, STANDALONE=9859], networkLocation: 
/default, certSerialId: null, persistedOpState: IN_SERVICE, 
persistedOpStateExpiryEpochSec: 0}
   
   ```
   
   ```
   2021-06-04 07:05:30,098 INFO 
org.apache.hadoop.hdds.scm.safemode.SCMSafeModeManager: SCM in safe mode. 
Healthy pipelines reported count is 0, required healthy pipeline reported count 
is 1
   2021-06-04 07:05:31,146 INFO 
org.apache.hadoop.hdds.scm.safemode.SCMSafeModeManager: SCM in safe mode. 
Healthy pipelines reported count is 0, required healthy pipeline reported count 
is 1
   2021-06-04 07:05:32,009 INFO 
org.apache.hadoop.hdds.scm.safemode.SCMSafeModeManager: SCM in safe mode. 
Healthy pipelines reported count is 0, required healthy pipeline reported count 
is 1
   2021-06-04 07:05:32,059 INFO 
org.apache.hadoop.hdds.scm.safemode.SCMSafeModeManager: SCM in safe mode. 
Healthy pipelines reported count is 0, required healthy pipeline reported count 
is 1
   2021-06-04 07:05:33,841 INFO 
org.apache.hadoop.hdds.scm.safemode.SCMSafeModeManager: SCM in safe mode. 
Healthy pipelines reported count is 0, required healthy pipeline reported count 
is 1
   2021-06-04 07:05:33,888 INFO 
org.apache.hadoop.hdds.scm.safemode.SCMSafeModeManager: SCM in safe mode. 
Healthy pipelines reported count is 0, required healthy pipeline reported count 
is 1
   2021-06-04 07:05:33,921 INFO 
org.apache.hadoop.hdds.scm.safemode.SCMSafeModeManager: SCM in safe mode. 
Healthy pipelines reported count is 0, required healthy pipeline reported count 
is 1
   2021-06-04 07:05:39,331 INFO 
org.apache.hadoop.hdds.scm.safemode.SCMSafeModeManager: SCM in safe mode. 
Healthy pipelines reported count is 0, required healthy pipeline reported count 
is 1
   2021-06-04 07:05:39,332 INFO 
org.apache.hadoop.hdds.scm.safemode.SCMSafeModeManager: SCM in safe mode. 
Healthy pipelines reported count is 1, required healthy pipeline reported count 
is 1
   2021-06-04 07:05:39,332 INFO 
org.apache.hadoop.hdds.scm.safemode.SCMSafeModeManager: 
HealthyPipelineSafeModeRule rule is successfully validated
   2021-06-04 07:05:39,332 INFO 
org.apache.hadoop.hdds.scm.safemode.SCMSafeModeManager: ScmSafeModeManager, all 
rules are successfully validated
   2021-06-04 07:05:39,332 INFO 
org.apache.hadoop.hdds.scm.safemode.SCMSafeModeManager: SCM exiting safe mode.
   ```


-- 
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to