job_mysql2mysql_json-02_03_18.925.log 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. 2022-07-17 02:03:19.219 [main] INFO VMInfo - VMInfo# operatingSystem class => sun.management.OperatingSystemImpl
  2. 2022-07-17 02:03:19.241 [main] INFO Engine - the machine info =>
  3. osInfo: Oracle Corporation 1.8 25.262-b10
  4. jvmInfo: Linux amd64 3.10.0-957.el7.x86_64
  5. cpu num: 128
  6. totalPhysicalMemory: -0.00G
  7. freePhysicalMemory: -0.00G
  8. maxFileDescriptorCount: -1
  9. currentOpenFileDescriptorCount: -1
  10. GC Names [PS MarkSweep, PS Scavenge]
  11. MEMORY_NAME | allocation_size | init_size
  12. PS Eden Space | 256.00MB | 256.00MB
  13. Code Cache | 240.00MB | 2.44MB
  14. Compressed Class Space | 1,024.00MB | 0.00MB
  15. PS Survivor Space | 42.50MB | 42.50MB
  16. PS Old Gen | 683.00MB | 683.00MB
  17. Metaspace | -0.00MB | 0.00MB
  18. 2022-07-17 02:03:19.285 [main] INFO Engine -
  19. {
  20. "content":[
  21. {
  22. "reader":{
  23. "name":"mysqlreader",
  24. "parameter":{
  25. "connection":[
  26. {
  27. "jdbcUrl":[
  28. "jdbc:mysql://192.168.2.2:3306/gene"
  29. ],
  30. "querySql":[
  31. "select * from gene.test"
  32. ]
  33. }
  34. ],
  35. "password":"*********",
  36. "username":"root"
  37. }
  38. },
  39. "writer":{
  40. "name":"mysqlwriter",
  41. "parameter":{
  42. "column":[
  43. "*"
  44. ],
  45. "connection":[
  46. {
  47. "jdbcUrl":"jdbc:mysql://192.168.2.2:3306/gene",
  48. "table":[
  49. "xxxx"
  50. ]
  51. }
  52. ],
  53. "password":"*********",
  54. "session":[],
  55. "username":"root",
  56. "writeMode":"insert"
  57. }
  58. }
  59. }
  60. ],
  61. "setting":{
  62. "speed":{
  63. "channel":"2"
  64. }
  65. }
  66. }
  67. 2022-07-17 02:03:19.316 [main] WARN Engine - prioriy set to 0, because NumberFormatException, the value is: null
  68. 2022-07-17 02:03:19.320 [main] INFO PerfTrace - PerfTrace traceId=job_-1, isEnable=false, priority=0
  69. 2022-07-17 02:03:19.320 [main] INFO JobContainer - DataX jobContainer starts job.
  70. 2022-07-17 02:03:19.325 [main] INFO JobContainer - Set jobId = 0
  71. 2022-07-17 02:03:19.780 [job-0] INFO OriginalConfPretreatmentUtil - Available jdbcUrl:jdbc:mysql://192.168.2.2:3306/gene?yearIsDateType=false&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&rewriteBatchedStatements=true.
  72. 2022-07-17 02:03:20.179 [job-0] ERROR JobContainer - Exception when job run
  73. com.alibaba.datax.common.exception.DataXException: Code:[DBUtilErrorCode-07], Description:[读取数据库数据失败. 请检查您的配置的 column/table/where/querySql或者向 DBA 寻求帮助.]. - 执行的SQL为: select * from xxxx where 1=2 具体错误信息为:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown error 1146
  74. at com.alibaba.datax.common.exception.DataXException.asDataXException(DataXException.java:26) ~[datax-common-0.0.1-SNAPSHOT.jar:na]
  75. at com.alibaba.datax.plugin.rdbms.util.RdbmsException.asQueryException(RdbmsException.java:81) ~[plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na]
  76. at com.alibaba.datax.plugin.rdbms.util.DBUtil.getTableColumnsByConn(DBUtil.java:524) ~[plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na]
  77. at com.alibaba.datax.plugin.rdbms.writer.util.OriginalConfPretreatmentUtil.dealColumnConf(OriginalConfPretreatmentUtil.java:105) ~[plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na]
  78. at com.alibaba.datax.plugin.rdbms.writer.util.OriginalConfPretreatmentUtil.dealColumnConf(OriginalConfPretreatmentUtil.java:140) ~[plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na]
  79. at com.alibaba.datax.plugin.rdbms.writer.util.OriginalConfPretreatmentUtil.doPretreatment(OriginalConfPretreatmentUtil.java:35) ~[plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na]
  80. at com.alibaba.datax.plugin.rdbms.writer.CommonRdbmsWriter$Job.init(CommonRdbmsWriter.java:41) ~[plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na]
  81. at com.alibaba.datax.plugin.writer.mysqlwriter.MysqlWriter$Job.init(MysqlWriter.java:31) ~[mysqlwriter-0.0.1-SNAPSHOT.jar:na]
  82. at com.alibaba.datax.core.job.JobContainer.initJobWriter(JobContainer.java:704) ~[datax-core-0.0.1-SNAPSHOT.jar:na]
  83. at com.alibaba.datax.core.job.JobContainer.init(JobContainer.java:304) ~[datax-core-0.0.1-SNAPSHOT.jar:na]
  84. at com.alibaba.datax.core.job.JobContainer.start(JobContainer.java:113) ~[datax-core-0.0.1-SNAPSHOT.jar:na]
  85. at com.alibaba.datax.core.Engine.start(Engine.java:92) [datax-core-0.0.1-SNAPSHOT.jar:na]
  86. at com.alibaba.datax.core.Engine.entry(Engine.java:171) [datax-core-0.0.1-SNAPSHOT.jar:na]
  87. at com.alibaba.datax.core.Engine.main(Engine.java:204) [datax-core-0.0.1-SNAPSHOT.jar:na]
  88. 2022-07-17 02:03:20.189 [job-0] INFO StandAloneJobContainerCommunicator - Total 0 records, 0 bytes | Speed 0B/s, 0 records/s | Error 0 records, 0 bytes | All Task WaitWriterTime 0.000s | All Task WaitReaderTime 0.000s | Percentage 0.00%
  89. 2022-07-17 02:03:20.191 [job-0] ERROR Engine -
  90. 经DataX智能分析,该任务最可能的错误原因是:
  91. com.alibaba.datax.common.exception.DataXException: Code:[DBUtilErrorCode-07], Description:[读取数据库数据失败. 请检查您的配置的 column/table/where/querySql或者向 DBA 寻求帮助.]. - 执行的SQL为: select * from xxxx where 1=2 具体错误信息为:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown error 1146
  92. at com.alibaba.datax.common.exception.DataXException.asDataXException(DataXException.java:26)
  93. at com.alibaba.datax.plugin.rdbms.util.RdbmsException.asQueryException(RdbmsException.java:81)
  94. at com.alibaba.datax.plugin.rdbms.util.DBUtil.getTableColumnsByConn(DBUtil.java:524)
  95. at com.alibaba.datax.plugin.rdbms.writer.util.OriginalConfPretreatmentUtil.dealColumnConf(OriginalConfPretreatmentUtil.java:105)
  96. at com.alibaba.datax.plugin.rdbms.writer.util.OriginalConfPretreatmentUtil.dealColumnConf(OriginalConfPretreatmentUtil.java:140)
  97. at com.alibaba.datax.plugin.rdbms.writer.util.OriginalConfPretreatmentUtil.doPretreatment(OriginalConfPretreatmentUtil.java:35)
  98. at com.alibaba.datax.plugin.rdbms.writer.CommonRdbmsWriter$Job.init(CommonRdbmsWriter.java:41)
  99. at com.alibaba.datax.plugin.writer.mysqlwriter.MysqlWriter$Job.init(MysqlWriter.java:31)
  100. at com.alibaba.datax.core.job.JobContainer.initJobWriter(JobContainer.java:704)
  101. at com.alibaba.datax.core.job.JobContainer.init(JobContainer.java:304)
  102. at com.alibaba.datax.core.job.JobContainer.start(JobContainer.java:113)
  103. at com.alibaba.datax.core.Engine.start(Engine.java:92)
  104. at com.alibaba.datax.core.Engine.entry(Engine.java:171)
  105. at com.alibaba.datax.core.Engine.main(Engine.java:204)