You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/03/23 08:01:51 UTC

[GitHub] [dolphinscheduler] gaojun2048 opened a new issue #9127: [Bug] [DataX Task] DataX Task run fail

gaojun2048 opened a new issue #9127:
URL: https://github.com/apache/dolphinscheduler/issues/9127


   ### 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
   
   DataX Task run fail.
   code version: branch/dev
   
   
   ### What you expected to happen
   
   DataX Task can run success.
   
   ### How to reproduce
   
   Create a `MySQL` datasource. 
   And then create a workflow with a `DataX` Task. This task use `MySQL` datasource and with the config input:
   
   ```
   select * from test_datax
   ``
   
   From the worker-server log, I found some Exception:
   
   ```
   [INFO] 2022-03-23 15:49:15.896 TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.datax.DataxTask:[133] - datax task params {"localParams":[],"resourceList":[],"customConfig":0,"dsType":"MYSQL","dataSource":"1","dtType":"MYSQL","dataTarget":"1","sql":"select * from test_datax","targetTable":"test_datax_1","jobSpeedByte":0,"jobSpeedRecord":1000,"preStatements":[],"postStatements":[],"xms":1,"xmx":1}
   [ERROR] 2022-03-23 15:49:15.898 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[203] - task scheduler failure
   java.lang.NullPointerException: null
           at org.apache.dolphinscheduler.plugin.task.datax.DataxParameters.generateExtendedContext(DataxParameters.java:265)
           at org.apache.dolphinscheduler.plugin.task.datax.DataxTask.init(DataxTask.java:140)
           at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:182)
           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)
   [INFO] 2022-03-23 15:49:15.899 org.apache.dolphinscheduler.server.worker.processor.DBTaskAckProcessor:[56] - dBTask ACK request command : DBTaskAckCommand{taskInstanceId=123, status=7}
   ```
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   dev
   
   ### 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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] zhuangchong closed issue #9127: [Bug] [DataX Task] DataX Task run fail

Posted by GitBox <gi...@apache.org>.
zhuangchong closed issue #9127:
URL: https://github.com/apache/dolphinscheduler/issues/9127


   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #9127: [Bug] [DataX Task] DataX Task run fail

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #9127:
URL: https://github.com/apache/dolphinscheduler/issues/9127#issuecomment-1076081551


   Hi:
   * Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html ,Then write the issue URL in the email content and send question to dev@dolphinscheduler.apache.org.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org