apache / dolphinscheduler

Apache DolphinScheduler is the modern data orchestration platform. Agile to create high performance workflow with low-code
https://dolphinscheduler.apache.org/
Apache License 2.0
12.73k stars 4.58k forks source link

[Bug] [dolphinscheduler-task-api] can't getpid and bat unresponsive under Windows #16530

Closed soxueren closed 1 month ago

soxueren commented 1 month ago

Search before asking

What happened

1.unresponsive execution of bat in CMD.exe under window 2.the issue of not being able to obtain PID under the window

What you expected to happen

can run python script under window10

How to reproduce

run dolphinscheduler-worker.jar under window10 with envs: SET JAVA_HOME=C:\Java\jdk1.8 SET PATH=%PATH%;%JAVA_HOME%\bin SET METRICS_ENABLED=true SET REGISTRY_ENDPOINTS=http://127.0.0.1:2379 SET REGISTRY_NAMESPACE=dolphinscheduler SET REGISTRY_TYPE=etcd SET PYTHON_LAUNCHER=python3 java -Xms4g -Xmx4g -Xmn2g -XX:+IgnoreUnrecognizedVMOptions -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:gc.log -XX:+ExitOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=dump.hprof -Duser.timezone=Asia/Shanghai -jar ./dolphinscheduler-worker-3.2.2.jar

Anything else

run dolphinscheduler-worker.jar under window10

Version

3.2.x

Are you willing to submit PR?

Code of Conduct

SbloodyS commented 1 month ago

We don't support windows right now.