You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Yongzao Dan (Jira)" <ji...@apache.org> on 2022/06/10 02:02:00 UTC
[jira] [Assigned] (IOTDB-3217) [ClientPool]java.lang.IllegalStateException: Client has an error!
[ https://issues.apache.org/jira/browse/IOTDB-3217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yongzao Dan reassigned IOTDB-3217:
----------------------------------
Assignee: Xinyu Tan (was: Yongzao Dan)
> [ClientPool]java.lang.IllegalStateException: Client has an error!
> -----------------------------------------------------------------
>
> Key: IOTDB-3217
> URL: https://issues.apache.org/jira/browse/IOTDB-3217
> Project: Apache IoTDB
> Issue Type: Bug
> Components: Core/Cluster
> Affects Versions: 0.14.0-SNAPSHOT
> Reporter: FengQingxin
> Assignee: Xinyu Tan
> Priority: Critical
> Attachments: image-2022-05-17-17-19-30-376.png, image-2022-05-17-17-23-33-855.png
>
>
> [ErrorMSG]When start a datanode,there is an error in the log of config node
> 重现步骤:
> 1.编译生成的distribution文件复制两份(默认配置)
> 2.进入confignode文件夹下sbin目录使用start-confignode.sh启动 (正常)
> 3.进入datanode文件夹下sbin目录使用start-datanode.sh启动(datanode日志正常)(confignode有error日志如下)
> java.lang.IllegalStateException: Client has an error!
> at org.apache.thrift.async.TAsyncClient.checkReady(TAsyncClient.java:83)
> at org.apache.iotdb.commons.client.async.AsyncDataNodeInternalServiceClient.isReady(AsyncDataNodeInternalServiceClient.java:109)
> at org.apache.iotdb.commons.client.async.AsyncDataNodeInternalServiceClient$Factory.validateObject(AsyncDataNodeInternalServiceClient.java:154)
> at org.apache.iotdb.commons.client.async.AsyncDataNodeInternalServiceClient$Factory.validateObject(AsyncDataNodeInternalServiceClient.java:122)
> at org.apache.commons.pool2.impl.GenericKeyedObjectPool.returnObject(GenericKeyedObjectPool.java:1470)
> at org.apache.iotdb.commons.client.ClientManager.returnClient(ClientManager.java:70)
> at org.apache.iotdb.commons.client.async.AsyncDataNodeInternalServiceClient.returnSelf(AsyncDataNodeInternalServiceClient.java:83)
> at org.apache.iotdb.commons.client.async.AsyncDataNodeInternalServiceClient.onError(AsyncDataNodeInternalServiceClient.java:104)
> at org.apache.thrift.async.TAsyncMethodCall.onError(TAsyncMethodCall.java:215)
> at org.apache.thrift.async.TAsyncMethodCall.transition(TAsyncMethodCall.java:210)
> at org.apache.thrift.async.TAsyncClientManager$SelectThread.transitionMethods(TAsyncClientManager.java:143)
> at org.apache.thrift.async.TAsyncClientManager$SelectThread.run(TAsyncClientManager.java:113)
> Caused by: java.net.ConnectException: Connection refused
> at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
> at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
> at org.apache.thrift.transport.TNonblockingSocket.finishConnect(TNonblockingSocket.java:217)
> at org.apache.thrift.async.TAsyncMethodCall.doConnecting(TAsyncMethodCall.java:279)
> at org.apache.thrift.async.TAsyncMethodCall.transition(TAsyncMethodCall.java:189)
> ... 2 common frames omitted
> !image-2022-05-17-17-19-30-376.png!
>
> 期望:无报错信息,正常启动
--
This message was sent by Atlassian Jira
(v8.20.7#820007)