You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andy LoPresto (JIRA)" <ji...@apache.org> on 2017/08/10 23:24:00 UTC
[jira] [Updated] (NIFI-4187) If NiFi process is killed, bootstrap
auto-restart hangs on missing sensitive key file
[ https://issues.apache.org/jira/browse/NIFI-4187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy LoPresto updated NIFI-4187:
--------------------------------
Assignee: Andy LoPresto
Status: Patch Available (was: Open)
> If NiFi process is killed, bootstrap auto-restart hangs on missing sensitive key file
> -------------------------------------------------------------------------------------
>
> Key: NIFI-4187
> URL: https://issues.apache.org/jira/browse/NIFI-4187
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.3.0
> Reporter: Andy LoPresto
> Assignee: Andy LoPresto
> Priority: Critical
> Labels: bootstrap, encryption
>
> If the NiFi process is killed and {{autoRestart}} is enabled in the bootstrap process ({{RunNiFi.java}}) (enabled by default except when in {{run}} mode) and the instance is using encrypted configuration files, the {{sensitive.key}} file which contains the master encryption key is no longer available when restart occurs. This results in the application exiting.
> To resolve this, the logic to prepare and generate the sensitive key file should be extracted to a method and invoked during initial start *and* during the auto-restart loop at https://github.com/apache/nifi/blob/master/nifi-bootstrap/src/main/java/org/apache/nifi/bootstrap/RunNiFi.java#L1159 .
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)