Dave Teng created RATIS-2075:
--------------------------------
Summary: Ratis shell encountered error when enabling
"hdds.grpc.tls.enabled" in Ozone
Key: RATIS-2075
URL: https://issues.apache.org/jira/browse/RATIS-2075
Project: Ratis
Issue Type: Bug
Reporter: Dave Teng
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
{code:java}
ratis sh group info ...{code}
)
{code:java}
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) {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)