[
https://issues.apache.org/jira/browse/NIFI-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15875479#comment-15875479
]
ASF GitHub Bot commented on NIFI-3505:
--------------------------------------
Github user ijokarumawak commented on the issue:
https://github.com/apache/nifi/pull/1523
Hi @automaticgiant , unfortunately, 'exec' command added into nifi.sh by
#966 broke `nifi.sh restart` to work properly. I tried fixing it with this PR.
I confirmed that 'exec' is taking its effect, but I am not sure if it still
work as you expected, i.e. whether `nifi.sh run` can be supervised by runit ...
etc. Would you try this PR and check if it works?
Thank you in advance.
> nifi.sh restart doesn't restart properly
> ----------------------------------------
>
> Key: NIFI-3505
> URL: https://issues.apache.org/jira/browse/NIFI-3505
> Project: Apache NiFi
> Issue Type: Bug
> Components: Tools and Build
> Affects Versions: 1.2.0
> Reporter: Koji Kawamura
> Assignee: Koji Kawamura
>
> When I run "nifi.sh restart" using the latest master as of Feb 20, it behaves
> differently compared to how it used to.
> * If NiFi is not running, "nifi.sh restart" used to start new nifi process,
> but currently it doesn't.
> * If NiFi is running, "nifi.sh restart" used to shutdown existing nifi
> process, and start new one. But it just shutdown existing one, and don't
> start new one.
> It's caused by recent changes to nifi.sh. NIFI-2689 added 'exec' command.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)