[
https://issues.apache.org/jira/browse/NIFI-2411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15428726#comment-15428726
]
ASF GitHub Bot commented on NIFI-2411:
--------------------------------------
GitHub user jskora opened a pull request:
https://github.com/apache/nifi/pull/903
NIFI-2411 ModifyBytes should use long instead of int for offsets (0.x)
* Update to support offsets larger than 2 gigabyte.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jskora/nifi NIFI-2411-0.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/903.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #903
----
commit a0e1efd7a3ac1b96dbe63e954dff977084d7c1f9
Author: Joe Skora <[email protected]>
Date: 2016-08-19T19:06:23Z
* Update to support offsets larger than 2 gigabyte.
----
> 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: Core Framework
> Affects Versions: 1.0.0, 0.7.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)