sandynz commented on PR #19949:
URL: https://github.com/apache/shardingsphere/pull/19949#issuecomment-1209242405

   I pulled the code of this PR and ran TextPrimaryKeyScalingIT, it's 
reproduced:
   ```
   [Thread-18] o.a.s.d.p.s.r.RuleAlteredJob - job prepare failed, 
0130317c30317c3054317c7368617264696e675f6462-1
   
org.apache.shardingsphere.infra.util.spi.exception.ServiceProviderNotFoundException:
 SPI-00001: No implementation class load from SPI 
`org.apache.shardingsphere.scaling.core.job.importer.ImporterCreator` with type 
`MySQL`.
        at 
org.apache.shardingsphere.infra.util.spi.type.typed.TypedSPIRegistry.getRegisteredService(TypedSPIRegistry.java:100)
        at 
org.apache.shardingsphere.scaling.core.job.importer.ImporterCreatorFactory.getInstance(ImporterCreatorFactory.java:41)
        at 
org.apache.shardingsphere.data.pipeline.core.task.IncrementalTask.createImporters(IncrementalTask.java:100)
        at 
org.apache.shardingsphere.data.pipeline.core.task.IncrementalTask.<init>(IncrementalTask.java:79)
        at 
org.apache.shardingsphere.data.pipeline.scenario.rulealtered.RuleAlteredJobPreparer.initIncrementalTasks(RuleAlteredJobPreparer.java:200)
        at 
org.apache.shardingsphere.data.pipeline.scenario.rulealtered.RuleAlteredJobPreparer.prepare(RuleAlteredJobPreparer.java:92)
        at 
org.apache.shardingsphere.data.pipeline.scenario.rulealtered.RuleAlteredJob.prepare(RuleAlteredJob.java:101)
        at 
org.apache.shardingsphere.data.pipeline.scenario.rulealtered.RuleAlteredJob.lambda$execute$0(RuleAlteredJob.java:71)
        at java.lang.Thread.run(Thread.java:748)
   ```
   This is the root cause. You could follow this one.
   
   job item progress:
   ```
   sourceDatabaseType: MySQL
   status: PREPARING_FAILURE
   ```
   It caused another issue in ShowScalingJobStatusQueryResultSet. I'll fix this 
one.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to