Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.10.0
Description
The EC toolkit did not anticipate the possibility of a flow.xml.gz on the order of magnitude of 700 MB. Many serialization/deserialization and string manipulation operations occur assuming that the content is of manageable size. Users have demonstrated that this is not a safe assumption.
We should introduce the following protections:
- log debug/info statements at file load, encrypt replacement and file write for the size of the content for visibility
- simple conditional checks at file load to ensure the heap is properly sized and the file content size is reasonable
- if the size is too large, print a helpful message and direct users to the Toolkit Guide for further information
Attachments
Issue Links
- is fixed by
-
NIFI-6999 Encrypt Config Toolkit fails on very large flow.xml.gz files
- Resolved