You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/08/17 07:06:42 UTC
[GitHub] [shardingsphere-elasticjob] christ258 opened a new issue #1378: Dynamically create tasks and zk data management issues
christ258 opened a new issue #1378:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1378
If the task is created dynamically, how to synchronize to other servers? For example, there is a task A. When the execution time of a service is modified, how can the other service obtain the latest information?
Another question is how to create a lot of tasks, all of them are single tasks, millions of tasks per day, will zk data be automatically cleaned up? If not, what should I do?
version=2.1.5
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] Technoboy- commented on issue #1378: Dynamically create tasks and zk data management issues
Posted by GitBox <gi...@apache.org>.
Technoboy- commented on issue #1378:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1378#issuecomment-674741573
You should monitor the path for '${namespace}/jobName'.
> If I monitor zk by myself, which path should I monitor? In order to obtain valid job information.
This is a demo namespace for users. you can specify any.
> I think there is a path called /elastic-job. What does this do?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] christ258 closed issue #1378: Dynamically create tasks and zk data management issues
Posted by GitBox <gi...@apache.org>.
christ258 closed issue #1378:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1378
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] Technoboy- commented on issue #1378: Dynamically create tasks and zk data management issues
Posted by GitBox <gi...@apache.org>.
Technoboy- commented on issue #1378:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1378#issuecomment-674766208
Try to do as the above way to test if it works. and remember to close the issue after it resolved.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] Technoboy- commented on issue #1378: Dynamically create tasks and zk data management issues
Posted by GitBox <gi...@apache.org>.
Technoboy- commented on issue #1378:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1378#issuecomment-674758136
> operation
Sorry, no example right now. You'd better shutdown the job by calling JobBootstrap#shutdown, and then delete ${namespace}/jobName directly.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] christ258 commented on issue #1378: Dynamically create tasks and zk data management issues
Posted by GitBox <gi...@apache.org>.
christ258 commented on issue #1378:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1378#issuecomment-674772134
Thank you
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] Technoboy- edited a comment on issue #1378: Dynamically create tasks and zk data management issues
Posted by GitBox <gi...@apache.org>.
Technoboy- edited a comment on issue #1378:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1378#issuecomment-674758136
> Is there a complete example of zk operation?
Sorry, no example right now. You'd better shutdown the job by calling JobBootstrap#shutdown, and then delete ${namespace}/jobName directly.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] Technoboy- commented on issue #1378: Dynamically create tasks and zk data management issues
Posted by GitBox <gi...@apache.org>.
Technoboy- commented on issue #1378:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1378#issuecomment-674726463
Hi,
The task can't synchronize with other servers.
> If the task is created dynamically, how to synchronize to other servers?
You have to pause the job first and then update the time, and resume last.
> When the execution time of a service is modified, how can the other service obtain the latest information?
You have to remove the zk data by yourself.
> will zk data be automatically cleaned up?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] christ258 commented on issue #1378: Dynamically create tasks and zk data management issues
Posted by GitBox <gi...@apache.org>.
christ258 commented on issue #1378:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1378#issuecomment-674745333
Is there a complete example of zk 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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere-elasticjob] christ258 commented on issue #1378: Dynamically create tasks and zk data management issues
Posted by GitBox <gi...@apache.org>.
christ258 commented on issue #1378:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1378#issuecomment-674739266
Thanks for the reply.
If I monitor zk by myself, which path should I monitor? In order to obtain valid job information.
If I delete the invalid zk by myself, can I delete /namespace/jobName? I think there is a path called /elastic-job. What does this do?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org