[ 
https://issues.apache.org/jira/browse/HDDS-3038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17043972#comment-17043972
 ] 

Siddharth Wagle commented on HDDS-3038:
---------------------------------------

Hi [~adoroszlai]. This regression is caused by recent feature merge of 
multi-raft, the HealthyPipelineSafeModeRule no longer waits for pipeline leader 
to become available, verified in the isHealthy() method or checking the report 
has leader info. cc:[~timmylicheng]/[~sammichen]

I am making a fix to retain what has been changed, whether to wait for leader 
or not was always debatable but now that we have multi-raft maybe it is not 
entirely necessary to wait on it. 
 

> TestRatisPipelineLeader failure
> -------------------------------
>
>                 Key: HDDS-3038
>                 URL: https://issues.apache.org/jira/browse/HDDS-3038
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: test
>            Reporter: Attila Doroszlai
>            Assignee: Siddharth Wagle
>            Priority: Major
>
> {code:title=https://github.com/apache/hadoop-ozone/runs/456217344}
> [ERROR] Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 
> 29.823 s <<< FAILURE! - in org.apache.hadoop.hdds.scm.TestRatisPipelineLeader
> [ERROR] 
> testLeaderIdAfterLeaderChange(org.apache.hadoop.hdds.scm.TestRatisPipelineLeader)
>   Time elapsed: 5.367 s  <<< FAILURE!
> java.lang.AssertionError
>   ...
>   at 
> org.apache.hadoop.hdds.scm.TestRatisPipelineLeader.verifyLeaderInfo(TestRatisPipelineLeader.java:125)
>   at 
> org.apache.hadoop.hdds.scm.TestRatisPipelineLeader.testLeaderIdAfterLeaderChange(TestRatisPipelineLeader.java:106)
> [ERROR] 
> testLeaderIdUsedOnFirstCall(org.apache.hadoop.hdds.scm.TestRatisPipelineLeader)
>   Time elapsed: 0.008 s  <<< FAILURE!
> java.lang.AssertionError
>   ...
>   at 
> org.apache.hadoop.hdds.scm.TestRatisPipelineLeader.verifyLeaderInfo(TestRatisPipelineLeader.java:125)
>   at 
> org.apache.hadoop.hdds.scm.TestRatisPipelineLeader.testLeaderIdUsedOnFirstCall(TestRatisPipelineLeader.java:76)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to