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 2021/11/04 02:03:34 UTC

[GitHub] [dolphinscheduler] boy-xiaozhang opened a new issue #6688: [Bug] [dolphinscheduler-api] Set timing scheduler through API

boy-xiaozhang opened a new issue #6688:
URL: https://github.com/apache/dolphinscheduler/issues/6688


   ### 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
   
   The scenario is as follows:
      The user uses the API interface to set the timing scheduling processInstancePriority as an optional parameter, but there is no default value, which causes the Scheduler to fail to execute and throws an exception
   
   ![image](https://user-images.githubusercontent.com/60912722/140242593-f24363a1-75ea-4bf7-ace0-321e301b43bb.png)
   
   
   ### What you expected to happen
   
   The default processInstancePriority should be added to ensure that the user sets the timing scheduling task through the API is correct
   
   ### How to reproduce
   
   The process of reproducing the BUG is as follows
   
   curl -X POST "http://127.0.0.1:12345/dolphinscheduler/projects/%E5%BA%94%E7%94%A8%E8%B0%83%E5%BA%A6/schedule/create" -H "Request-Origion:SwaggerBootstrapUi" -H "accept:*/*" -H "Content-Type:application/x-www-form-urlencoded;charset=UTF-8" -d "processDefinitionId=6264" -d "schedule={'startTime':'2019-06-10 00:00:00','endTime':'2019-06-13 00:00:00','crontab':'0 0 3/6 * * ? *'}" 
   
   ### Anything else
   
   _No response_
   
   ### 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

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



[GitHub] [dolphinscheduler] boy-xiaozhang closed issue #6688: [Bug] [dolphinscheduler-api] Set timing scheduler through API

Posted by GitBox <gi...@apache.org>.
boy-xiaozhang closed issue #6688:
URL: https://github.com/apache/dolphinscheduler/issues/6688


   


-- 
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 #6688: [Bug] [dolphinscheduler-api] Set timing scheduler through API

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


   Hi:
   * 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 subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html ,Then write the issue URL in the email content and send question to dev@dolphinscheduler.apache.org.


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