Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-4925

GroupMismatchException show in logs just when cluster starts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.14.0-SNAPSHOT
    • None
    • Core/Server
    • None
    • 2022-11-Cluster

    Description

      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?

       

      
      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
      
      

       

      datanode log:

      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)
       

       

      Attachments

        Activity

          People

            William Song Song Ziyang
            changxue changxue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: