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/12/12 11:50:15 UTC

[GitHub] [dolphinscheduler] LucasClt opened a new issue, #13161: [Bug] [TaskPlugin-Zeppelin] Task execution error occurs when the Zeppelin task zeppelinNoteId parameter value is an empty string.

LucasClt opened a new issue, #13161:
URL: https://github.com/apache/dolphinscheduler/issues/13161

   ### 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
   
   Create a task of the Zeppelin type, fill in zeppelinNoteId, zeppelinRestEndpoint, and zeppelinParagraphId, save and run it. DolphinScheduler A single Zeppelin Paragraph works fine. Re-edit the task, clear the Zeppelinhid parameter value, save and re-run the task, and the following error message occurs: java.lang.Exception: Unable to call rest api, status: 405, statusText: Method Not Allowed, message: Method Not Allowed
   	at org.apache.zeppelin.client.ZeppelinClient.checkResponse(ZeppelinClient.java:96)
   	at org.apache.zeppelin.client.ZeppelinClient.queryParagraphResult(ZeppelinClient.java:777)
   	at org.apache.zeppelin.client.ZeppelinClient.submitParagraph(ZeppelinClient.java:676)
   	at org.apache.zeppelin.client.ZeppelinClient.executeParagraph(ZeppelinClient.java:602)
   	at org.apache.zeppelin.client.ZeppelinClient.executeParagraph(ZeppelinClient.java:618)
   	at org.apache.dolphinscheduler.plugin.task.zeppelin.ZeppelinTask.handle(ZeppelinTask.java:131)
   	at org.apache.dolphinscheduler.server.worker.runner.DefaultWorkerDelayTaskExecuteRunnable.executeTask(DefaultWorkerDelayTaskExecuteRunnable.java:49)
   	at org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecuteRunnable.run(WorkerTaskExecuteRunnable.java:174)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131)
   	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:74)
   	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82)
   	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)
   [ERROR] 2022-12-12 09:00:04.785 +0000 TaskLogLogger-class org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecuteRunnable:[179] - [WorkflowInstance-32][TaskInstance-113] - Task execute failed, due to meet an exception
   org.apache.dolphinscheduler.plugin.task.api.TaskException: Execute ZeppelinTask exception
   	at org.apache.dolphinscheduler.plugin.task.zeppelin.ZeppelinTask.handle(ZeppelinTask.java:149)
   	at org.apache.dolphinscheduler.server.worker.runner.DefaultWorkerDelayTaskExecuteRunnable.executeTask(DefaultWorkerDelayTaskExecuteRunnable.java:49)
   	at org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecuteRunnable.run(WorkerTaskExecuteRunnable.java:174)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131)
   	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:74)
   	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82)
   	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)
   
   ![425bb1edf08925e793323ca01681058](https://user-images.githubusercontent.com/120378101/207035882-40dd22b4-5d43-42e0-b9a4-a2ae859c09b9.png)
   ![e878b458897438e74af3f0e39bd1359](https://user-images.githubusercontent.com/120378101/207035919-bc022fc0-af3c-4012-86b4-47e86565594c.png)
   
   
   ### What you expected to happen
   
   The zeppelinParagraphId parameter is optional, and when I clear it, the Zeppelin task should normally implement the entire Zeppelin NoteBook.
   This bug occurs because after clearing the zeppelinParagraphId parameter's value, the zeppelinParagraphId field becomes an empty string, The code calls the zeppelin task only if it executes the entire notebook if zeppelinParagraphId equals null. Otherwise, it executes a single Paragraph. zeppelinParagraphId reports an error.
   
   ### How to reproduce
   
   Create a task of the Zeppelin type, fill in zeppelinNoteId, zeppelinRestEndpoint, and zeppelinParagraphId, save and run it. DolphinScheduler A single Zeppelin Paragraph works fine. Re-edit the task, clear the Zeppelinhid parameter value, save and re-run the task, and the following error message occurs: java.lang.Exception: Unable to call rest api, status: 405, statusText: Method Not Allowed, message: Method Not Allowed
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.1.x
   
   ### Are you willing to submit PR?
   
   - [X] 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.apache.org

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


[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #13161: [Bug] [TaskPlugin-Zeppelin] Task execution error occurs when the Zeppelin task zeppelinNoteId parameter value is an empty string.

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

   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 [join our slack](https://s.apache.org/dolphinscheduler-slack) and send your question to channel `#troubleshooting`


-- 
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 #13161: [Bug] [TaskPlugin-Zeppelin] Task execution error occurs when the Zeppelin task zeppelinNoteId parameter value is an empty string.

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

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
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 #13161: [Bug] [TaskPlugin-Zeppelin] Task execution error occurs when the Zeppelin task zeppelinNoteId parameter value is an empty string.

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

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
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] closed issue #13161: [Bug] [TaskPlugin-Zeppelin] Task execution error occurs when the Zeppelin task zeppelinNoteId parameter value is an empty string.

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #13161: [Bug] [TaskPlugin-Zeppelin] Task execution error occurs when the Zeppelin task zeppelinNoteId parameter value is an empty string.
URL: https://github.com/apache/dolphinscheduler/issues/13161


-- 
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