anhdbbt opened a new issue, #18433:
URL: https://github.com/apache/dolphinscheduler/issues/18433

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   dolphinscheduler-3.2.1
   i configed a task with flink_stream component,it cant be commited to the 
flink,and the taskdefinition executed error
   
   ### What you expected to happen
   
   exec the workflow,create the task definition, exec the task 
definition,commit the task to flink
   
   ### How to reproduce
   
   1、config a workflow with only one flink_stream component,and the script like 
this:
   SET execution.runtime-mode = streaming;
   SET parallelism.default = 1;
   SET execution.checkpointing.interval = 30000;
   SET table.exec.resource.default-parallelism = 1;
   
   CREATE TABLE source_testa (
       id INT,
       s_name STRING,
       s_age STRING,
       s_address STRING,
       PRIMARY KEY (id) NOT ENFORCED
   ) WITH (
       'connector' = 'mysql-cdc',
       'hostname' = '192.168.133.72',
       'port' = '3306',
       'username' = 'root',
       'password' = 'abcd1234',
       'database-name' = 'mytest',
       'table-name' = 's_address',
       'scan.startup.mode' = 'initial'
   );
   
   CREATE TABLE sink_testb (
       id INT,
       s_name STRING,
       s_age STRING,
       s_address STRING,
       PRIMARY KEY (id) NOT ENFORCED
   ) WITH (
       'connector' = 'jdbc',
       'url' = 
'jdbc:mysql://192.168.133.72:3306/mytest?useSSL=false&serverTimezone=Asia/Shanghai',
       'table-name' = 's_address_stream1',
       'username' = 'root',
       'password' = 'abcd1234',
       'driver' = 'com.mysql.cj.jdbc.Driver',
       'sink.buffer-flush.max-rows' = '2000',
       'sink.buffer-flush.interval' = '2000ms',
       'sink.max-retries' = '1'
   );
   
   INSERT INTO sink_testb
   SELECT
       id,
       s_name,
       s_age,
       s_address
   FROM source_testa;
   
   2、exec the workflow
   3、exec the task definition
   
   <img width="1436" height="383" alt="Image" 
src="https://github.com/user-attachments/assets/2d52655a-decc-4cb0-93ed-05d8210eb86f";
 />
   
   4、the error happened
   
   <img width="1180" height="608" alt="Image" 
src="https://github.com/user-attachments/assets/2ec6aed0-86cf-4bfc-8239-46fe9c9c7728";
 />
   
   <img width="1430" height="802" alt="Image" 
src="https://github.com/user-attachments/assets/eb8727e5-b139-4fe6-beae-9d70cf083c2d";
 />
   
   ### Anything else
   
   infact, the NPE happened in StreamTaskExecuteRunnable first, because 
defaultTaskExecuteRunnableFactory was null, i fixed it locally, and found the 
NPE happened in the DefaultTaskExecuteRunnableFactory
   I've no idea how to fix it now ...
   
   ### Version
   
   3.3.0-alpha
   
   ### Are you willing to submit PR?
   
   - [ ] 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