-
Notifications
You must be signed in to change notification settings - Fork 621
HDDS-2646. Start acceptance tests only if at least one THREE pipeline is available #282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
30effc2
41733fc
758c7d6
bd99167
1300a0a
0312cdf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,6 +22,7 @@ OZONE-SITE.XML_ozone.scm.block.client.address=scm | |
| OZONE-SITE.XML_ozone.metadata.dirs=/data/metadata | ||
| OZONE-SITE.XML_ozone.scm.client.address=scm | ||
| OZONE-SITE.XML_ozone.replication=3 | ||
| OZONE-SITE.XML_hdds.scm.safemode.min.datanode=3 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not very faimilar with docker-compose. Where do we tell docker-compose to start three datanodes with all these configurations?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Unfortunately there is no easy way to define the expected number of the containers in the
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see. Thanks for the explanation. |
||
|
|
||
| OZONE-SITE.XML_hdds.datanode.dir=/data/hdds | ||
| HDFS-SITE.XML_dfs.datanode.address=0.0.0.0:1019 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,6 +25,7 @@ OZONE-SITE.XML_ozone.scm.client.address=scm | |
| OZONE-SITE.XML_ozone.replication=3 | ||
| OZONE-SITE.XML_hdds.datanode.dir=/data/hdds | ||
| OZONE-SITE.XML_hdds.profiler.endpoint.enabled=true | ||
| OZONE-SITE.XML_hdds.scm.safemode.min.datanode=3 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will make it impossible to use these environments with a single datanode without modifying the config locally. I would like to propose an alternative solution:
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, this is the problem what I tried to describe in #238 I am fine with the suggested approach but it makes more complex the definition. What I am thinking is to create a Almost all the tested functionality requires datanode=3, it seems to be enough to have one cluster which can work with one datanode...
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK, I'm fine with the hard-coded values in order to get acceptance tests in a good shape. We can refine it later. Until then, config can be edited locally if needed.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. During an offline conversation I understood your use case: at some cases it can be useful to make the compose folder usable just with one datanode (eg. when ui / recon or shell scripts is tested). I pushed a new commit to experiment with your proposal. |
||
| HDFS-SITE.XML_rpc.metrics.quantile.enable=true | ||
| HDFS-SITE.XML_rpc.metrics.percentiles.intervals=60,300 | ||
| ASYNC_PROFILER_HOME=/opt/profiler | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.