[ https://issues.apache.org/jira/browse/NIFI-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Skora updated NIFI-2411: ---------------------------- Status: Patch Available (was: Open) [~joewitt], thanks, yes they are ready to go. 0.x is [PR #903|https://github.com/apache/nifi/pull/903] and 1.x is [PR #904|https://github.com/apache/nifi/pull/904]. I would like to have added units tests, but the Mock* framework uses {{byte[]}} to hold the data limiting it to precisely the file size limit this change is trying to eliminate. I looked at enhancing the Mock* classes, but that will actually be a bigger change than this was. > ModifyBytes should use long instead of int for offsets. > ------------------------------------------------------- > > Key: NIFI-2411 > URL: https://issues.apache.org/jira/browse/NIFI-2411 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Affects Versions: 0.7.0, 1.0.0 > Reporter: Joe Skora > Assignee: Joe Skora > Labels: easyfix > Original Estimate: 2h > Remaining Estimate: 2h > > ModifyBytes.onTrigger() uses Java 32 bit {{int}} value for byte offsets > limiting it to 2 Gigabytes, switching to {{long}} values will allow it to > handle up to 15 Exabytes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)