[
https://issues.apache.org/jira/browse/NIFI-10331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-10331.
-----------------------------------
Resolution: Feedback Received
Apache NiFi 1.x is no longer maintained and no new release is planned on the
1.x release line. Marking as resolved as part of a cleanup operation. Please
open a new one with an updated description if this is still relevant for NiFi
2.x.
> Bootstraping NiFI with the java arguments that contains space not possible
> --------------------------------------------------------------------------
>
> Key: NIFI-10331
> URL: https://issues.apache.org/jira/browse/NIFI-10331
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.17.0
> Environment: all
> Reporter: Lopata
> Priority: Major
>
> We are running NiFi on Java 17 and we are not able to add _*--add-opens
> java.base/java.lang.reflect=ALL-UNNAMED*_ java argument when bootstrapping
> the NiFi. RunNifi.java is using ProcessBuilder that expects command without
> spaces, so we have to defined --add-opens argument in the bootstrap.conf file
> with two _*java.arg.N*_ properties. RunNifi.java when creates the java
> command doesn't respect the order of _*java.arg.N*_ properties and randomly
> places the --add-opens argument parts into java command which is than not
> valid.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)