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/10/19 09:44:05 UTC

[GitHub] [shardingsphere-elasticjob] kaihekaihe opened a new issue #1595: What is the reason to check job class confliction

kaihekaihe opened a new issue #1595:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1595


   Exception occurs while restarting elasticjob APP after Job Class name is changed。I manually modify the class name stored in zk,and it works。
   
   is there any other solutions?what is the reason to check job confliction ? 
   
   
   
   Caused by: org.apache.shardingsphere.elasticjob.infra.exception.JobConfigurationException: Job conflict with register center. The job 'simpleJob' in register center's class is 'com.oppo.paas.cloudjob.example.job.SpringBootSimpleJob1', your job class is 'com.oppo.paas.cloudjob.example.job.SpringBootSimpleJob'
   	at org.apache.shardingsphere.elasticjob.lite.internal.config.ConfigurationService.checkConflictJob(ConfigurationService.java:86) ~[elasticjob-lite-core-3.0.0-alpha.jar:3.0.0-alpha]
   	at org.apache.shardingsphere.elasticjob.lite.internal.config.ConfigurationService.setUpJobConfiguration(ConfigurationService.java:70) ~[elasticjob-lite-core-3.0.0-alpha.jar:3.0.0-alpha]
   	at org.apache.shardingsphere.elasticjob.lite.internal.setup.SetUpFacade.setUpJobConfiguration(SetUpFacade.java:70) ~[elasticjob-lite-core-3.0.0-alpha.jar:3.0.0-alpha]
   	at org.apache.shardingsphere.elasticjob.lite.internal.schedule.JobScheduler.<init>(JobScheduler.java:88) ~[elasticjob-lite-core-3.0.0-alpha.jar:3.0.0-alpha]
   	at org.apache.shardingsphere.elasticjob.lite.api.bootstrap.impl.ScheduleJobBootstrap.<init>(ScheduleJobBootstrap.java:43) ~[elasticjob-lite-core-3.0.0-alpha.jar:3.0.0-alpha]
   	at org.apache.shardingsphere.elasticjob.lite.spring.boot.job.ElasticJobLiteAutoConfiguration.registerClassedJob(ElasticJobLiteAutoConfiguration.java:114) ~[classes/:na]
   	at org.apache.shardingsphere.elasticjob.lite.spring.boot.job.ElasticJobLiteAutoConfiguration.constructJobBootstraps(ElasticJobLiteAutoConfiguration.java:97) ~[classes/:na]
   	at org.apache.shardingsphere.elasticjob.lite.spring.boot.job.ElasticJobLiteAutoConfiguration.createJobBootstrapBeans(ElasticJobLiteAutoConfiguration.java:70) ~[classes/:na]


----------------------------------------------------------------
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] terrymanu closed issue #1595: What is the reason to check job class confliction

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #1595:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1595


   


----------------------------------------------------------------
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] TeslaCN commented on issue #1595: What is the reason to check job class confliction

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #1595:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1595#issuecomment-712677441


   > Did you set overwrite=true?
   
   At present, job class cannot be overwritten.


----------------------------------------------------------------
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] gzdzss commented on issue #1595: What is the reason to check job class confliction

Posted by GitBox <gi...@apache.org>.
gzdzss commented on issue #1595:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1595#issuecomment-712675935


   Did you set overwrite=true?


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