Matthew Clarke created NIFI-4643:
------------------------------------

             Summary: 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
(v6.4.14#64029)

Reply via email to