You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "wernerdv (via GitHub)" <gi...@apache.org> on 2026/08/31 19:22:28 UTC
[PR] IGNITE-29026 Add the ability to customize IgniteContainer configs [ignite]
wernerdv opened a new pull request, #13540:
URL: https://github.com/apache/ignite/pull/13540
Thank you for submitting the pull request to the Apache Ignite.
In order to streamline the review of the contribution
we ask you to ensure the following steps have been taken:
### The Contribution Checklist
- [ ] There is a single JIRA ticket related to the pull request.
- [ ] The web-link to the pull request is attached to the JIRA ticket.
- [ ] The JIRA ticket has the _Patch Available_ state.
- [ ] The pull request body describes changes that have been made.
The description explains _WHAT_ and _WHY_ was made instead of _HOW_.
- [ ] The pull request title is treated as the final commit message.
The following pattern must be used: `IGNITE-XXXX Change summary` where `XXXX` - number of JIRA issue.
- [ ] A reviewer has been mentioned through the JIRA comments
(see [the Maintainers list](https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute#HowtoContribute-ReviewProcessandMaintainers))
- [ ] The pull request has been checked by the Teamcity Bot and
the `green visa` attached to the JIRA ticket (see tab `PR Check` at [TC.Bot - Instance 1](https://tcbot2.sbt-ignite-dev.ru/prs.html) or [TC.Bot - Instance 2](https://mtcga.gridgain.com/prs.html))
### Notes
- [How to Contribute](https://cwiki.apache.org/confluence/display/IGNITE/How+to+Contribute)
- [Coding abbreviation rules](https://cwiki.apache.org/confluence/display/IGNITE/Abbreviation+Rules)
- [Coding Guidelines](https://cwiki.apache.org/confluence/display/IGNITE/Coding+Guidelines)
- [Apache Ignite Teamcity Bot](https://cwiki.apache.org/confluence/display/IGNITE/Apache+Ignite+Teamcity+Bot)
If you need any help, please email dev@ignite.apache.org or ask anу advice on http://asf.slack.com _#ignite_ channel.
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-29026 Introduce extension points in compatibility testcontainers [ignite]
Posted by "wernerdv (via GitHub)" <gi...@apache.org>.
wernerdv commented on code in PR #13540:
URL: https://github.com/apache/ignite/pull/13540#discussion_r4025312136
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteClusterContainer.java:
##########
@@ -30,24 +31,66 @@ public class IgniteClusterContainer implements Startable {
private final List<IgniteContainer> containers;
/** Network. */
- private final Network net = Network.newNetwork();
+ protected final Network net = Network.newNetwork();
+
+ /** Image name. */
+ protected final String imageName;
+
+ /** Consistent ID's. */
+ protected final List<String> consistentIds;
+
+ /** Whether the cluster has been started, guarding against a second {@link #start()}. */
+ private boolean started;
/**
* @param imageName Image name.
* @param consistentIds Consistent ID's.
*/
- public IgniteClusterContainer(String imageName, List<String> consistentIds) throws Exception {
+ public IgniteClusterContainer(String imageName, List<String> consistentIds) {
+ this.imageName = imageName;
+ this.consistentIds = consistentIds;
+
containers = new ArrayList<>(consistentIds.size());
+ }
+
+ /**
+ * Factory hook for the node container. Overrides only receive {@code idx}; the image name, network and
+ * consistent IDs are instance fields (see {@link #imageName}, {@link #net}, {@link #consistentIds}).
+ *
+ * @param idx Node index.
+ * @return The node container.
+ */
+ protected IgniteContainer container(int idx) throws Exception {
+ return new IgniteContainer(imageName, net, "node" + (1 + idx), consistentIds.get(idx), idx);
+ }
+ /** Builds the node containers. */
+ protected void initContainers() throws Exception {
for (int i = 0; i < consistentIds.size(); i++)
- containers.add(new IgniteContainer(imageName, net, "node" + (1 + i), consistentIds.get(i), i));
+ containers.add(container(i));
}
/** {@inheritDoc} */
@Override public void start() {
+ // Idempotent: either the cluster already started successfully, or container creation succeeded
+ // but startup (deepStart/activateCluster) failed on a previous attempt — in both cases the
+ // containers list is already populated and must not be built a second time (duplicate hostnames,
+ // consistent IDs and fixed host ports would make the baseline unreachable).
+ if (started || !containers.isEmpty())
+ return;
Review Comment:
Good catch, fixed.
Now idempotency only applies to a fully started cluster, and a half-started cluster fails loudly instead of being silently skipped.
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-29026 Introduce extension points in compatibility testcontainers [ignite]
Posted by "wernerdv (via GitHub)" <gi...@apache.org>.
wernerdv commented on code in PR #13540:
URL: https://github.com/apache/ignite/pull/13540#discussion_r4025370175
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteContainer.java:
##########
@@ -383,77 +398,194 @@ private String execControl(String... cmd) {
return result.getStdout();
}
- /** @return Jar with {@link #TEST_CLASSES}, built once and reused for all containers. */
- private static File testClassesJar() throws IOException {
- File jar = testClassesJar;
+ /**
+ * Builds the {@code control.sh} command line to be executed inside the container.
+ *
+ * @param cmd Control utility arguments (e.g. {@code --set-state ACTIVE --yes}).
+ * @return Full command whose first element is the absolute path to {@code control.sh}, followed by {@code cmd}.
+ */
+ protected String[] command(String... cmd) {
+ String[] fullCmd = new String[cmd.length + 1];
+
+ fullCmd[0] = rootDir + "bin/control.sh";
+
+ System.arraycopy(cmd, 0, fullCmd, 1, cmd.length);
+
+ return fullCmd;
+ }
Review Comment:
You're right — there's no current need for execControl() to be a separate extension point.
I've reverted execControl() back to private.
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-29026 Introduce extension points in compatibility testcontainers [ignite]
Posted by "wernerdv (via GitHub)" <gi...@apache.org>.
wernerdv commented on code in PR #13540:
URL: https://github.com/apache/ignite/pull/13540#discussion_r4025142100
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteClusterContainer.java:
##########
@@ -30,24 +31,66 @@ public class IgniteClusterContainer implements Startable {
private final List<IgniteContainer> containers;
/** Network. */
- private final Network net = Network.newNetwork();
+ protected final Network net = Network.newNetwork();
+
+ /** Image name. */
+ protected final String imageName;
+
+ /** Consistent ID's. */
+ protected final List<String> consistentIds;
+
+ /** Whether the cluster has been started, guarding against a second {@link #start()}. */
+ private boolean started;
/**
* @param imageName Image name.
* @param consistentIds Consistent ID's.
*/
- public IgniteClusterContainer(String imageName, List<String> consistentIds) throws Exception {
+ public IgniteClusterContainer(String imageName, List<String> consistentIds) {
+ this.imageName = imageName;
+ this.consistentIds = consistentIds;
+
containers = new ArrayList<>(consistentIds.size());
+ }
+
+ /**
+ * Factory hook for the node container. Overrides only receive {@code idx}; the image name, network and
+ * consistent IDs are instance fields (see {@link #imageName}, {@link #net}, {@link #consistentIds}).
+ *
+ * @param idx Node index.
+ * @return The node container.
+ */
+ protected IgniteContainer container(int idx) throws Exception {
+ return new IgniteContainer(imageName, net, "node" + (1 + idx), consistentIds.get(idx), idx);
Review Comment:
1 + idx maps the 0-based internal node index idx to the 1-based node naming scheme (node1..nodeN). The hostname doubles as the Docker network alias, and nodes discover each other through the static IP finder in common-test-config.xml, which hardcodes node1:47500, node2:47500, node3:47500. Since that list starts at node1, idx == 0 must produce hostname node1, hence the +1.
The consistent IDs also follow the same 1-based convention (node1, node2, …) in the compatibility tests, so keeping the hostname in sync avoids mismatches in the baseline. The raw 0-based idx is still passed through unchanged for the fixed published ports and work-directory indexing, which are 0-based internally — only the hostname needs the shift.
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-29026 Introduce extension points in compatibility testcontainers [ignite]
Posted by "ignitetcbot (via GitHub)" <gi...@apache.org>.
ignitetcbot commented on PR #13540:
URL: https://github.com/apache/ignite/pull/13540#issuecomment-5807557243
<!-- tcbot-analysis-comment chainBuildId=9361544 rerunBuildIds=none -->
### TCBot Test Analysis
* TeamCity: [--> Run :: All Results](https://ci2.ignite.apache.org/viewLog.html?buildId=9361544&buildTypeId=IgniteTests24Java8_RunAll)
* Branch: `pull/13540/head`
* Base: `master`
* Tested commit: [e2538e3](https://github.com/apache/ignite/pull/13540/commits/e2538e371f65d010eb72fcf3ed53130d8800d952)
#### Possible Blockers (0)
No blockers found.
#### New Tests (0)
No new tests found.
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-29026 Introduce extension points in compatibility testcontainers [ignite]
Posted by "wernerdv (via GitHub)" <gi...@apache.org>.
wernerdv commented on code in PR #13540:
URL: https://github.com/apache/ignite/pull/13540#discussion_r3986445935
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteContainer.java:
##########
@@ -439,13 +467,71 @@ private static File testClassesJar() throws IOException {
}
}
+ /**
+ * Resolves the fully qualified resources (the top-level class plus its nested classes, e.g. {@code Outer$1})
+ * for a class located either on the file system or inside a jar on the classpath.
+ *
+ * @param clsPath Resource path of the top-level class (package separator replaced with '/', ending in {@code .class}).
+ * @param nestedPrefix Package-based prefix of the nested classes, e.g. {@code org/apache/foo/Simple$}.
+ * @return Resource names of the class and its nested classes.
+ */
+ private static Collection<String> classResources(String clsPath, String nestedPrefix) throws IOException {
+ URL url = IgniteContainer.class.getClassLoader().getResource(clsPath);
+
+ if (url == null)
+ throw new IOException("Class not found on classpath: " + clsPath);
+
+ List<String> res = new ArrayList<>();
+
+ res.add(clsPath);
Review Comment:
Fixed
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-29026 Introduce extension points in compatibility testcontainers [ignite]
Posted by "wernerdv (via GitHub)" <gi...@apache.org>.
wernerdv commented on code in PR #13540:
URL: https://github.com/apache/ignite/pull/13540#discussion_r3986688627
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteContainer.java:
##########
@@ -439,13 +467,71 @@ private static File testClassesJar() throws IOException {
}
}
+ /**
+ * Resolves the fully qualified resources (the top-level class plus its nested classes, e.g. {@code Outer$1})
+ * for a class located either on the file system or inside a jar on the classpath.
+ *
+ * @param clsPath Resource path of the top-level class (package separator replaced with '/', ending in {@code .class}).
+ * @param nestedPrefix Package-based prefix of the nested classes, e.g. {@code org/apache/foo/Simple$}.
+ * @return Resource names of the class and its nested classes.
+ */
+ private static Collection<String> classResources(String clsPath, String nestedPrefix) throws IOException {
Review Comment:
Fixed
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-29026 Introduce extension points in compatibility testcontainers [ignite]
Posted by "wernerdv (via GitHub)" <gi...@apache.org>.
wernerdv commented on code in PR #13540:
URL: https://github.com/apache/ignite/pull/13540#discussion_r3986722896
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteClusterContainer.java:
##########
@@ -30,21 +31,52 @@ public class IgniteClusterContainer implements Startable {
private final List<IgniteContainer> containers;
/** Network. */
- private final Network net = Network.newNetwork();
+ private final Network net;
+
+ /** Image name. */
+ private final String imageName;
+
+ /** Consistent ID's. */
+ private final List<String> consistentIds;
/**
* @param imageName Image name.
* @param consistentIds Consistent ID's.
*/
- public IgniteClusterContainer(String imageName, List<String> consistentIds) throws Exception {
+ public IgniteClusterContainer(String imageName, List<String> consistentIds) {
+ this.imageName = imageName;
+ this.consistentIds = consistentIds;
+
+ net = Network.newNetwork();
containers = new ArrayList<>(consistentIds.size());
+ }
Review Comment:
Fixed
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-29026 Introduce extension points in compatibility testcontainers [ignite]
Posted by "maksaska (via GitHub)" <gi...@apache.org>.
maksaska commented on code in PR #13540:
URL: https://github.com/apache/ignite/pull/13540#discussion_r3978779458
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteContainer.java:
##########
@@ -142,29 +125,41 @@ public class IgniteContainer extends GenericContainer<IgniteContainer> {
/** Consistent ID. */
private final String consistentId;
- /** Path to work directory. */
- private final String workDirPath;
+ /** Ignite root directory in container, computed from {@link #rootDirPath()}. */
+ private final String rootDir;
+
+ /** Ignite libs directory in container. */
+ private final String libsDirPath;
+
+ /** Config path in container. */
+ private final String cfgPath;
/**
* @param imageName Image name.
* @param net Network.
* @param hostname Hostname.
* @param consistentId Consistent ID.
- * param idx Node index.
+ * @param idx Node index.
*/
public IgniteContainer(String imageName, Network net, String hostname, String consistentId, int idx) throws Exception {
super(DockerImageName.parse(imageName));
this.hostname = hostname;
this.consistentId = consistentId;
- workDirPath = WORK_DIR_PATH + "/" + hostname;
+ rootDir = rootDirPath();
Review Comment:
The constructor calls the new overridable hooks before a subclass can initialize its own state: rootDirPath() (line 149), commonConfigResource()/sourceConfigResource() (lines 198-200), testClasses() via testClassesJar() (line 200) and waitStrategy() (line 215).
Since extensibility is the point of the PR, could these be resolved lazily on first use (or moved into configure() / containerIsCreating(), which Testcontainers already provides for exactly this)? At minimum the javadoc should state that overrides must not depend on subclass instance state.
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteClusterContainer.java:
##########
@@ -30,21 +31,52 @@ public class IgniteClusterContainer implements Startable {
private final List<IgniteContainer> containers;
/** Network. */
- private final Network net = Network.newNetwork();
+ private final Network net;
+
+ /** Image name. */
+ private final String imageName;
+
+ /** Consistent ID's. */
+ private final List<String> consistentIds;
/**
* @param imageName Image name.
* @param consistentIds Consistent ID's.
*/
- public IgniteClusterContainer(String imageName, List<String> consistentIds) throws Exception {
+ public IgniteClusterContainer(String imageName, List<String> consistentIds) {
+ this.imageName = imageName;
+ this.consistentIds = consistentIds;
+
+ net = Network.newNetwork();
containers = new ArrayList<>(consistentIds.size());
+ }
+ /**
+ * @param imageName Image name.
+ * @param net Shared test network the container must be attached to.
+ * @param consistentIds Consistent ID's.
+ * @param idx Node index.
+ * @return The node container.
+ */
+ protected IgniteContainer container(String imageName, Network net, List<String> consistentIds, int idx) throws Exception {
Review Comment:
container(String imageName, Network net, List<String> consistentIds, int idx) re-passes imageName, net and consistentIds, all of which are already fields of the instance, and hands the override the whole list plus an index rather than the id it needs. protected IgniteContainer container(int idx) would be a cleaner hook; if the parameters are kept for readability, passing consistentIds.get(idx) instead of the list would still be an improvement.
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteContainer.java:
##########
@@ -116,18 +107,10 @@ public class IgniteContainer extends GenericContainer<IgniteContainer> {
/** Base host port for the published thin-client port (node index added). */
private static final int CLIENT_HOST_PORT_BASE = 50800;
- /** Custom classes (with their nested classes) used by node in containers. */
- private static final List<String> TEST_CLASSES = List.of(
- ContainerAddressResolver.class.getName(),
- TestCompatibilityPluginProvider.class.getName(),
- DisabledRollingUpgradeProcessor.class.getName(),
- DisabledValidationProcessor.class.getName()
- );
-
/** Seconds to wait after SIGTERM before SIGKILL. */
private static final int SHUTDOWN_TIMEOUT_SEC = 30;
- /** Jar holding {@link #TEST_CLASSES}, injected so the old image can load it. */
+ /** Jar holding the {@link #testClasses() test classes}, injected so the old image can load it. */
private static volatile File testClassesJar;
Review Comment:
testClasses() is now overridable per subclass, but the resulting jar is still memoized in private static volatile File testClassesJar (line 114) with no key. targetLibsArchive (line 117) / libsArchive() (line 534) have the same shape, and the latter embeds that jar.
Within one surefire fork, whichever container is constructed first wins: if the base test builds the jar with the four default classes and a subclass overriding testClasses() runs afterwards, the subclass silently reuses the stale jar and its node dies with ClassNotFoundException — with the outcome depending on test execution order.
Suggest keying the cache on the effective class list (e.g. ConcurrentHashMap<List<String>, File>) or making it instance-level.
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteClusterContainer.java:
##########
@@ -30,21 +31,52 @@ public class IgniteClusterContainer implements Startable {
private final List<IgniteContainer> containers;
/** Network. */
- private final Network net = Network.newNetwork();
+ private final Network net;
+
+ /** Image name. */
+ private final String imageName;
+
+ /** Consistent ID's. */
+ private final List<String> consistentIds;
/**
* @param imageName Image name.
* @param consistentIds Consistent ID's.
*/
- public IgniteClusterContainer(String imageName, List<String> consistentIds) throws Exception {
+ public IgniteClusterContainer(String imageName, List<String> consistentIds) {
+ this.imageName = imageName;
+ this.consistentIds = consistentIds;
+
+ net = Network.newNetwork();
containers = new ArrayList<>(consistentIds.size());
+ }
+ /**
+ * @param imageName Image name.
+ * @param net Shared test network the container must be attached to.
+ * @param consistentIds Consistent ID's.
+ * @param idx Node index.
+ * @return The node container.
+ */
+ protected IgniteContainer container(String imageName, Network net, List<String> consistentIds, int idx) throws Exception {
+ return new IgniteContainer(imageName, net, "node" + (1 + idx), consistentIds.get(idx), idx);
+ }
+
+ /** Builds the node containers. */
+ protected void initContainers() throws Exception {
Review Comment:
Moving container creation from the constructor into initContainers() makes start() non-idempotent: the method always appends to the pre-existing containers list, so a second start() — or a retry after Startables.deepStart(...).join() fails — yields 2N containers with duplicate hostnames, duplicate consistent IDs and duplicate fixed host ports, after which activateCluster(containers.size()) waits for a baseline size that can never be reached.
Also, containers() used to be populated right after construction and now returns an empty list until start() runs. Nothing in the current test depends on that, but it is a silent contract change for subclasses that might want to inspect containers before starting.
A if (!containers.isEmpty()) return; guard (or a started flag) would cover both.
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteContainer.java:
##########
@@ -439,13 +467,71 @@ private static File testClassesJar() throws IOException {
}
}
+ /**
+ * Resolves the fully qualified resources (the top-level class plus its nested classes, e.g. {@code Outer$1})
+ * for a class located either on the file system or inside a jar on the classpath.
+ *
+ * @param clsPath Resource path of the top-level class (package separator replaced with '/', ending in {@code .class}).
+ * @param nestedPrefix Package-based prefix of the nested classes, e.g. {@code org/apache/foo/Simple$}.
+ * @return Resource names of the class and its nested classes.
+ */
+ private static Collection<String> classResources(String clsPath, String nestedPrefix) throws IOException {
+ URL url = IgniteContainer.class.getClassLoader().getResource(clsPath);
+
+ if (url == null)
+ throw new IOException("Class not found on classpath: " + clsPath);
+
+ List<String> res = new ArrayList<>();
+
+ res.add(clsPath);
Review Comment:
classResources() returns the top-level class twice on the file: path, so building the test-classes jar always fails.
Line 486 unconditionally seeds the list with res.add(clsPath), and then the file: branch's filter on line 496 explicitly matches name.equals(simple + ".class") and re-adds the very same resource as pkg + f.getName(). testClassesJar() calls out.putNextEntry(new JarEntry(resName)) per element, and ZipOutputStream.putNextEntry throws ZipException: duplicate entry on the second occurrence.
This is the default execution path: all four classes in testClasses() live in modules/compatibility/src/test/java, so under surefire they resolve from target/test-classes (protocol file). Since testClassesJar() is called from the constructor (line 200), IgniteRebalanceOnUpgradeTest fails at new IgniteContainer(...) before any container starts.
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteContainer.java:
##########
@@ -439,13 +467,71 @@ private static File testClassesJar() throws IOException {
}
}
+ /**
+ * Resolves the fully qualified resources (the top-level class plus its nested classes, e.g. {@code Outer$1})
+ * for a class located either on the file system or inside a jar on the classpath.
+ *
+ * @param clsPath Resource path of the top-level class (package separator replaced with '/', ending in {@code .class}).
+ * @param nestedPrefix Package-based prefix of the nested classes, e.g. {@code org/apache/foo/Simple$}.
+ * @return Resource names of the class and its nested classes.
+ */
+ private static Collection<String> classResources(String clsPath, String nestedPrefix) throws IOException {
Review Comment:
Two small redundancies in classResources():
- nestedPrefix is a parameter but only the jar: branch uses it — the file: branch recomputes pkg/simple from clsPath itself. It could just be derived inside the method and the parameter dropped.
- The method resolves getResource(clsPath) and the caller then resolves getResource(resName) again for the same top-level class.
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-29026 Introduce extension points in compatibility testcontainers [ignite]
Posted by "chesnokoff (via GitHub)" <gi...@apache.org>.
chesnokoff commented on code in PR #13540:
URL: https://github.com/apache/ignite/pull/13540#discussion_r4003825525
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteContainer.java:
##########
@@ -383,77 +398,194 @@ private String execControl(String... cmd) {
return result.getStdout();
}
- /** @return Jar with {@link #TEST_CLASSES}, built once and reused for all containers. */
- private static File testClassesJar() throws IOException {
- File jar = testClassesJar;
+ /**
+ * Builds the {@code control.sh} command line to be executed inside the container.
+ *
+ * @param cmd Control utility arguments (e.g. {@code --set-state ACTIVE --yes}).
+ * @return Full command whose first element is the absolute path to {@code control.sh}, followed by {@code cmd}.
+ */
+ protected String[] command(String... cmd) {
+ String[] fullCmd = new String[cmd.length + 1];
+
+ fullCmd[0] = rootDir + "bin/control.sh";
+
+ System.arraycopy(cmd, 0, fullCmd, 1, cmd.length);
+
+ return fullCmd;
+ }
Review Comment:
Do we need both extension points? Overriding command() seems enough to customize the command while keeping execution and error handling in the base class. What use case requires execControl() to be protected?
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteClusterContainer.java:
##########
@@ -30,24 +31,66 @@ public class IgniteClusterContainer implements Startable {
private final List<IgniteContainer> containers;
/** Network. */
- private final Network net = Network.newNetwork();
+ protected final Network net = Network.newNetwork();
+
+ /** Image name. */
+ protected final String imageName;
+
+ /** Consistent ID's. */
+ protected final List<String> consistentIds;
+
+ /** Whether the cluster has been started, guarding against a second {@link #start()}. */
+ private boolean started;
/**
* @param imageName Image name.
* @param consistentIds Consistent ID's.
*/
- public IgniteClusterContainer(String imageName, List<String> consistentIds) throws Exception {
+ public IgniteClusterContainer(String imageName, List<String> consistentIds) {
+ this.imageName = imageName;
+ this.consistentIds = consistentIds;
+
containers = new ArrayList<>(consistentIds.size());
+ }
+
+ /**
+ * Factory hook for the node container. Overrides only receive {@code idx}; the image name, network and
+ * consistent IDs are instance fields (see {@link #imageName}, {@link #net}, {@link #consistentIds}).
+ *
+ * @param idx Node index.
+ * @return The node container.
+ */
+ protected IgniteContainer container(int idx) throws Exception {
+ return new IgniteContainer(imageName, net, "node" + (1 + idx), consistentIds.get(idx), idx);
Review Comment:
Why do we do 1+idx here?
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteClusterContainer.java:
##########
@@ -30,24 +31,66 @@ public class IgniteClusterContainer implements Startable {
private final List<IgniteContainer> containers;
/** Network. */
- private final Network net = Network.newNetwork();
+ protected final Network net = Network.newNetwork();
+
+ /** Image name. */
+ protected final String imageName;
+
+ /** Consistent ID's. */
+ protected final List<String> consistentIds;
+
+ /** Whether the cluster has been started, guarding against a second {@link #start()}. */
+ private boolean started;
/**
* @param imageName Image name.
* @param consistentIds Consistent ID's.
*/
- public IgniteClusterContainer(String imageName, List<String> consistentIds) throws Exception {
+ public IgniteClusterContainer(String imageName, List<String> consistentIds) {
+ this.imageName = imageName;
+ this.consistentIds = consistentIds;
+
containers = new ArrayList<>(consistentIds.size());
+ }
+
+ /**
+ * Factory hook for the node container. Overrides only receive {@code idx}; the image name, network and
+ * consistent IDs are instance fields (see {@link #imageName}, {@link #net}, {@link #consistentIds}).
+ *
+ * @param idx Node index.
+ * @return The node container.
+ */
+ protected IgniteContainer container(int idx) throws Exception {
+ return new IgniteContainer(imageName, net, "node" + (1 + idx), consistentIds.get(idx), idx);
+ }
+ /** Builds the node containers. */
+ protected void initContainers() throws Exception {
for (int i = 0; i < consistentIds.size(); i++)
- containers.add(new IgniteContainer(imageName, net, "node" + (1 + i), consistentIds.get(i), i));
+ containers.add(container(i));
}
/** {@inheritDoc} */
@Override public void start() {
+ // Idempotent: either the cluster already started successfully, or container creation succeeded
+ // but startup (deepStart/activateCluster) failed on a previous attempt — in both cases the
+ // containers list is already populated and must not be built a second time (duplicate hostnames,
+ // consistent IDs and fixed host ports would make the baseline unreachable).
+ if (started || !containers.isEmpty())
+ return;
Review Comment:
Question: I agree that we should not call initContainers() twice. But should we just return when `containers` is not empty and `started` is still false?
I'm not sure what is better here: silently skip it or throw an error
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteContainer.java:
##########
@@ -383,77 +398,194 @@ private String execControl(String... cmd) {
return result.getStdout();
}
- /** @return Jar with {@link #TEST_CLASSES}, built once and reused for all containers. */
- private static File testClassesJar() throws IOException {
- File jar = testClassesJar;
+ /**
+ * Builds the {@code control.sh} command line to be executed inside the container.
+ *
+ * @param cmd Control utility arguments (e.g. {@code --set-state ACTIVE --yes}).
+ * @return Full command whose first element is the absolute path to {@code control.sh}, followed by {@code cmd}.
+ */
+ protected String[] command(String... cmd) {
+ String[] fullCmd = new String[cmd.length + 1];
+
+ fullCmd[0] = rootDir + "bin/control.sh";
+
+ System.arraycopy(cmd, 0, fullCmd, 1, cmd.length);
+
+ return fullCmd;
+ }
+
+ /** @return Classpath resource of the common (shared) node config copied into the container. */
+ protected String commonConfigResource() {
+ return "docker/common-test-config.xml";
+ }
+
+ /** @return Classpath resource of the source (pre-upgrade) node config copied into the container. */
+ protected String sourceConfigResource() {
+ return "docker/test-config.xml";
+ }
+
+ /** @return Classpath resource of the node config used on the target (upgraded) side during in-place Docker upgrade. */
+ protected String targetConfigResource() {
+ return "docker/target-test-config.xml";
+ }
+
+ /** @return Ignite root directory inside the container, with a trailing slash. */
+ protected String rootDirPath() {
+ return "/opt/ignite/apache-ignite/";
+ }
+
+ /** @return Custom classes (with their nested classes) used by the node in containers. */
+ protected List<String> testClasses() {
+ return List.of(
+ ContainerAddressResolver.class.getName(),
+ TestCompatibilityPluginProvider.class.getName(),
+ DisabledRollingUpgradeProcessor.class.getName(),
+ DisabledValidationProcessor.class.getName()
+ );
+ }
+
+ /**
+ * @return Jar with the {@link #testClasses() test classes}, built per distinct class list and reused.
+ * The cache is keyed on the effective {@link #testClasses()} result so subclasses overriding it get
+ * their own jar instead of silently reusing the one built for the base class.
+ */
+ protected File testClassesJar() throws IOException {
+ // List.copyOf makes an immutable, value-comparable key.
+ List<String> classes = List.copyOf(testClasses());
+
+ File jar = TEST_CLASSES_JARS.get(classes);
if (jar != null)
return jar;
synchronized (IgniteContainer.class) {
- if (testClassesJar != null)
- return testClassesJar;
+ jar = TEST_CLASSES_JARS.get(classes);
+
+ if (jar != null)
+ return jar;
jar = File.createTempFile("test-classes", ".jar");
jar.deleteOnExit();
try (JarOutputStream out = new JarOutputStream(new FileOutputStream(jar))) {
- for (String cls : TEST_CLASSES) {
+ for (String cls : classes) {
String clsPath = cls.replace('.', '/') + ".class";
- URL url = IgniteContainer.class.getClassLoader().getResource(clsPath);
-
- if (url == null)
- throw new IOException("Class not found on classpath: " + clsPath);
+ // Include the class and its nested classes (e.g. the provider's anonymous $1).
+ // Each entry carries the URL already resolved by classResources(), avoiding a second
+ // getResource() for the same top-level class (which would otherwise be hit twice).
+ for (ClassResource res : classResources(clsPath)) {
+ out.putNextEntry(new JarEntry(res.name));
- File dir;
+ try (InputStream in = res.url.openStream()) {
+ in.transferTo(out);
+ }
- try {
- dir = new File(url.toURI()).getParentFile();
- }
- catch (URISyntaxException e) {
- throw new IOException(e);
+ out.closeEntry();
}
+ }
+ }
- String pkg = clsPath.substring(0, clsPath.lastIndexOf('/') + 1);
- String simple = cls.substring(cls.lastIndexOf('.') + 1);
+ TEST_CLASSES_JARS.put(classes, jar);
- // Include the class and its nested classes (e.g. the provider's anonymous $1).
- File[] clsFiles = dir.listFiles((d, name) ->
- name.equals(simple + ".class") || name.startsWith(simple + '$'));
+ return jar;
+ }
+ }
- if (clsFiles == null)
- throw new IOException("Cannot list class directory: " + dir);
+ /**
+ * Resolves the fully qualified resources (the top-level class plus its nested classes, e.g. {@code Outer$1})
+ * for a class located either on the file system or inside a jar on the classpath. Each returned element pairs
+ * the resource name with its already-resolved URL, so callers do not need to call {@code getResource()} again.
+ *
+ * @param clsPath Resource path of the top-level class (package separator replaced with '/', ending in {@code .class}).
+ * @return Pairs of resource name and resolved URL for the class and its nested classes.
+ */
+ private static Collection<ClassResource> classResources(String clsPath) throws IOException {
+ String pkg = clsPath.substring(0, clsPath.lastIndexOf('/') + 1);
+ String simple = clsPath.substring(clsPath.lastIndexOf('/') + 1, clsPath.length() - ".class".length());
+ String nestedPrefix = pkg + simple + "$";
- for (File f : clsFiles) {
- out.putNextEntry(new JarEntry(pkg + f.getName()));
+ ClassLoader cl = IgniteContainer.class.getClassLoader();
- Files.copy(f.toPath(), out);
+ URL url = cl.getResource(clsPath);
- out.closeEntry();
+ if (url == null)
+ throw new IOException("Class not found on classpath: " + clsPath);
+
+ List<ClassResource> res = new ArrayList<>();
+
+ try {
+ if ("file".equals(url.getProtocol())) {
+ File dir = new File(url.toURI()).getParentFile();
+
+ File[] clsFiles = dir.listFiles((d, name) ->
+ name.startsWith(simple + '$') && name.endsWith(".class"));
+
+ if (clsFiles == null)
+ throw new IOException("Cannot list class directory: " + dir);
+
+ res.add(new ClassResource(clsPath, url));
+
+ for (File f : clsFiles)
+ res.add(new ClassResource(pkg + f.getName(), cl.getResource(pkg + f.getName())));
+ }
+ else if ("jar".equals(url.getProtocol())) {
+ JarURLConnection conn = (JarURLConnection)url.openConnection();
+
+ try (JarFile jar = conn.getJarFile()) {
+ Enumeration<JarEntry> entries = jar.entries();
+
+ while (entries.hasMoreElements()) {
+ String name = entries.nextElement().getName();
+
+ if (name.equals(clsPath) || (name.startsWith(nestedPrefix) && name.endsWith(".class")))
+ res.add(new ClassResource(name, cl.getResource(name)));
}
}
}
+ else
+ throw new IOException("Unsupported class resource protocol: " + url.getProtocol());
+ }
+ catch (URISyntaxException e) {
+ throw new IOException(e);
+ }
- return testClassesJar = jar;
+ return res;
+ }
+
+ /** A class resource: its name on the classpath paired with the already-resolved URL. */
+ private static final class ClassResource {
+ /** Resource name on the classpath. */
+ final String name;
+
+ /** Resolved URL of the resource. */
+ final URL url;
+
+ /** @param name Resource name on the classpath. */
+ ClassResource(String name, URL url) {
+ this.name = name;
+ this.url = url;
}
}
Review Comment:
Probably we could use `record` to reduce LOC, but it's up to you
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteContainer.java:
##########
@@ -383,77 +398,194 @@ private String execControl(String... cmd) {
return result.getStdout();
}
- /** @return Jar with {@link #TEST_CLASSES}, built once and reused for all containers. */
- private static File testClassesJar() throws IOException {
- File jar = testClassesJar;
+ /**
+ * Builds the {@code control.sh} command line to be executed inside the container.
+ *
+ * @param cmd Control utility arguments (e.g. {@code --set-state ACTIVE --yes}).
+ * @return Full command whose first element is the absolute path to {@code control.sh}, followed by {@code cmd}.
+ */
+ protected String[] command(String... cmd) {
+ String[] fullCmd = new String[cmd.length + 1];
+
+ fullCmd[0] = rootDir + "bin/control.sh";
+
+ System.arraycopy(cmd, 0, fullCmd, 1, cmd.length);
+
+ return fullCmd;
+ }
+
+ /** @return Classpath resource of the common (shared) node config copied into the container. */
+ protected String commonConfigResource() {
+ return "docker/common-test-config.xml";
+ }
+
+ /** @return Classpath resource of the source (pre-upgrade) node config copied into the container. */
+ protected String sourceConfigResource() {
+ return "docker/test-config.xml";
+ }
+
+ /** @return Classpath resource of the node config used on the target (upgraded) side during in-place Docker upgrade. */
+ protected String targetConfigResource() {
+ return "docker/target-test-config.xml";
+ }
+
+ /** @return Ignite root directory inside the container, with a trailing slash. */
+ protected String rootDirPath() {
+ return "/opt/ignite/apache-ignite/";
+ }
+
+ /** @return Custom classes (with their nested classes) used by the node in containers. */
+ protected List<String> testClasses() {
+ return List.of(
+ ContainerAddressResolver.class.getName(),
+ TestCompatibilityPluginProvider.class.getName(),
+ DisabledRollingUpgradeProcessor.class.getName(),
+ DisabledValidationProcessor.class.getName()
+ );
+ }
+
+ /**
+ * @return Jar with the {@link #testClasses() test classes}, built per distinct class list and reused.
+ * The cache is keyed on the effective {@link #testClasses()} result so subclasses overriding it get
+ * their own jar instead of silently reusing the one built for the base class.
+ */
+ protected File testClassesJar() throws IOException {
+ // List.copyOf makes an immutable, value-comparable key.
+ List<String> classes = List.copyOf(testClasses());
Review Comment:
I'm not sure we need the comment. Looks like it just explains semantics of `List.copyOf`
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-29026 Introduce extension points in compatibility testcontainers [ignite]
Posted by "wernerdv (via GitHub)" <gi...@apache.org>.
wernerdv commented on code in PR #13540:
URL: https://github.com/apache/ignite/pull/13540#discussion_r3986551036
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteContainer.java:
##########
@@ -116,18 +107,10 @@ public class IgniteContainer extends GenericContainer<IgniteContainer> {
/** Base host port for the published thin-client port (node index added). */
private static final int CLIENT_HOST_PORT_BASE = 50800;
- /** Custom classes (with their nested classes) used by node in containers. */
- private static final List<String> TEST_CLASSES = List.of(
- ContainerAddressResolver.class.getName(),
- TestCompatibilityPluginProvider.class.getName(),
- DisabledRollingUpgradeProcessor.class.getName(),
- DisabledValidationProcessor.class.getName()
- );
-
/** Seconds to wait after SIGTERM before SIGKILL. */
private static final int SHUTDOWN_TIMEOUT_SEC = 30;
- /** Jar holding {@link #TEST_CLASSES}, injected so the old image can load it. */
+ /** Jar holding the {@link #testClasses() test classes}, injected so the old image can load it. */
private static volatile File testClassesJar;
Review Comment:
Added caching to ConcurrentHashMap<List, File>.
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-29026 Introduce extension points in compatibility testcontainers [ignite]
Posted by "chesnokoff (via GitHub)" <gi...@apache.org>.
chesnokoff commented on code in PR #13540:
URL: https://github.com/apache/ignite/pull/13540#discussion_r3978934509
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteClusterContainer.java:
##########
@@ -30,21 +31,52 @@ public class IgniteClusterContainer implements Startable {
private final List<IgniteContainer> containers;
/** Network. */
- private final Network net = Network.newNetwork();
+ private final Network net;
+
+ /** Image name. */
+ private final String imageName;
+
+ /** Consistent ID's. */
+ private final List<String> consistentIds;
/**
* @param imageName Image name.
* @param consistentIds Consistent ID's.
*/
- public IgniteClusterContainer(String imageName, List<String> consistentIds) throws Exception {
+ public IgniteClusterContainer(String imageName, List<String> consistentIds) {
+ this.imageName = imageName;
+ this.consistentIds = consistentIds;
+
+ net = Network.newNetwork();
containers = new ArrayList<>(consistentIds.size());
+ }
Review Comment:
Can we keep `net` initialization at field declaration? It does not depend on constructor arguments
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-29026 Introduce extension points in compatibility testcontainers [ignite]
Posted by "wernerdv (via GitHub)" <gi...@apache.org>.
wernerdv merged PR #13540:
URL: https://github.com/apache/ignite/pull/13540
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-29026 Introduce extension points in compatibility testcontainers [ignite]
Posted by "wernerdv (via GitHub)" <gi...@apache.org>.
wernerdv commented on code in PR #13540:
URL: https://github.com/apache/ignite/pull/13540#discussion_r3986458295
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteContainer.java:
##########
@@ -142,29 +125,41 @@ public class IgniteContainer extends GenericContainer<IgniteContainer> {
/** Consistent ID. */
private final String consistentId;
- /** Path to work directory. */
- private final String workDirPath;
+ /** Ignite root directory in container, computed from {@link #rootDirPath()}. */
+ private final String rootDir;
+
+ /** Ignite libs directory in container. */
+ private final String libsDirPath;
+
+ /** Config path in container. */
+ private final String cfgPath;
/**
* @param imageName Image name.
* @param net Network.
* @param hostname Hostname.
* @param consistentId Consistent ID.
- * param idx Node index.
+ * @param idx Node index.
*/
public IgniteContainer(String imageName, Network net, String hostname, String consistentId, int idx) throws Exception {
super(DockerImageName.parse(imageName));
this.hostname = hostname;
this.consistentId = consistentId;
- workDirPath = WORK_DIR_PATH + "/" + hostname;
+ rootDir = rootDirPath();
Review Comment:
Moved into configure().
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-29026 Introduce extension points in compatibility testcontainers [ignite]
Posted by "wernerdv (via GitHub)" <gi...@apache.org>.
wernerdv commented on code in PR #13540:
URL: https://github.com/apache/ignite/pull/13540#discussion_r3986595162
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteClusterContainer.java:
##########
@@ -30,21 +31,52 @@ public class IgniteClusterContainer implements Startable {
private final List<IgniteContainer> containers;
/** Network. */
- private final Network net = Network.newNetwork();
+ private final Network net;
+
+ /** Image name. */
+ private final String imageName;
+
+ /** Consistent ID's. */
+ private final List<String> consistentIds;
/**
* @param imageName Image name.
* @param consistentIds Consistent ID's.
*/
- public IgniteClusterContainer(String imageName, List<String> consistentIds) throws Exception {
+ public IgniteClusterContainer(String imageName, List<String> consistentIds) {
+ this.imageName = imageName;
+ this.consistentIds = consistentIds;
+
+ net = Network.newNetwork();
containers = new ArrayList<>(consistentIds.size());
+ }
+ /**
+ * @param imageName Image name.
+ * @param net Shared test network the container must be attached to.
+ * @param consistentIds Consistent ID's.
+ * @param idx Node index.
+ * @return The node container.
+ */
+ protected IgniteContainer container(String imageName, Network net, List<String> consistentIds, int idx) throws Exception {
+ return new IgniteContainer(imageName, net, "node" + (1 + idx), consistentIds.get(idx), idx);
+ }
+
+ /** Builds the node containers. */
+ protected void initContainers() throws Exception {
Review Comment:
Fixed
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] IGNITE-29026 Introduce extension points in compatibility testcontainers [ignite]
Posted by "wernerdv (via GitHub)" <gi...@apache.org>.
wernerdv commented on code in PR #13540:
URL: https://github.com/apache/ignite/pull/13540#discussion_r3986661644
##########
modules/compatibility/src/test/java/org/apache/ignite/compatibility/testframework/testcontainers/IgniteClusterContainer.java:
##########
@@ -30,21 +31,52 @@ public class IgniteClusterContainer implements Startable {
private final List<IgniteContainer> containers;
/** Network. */
- private final Network net = Network.newNetwork();
+ private final Network net;
+
+ /** Image name. */
+ private final String imageName;
+
+ /** Consistent ID's. */
+ private final List<String> consistentIds;
/**
* @param imageName Image name.
* @param consistentIds Consistent ID's.
*/
- public IgniteClusterContainer(String imageName, List<String> consistentIds) throws Exception {
+ public IgniteClusterContainer(String imageName, List<String> consistentIds) {
+ this.imageName = imageName;
+ this.consistentIds = consistentIds;
+
+ net = Network.newNetwork();
containers = new ArrayList<>(consistentIds.size());
+ }
+ /**
+ * @param imageName Image name.
+ * @param net Shared test network the container must be attached to.
+ * @param consistentIds Consistent ID's.
+ * @param idx Node index.
+ * @return The node container.
+ */
+ protected IgniteContainer container(String imageName, Network net, List<String> consistentIds, int idx) throws Exception {
Review Comment:
Fixed
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org