mysql1659771825_json-15_43_45.548.log 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. 2022-08-06 15:43:45.723 [main] INFO VMInfo - VMInfo# operatingSystem class => com.sun.management.internal.OperatingSystemImpl
  2. 2022-08-06 15:43:45.728 [main] INFO Engine - the machine info =>
  3. osInfo: Private Build 11 11.0.15+10-Ubuntu-0ubuntu0.20.04.1
  4. jvmInfo: Linux amd64 5.13.0-52-generic
  5. cpu num: 8
  6. totalPhysicalMemory: -0.00G
  7. freePhysicalMemory: -0.00G
  8. maxFileDescriptorCount: -1
  9. currentOpenFileDescriptorCount: -1
  10. GC Names [G1 Young Generation, G1 Old Generation]
  11. MEMORY_NAME | allocation_size | init_size
  12. CodeHeap 'profiled nmethods' | 117.21MB | 2.44MB
  13. G1 Old Gen | 1,024.00MB | 970.00MB
  14. G1 Survivor Space | -0.00MB | 0.00MB
  15. CodeHeap 'non-profiled nmethods' | 117.22MB | 2.44MB
  16. Compressed Class Space | 1,024.00MB | 0.00MB
  17. Metaspace | -0.00MB | 0.00MB
  18. G1 Eden Space | -0.00MB | 54.00MB
  19. CodeHeap 'non-nmethods' | 5.57MB | 2.44MB
  20. 2022-08-06 15:43:45.738 [main] INFO Engine -
  21. {
  22. "content":[
  23. {
  24. "reader":{
  25. "name":"mysqlreader",
  26. "parameter":{
  27. "connection":[
  28. {
  29. "jdbcUrl":[
  30. "jdbc:mysql://192.168.2.2:3306/gene"
  31. ],
  32. "querySql":[
  33. "select * from gene.test"
  34. ]
  35. }
  36. ],
  37. "password":"*********",
  38. "username":"root"
  39. }
  40. },
  41. "writer":{
  42. "name":"mysqlwriter",
  43. "parameter":{
  44. "column":[
  45. "*"
  46. ],
  47. "connection":[
  48. {
  49. "jdbcUrl":"jdbc:mysql://192.168.2.2:3306/gene",
  50. "table":[
  51. "iict123456"
  52. ]
  53. }
  54. ],
  55. "password":"**********",
  56. "session":[],
  57. "username":"root",
  58. "writeMode":"insert"
  59. }
  60. }
  61. }
  62. ],
  63. "setting":{
  64. "speed":{
  65. "channel":"2"
  66. }
  67. }
  68. }
  69. 2022-08-06 15:43:45.748 [main] WARN Engine - prioriy set to 0, because NumberFormatException, the value is: null
  70. 2022-08-06 15:43:45.749 [main] INFO PerfTrace - PerfTrace traceId=job_-1, isEnable=false, priority=0
  71. 2022-08-06 15:43:45.749 [main] INFO JobContainer - DataX jobContainer starts job.
  72. 2022-08-06 15:43:45.751 [main] INFO JobContainer - Set jobId = 0
  73. 2022-08-06 15:43:45.954 [job-0] INFO OriginalConfPretreatmentUtil - Available jdbcUrl:jdbc:mysql://192.168.2.2:3306/gene?yearIsDateType=false&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&rewriteBatchedStatements=true.
  74. 2022-08-06 15:43:46.078 [job-0] ERROR JobContainer - Exception when job run
  75. com.alibaba.datax.common.exception.DataXException: Code:[DBUtilErrorCode-07], Description:[读取数据库数据失败. 请检查您的配置的 column/table/where/querySql或者向 DBA 寻求帮助.]. - 执行的SQL为: select * from iict123456 where 1=2 具体错误信息为:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown error 1146
  76. at com.alibaba.datax.common.exception.DataXException.asDataXException(DataXException.java:26) ~[datax-common-0.0.1-SNAPSHOT.jar:na]
  77. at com.alibaba.datax.plugin.rdbms.util.RdbmsException.asQueryException(RdbmsException.java:81) ~[plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na]
  78. at com.alibaba.datax.plugin.rdbms.util.DBUtil.getTableColumnsByConn(DBUtil.java:524) ~[plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na]
  79. at com.alibaba.datax.plugin.rdbms.writer.util.OriginalConfPretreatmentUtil.dealColumnConf(OriginalConfPretreatmentUtil.java:105) ~[plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na]
  80. at com.alibaba.datax.plugin.rdbms.writer.util.OriginalConfPretreatmentUtil.dealColumnConf(OriginalConfPretreatmentUtil.java:140) ~[plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na]
  81. at com.alibaba.datax.plugin.rdbms.writer.util.OriginalConfPretreatmentUtil.doPretreatment(OriginalConfPretreatmentUtil.java:35) ~[plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na]
  82. at com.alibaba.datax.plugin.rdbms.writer.CommonRdbmsWriter$Job.init(CommonRdbmsWriter.java:41) ~[plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na]
  83. at com.alibaba.datax.plugin.writer.mysqlwriter.MysqlWriter$Job.init(MysqlWriter.java:31) ~[mysqlwriter-0.0.1-SNAPSHOT.jar:na]
  84. at com.alibaba.datax.core.job.JobContainer.initJobWriter(JobContainer.java:704) ~[datax-core-0.0.1-SNAPSHOT.jar:na]
  85. at com.alibaba.datax.core.job.JobContainer.init(JobContainer.java:304) ~[datax-core-0.0.1-SNAPSHOT.jar:na]
  86. at com.alibaba.datax.core.job.JobContainer.start(JobContainer.java:113) ~[datax-core-0.0.1-SNAPSHOT.jar:na]
  87. at com.alibaba.datax.core.Engine.start(Engine.java:92) ~[datax-core-0.0.1-SNAPSHOT.jar:na]
  88. at com.alibaba.datax.core.Engine.entry(Engine.java:171) ~[datax-core-0.0.1-SNAPSHOT.jar:na]
  89. at com.alibaba.datax.core.Engine.main(Engine.java:204) ~[datax-core-0.0.1-SNAPSHOT.jar:na]
  90. 2022-08-06 15:43:46.080 [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%
  91. 2022-08-06 15:43:46.081 [job-0] ERROR Engine -
  92. 经DataX智能分析,该任务最可能的错误原因是:
  93. com.alibaba.datax.common.exception.DataXException: Code:[DBUtilErrorCode-07], Description:[读取数据库数据失败. 请检查您的配置的 column/table/where/querySql或者向 DBA 寻求帮助.]. - 执行的SQL为: select * from iict123456 where 1=2 具体错误信息为:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown error 1146
  94. at com.alibaba.datax.common.exception.DataXException.asDataXException(DataXException.java:26)
  95. at com.alibaba.datax.plugin.rdbms.util.RdbmsException.asQueryException(RdbmsException.java:81)
  96. at com.alibaba.datax.plugin.rdbms.util.DBUtil.getTableColumnsByConn(DBUtil.java:524)
  97. at com.alibaba.datax.plugin.rdbms.writer.util.OriginalConfPretreatmentUtil.dealColumnConf(OriginalConfPretreatmentUtil.java:105)
  98. at com.alibaba.datax.plugin.rdbms.writer.util.OriginalConfPretreatmentUtil.dealColumnConf(OriginalConfPretreatmentUtil.java:140)
  99. at com.alibaba.datax.plugin.rdbms.writer.util.OriginalConfPretreatmentUtil.doPretreatment(OriginalConfPretreatmentUtil.java:35)
  100. at com.alibaba.datax.plugin.rdbms.writer.CommonRdbmsWriter$Job.init(CommonRdbmsWriter.java:41)
  101. at com.alibaba.datax.plugin.writer.mysqlwriter.MysqlWriter$Job.init(MysqlWriter.java:31)
  102. at com.alibaba.datax.core.job.JobContainer.initJobWriter(JobContainer.java:704)
  103. at com.alibaba.datax.core.job.JobContainer.init(JobContainer.java:304)
  104. at com.alibaba.datax.core.job.JobContainer.start(JobContainer.java:113)
  105. at com.alibaba.datax.core.Engine.start(Engine.java:92)
  106. at com.alibaba.datax.core.Engine.entry(Engine.java:171)
  107. at com.alibaba.datax.core.Engine.main(Engine.java:204)