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 2022/10/09 09:29:26 UTC

[GitHub] [shardingsphere] 1210958801 opened a new issue, #21422: ServiceProviderNotFoundException

1210958801 opened a new issue, #21422:
URL: https://github.com/apache/shardingsphere/issues/21422

   When I use shardingjdbc find this bug.
   
   ![img_v2_42eb1929-e683-4ab5-b558-33074061824g](https://user-images.githubusercontent.com/34763201/194749043-82fbb1e1-cd9c-4af8-bab1-4f35ef495a75.jpg)
   
   help


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

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


[GitHub] [shardingsphere] 1210958801 commented on issue #21422: ServiceProviderNotFoundException

Posted by GitBox <gi...@apache.org>.
1210958801 commented on issue #21422:
URL: https://github.com/apache/shardingsphere/issues/21422#issuecomment-1276240961

   @TeslaCN 


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] TeslaCN commented on issue #21422: ServiceProviderNotFoundException

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

   Have you shaded jars of ShardingSphere?


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] 1210958801 commented on issue #21422: ServiceProviderNotFoundException

Posted by GitBox <gi...@apache.org>.
1210958801 commented on issue #21422:
URL: https://github.com/apache/shardingsphere/issues/21422#issuecomment-1276245268

   `yaml`
   - !SHARDING
     shardingAlgorithms:
       database_inline:
         props:
           algorithm-expression: rosetta_task_$->{project_id%4}
         type: INLINE
       history_table_inline:
         props:
           algorithm-expression: task_history_$->{task_id%4}
         type: INLINE
       task_table_inline:
         props:
           algorithm-expression: task_info_$->{project_id%3}
         type: INLINE
     tables:
       task_info:
         actualDataNodes: rosetta_task_$->{0..3}.task_info_$->{0..2}
         databaseStrategy:
           standard:
             shardingAlgorithmName: database_inline
             shardingColumn: project_id
         logicTable: task_info
         tableStrategy:
           standard:
             shardingAlgorithmName: task_table_inline
             shardingColumn: project_id
       task_history:
         actualDataNodes: rosetta_task_$->{0..3}.task_history_$->{0..3}
         databaseStrategy:
           standard:
             shardingAlgorithmName: database_inline
             shardingColumn: project_id
         logicTable: task_history
         tableStrategy:
           standard:
             shardingAlgorithmName: history_table_inline
             shardingColumn: task_id
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] Hansiyuan131 commented on issue #21422: ServiceProviderNotFoundException

Posted by GitBox <gi...@apache.org>.
Hansiyuan131 commented on issue #21422:
URL: https://github.com/apache/shardingsphere/issues/21422#issuecomment-1276256720

   > Author
   
   The same thing happened to me


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] 1210958801 commented on issue #21422: ServiceProviderNotFoundException

Posted by GitBox <gi...@apache.org>.
1210958801 commented on issue #21422:
URL: https://github.com/apache/shardingsphere/issues/21422#issuecomment-1276240688

   > Have you shaded jars of ShardingSphere?
   
   Thank you for your reply, But I've never done that before


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] 1210958801 commented on issue #21422: ServiceProviderNotFoundException

Posted by GitBox <gi...@apache.org>.
1210958801 commented on issue #21422:
URL: https://github.com/apache/shardingsphere/issues/21422#issuecomment-1276247450

   ```
   - !SHARDING
     shardingAlgorithms:
       database_inline:
         props:
           algorithm-expression: rosetta_task_$->{project_id%4}
         type: INLINE
       history_table_inline:
         props:
           algorithm-expression: task_history_$->{task_id%4}
         type: INLINE
       task_table_inline:
         props:
           algorithm-expression: task_info_$->{project_id%3}
         type: INLINE
     tables:
       task_info:
         actualDataNodes: rosetta_task_$->{0..3}.task_info_$->{0..2}
         databaseStrategy:
           standard:
             shardingAlgorithmName: database_inline
             shardingColumn: project_id
         logicTable: task_info
         tableStrategy:
           standard:
             shardingAlgorithmName: task_table_inline
             shardingColumn: project_id
       task_history:
         actualDataNodes: rosetta_task_$->{0..3}.task_history_$->{0..3}
         databaseStrategy:
           standard:
             shardingAlgorithmName: database_inline
             shardingColumn: project_id
         logicTable: task_history
         tableStrategy:
           standard:
             shardingAlgorithmName: history_table_inline
             shardingColumn: task_id
   
   ```


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] 1210958801 commented on issue #21422: ServiceProviderNotFoundException

Posted by GitBox <gi...@apache.org>.
1210958801 commented on issue #21422:
URL: https://github.com/apache/shardingsphere/issues/21422#issuecomment-1276245987

   `
   - !SHARDING
     shardingAlgorithms:
       database_inline:
         props:
           algorithm-expression: rosetta_task_$->{project_id%4}
         type: INLINE
       history_table_inline:
         props:
           algorithm-expression: task_history_$->{task_id%4}
         type: INLINE
       task_table_inline:
         props:
           algorithm-expression: task_info_$->{project_id%3}
         type: INLINE
     tables:
       task_info:
         actualDataNodes: rosetta_task_$->{0..3}.task_info_$->{0..2}
         databaseStrategy:
           standard:
             shardingAlgorithmName: database_inline
             shardingColumn: project_id
         logicTable: task_info
         tableStrategy:
           standard:
             shardingAlgorithmName: task_table_inline
             shardingColumn: project_id
       task_history:
         actualDataNodes: rosetta_task_$->{0..3}.task_history_$->{0..3}
         databaseStrategy:
           standard:
             shardingAlgorithmName: database_inline
             shardingColumn: project_id
         logicTable: task_history
         tableStrategy:
           standard:
             shardingAlgorithmName: history_table_inline
             shardingColumn: task_id
   
   `


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] 1210958801 commented on issue #21422: ServiceProviderNotFoundException

Posted by GitBox <gi...@apache.org>.
1210958801 commented on issue #21422:
URL: https://github.com/apache/shardingsphere/issues/21422#issuecomment-1280205661

   Thanks shardingsphere team
   I'm found this bug,why is happened!
   when i see this code
   ![bLebj72VPY](https://user-images.githubusercontent.com/34763201/196078586-2f88804c-5470-40a2-b174-8cbb086d14fa.jpg)
   I wonder what caused the method area cache to fail.
   Because I used this.
   ```
   the spring local scheduler,And the timer is started when the project is started.
   @Scheduled(fixedDelay = 1000 * 60)
   ```
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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


[GitHub] [shardingsphere] 1210958801 closed issue #21422: ServiceProviderNotFoundException

Posted by GitBox <gi...@apache.org>.
1210958801 closed issue #21422: ServiceProviderNotFoundException
URL: https://github.com/apache/shardingsphere/issues/21422


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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