<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: CaptureChangeMySQL Error when restart the nifi server or re-configure any processor in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/CaptureChangeMySQL-Error-when-restart-the-nifi-server-or-re/m-p/348405#M235359</link>
    <description>&lt;P&gt;After enabling the GTID of mysql service and enabled captureChange mySql processor&amp;nbsp; configuration to "&lt;SPAN class="table-cell required"&gt;Use Binlog GTID" : true, This issue got resolved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-cell required"&gt;below script to enabled GTID in mysql:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="table-cell required"&gt;SET @@GLOBAL.ENFORCE_GTID_CONSISTENCY = WARN;&lt;BR /&gt;SET @@GLOBAL.ENFORCE_GTID_CONSISTENCY = ON;&lt;BR /&gt;SET @@GLOBAL.GTID_MODE = OFF_PERMISSIVE;&lt;BR /&gt;SET @@GLOBAL.GTID_MODE = ON_PERMISSIVE;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-cell required"&gt;After enabling above properties run below query to check status.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-cell required"&gt;SHOW STATUS LIKE 'ONGOING_ANONYMOUS_TRANSACTION_COUNT';&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-cell required"&gt;If count is 0 then enabled GTID using below query:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-cell required"&gt;&lt;STRONG&gt;SET @@GLOBAL.GTID_MODE = ON;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-cell required"&gt;To Check the GTID status:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-cell required"&gt;select @@GLOBAL.GTID_MODE;&lt;BR /&gt;select @@GLOBAL.ENFORCE_GTID_CONSISTENCY;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2022 08:52:09 GMT</pubDate>
    <dc:creator>AbhishekSingh</dc:creator>
    <dc:date>2022-07-21T08:52:09Z</dc:date>
    <item>
      <title>CaptureChangeMySQL Error when restart the nifi server or re-configure any processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CaptureChangeMySQL-Error-when-restart-the-nifi-server-or-re/m-p/347063#M235049</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am getting error when I restart the NiFi server and run the CaptureChangeMySql processor or&amp;nbsp;re-configure any processor and start the processor. It works fine when I creates&amp;nbsp;&amp;nbsp;CaptureChangeMySql processor and run it. When I restart the server this I start getting below error. It works fine again when processor is recreated freshly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Idea how I can fix this issue.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2022-07-07 17-44-51.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/34795iB00A11D391F50B2E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2022-07-07 17-44-51.png" alt="Screenshot from 2022-07-07 17-44-51.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2022-07-07 15:10:58,307 ERROR [Timer-Driven Process Thread-8] o.a.n.c.m.processors.CaptureChangeMySQL CaptureChangeMySQL[id=d7f0536f-0181-1000-db94-5950dddc0439] Processing failed&lt;BR /&gt;org.apache.nifi.processor.exception.ProcessException: java.io.IOException: COMMIT event received while not processing a transaction (i.e. no corresponding BEGIN event). This could indicate that your binlog position is invalid.&lt;BR /&gt;at&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 12:31:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CaptureChangeMySQL-Error-when-restart-the-nifi-server-or-re/m-p/347063#M235049</guid>
      <dc:creator>AbhishekSingh</dc:creator>
      <dc:date>2022-07-07T12:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: CaptureChangeMySQL Error when restart the nifi server or re-configure any processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CaptureChangeMySQL-Error-when-restart-the-nifi-server-or-re/m-p/347521#M235198</link>
      <description>&lt;P&gt;Can anyone suggest how to fix above issue. This issue come when i stop the all processor and again start the all processor then I can see the error at CaptureChangeMySql processor level error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2022-07-07 15:10:58,307 ERROR [Timer-Driven Process Thread-8] o.a.n.c.m.processors.CaptureChangeMySQL CaptureChangeMySQL[id=d7f0536f-0181-1000-db94-5950dddc0439] Processing failed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.apache.nifi.processor.exception.ProcessException: java.io.IOException: COMMIT event received while not processing a transaction (i.e. no corresponding BEGIN event). This could indicate that your binlog position is invalid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note: This issue get resolved when i just delete the existing CaptureChangeMySQL processor and again create and configure the&amp;nbsp;CaptureChangeMySQL processor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 16:47:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CaptureChangeMySQL-Error-when-restart-the-nifi-server-or-re/m-p/347521#M235198</guid>
      <dc:creator>AbhishekSingh</dc:creator>
      <dc:date>2022-07-13T16:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: CaptureChangeMySQL Error when restart the nifi server or re-configure any processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CaptureChangeMySQL-Error-when-restart-the-nifi-server-or-re/m-p/348405#M235359</link>
      <description>&lt;P&gt;After enabling the GTID of mysql service and enabled captureChange mySql processor&amp;nbsp; configuration to "&lt;SPAN class="table-cell required"&gt;Use Binlog GTID" : true, This issue got resolved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-cell required"&gt;below script to enabled GTID in mysql:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="table-cell required"&gt;SET @@GLOBAL.ENFORCE_GTID_CONSISTENCY = WARN;&lt;BR /&gt;SET @@GLOBAL.ENFORCE_GTID_CONSISTENCY = ON;&lt;BR /&gt;SET @@GLOBAL.GTID_MODE = OFF_PERMISSIVE;&lt;BR /&gt;SET @@GLOBAL.GTID_MODE = ON_PERMISSIVE;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-cell required"&gt;After enabling above properties run below query to check status.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-cell required"&gt;SHOW STATUS LIKE 'ONGOING_ANONYMOUS_TRANSACTION_COUNT';&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-cell required"&gt;If count is 0 then enabled GTID using below query:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-cell required"&gt;&lt;STRONG&gt;SET @@GLOBAL.GTID_MODE = ON;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-cell required"&gt;To Check the GTID status:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="table-cell required"&gt;select @@GLOBAL.GTID_MODE;&lt;BR /&gt;select @@GLOBAL.ENFORCE_GTID_CONSISTENCY;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 08:52:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CaptureChangeMySQL-Error-when-restart-the-nifi-server-or-re/m-p/348405#M235359</guid>
      <dc:creator>AbhishekSingh</dc:creator>
      <dc:date>2022-07-21T08:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: CaptureChangeMySQL Error when restart the nifi server or re-configure any processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CaptureChangeMySQL-Error-when-restart-the-nifi-server-or-re/m-p/364571#M239193</link>
      <description>&lt;P&gt;Hi do you know of any other way by which we can resolve this issue, i cannot set the gtid flag. So cannot use this approach.&lt;/P&gt;&lt;P&gt;i am using nifi 1.19.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2023 11:27:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CaptureChangeMySQL-Error-when-restart-the-nifi-server-or-re/m-p/364571#M239193</guid>
      <dc:creator>Gagan1707</dc:creator>
      <dc:date>2023-02-25T11:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: CaptureChangeMySQL Error when restart the nifi server or re-configure any processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CaptureChangeMySQL-Error-when-restart-the-nifi-server-or-re/m-p/369494#M240501</link>
      <description>&lt;P&gt;What is your run schedule time for the processor ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;if its too low (say 1 sec or 30 sec), gtry increasing it to reasonable timeline like a minute based on your refresh requirements.&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103696"&gt;@Gagan1707&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 16:05:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CaptureChangeMySQL-Error-when-restart-the-nifi-server-or-re/m-p/369494#M240501</guid>
      <dc:creator>SandyClouds</dc:creator>
      <dc:date>2023-04-26T16:05:44Z</dc:date>
    </item>
  </channel>
</rss>

