baiyibo opened a new issue #4317:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4317
Environment: DS 1.3.2-snapshot, JDK 1.8, Python 2.7.18
When debugging dataX in windows, when creating a process to call the bat
file of dataX generated by DS, execute the CMD command and report an error. The
log is as follows:
(Note: in windows, you can run dataX by double clicking the bat directly
without any error)
[INFO] 2020-12-28 09:21:46.714 - [taskAppId=TASK-138-interactive-300]:[316]
- task run command:
cmd.exe /c
D:\workspace\incubator-dolphinscheduler\exec\interactive\1\138\300\138_interactive_300.bat
[INFO] 2020-12-28 09:21:46.716 - [taskAppId=TASK-138-interactive-300]:[200]
- process start, process id is: 0
[ERROR] 2020-12-28 09:21:46.720 -
[taskAppId=TASK-138-interactive-300]:[153] - datax task failure
com.sun.jna.platform.win32.Win32Exception: 句柄无效。
at
org.apache.dolphinscheduler.common.utils.process.ProcessImplForWin32.getExitCodeProcess(ProcessImplForWin32.java:760)
at
org.apache.dolphinscheduler.common.utils.process.ProcessImplForWin32.waitFor(ProcessImplForWin32.java:563)
at
org.apache.dolphinscheduler.server.worker.task.AbstractCommandExecutor.run(AbstractCommandExecutor.java:206)
at
org.apache.dolphinscheduler.server.worker.task.datax.DataxTask.handle(DataxTask.java:146)
at
org.apache.dolphinscheduler.server.worker.runner.BaseTaskExecute.exec(BaseTaskExecute.java:120)
at
org.apache.dolphinscheduler.server.worker.runner.InteractiveTaskExecuteThread.run(InteractiveTaskExecuteThread.java:94)
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)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]