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/05/26 08:44:40 UTC
[GitHub] [dolphinscheduler] retime123 opened a new issue, #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
retime123 opened a new issue, #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement.
### Description

希望能添加自动删除实例以及日志:
1.可以选择“保留最大个数”和“天数”(默认“保留最大个数”);
2.可以选择“所有实例”和“保留失败”(默认“所有实例”);
3.数量。
前端我写好了,后端没有时间研究,希望你们能添加这个功能。
Want to add auto-delete instances and logs:
1. You can select Maximum Number of days and Maximum number of reserved days (the default value is Maximum number of reserved days).
2. You can select All Instances and Retention Failure (default: All Instances).
3. Number.
I have written the front end, there is no time to study the back end, I hope you can add this function.
### Use case
_No response_
### Related issues
_No response_
### Are you willing to submit a 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] SbloodyS commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138359876
Here is an example that may be useful to you:
1. Query the unnecessary workflow instances id from the database.
2. Call ```deleteProcessInstanceById``` api by yourself.
--
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] retime123 commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
retime123 commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138332813
> 工作流实例:实例运行的时候,判断有没有相应的参数来删除不需要的实例以及日志
> Workflow instance: When the instance is running, determine whether there are parameters to remove unwanted instances and logs
工作流实例:实例运行的时候,判断有没有相应的参数来删除不需要的实例以及日志
--
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] retime123 commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
retime123 commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138336419
比如:比较旧的运行成功的实例,我就可以认为不需要。
总得保留最新的几个实例,作为其他使用。
--
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] retime123 commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
retime123 commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138318579
> We do not recommand delete user's data. It's a dangerous operation. For more information you can see the discussion in #8408.
For my own use, If so, under which module should it be changed?
--
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] retime123 commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
retime123 commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138333555
> > > We do not recommand delete user's data. It's a dangerous operation. For more information you can see the discussion in #8408.
> >
> >
> > For my own use, If so, under which module should it be changed?
>
> It depends on what you want to achieve.
工作流实例:实例运行的时候,判断有没有相应的参数来删除不需要的实例以及日志
--
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] retime123 commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
retime123 commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138395423
> Here is an example that may be useful to you:
>
> 1. Query the unnecessary workflow instances id from the database.
> 2. Call `deleteProcessInstanceById` api by yourself.
那我要在哪个地方触发这个api?
So where do I trigger this API?
--
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 #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138307977
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://join.slack.com/t/asf-dolphinscheduler/shared_invite/zt-omtdhuio-_JISsxYhiVsltmC5h38yfw) 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] retime123 commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
retime123 commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138347570
对了,还有一点,我觉得删不删除,是通过用户决定的,这个不是必填项
--
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] SbloodyS commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138349075
Please describe in English, which can make more developers understand.
--
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] retime123 closed issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
retime123 closed issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
URL: https://github.com/apache/dolphinscheduler/issues/10254
--
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] SbloodyS commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138333832
How to judge unnecessary instances and logs?
--
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] retime123 commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
retime123 commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138333085
> 工作流实例:实例运行的时候,判断有没有相应的参数来删除不需要的实例以及日志
> Workflow instance: When the instance is running, determine whether there are parameters to remove unwanted instances and logs
工作流实例:实例运行的时候,判断有没有相应的参数来删除不需要的实例以及日志
--
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
Re: [I] [Feature][Discard old instances] can set to delete unwanted instances and logs [dolphinscheduler]
Posted by "jmorcar (via GitHub)" <gi...@apache.org>.
jmorcar commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-3173619577
What is the state of this suggestion ?
Or, any alternative to determine how to remove old task instances ? in webui Form in workflow/task creation could be good , but as well with a global parameter in config could be an alternative.
--
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] SbloodyS commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138408042
> > Here is an example that may be useful to you:
> >
> > 1. Query the unnecessary workflow instances id from the database.
> > 2. Call `deleteProcessInstanceById` api by yourself.
>
> 那我要在哪个地方触发这个api? So where do I trigger this API?
Through the code you developed.
--
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 #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138307772
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement.
### Description

Hope to add auto-delete instances and logs:
1. You can choose "retain maximum number" and "days" (default "retain maximum number");
2. You can choose "All Instances" and "Reservation Failed" (default "All Instances");
3. Quantity.
I have written the front end, but I don't have time to study the back end. I hope you can add this function.
Want to add auto-delete instances and logs:
1. You can select Maximum Number of days and Maximum number of reserved days (the default value is Maximum number of reserved days).
2. You can select All Instances and Retention Failure (default: All Instances).
3. Number.
I have written the front end, there is no time to study the back end, I hope you can add this function.
### Use case
_No response_
### Related issues
_No response_
### Are you willing to submit a 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] SbloodyS commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138313876
We do not recommand delete user's data. It's a dangerous operation. For more information you can see the discussion in #8408.
--
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] retime123 commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
retime123 commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138315229
或者代码层面应该在哪个模块添加此功能?
Or which module should you add this functionality to at the code level?
--
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] retime123 commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
retime123 commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138329778
工作流实例:实例运行的时候,判断有没有相应的参数来删除不需要的实例以及日志
Workflow instance: When the instance is running, determine whether there are parameters to remove unwanted instances and logs
--
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] SbloodyS commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
SbloodyS commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138324996
> > We do not recommand delete user's data. It's a dangerous operation. For more information you can see the discussion in #8408.
>
> For my own use, If so, under which module should it be changed?
It depends on what you want to achieve.
--
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] retime123 commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
retime123 commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138426918
我的意思是源码里面,每个实例的启动都走哪个方法?
是这个吗?
I mean in the source code, which method is used to start each instance?
Is that it?

--
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] retime123 commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
retime123 commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138351280
> Please describe in English, which can make more developers understand.
好,我用中英文对照
Ok, I'll use both Chinese and English
--
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] retime123 commented on issue #10254: [Feature][Discard old instances] can set to delete unwanted instances and logs
Posted by GitBox <gi...@apache.org>.
retime123 commented on issue #10254:
URL: https://github.com/apache/dolphinscheduler/issues/10254#issuecomment-1138338528
你们认为是a dangerous operation,那我自己改自己使用吧
然后就是想知道在哪个模块哪个文件下可以操作此功能?
--
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