alextinng opened a new issue, #5998:
URL: https://github.com/apache/seatunnel/issues/5998

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   unfortunately I got problem connect to tdengine, I tried to find out the 
cause, but the reason is not printed.
   
   part of log:
   ```
   2023-12-12 19:57:29,452 ERROR 
org.apache.seatunnel.engine.server.dag.physical.PhysicalVertex - Job 
SeaTunnel_Job (786924607960514561), Pipeline: [(1/1)], task: [pipeline-1 
[Source[0]-TDengine-src]-SourceTask (1/1)] end with state FAILED and Exception: 
org.apache.seatunnel.connectors.seatunnel.tdengine.exception.TDengineConnectorException:
 ErrorCode:[COMMON-12], ErrorDescription:[Source reader operation failed, such 
as (open, close) etc...] - get TDengine connection 
failed:jdbc:TAOS-RS://localhost:6041/test?user=root&password=taosdata
           at 
org.apache.seatunnel.connectors.seatunnel.tdengine.source.TDengineSourceReader.open(TDengineSourceReader.java:113)
           at 
org.apache.seatunnel.engine.server.task.flow.SourceFlowLifeCycle.open(SourceFlowLifeCycle.java:115)
           at 
org.apache.seatunnel.engine.server.task.SeaTunnelTask.stateProcess(SeaTunnelTask.java:146)
           at 
org.apache.seatunnel.engine.server.task.SourceSeaTunnelTask.call(SourceSeaTunnelTask.java:89)
           at 
org.apache.seatunnel.engine.server.TaskExecutionService$BlockingWorker.run(TaskExecutionService.java:613)
           at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           at java.lang.Thread.run(Thread.java:748)
   
   2023-12-12 19:57:29,452 ERROR 
org.apache.seatunnel.engine.server.dag.physical.SubPlan - Task 
TaskGroupLocation{jobId=786924607960514561, pipelineId=1, taskGroupId=50000} 
Failed in Job SeaTunnel_Job (786924607960514561), Pipeline: [(1/1)], Begin to 
cancel other tasks in this pipeline.
   ```
   
   ### SeaTunnel Version
   
   2.3.2
   
   ### SeaTunnel Config
   
   ```conf
   env {
     execution.parallelism = 1
     job.mode = "BATCH"
   }
   
   source {
           TDengine {
             url : "jdbc:TAOS-RS://localhost:6041/"
             username : "root"
             password : "taosdata"
             database : "test"
             stable : "xxxxx"
             lower_bound : "2023-12-12 14:38:05.000"
             upper_bound : "2023-12-12 14:38:16.800"
             result_table_name = "src"
           }
   }
   
   sink {
     Console {}
   }
   ```
   
   
   ### Running Command
   
   ```shell
   bin/seatunnel.sh --config a.conf -e local
   ```
   
   
   ### Error Exception
   
   ```log
   2023-12-12 19:57:29,452 ERROR 
org.apache.seatunnel.engine.server.dag.physical.PhysicalVertex - Job 
SeaTunnel_Job (786924607960514561), Pipeline: [(1/1)], task: [pipeline-1 
[Source[0]-TDengine-src]-SourceTask (1/1)] end with state FAILED and Exception: 
org.apache.seatunnel.connectors.seatunnel.tdengine.exception.TDengineConnectorException:
 ErrorCode:[COMMON-12], ErrorDescription:[Source reader operation failed, such 
as (open, close) etc...] - get TDengine connection 
failed:jdbc:TAOS-RS://localhost:6041/test?user=root&password=taosdata
           at 
org.apache.seatunnel.connectors.seatunnel.tdengine.source.TDengineSourceReader.open(TDengineSourceReader.java:113)
           at 
org.apache.seatunnel.engine.server.task.flow.SourceFlowLifeCycle.open(SourceFlowLifeCycle.java:115)
           at 
org.apache.seatunnel.engine.server.task.SeaTunnelTask.stateProcess(SeaTunnelTask.java:146)
           at 
org.apache.seatunnel.engine.server.task.SourceSeaTunnelTask.call(SourceSeaTunnelTask.java:89)
           at 
org.apache.seatunnel.engine.server.TaskExecutionService$BlockingWorker.run(TaskExecutionService.java:613)
           at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
           at java.util.concurrent.FutureTask.run(FutureTask.java:266)
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           at java.lang.Thread.run(Thread.java:748)
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to