You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "pjfanning (via GitHub)" <gi...@apache.org> on 2025/05/24 16:08:12 UTC
[PR] Join cluster check adjusted to support akka [pekko]
pjfanning opened a new pull request, #1866:
URL: https://github.com/apache/pekko/pull/1866
I'm not yet sure that this is a good idea but at the moment, people trying to mix Akka and Pekko nodes in a cluster need to disable this check.
https://cwiki.apache.org/confluence/display/PEKKO/Pekko+Akka+Compatibility
--
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@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Join cluster check adjusted to support akka [pekko]
Posted by "regiskuckaertz (via GitHub)" <gi...@apache.org>.
regiskuckaertz commented on PR #1866:
URL: https://github.com/apache/pekko/pull/1866#issuecomment-2921873189
progress, the pekko node is now starting up and keeps accepting nodes:
```
2025-05-30 09:53:20,849 INFO [PTS-pekko.actor.default-dispatcher-11] org.apache.pekko.cluster.Cluster Cluster(pekko://PTS) - Cluster Node [akka.ssl.tcp://***:1600] - Received InitJoin message from [Actor[akka.ssl.tcp://***:1603/system/cluster/core/daemon/joinSeedNodeProcess-1#493235525]] to [akka.ssl.tcp://***:1600]
2025-05-30 09:53:20,850 INFO [PTS-pekko.actor.default-dispatcher-11] org.apache.pekko.cluster.Cluster Cluster(pekko://PTS) - Cluster Node [akka.ssl.tcp://***:1600] - Sending InitJoinAck message from node [akka.ssl.tcp://***:1600] to [Actor[akka.ssl.tcp://***:1603/system/cluster/core/daemon/joinSeedNodeProcess-1#493235525]] (version [2.6.21])
```
however, the akka node is rejecting the received config, I think it needs some more translation back to `akka.*`:
```
2025-05-30 09:56:28,813 INFO [PTS-akka.actor.default-dispatcher-42] akka.cluster.Cluster Cluster(akka://PTS) - Cluster Node [akka.ssl.tcp://***:1603] - Received InitJoinAck message from [Actor[akka.ssl.tcp://***:1600/system/cluster/core/daemon#-1897469515]] to [akka.ssl.tcp://***:1603]
2025-05-30 09:56:28,814 ERROR [PTS-akka.actor.default-dispatcher-42] akka.actor.OneForOneStrategy akka://PTS/system/cluster/core/daemon/joinSeedNodeProcess-1 - String: 1: No configuration setting found for key 'akka'
com.typesafe.config.ConfigException$Missing: String: 1: No configuration setting found for key 'akka'
at com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:157)
at com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:150)
at com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:177)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:189)
at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:194)
at com.typesafe.config.impl.SimpleConfig.getString(SimpleConfig.java:251)
at akka.cluster.JoinConfigCompatCheckCluster.check(JoinConfigCompatCheckCluster.scala:35)
```
--
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@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Join cluster check adjusted to support akka [pekko]
Posted by "regiskuckaertz (via GitHub)" <gi...@apache.org>.
regiskuckaertz commented on PR #1866:
URL: https://github.com/apache/pekko/pull/1866#issuecomment-2917277895
@pjfanning hello - yes of course, I'll try tomorrow (in the meantime I went for a full pekko cluster which of course works fine but I'll redeploy an older akka version of some nodes to test)
--
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@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Join cluster check adjusted to support akka [pekko]
Posted by "regiskuckaertz (via GitHub)" <gi...@apache.org>.
regiskuckaertz commented on PR #1866:
URL: https://github.com/apache/pekko/pull/1866#issuecomment-2921982680
Yes, I think the issue is with the config that goes in the `InitJoinAck` that is sent back to the akka node, maybe it should be the same config that was received in the `InitJoin`?
--
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@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Join cluster check adjusted to support akka [pekko]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on PR #1866:
URL: https://github.com/apache/pekko/pull/1866#issuecomment-2916180120
@regiskuckaertz this change appears in the snapshot release 1.2.0-M1+68-9227912e-SNAPSHOT.
It may or may not fix the issue where the Pekko cluster join check for compatibility will now accept Akka node configs. If you have, would you be able to try it out?
--
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@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Join cluster check adjusted to support akka [pekko]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on PR #1866:
URL: https://github.com/apache/pekko/pull/1866#issuecomment-2921956095
Thanks @regiskuckaertz. There is pre-existing code in SeedNodeProcess that is meant to get Pekko nodes operating in an Akka cluster to put `akka` prefixed configs in the InitJoin message.
https://github.com/apache/pekko/blob/197fb6e60e6df89abe46caf0750b7cf95052524c/cluster/src/main/scala/org/apache/pekko/cluster/SeedNodeProcess.scala#L80
I will look again at this over the coming days.
--
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@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Join cluster check adjusted to support akka [pekko]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on PR #1866:
URL: https://github.com/apache/pekko/pull/1866#issuecomment-2920345723
@regiskuckaertz pekko 1.2 snapshots need netty 4.2 jars (as opposed netty 4.1) - which might explain this
--
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@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Join cluster check adjusted to support akka [pekko]
Posted by "regiskuckaertz (via GitHub)" <gi...@apache.org>.
regiskuckaertz commented on PR #1866:
URL: https://github.com/apache/pekko/pull/1866#issuecomment-2921478435
ah right, I think there's a little mistake in the remote documentation:

from looking at your build, it seems you are currently on version 4.2.1, but I also was unable to find that dependency on maven. It seems you only need netty-transport and netty-handler, I'll see if I can get away with just those two.
--
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@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Join cluster check adjusted to support akka [pekko]
Posted by "raboof (via GitHub)" <gi...@apache.org>.
raboof commented on PR #1866:
URL: https://github.com/apache/pekko/pull/1866#issuecomment-2921538334
> I think there's a little mistake in the remote documentation:
That will get updated when the version is actually released. We should probably highlight it in the release notes as well.
--
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@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Join cluster check adjusted to support akka [pekko]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning commented on PR #1866:
URL: https://github.com/apache/pekko/pull/1866#issuecomment-2922002611
> Yes, I think the issue is with the config that goes in the `InitJoinAck` that is sent back to the akka node, maybe it should be the same config that was received in the `InitJoin`?
I might be missing something. InitJoinAck doesn't appear to include the config.
```
final case class InitJoinAck(address: Address, configCheck: ConfigCheck)
extends ClusterMessage
with DeadLetterSuppression
sealed trait ConfigCheck
case object UncheckedConfig extends ConfigCheck
case object IncompatibleConfig extends ConfigCheck
```
--
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@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Join cluster check adjusted to support akka [pekko]
Posted by "regiskuckaertz (via GitHub)" <gi...@apache.org>.
regiskuckaertz commented on PR #1866:
URL: https://github.com/apache/pekko/pull/1866#issuecomment-2920180255
@pjfanning erh that's weird, now am getting a netty class not found
```
Uncaught error from thread [PTS-pekko.remote.default-remote-dispatcher-6]: io/netty/channel/MultiThreadIoEventLoopGroup, shutting down JVM since 'pekko.jvm-exit-on-fatal-error' is enabled for ActorSystem[PTS]
java.lang.NoClassDefFoundError: io/netty/channel/MultiThreadIoEventLoopGroup
at org.apache.pekko.remote.transport.netty.NettyTransport.createEventLoopGroup(NettyTransport.scala:372)
at org.apache.pekko.remote.transport.netty.NettyTransport.<init>(NettyTransport.scala:386)
at org.apache.pekko.remote.transport.netty.NettyTransport.<init>(NettyTransport.scala:348)
at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.apache.pekko.actor.ReflectiveDynamicAccess.$anonfun$createInstanceFor$1(ReflectiveDynamicAccess.scala:50)
at scala.util.Try$.apply(Try.scala:210)
at org.apache.pekko.actor.ReflectiveDynamicAccess.createInstanceFor(ReflectiveDynamicAccess.scala:45)
at org.apache.pekko.actor.ReflectiveDynamicAccess.$anonfun$createInstanceFor$5(ReflectiveDynamicAccess.scala:58)
at scala.util.Success.flatMap(Try.scala:258)
at org.apache.pekko.actor.ReflectiveDynamicAccess.createInstanceFor(ReflectiveDynamicAccess.scala:57)
at org.apache.pekko.remote.EndpointManager.$anonfun$listens$2(Remoting.scala:929)
at scala.collection.Iterator$$anon$9.next(Iterator.scala:584)
at scala.collection.mutable.Growable.addAll(Growable.scala:62)
at scala.collection.mutable.Growable.addAll$(Growable.scala:57)
at scala.collection.immutable.VectorBuilder.addAll(Vector.scala:1822)
at scala.collection.immutable.Vector$.from(Vector.scala:1394)
at scala.collection.immutable.Vector$.from(Vector.scala:34)
at scala.collection.IterableOps$WithFilter.map(Iterable.scala:898)
at org.apache.pekko.remote.EndpointManager.org$apache$pekko$remote$EndpointManager$$listens(Remoting.scala:921)
at org.apache.pekko.remote.EndpointManager$$anonfun$receive$2.applyOrElse(Remoting.scala:641)
at org.apache.pekko.actor.Actor.aroundReceive(Actor.scala:547)
at org.apache.pekko.actor.Actor.aroundReceive$(Actor.scala:545)
at org.apache.pekko.remote.EndpointManager.aroundReceive(Remoting.scala:517)
at org.apache.pekko.actor.ActorCell.receiveMessage(ActorCell.scala:590)
at org.apache.pekko.actor.ActorCell.invoke(ActorCell.scala:557)
at org.apache.pekko.dispatch.Mailbox.processMailbox(Mailbox.scala:273)
at org.apache.pekko.dispatch.Mailbox.run(Mailbox.scala:234)
at org.apache.pekko.dispatch.Mailbox.exec(Mailbox.scala:246)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: io.netty.channel.MultiThreadIoEventLoopGroup
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
```
Hmm, am I missing some dependency 🤔
--
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@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] Join cluster check adjusted to support akka [pekko]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning merged PR #1866:
URL: https://github.com/apache/pekko/pull/1866
--
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@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org