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 2020/12/28 02:58:20 UTC

[GitHub] [incubator-dolphinscheduler] baiyibo commented on issue #4317: [Question] Debugging dataX under windows and calling CMD command to report an error ,Win32Exception: 句柄无效。

baiyibo commented on issue #4317:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4317#issuecomment-751556902


   中文再描述一下,就是我在调试dataX的时候,ds生成bat再调用cmd命令执行bat,此时报错 如:
   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)
   
   直接在文件夹运行这个生成的bat文件是可以执行的,没有报错,不知道是什么原因


----------------------------------------------------------------
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:
users@infra.apache.org