You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "changxue (Jira)" <ji...@apache.org> on 2022/11/14 07:15:00 UTC

[jira] [Created] (IOTDB-4925) GroupMismatchException show in logs just when cluster starts

changxue created IOTDB-4925:
-------------------------------

             Summary: GroupMismatchException show in logs just when cluster starts
                 Key: IOTDB-4925
                 URL: https://issues.apache.org/jira/browse/IOTDB-4925
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Server
    Affects Versions: 0.14.0-SNAPSHOT
            Reporter: changxue
            Assignee: Haonan Hou


GroupMismatchException show in logs just when cluster starts

 

environment:

3C3D

GroupMismatchException show in both datanode and confignode logs just when cluster starts, the database is empty --no any database.

I'm quite sure that there is no data left before I start this iotdb cluster.

And this kind of logs are showed again and again.

 

Is there something left that it should be deleted?

 

{code}

IoTDB> show cluster
+------+----------+-------+---------------+------------+
|NodeID|  NodeType| Status|InternalAddress|InternalPort|
+------+----------+-------+---------------+------------+
|     0|ConfigNode|Running|   172.20.70.44|       22277|
|     2|ConfigNode|Running|   172.20.70.45|       22277|
|     4|ConfigNode|Running|   172.20.70.46|       22277|
|     1|  DataNode|Running|   172.20.70.44|        9003|
|     3|  DataNode|Running|   172.20.70.45|        9003|
|     5|  DataNode|Running|   172.20.70.46|        9003|
+------+----------+-------+---------------+------------+
Total line number = 6
It costs 0.005s
IoTDB> show databases;
+--------+-------+-----------------------+---------------------+---------------------+---------------+-------------+
|Database|TTL(ms)|SchemaReplicationFactor|DataReplicationFactor|TimePartitionInterval|SchemaRegionNum|DataRegionNum|
+--------+-------+-----------------------+---------------------+---------------------+---------------+-------------+
+--------+-------+-----------------------+---------------------+---------------------+---------------+-------------+
Empty set.
It costs 0.025s

{code}

 

datanode log:
{code:java}
2022-11-14 15:02:43,790 [grpc-default-executor-16] WARN  o.a.ratis.util.LogUtils:124 - 1: Failed requestVote 5->3#0
org.apache.ratis.protocol.exceptions.GroupMismatchException: 1: group-00020000031F not found.
        at org.apache.ratis.server.impl.RaftServerProxy$ImplMap.get(RaftServerProxy.java:150)
        at org.apache.ratis.server.impl.RaftServerProxy.getImplFuture(RaftServerProxy.java:351)
        at org.apache.ratis.server.impl.RaftServerProxy.getImpl(RaftServerProxy.java:360)
        at org.apache.ratis.server.impl.RaftServerProxy.getImpl(RaftServerProxy.java:355)
        at org.apache.ratis.server.impl.RaftServerProxy.requestVote(RaftServerProxy.java:618)
        at org.apache.ratis.grpc.server.GrpcServerProtocolService.requestVote(GrpcServerProtocolService.java:177)
        at org.apache.ratis.proto.grpc.RaftServerProtocolServiceGrpc$MethodHandlers.invoke(RaftServerProtocolServiceGrpc.java:382)
        at org.apache.ratis.thirdparty.io.grpc.stub.ServerCalls$UnaryServerCallHandler$UnaryServerCallListener.onHalfClose(ServerCalls.java:182)
        at org.apache.ratis.thirdparty.io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35)
        at org.apache.ratis.thirdparty.io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23)
        at org.apache.ratis.thirdparty.io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:354)
        at org.apache.ratis.thirdparty.io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:866)
        at org.apache.ratis.thirdparty.io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
        at org.apache.ratis.thirdparty.io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
2022-11-14 15:02:43,790 [grpc-default-executor-11] WARN  o.a.ratis.util.LogUtils:124 - 1: Failed requestVote 5->3#0
org.apache.ratis.protocol.exceptions.GroupMismatchException: 1: group-00020000025E not found.
        at org.apache.ratis.server.impl.RaftServerProxy$ImplMap.get(RaftServerProxy.java:150)
        at org.apache.ratis.server.impl.RaftServerProxy.getImplFuture(RaftServerProxy.java:351)
        at org.apache.ratis.server.impl.RaftServerProxy.getImpl(RaftServerProxy.java:360)
 {code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)