[
https://issues.apache.org/jira/browse/NIFI-6793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Thomsen resolved NIFI-6793.
--------------------------------
Fix Version/s: 1.10.0
Resolution: Fixed
> CaptureChangeMySQL throws NumberFormatException when sequence id exceeds
> maximum Integer
> ----------------------------------------------------------------------------------------
>
> Key: NIFI-6793
> URL: https://issues.apache.org/jira/browse/NIFI-6793
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Koji Kawamura
> Assignee: Koji Kawamura
> Priority: Major
> Fix For: 1.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> NumberFormatException can be thrown because the internal sequence id is
> parsed as an integer where it should be a long.
> https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-cdc/nifi-cdc-mysql-bundle/nifi-cdc-mysql-processors/src/main/java/org/apache/nifi/cdc/mysql/processors/CaptureChangeMySQL.java#L492
> {code}
> 2019-10-14 04:45:54,727 WARN [Timer-Driven Process Thread-15]
> o.a.n.controller.tasks.ConnectableTask Administratively Yielding
> CaptureChangeMySQL[id=719232e6-2e6e-1d73-82b8-4f59a42c5e52] due to uncaught
> Exception: java.lang.NumberFormatException: For input string: "2291535530"
> java.lang.NumberFormatException: For input string: "2291535530"
> at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> at java.lang.Integer.parseInt(Integer.java:583)
> at java.lang.Integer.parseInt(Integer.java:615)
> at
> org.apache.nifi.cdc.mysql.processors.CaptureChangeMySQL.setup(CaptureChangeMySQL.java:492)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)