changxue created IOTDB-4869:
-------------------------------

             Summary: [trigger]getFailureStrategy throws exception, 
在insert时报错连不上node的9003端口
                 Key: IOTDB-4869
                 URL: https://issues.apache.org/jira/browse/IOTDB-4869
             Project: Apache IoTDB
          Issue Type: Bug
    Affects Versions: 0.14.0-SNAPSHOT
            Reporter: changxue
            Assignee: Yuan Tian
         Attachments: ExceptionOnStopTrigger.java, log_datanode_all.log

[trigger]getFailureStrategy throws exception, 在insert时报错连不上node的9003端口

environment:

3C3D cluster Nov.7th 代码

 

错误信息:
{code:java}
-- [1]8:CREATE STATELESS TRIGGER `getFailureStrategy` AFTER INSERT ON 
root.sg1.d1.s1 AS 'com.timecho.test.ExceptionTrigger'
STRICT{
PASS
}
-- [1]9:insert into root.sg1.d1(time, s1) values (1, 2)
STRICT{
SQLSTATE : 310: can't connect to node {}TEndPoint(ip:172.20.70.46, port:9003)
} {code}
问题:

这个错误信息可以在上层拦截或判断一下,使提示信息更加友好。

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to