单机海豚调度器如何支持k8s应用? #16965
wap1990-0903
started this conversation in
General
单机海豚调度器如何支持k8s应用?
#16965
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
目前有这样一个需求,就是我自己编写好的go脚本,目前已经打成镜像,我目前搭建的海豚环境是单机版本得,是采用源码搭建的,想在上面运行简单go应用程序k8s部署,但是总是报错,
报错如下:
[ERROR] 2025-01-20 14:43:28.724 +0800 - k8s task submit failed with error [ERROR] 2025-01-20 14:43:28.724 +0800 - Task execute failed, due to meet an exception org.apache.dolphinscheduler.plugin.task.api.TaskException: Execute k8s task error at org.apache.dolphinscheduler.plugin.task.api.k8s.AbstractK8sTask.handle(AbstractK8sTask.java:59) at org.apache.dolphinscheduler.server.worker.runner.DefaultWorkerTaskExecutor.executeTask(DefaultWorkerTaskExecutor.java:51) at org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecutor.run(WorkerTaskExecutor.java:172) 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) Caused by: java.lang.NullPointerException: null at org.apache.dolphinscheduler.plugin.task.k8s.K8sTask.buildCommand(K8sTask.java:86) at org.apache.dolphinscheduler.plugin.task.api.k8s.AbstractK8sTask.handle(AbstractK8sTask.java:52) ... 5 common frames omitted [ERROR] 2025-01-20 14:43:28.724 +0800 - Cancel task failed, this will not affect the taskInstance status, but you need to check manual java.lang.NullPointerException: null at org.apache.dolphinscheduler.plugin.task.k8s.K8sTask.buildCommand(K8sTask.java:86) at org.apache.dolphinscheduler.plugin.task.api.k8s.AbstractK8sTask.cancelApplication(AbstractK8sTask.java:83) at org.apache.dolphinscheduler.plugin.task.api.AbstractRemoteTask.cancel(AbstractRemoteTask.java:39) at org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecutor.cancelTask(WorkerTaskExecutor.java:133) at org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecutor.afterThrowing(WorkerTaskExecutor.java:114) at org.apache.dolphinscheduler.server.worker.runner.DefaultWorkerTaskExecutor.afterThrowing(DefaultWorkerTaskExecutor.java:61) at org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecutor.run(WorkerTaskExecutor.java:179) 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)
所以我得疑问:
1、单机版海豚是否支持k8s应用程序?
2.官网也没有一个详细的demo来说明,让第一次接触这个得人,难以下手,建议官网增加详细视频或者文字说明。
Beta Was this translation helpful? Give feedback.
All reactions