adoroszlai commented on code in PR #6186:
URL: https://github.com/apache/ozone/pull/6186#discussion_r1482408259
##########
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/pipeline/TestSCMRestart.java:
##########
@@ -60,17 +61,17 @@ public class TestSCMRestart {
*/
@BeforeAll
public static void init() throws Exception {
+ final int numOfNodes = 4;
conf = new OzoneConfiguration();
conf.setTimeDuration(HDDS_PIPELINE_REPORT_INTERVAL, 1000,
TimeUnit.MILLISECONDS);
+ conf.setTimeDuration(HDDS_HEARTBEAT_INTERVAL, 1000, TimeUnit.MILLISECONDS);
+ conf.setTimeDuration(ScmConfigKeys.OZONE_SCM_HEARTBEAT_PROCESS_INTERVAL,
1000, TimeUnit.MILLISECONDS);
conf.setInt(ScmConfigKeys.OZONE_DATANODE_PIPELINE_LIMIT, 1);
- int numOfNodes = 4;
+ // allow only one FACTOR THREE pipeline.
Review Comment:
I think the idea is that each datanode will also have a single-node
pipeline. So with N datanodes a total limit of N + 1 will allow only one
regular, 3-node pipeline.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]