job_mysql2mysql_json-02_09_17.254.log 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. 2022-07-17 02:09:17.546 [main] INFO VMInfo - VMInfo# operatingSystem class => sun.management.OperatingSystemImpl
  2. 2022-07-17 02:09:17.564 [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:09:17.600 [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. "test"
  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:09:17.631 [main] WARN Engine - prioriy set to 0, because NumberFormatException, the value is: null
  68. 2022-07-17 02:09:17.634 [main] INFO PerfTrace - PerfTrace traceId=job_-1, isEnable=false, priority=0
  69. 2022-07-17 02:09:17.635 [main] INFO JobContainer - DataX jobContainer starts job.
  70. 2022-07-17 02:09:17.638 [main] INFO JobContainer - Set jobId = 0
  71. 2022-07-17 02:09:18.082 [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:09:18.443 [job-0] INFO OriginalConfPretreatmentUtil - table:[test] all columns:[
  73. GeneName
  74. ].
  75. 2022-07-17 02:09:18.444 [job-0] WARN OriginalConfPretreatmentUtil - 您的配置文件中的列配置信息存在风险. 因为您配置的写入数据库表的列为*,当您的表字段个数、类型有变动时,可能影响任务正确性甚至会运行出错。请检查您的配置并作出修改.
  76. 2022-07-17 02:09:18.448 [job-0] INFO OriginalConfPretreatmentUtil - Write data [
  77. insert INTO %s (GeneName) VALUES(?)
  78. ], which jdbcUrl like:[jdbc:mysql://192.168.2.2:3306/gene?yearIsDateType=false&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&rewriteBatchedStatements=true]
  79. 2022-07-17 02:09:18.451 [job-0] INFO JobContainer - jobContainer starts to do prepare ...
  80. 2022-07-17 02:09:18.452 [job-0] INFO JobContainer - DataX Reader.Job [mysqlreader] do prepare work .
  81. 2022-07-17 02:09:18.453 [job-0] INFO JobContainer - DataX Writer.Job [mysqlwriter] do prepare work .
  82. 2022-07-17 02:09:18.455 [job-0] INFO JobContainer - jobContainer starts to do split ...
  83. 2022-07-17 02:09:18.456 [job-0] INFO JobContainer - Job set Channel-Number to 2 channels.
  84. 2022-07-17 02:09:18.461 [job-0] INFO JobContainer - DataX Reader.Job [mysqlreader] splits to [1] tasks.
  85. 2022-07-17 02:09:18.463 [job-0] INFO JobContainer - DataX Writer.Job [mysqlwriter] splits to [1] tasks.
  86. 2022-07-17 02:09:18.506 [job-0] INFO JobContainer - jobContainer starts to do schedule ...
  87. 2022-07-17 02:09:18.513 [job-0] INFO JobContainer - Scheduler starts [1] taskGroups.
  88. 2022-07-17 02:09:18.517 [job-0] INFO JobContainer - Running by standalone Mode.
  89. 2022-07-17 02:09:18.529 [taskGroup-0] INFO TaskGroupContainer - taskGroupId=[0] start [1] channels for [1] tasks.
  90. 2022-07-17 02:09:18.539 [taskGroup-0] INFO Channel - Channel set byte_speed_limit to -1, No bps activated.
  91. 2022-07-17 02:09:18.539 [taskGroup-0] INFO Channel - Channel set record_speed_limit to -1, No tps activated.
  92. 2022-07-17 02:09:18.555 [taskGroup-0] INFO TaskGroupContainer - taskGroup[0] taskId[0] attemptCount[1] is started
  93. 2022-07-17 02:09:18.561 [0-0-0-reader] INFO CommonRdbmsReader$Task - Begin to read record by Sql: [select * from gene.test
  94. ] jdbcUrl:[jdbc:mysql://192.168.2.2:3306/gene?yearIsDateType=false&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&rewriteBatchedStatements=true].
  95. 2022-07-17 02:09:18.586 [0-0-0-reader] INFO CommonRdbmsReader$Task - Finished read record by Sql: [select * from gene.test
  96. ] jdbcUrl:[jdbc:mysql://192.168.2.2:3306/gene?yearIsDateType=false&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false&rewriteBatchedStatements=true].
  97. 2022-07-17 02:09:18.811 [0-0-0-writer] WARN CommonRdbmsWriter$Task - 回滚此次写入, 采用每次写入一行方式提交. 因为:#23000
  98. 2022-07-17 02:09:18.818 [0-0-0-writer] ERROR StdoutPluginCollector -
  99. com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: #23000
  100. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_262]
  101. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_262]
  102. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_262]
  103. at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_262]
  104. at com.mysql.jdbc.Util.handleNewInstance(Util.java:377) ~[mysql-connector-java-5.1.34.jar:5.1.34]
  105. at com.mysql.jdbc.Util.getInstance(Util.java:360) ~[mysql-connector-java-5.1.34.jar:5.1.34]
  106. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:971) ~[mysql-connector-java-5.1.34.jar:5.1.34]
  107. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887) ~[mysql-connector-java-5.1.34.jar:5.1.34]
  108. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823) ~[mysql-connector-java-5.1.34.jar:5.1.34]
  109. at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2435) ~[mysql-connector-java-5.1.34.jar:5.1.34]
  110. at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2582) ~[mysql-connector-java-5.1.34.jar:5.1.34]
  111. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2530) ~[mysql-connector-java-5.1.34.jar:5.1.34]
  112. at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1907) ~[mysql-connector-java-5.1.34.jar:5.1.34]
  113. at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1199) ~[mysql-connector-java-5.1.34.jar:5.1.34]
  114. at com.alibaba.datax.plugin.rdbms.writer.CommonRdbmsWriter$Task.doOneInsert(CommonRdbmsWriter.java:382) [plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na]
  115. at com.alibaba.datax.plugin.rdbms.writer.CommonRdbmsWriter$Task.doBatchInsert(CommonRdbmsWriter.java:362) [plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na]
  116. at com.alibaba.datax.plugin.rdbms.writer.CommonRdbmsWriter$Task.startWriteWithConnection(CommonRdbmsWriter.java:297) [plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na]
  117. at com.alibaba.datax.plugin.rdbms.writer.CommonRdbmsWriter$Task.startWrite(CommonRdbmsWriter.java:319) [plugin-rdbms-util-0.0.1-SNAPSHOT.jar:na]
  118. at com.alibaba.datax.plugin.writer.mysqlwriter.MysqlWriter$Task.startWrite(MysqlWriter.java:78) [mysqlwriter-0.0.1-SNAPSHOT.jar:na]
  119. at com.alibaba.datax.core.taskgroup.runner.WriterRunner.run(WriterRunner.java:56) [datax-core-0.0.1-SNAPSHOT.jar:na]
  120. at java.lang.Thread.run(Thread.java:748) [na:1.8.0_262]
  121. 2022-07-17 02:09:18.824 [0-0-0-writer] ERROR StdoutPluginCollector - 脏数据:
  122. {"exception":"#23000","record":[{"byteSize":5,"index":0,"rawData":"FEB10","type":"STRING"}],"type":"writer"}
  123. 2022-07-17 02:09:18.826 [0-0-0-writer] ERROR StdoutPluginCollector - 脏数据:
  124. {"exception":"#23000","record":[{"byteSize":5,"index":0,"rawData":"Feb11","type":"STRING"}],"type":"writer"}
  125. 2022-07-17 02:09:18.829 [0-0-0-writer] ERROR StdoutPluginCollector - 脏数据:
  126. {"exception":"#23000","record":[{"byteSize":4,"index":0,"rawData":"FEB9","type":"STRING"}],"type":"writer"}
  127. 2022-07-17 02:09:18.856 [taskGroup-0] INFO TaskGroupContainer - taskGroup[0] taskId[0] is successed, used[303]ms
  128. 2022-07-17 02:09:18.857 [taskGroup-0] INFO TaskGroupContainer - taskGroup[0] completed it's tasks.
  129. 2022-07-17 02:09:28.549 [job-0] INFO StandAloneJobContainerCommunicator - Total 3 records, 14 bytes | Speed 1B/s, 0 records/s | Error 3 records, 14 bytes | All Task WaitWriterTime 0.000s | All Task WaitReaderTime 0.000s | Percentage 100.00%
  130. 2022-07-17 02:09:28.549 [job-0] INFO AbstractScheduler - Scheduler accomplished all tasks.
  131. 2022-07-17 02:09:28.550 [job-0] INFO JobContainer - DataX Writer.Job [mysqlwriter] do post work.
  132. 2022-07-17 02:09:28.551 [job-0] INFO JobContainer - DataX Reader.Job [mysqlreader] do post work.
  133. 2022-07-17 02:09:28.551 [job-0] INFO JobContainer - DataX jobId [0] completed successfully.
  134. 2022-07-17 02:09:28.552 [job-0] INFO HookInvoker - No hook invoked, because base dir not exists or is a file: /root/yili-datax/datax/hook
  135. 2022-07-17 02:09:28.555 [job-0] INFO JobContainer -
  136. [total cpu info] =>
  137. averageCpu | maxDeltaCpu | minDeltaCpu
  138. -1.00% | -1.00% | -1.00%
  139. [total gc info] =>
  140. NAME | totalGCCount | maxDeltaGCCount | minDeltaGCCount | totalGCTime | maxDeltaGCTime | minDeltaGCTime
  141. PS MarkSweep | 0 | 0 | 0 | 0.000s | 0.000s | 0.000s
  142. PS Scavenge | 0 | 0 | 0 | 0.000s | 0.000s | 0.000s
  143. 2022-07-17 02:09:28.556 [job-0] INFO JobContainer - PerfTrace not enable!
  144. 2022-07-17 02:09:28.557 [job-0] INFO StandAloneJobContainerCommunicator - Total 3 records, 14 bytes | Speed 1B/s, 0 records/s | Error 3 records, 14 bytes | All Task WaitWriterTime 0.000s | All Task WaitReaderTime 0.000s | Percentage 100.00%
  145. 2022-07-17 02:09:28.559 [job-0] INFO JobContainer -
  146. 任务启动时刻 : 2022-07-17 02:09:17
  147. 任务结束时刻 : 2022-07-17 02:09:28
  148. 任务总计耗时 : 10s
  149. 任务平均流量 : 1B/s
  150. 记录写入速度 : 0rec/s
  151. 读出记录总数 : 3
  152. 读写失败总数 : 3