qiaojiang2 opened a new issue #6777: URL: https://github.com/apache/shardingsphere/issues/6777
## Bug Report #Create migration job: curl -X POST --url http://localhost:8888/shardingscaling/job/start \ --header 'content-type: application/json' \ --data '{ "ruleConfiguration": { "sourceDatasource": "ds_0: !!org.apache.shardingsphere.orchestration.core.configuration.YamlDataSourceConfiguration\n dataSourceClassName: com.zaxxer.hikari.HikariDataSource\n properties:\n jdbcUrl: jdbc:mysql://127.0.0.1:3306/order?serverTimezone=UTC&useSSL=false&zeroDateTimeBehavior=convertToNull\n driverClassName: com.mysql.jdbc.Driver\n username: root\n password: 123456\n connectionTimeout: 30000\n idleTimeout: 60000\n maxLifetime: 1800000\n maxPoolSize: 100\n minPoolSize: 10\n maintenanceIntervalMilliseconds: 30000\n readOnly: false\n", "sourceRule": "tables:\n t_order:\n actualDataNodes: ds_0.t_order\n keyGenerator:\n column: order_id\n type: SNOWFLAKE", "destinationDataSources": { "name": "dt_1", "password": "123456", "url": "jdbc:mysql://127.0.0.1:3307/order?serverTimezone=UTC&useSSL=false", "username": "root" } }, "jobConfiguration": { "concurrency": 1 } }' “Exception in thread "Thread-5" java.lang.RuntimeException: markPosition error at org.apache.shardingsphere.shardingscaling.mysql.MySQLLogPositionManager.getCurrentPositionFromSource(MySQLLogPositionManager.java:58) at org.apache.shardingsphere.shardingscaling.mysql.MySQLLogPositionManager.getCurrentPosition(MySQLLogPositionManager.java:42) at org.apache.shardingsphere.shardingscaling.mysql.MySQLLogPositionManager.getCurrentPosition(MySQLLogPositionManager.java:32) at org.apache.shardingsphere.shardingscaling.core.synctask.realtime.RealtimeDataSyncTask.prepare(RealtimeDataSyncTask.java:70) at org.apache.shardingsphere.shardingscaling.core.controller.task.SyncTaskController.run(SyncTaskController.java:93) at java.lang.Thread.run(Thread.java:748) Caused by: java.sql.SQLException: Illegal operation on empty result set. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861) at com.mysql.jdbc.ResultSetImpl.checkRowPos(ResultSetImpl.java:790) at com.mysql.jdbc.ResultSetImpl.getStringInternal(ResultSetImpl.java:5213) at com.mysql.jdbc.ResultSetImpl.getString(ResultSetImpl.java:5136) at com.zaxxer.hikari.pool.HikariProxyResultSet.getString(HikariProxyResultSet.java) at org.apache.shardingsphere.shardingscaling.mysql.MySQLLogPositionManager.getCurrentPositionFromSource(MySQLLogPositionManager.java:52) ... 5 more” ---------------------------------------------------------------- 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: [email protected]
