[
https://issues.apache.org/jira/browse/NIFI-4643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-4643.
----------------------------------
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.
> NiFi sensitive.key file not being removed on failed startup
> -----------------------------------------------------------
>
> Key: NIFI-4643
> URL: https://issues.apache.org/jira/browse/NIFI-4643
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.2.0
> Environment: RHEL 7 (64-bit)
> Reporter: Matthew Clarke
> Priority: Minor
>
> NiFi failed to startup because of a bad java.arg in the bootstrap.conf file.
> In this particular case the arg it complained about in the nifi-bootstrap.log
> was "java.arg.51=-XX:CodeCacheMinimumFreeSpace=10m ". I went back and edited
> the arg to remove the trailing white space and also deleted the "-" and
> retyped it to make sure it was not some funky copy paste issue with that
> character.
> When i tried to startup NiFi again, it aborted startup and threw an exception
> in the nifi-bootstrap.log complaining about the existence of a sensitive.key
> file.
> I manually went to every node in the cluster and removed the sensitive.key
> file and was able to start NiFi at that point.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)