com.atlassian.stash.internal.cluster.NodeConnectionException: Node is part of an unrelated cluster

Atlassian JIRA | Jason Hinch [Atlassian] | 2 years ago
  1. 0

    I get this in my logs pretty much every time I start Stash from the Atlassian Plugin SDK {noformat} [INFO] [talledLocalContainer] 2015-01-15 10:26:13,280 WARN [hz.hazelcast.IO.thread-Acceptor] com.hazelcast.nio.tcp.SocketAcceptor [172.22.2.17]:5701 [bamboo-agent] [3.3.1-atlassian-10] com.atlassian.stash.internal.cluster.NodeConnectionException: Node is part of an unrelated cluster [INFO] [talledLocalContainer] com.atlassian.stash.internal.cluster.NodeConnectionException: Node is part of an unrelated cluster [INFO] [talledLocalContainer] at com.atlassian.stash.internal.cluster.DefaultClusterJoinManager.negotiateOutcome(DefaultClusterJoinManager.java:221) ~[stash-service-impl-3.6.0.jar:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.cluster.DefaultClusterJoinManager.accept(DefaultClusterJoinManager.java:99) ~[stash-service-impl-3.6.0.jar:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.hazelcast.ClusterJoinSocketInterceptor.onAccept(ClusterJoinSocketInterceptor.java:44) ~[stash-service-impl-3.6.0.jar:na] [INFO] [talledLocalContainer] at com.hazelcast.nio.tcp.TcpIpConnectionManager.interceptSocket(TcpIpConnectionManager.java:153) ~[hazelcast-3.3.1-atlassian-10.jar:3.3.1-atlassian-10] [INFO] [talledLocalContainer] at com.hazelcast.nio.tcp.SocketAcceptor.configureAndAssignSocket(SocketAcceptor.java:142) [hazelcast-3.3.1-atlassian-10.jar:3.3.1-atlassian-10] [INFO] [talledLocalContainer] at com.hazelcast.nio.tcp.SocketAcceptor.acceptSocket(SocketAcceptor.java:128) [hazelcast-3.3.1-atlassian-10.jar:3.3.1-atlassian-10] [INFO] [talledLocalContainer] at com.hazelcast.nio.tcp.SocketAcceptor.run(SocketAcceptor.java:70) [hazelcast-3.3.1-atlassian-10.jar:3.3.1-atlassian-10] [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45] [INFO] [talledLocalContainer] ... 21 frames trimmed {noformat} My guess is that Stash is trying to connect to some random node on the network. Regardless of why it is happening, the stacktrace does not add any value to the log warning. It should be removed and potentially reduced to INFO level

    Atlassian JIRA | 2 years ago | Jason Hinch
    com.atlassian.stash.internal.cluster.NodeConnectionException: Node is part of an unrelated cluster
  2. 0

    I get this in my logs pretty much every time I start Stash from the Atlassian Plugin SDK {noformat} [INFO] [talledLocalContainer] 2015-01-15 10:26:13,280 WARN [hz.hazelcast.IO.thread-Acceptor] com.hazelcast.nio.tcp.SocketAcceptor [172.22.2.17]:5701 [bamboo-agent] [3.3.1-atlassian-10] com.atlassian.stash.internal.cluster.NodeConnectionException: Node is part of an unrelated cluster [INFO] [talledLocalContainer] com.atlassian.stash.internal.cluster.NodeConnectionException: Node is part of an unrelated cluster [INFO] [talledLocalContainer] at com.atlassian.stash.internal.cluster.DefaultClusterJoinManager.negotiateOutcome(DefaultClusterJoinManager.java:221) ~[stash-service-impl-3.6.0.jar:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.cluster.DefaultClusterJoinManager.accept(DefaultClusterJoinManager.java:99) ~[stash-service-impl-3.6.0.jar:na] [INFO] [talledLocalContainer] at com.atlassian.stash.internal.hazelcast.ClusterJoinSocketInterceptor.onAccept(ClusterJoinSocketInterceptor.java:44) ~[stash-service-impl-3.6.0.jar:na] [INFO] [talledLocalContainer] at com.hazelcast.nio.tcp.TcpIpConnectionManager.interceptSocket(TcpIpConnectionManager.java:153) ~[hazelcast-3.3.1-atlassian-10.jar:3.3.1-atlassian-10] [INFO] [talledLocalContainer] at com.hazelcast.nio.tcp.SocketAcceptor.configureAndAssignSocket(SocketAcceptor.java:142) [hazelcast-3.3.1-atlassian-10.jar:3.3.1-atlassian-10] [INFO] [talledLocalContainer] at com.hazelcast.nio.tcp.SocketAcceptor.acceptSocket(SocketAcceptor.java:128) [hazelcast-3.3.1-atlassian-10.jar:3.3.1-atlassian-10] [INFO] [talledLocalContainer] at com.hazelcast.nio.tcp.SocketAcceptor.run(SocketAcceptor.java:70) [hazelcast-3.3.1-atlassian-10.jar:3.3.1-atlassian-10] [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45] [INFO] [talledLocalContainer] ... 21 frames trimmed {noformat} My guess is that Stash is trying to connect to some random node on the network. Regardless of why it is happening, the stacktrace does not add any value to the log warning. It should be removed and potentially reduced to INFO level

    Atlassian JIRA | 2 years ago | Jason Hinch [Atlassian]
    com.atlassian.stash.internal.cluster.NodeConnectionException: Node is part of an unrelated cluster

    Root Cause Analysis

    1. com.atlassian.stash.internal.cluster.NodeConnectionException

      Node is part of an unrelated cluster

      at com.atlassian.stash.internal.cluster.DefaultClusterJoinManager.negotiateOutcome()
    2. com.atlassian.stash
      ClusterJoinSocketInterceptor.onAccept
      1. com.atlassian.stash.internal.cluster.DefaultClusterJoinManager.negotiateOutcome(DefaultClusterJoinManager.java:221)[stash-service-impl-3.6.0.jar:na]
      2. com.atlassian.stash.internal.cluster.DefaultClusterJoinManager.accept(DefaultClusterJoinManager.java:99)[stash-service-impl-3.6.0.jar:na]
      3. com.atlassian.stash.internal.hazelcast.ClusterJoinSocketInterceptor.onAccept(ClusterJoinSocketInterceptor.java:44)[stash-service-impl-3.6.0.jar:na]
      3 frames
    3. Hazelcast
      SocketAcceptor.run
      1. com.hazelcast.nio.tcp.TcpIpConnectionManager.interceptSocket(TcpIpConnectionManager.java:153)[hazelcast-3.3.1-atlassian-10.jar:3.3.1-atlassian-10]
      2. com.hazelcast.nio.tcp.SocketAcceptor.configureAndAssignSocket(SocketAcceptor.java:142)[hazelcast-3.3.1-atlassian-10.jar:3.3.1-atlassian-10]
      3. com.hazelcast.nio.tcp.SocketAcceptor.acceptSocket(SocketAcceptor.java:128)[hazelcast-3.3.1-atlassian-10.jar:3.3.1-atlassian-10]
      4. com.hazelcast.nio.tcp.SocketAcceptor.run(SocketAcceptor.java:70)[hazelcast-3.3.1-atlassian-10.jar:3.3.1-atlassian-10]
      4 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:744)[na:1.7.0_45]
      1 frame