Thank you for the provided information, I was able to reproduce the issue.
The problem is with the non-intuitive Embedded API, which is targeted at
running single-node clusters. To solve your problem, you need to call
`IgniteServer#waitForInitAsync` on other two nodes, for example:
InitParameters initParameters = InitParameters.builder()
.metaStorageNodeNames("node1", "node2", "node3")
.clusterName("cluster")
.build();
CompletableFuture.allOf(
node1.initClusterAsync(initParameters),
node2.waitForInitAsync(),
node3.waitForInitAsync()
).join();
On Thu, Oct 2, 2025 at 10:55 AM Ihor Parashynets <[email protected]> wrote:
> Yes, sure. Here we go - attaching 3 working directories for every node
> [1-3] as well as their system outputs, while bootstrapping them from IDE.
>
>
> Thank you for the help!
>
>
> Best regards
>
>
>
> On 2025/10/01 21:32:46 Aleksandr Polovtsev wrote:
>
> > Could you please attach the logs from the nodes you are running? The code
>
> > looks correct to me.
>
> >
>
> > On Wed, Oct 1, 2025 at 7:54 PM Ihor Parashynets <[email protected]> wrote:
>
> >
>
> > > Many thanks for the answer.
>
> > >
>
> > > Trying to switch from Hazelcast 5.x to the ignine 3, I'd like to ask
>
> > > one additional question if I may - after trying to init a cluster from
>
> > > embedded mode for the topology setup of 3 nodes I always get
> repeatedly a
>
> > > following error without forming a cluster (running all nodes on my
> laptop):
>
> > >
>
> > > ....
>
> > >
>
> > > WARNING: Node <metastorage_group/node3> PreVote to node2
>
> > > latency=Status[ENOENT<1012>: Peer id not found: node2, group:
>
> > > metastorage_group] error: 4.
>
> > > Oct 01, 2025 6:34:24 PM
> org.apache.ignite.internal.logger.IgniteLoggerImpl
>
> > > logInternal
>
> > > WARNING: Node <metastorage_group/node3> PreVote to node1
>
> > > latency=Status[ENOENT<1012>: Peer id not found: node1, group:
>
> > > metastorage_group] error: 4.
>
> > >
>
> > > ....
>
> > >
>
> > > even though it's visible in the log that topology was recognized
> properly:
>
> > >
>
> > > ....
>
> > >
>
> > > INFO: Topology snapshot [nodes=[node1, node2, node3]]
>
> > >
>
> > > ....
>
> > >
>
> > >
>
> > > Attaching the config of one node (another nodes differ just by ports)
> and
>
> > > here is the code snippet to trigger a cluster initialization:
>
> > >
>
> > > try {
>
> > > IgniteServer node = IgniteServer.start("node3", configFilePath,
> workDir);
>
> > > //wait probably a bit?
>
> > > Thread.sleep(1000);
>
> > > InitParameters initParameters = InitParameters.builder()
>
> > > .metaStorageNodeNames(List.of("node1", "node2", "node3"))
>
> > > .clusterName("cluster")
>
> > > .build();
>
> > > node.initCluster(initParameters);
>
> > > } catch (Throwable e) {
>
> > > e.printStackTrace();
>
> > > }
>
> > >
>
> > > Any idea why this voting can't be established?
>
> > >
>
> > > Thanks in advance
>
> > >
>
> > > Best regards
>
> > >
>
> > >
>
> > > On 2025/09/28 20:09:15 Aleksandr Polovtsev wrote:
>
> > >
>
> > > > Hello,
>
> > >
>
> > > > I think this is an error in the documentation, you should not
> require a
>
> > >
>
> > > > license to run Ignite. Cluster configuration parameter is only
> needed to
>
> > >
>
> > > > alter cluster-wide configuration
>
> > >
>
> > > > <
>
> > >
> https://ignite.apache.org/docs/ignite3/latest/administrators-guide/config/cluster-config
>
> > > >
>
> > >
>
> > > > .
>
> > >
>
> > > >
>
> > >
>
> > > > On Sun, Sep 28, 2025 at 6:49 PM Ihor Parashynets <[email protected]>
>
> > > wrote:
>
> > >
>
> > > >
>
> > >
>
> > > > > hello,
>
> > >
>
> > > > >
>
> > >
>
> > > > > is it possible to start Apache Ignite 3 open source version in
> embedded
>
> > >
>
> > > > > mode with a cluster setup?
>
> > >
>
> > > > > Reading
>
> > >
>
> > > > >
>
> > >
> https://ignite.apache.org/docs/ignite3/latest/quick-start/embedded-mode
>
> > >
>
> > > > > is unclear the following statement:
>
> > >
>
> > > > >
>
> > >
>
> > > > > "To start a Ignite 3 cluster, you need to provide a license
> together
>
> > > with
>
> > >
>
> > > > > the cluster configuration in the clusterConfiguration parameter."
>
> > >
>
> > > > >
>
> > >
>
> > > > > which license and where to get it? Does it mean that the clustering
>
> > >
>
> > > > > feature requires an enterprise license from GridGain and can't be
> used
>
> > > in
>
> > >
>
> > > > > the open source version?
>
> > >
>
> > > > >
>
> > >
>
> > > > > Many thanks in advance
>
> > >
>
> > > > >
>
> > >
>
> > > > > Best regards
>
> > >
>
> > > > >
>
> > >
>
> > > >
>
> > >
>
> > > >
>
> > >
>
> > > > --
>
> > >
>
> > > > With regards,
>
> > >
>
> > > > Aleksandr Polovtsev
>
> > >
>
> > > >
>
> > >
>
> >
>
> >
>
> > --
>
> > With regards,
>
> > Aleksandr Polovtsev
>
> >
>
--
With regards,
Aleksandr Polovtsev