Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-1659

ratis does not support ipv6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Implemented
    • 2.3.0
    • None
    • gRPC
    • None

    Description

      2022-08-03 00:00:26,956 | ERROR | [main] | Failed to execute system command | org.apache.iotdb.commons.ServerCommandLine (ServerCommandLine.java:69) 
      java.lang.IllegalArgumentException: Invalid DNS name: 192:168:0:0:0:0:144:2:22111
          at org.apache.ratis.thirdparty.com.google.common.base.Preconditions.checkArgument(Preconditions.java:220)
          at org.apache.ratis.thirdparty.io.grpc.internal.DnsNameResolver.<init>(DnsNameResolver.java:171)
          at org.apache.ratis.thirdparty.io.grpc.ihttps://issues.apache.org/jira/projects/RATIS/issues/RATIS-1659?filter=allopenissues#nternal.DnsNameResolverProvider.newNameResolver(DnsNameResolverProvider.java:58)
          at org.apache.ratis.thirdparty.io.grpc.internal.DnsNameResolverProvider.newNameResolver(DnsNameResolverProvider.java:41)
          at org.apache.ratis.thirdparty.io.grpc.NameResolverRegistry$NameResolverFactory.newNameResolver(NameResolverRegistry.java:168)
          at org.apache.ratis.thirdparty.io.grpc.internal.ManagedChannelImpl.getNameResolver(ManagedChannelImpl.java:771)
          at org.apache.ratis.thirdparty.io.grpc.internal.ManagedChannelImpl.getNameResolver(ManagedChannelImpl.java:785)
          at org.apache.ratis.thirdparty.io.grpc.internal.ManagedChannelImpl.<init>(ManagedChannelImpl.java:665)
          at org.apache.ratis.thirdparty.io.grpc.internal.ManagedChannelImplBuilder.build(ManagedChannelImplBuilder.java:630)
          at org.apache.ratis.thirdparty.io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:297)
          at org.apache.ratis.grpc.client.GrpcClientProtocolClient.buildChannel(GrpcClientProtocolClient.java:161)
          at org.apache.ratis.grpc.client.GrpcClientProtocolClient.<init>(GrpcClientProtocolClient.java:113)
          at org.apache.ratis.grpc.client.GrpcClientRpc.lambda$new$0(GrpcClientRpc.java:59)
          at org.apache.ratis.util.PeerProxyMap$PeerAndProxy.lambda$getProxy$0(PeerProxyMap.java:64)
          at org.apache.ratis.util.LifeCycle.startAndTransition(LifeCycle.java:270)
          at org.apache.ratis.util.PeerProxyMap$PeerAndProxy.getProxy(PeerProxyMap.java:63)
          at org.apache.ratis.util.PeerProxyMap.getProxy(PeerProxyMap.java:115)
          at org.apache.ratis.grpc.client.GrpcClientRpc.sendRequest(GrpcClientRpc.java:94)
          at org.apache.ratis.client.impl.BlockingImpl.sendRequest(BlockingImpl.java:132)
          at org.apache.ratis.client.impl.BlockingImpl.sendRequestWithRetry(BlockingImpl.java:98)
          at org.apache.ratis.client.impl.GroupManagementImpl.add(GroupManagementImpl.java:51)
          at org.apache.iotdb.consensus.ratis.RatisConsensus.addConsensusGroup(RatisConsensus.java:271)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wangchao316 Chao Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: