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/31 03:31:19 UTC

[GitHub] [shardingsphere] taojintianxia opened a new issue #7164: get null table name in scaling

taojintianxia opened a new issue #7164:
URL: https://github.com/apache/shardingsphere/issues/7164


   followings are my scaling configuration in postman : 
   
   ```yaml
   {
      "ruleConfiguration": {
         "sourceDatasource": "sourceSchema: !!org.apache.shardingsphere.governance.core.common.yaml.config.YamlDataSourceConfiguration\n  dataSourceClassName: com.zaxxer.hikari.HikariDataSource\n  props:\n    jdbcUrl: jdbc:mysql://127.0.0.1:3306/source_schema?serverTimezone=UTC&useSSL=false\n    username: root\n    password: root\n    connectionTimeout: 30000\n    idleTimeout: 60000\n    maxLifetime: 1800000\n    maxPoolSize: 50\n    minPoolSize: 1\n    maintenanceIntervalMilliseconds: 30000\n    readOnly: false\n",
         "sourceRule": "defaultDatabaseStrategy:\n  none:\ntables:\n  t_test:\n    actualDataNodes: sourceSchema.t_test\n",
         "destinationDataSources": {
            "password": "root",
            "url": "jdbc:mysql://127.0.0.1:3306/target_schema?serverTimezone=UTC&useSSL=false",
            "username": "root"
         }
      },
      "jobConfiguration": {
         "concurrency": 3
      }
   }
   ```
   
   as a test demo , this config is quite simple , just migrate all data from sourceSchema to targetSchema . but I got the failed task as following screenshot :
   
   ![image](https://user-images.githubusercontent.com/4112856/91680311-64096c80-eb7d-11ea-89cf-a41bce8a9262.png)
   
   as we could see, the table name is null , and the task failed


----------------------------------------------------------------
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] taojintianxia edited a comment on issue #7164: get null table name in scaling

Posted by GitBox <gi...@apache.org>.
taojintianxia edited a comment on issue #7164:
URL: https://github.com/apache/shardingsphere/issues/7164#issuecomment-683531175


   I tried to commit a PR, need lu @Lucas-307 to take a review


----------------------------------------------------------------
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] taojintianxia commented on issue #7164: get null table name in scaling

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


   I tried to commit a PR, need lu to take a review


----------------------------------------------------------------
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] tristaZero closed issue #7164: get null table name in scaling

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


   


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