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

Ratis shell encountered error when enabling "hdds.grpc.tls.enabled" in Ozone

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • shell
    • None

    Description

      When enabling "hdds.grpc.tls.enabled" in Ozone, running a ratis-shell command would encountered error "Network closed for unknown reason", stack trace attached as follows:
      (below error is one example when running 

      ratis sh group info ...

      )

      org.apache.ratis.thirdparty.io.grpc.StatusRuntimeException: UNAVAILABLE: Network closed for unknown reason
          at org.apache.ratis.thirdparty.io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:268)
          at org.apache.ratis.thirdparty.io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:249)
          at org.apache.ratis.thirdparty.io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:167)
          at org.apache.ratis.proto.grpc.AdminProtocolServiceGrpc$AdminProtocolServiceBlockingStub.groupList(AdminProtocolServiceGrpc.java:489)
          at org.apache.ratis.grpc.client.GrpcClientProtocolClient.groupList(GrpcClientProtocolClient.java:178)
          at org.apache.ratis.grpc.client.GrpcClientRpc.sendRequest(GrpcClientRpc.java:106)
          at org.apache.ratis.client.impl.BlockingImpl.sendRequest(BlockingImpl.java:145)
          at org.apache.ratis.client.impl.BlockingImpl.sendRequestWithRetry(BlockingImpl.java:109)
          at org.apache.ratis.client.impl.GroupManagementImpl.list(GroupManagementImpl.java:69)
          at org.apache.ratis.shell.cli.sh.command.AbstractRatisCommand.lambda$run$1(AbstractRatisCommand.java:108)
          at org.apache.ratis.shell.cli.sh.command.AbstractRatisCommand.run(AbstractRatisCommand.java:64)
          at org.apache.ratis.shell.cli.sh.command.AbstractRatisCommand.run(AbstractRatisCommand.java:107)
          at org.apache.ratis.shell.cli.sh.group.GroupInfoCommand.run(GroupInfoCommand.java:47)
          at org.apache.ratis.shell.cli.AbstractShell.run(AbstractShell.java:104)
          at org.apache.ratis.shell.cli.sh.RatisShell.main(RatisShell.java:59) 

       

       

      Attachments

        Activity

          People

            dteng Dave Teng
            dteng Dave Teng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: