NIFI-6711 Clear secret key when auto restarting in order to obtain new secret key from the NiFi process

This closes #3780.

Signed-off-by: Kevin Doran <kdoran@apache.org>
This commit is contained in:
Bryan Bende 2019-09-30 14:19:07 -04:00 committed by Kevin Doran
parent 2ab99970b7
commit 7ac6e4c50e
No known key found for this signature in database
GPG Key ID: 5621A6244B77AC02
1 changed files with 1 additions and 0 deletions

View File

@ -1200,6 +1200,7 @@ public class RunNiFi {
}
defaultLogger.warn("Apache NiFi appears to have died. Restarting...");
secretKey = null;
process = builder.start();
handleLogging(process);