[
https://issues.apache.org/jira/browse/NIFI-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15878508#comment-15878508
]
ASF subversion and git services commented on NIFI-3505:
-------------------------------------------------------
Commit 8d467f3d1fe9b9e96e67f2979aa5676465afedc1 in nifi's branch
refs/heads/master from [~ijokarumawak]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=8d467f3 ]
NIFI-3505: Fix nifi.sh restart
The 'exec' command added by NIFI-2689 affected restart behavior
negatively as 'exec' command will not execute subsequent commands in the
shell script.
This commit changes 'exec' is added only when 'run' is specified.
This closes #1523.
Signed-off-by: Aldrin Piri <[email protected]>
> 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)