You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Marton Szasz (Jira)" <ji...@apache.org> on 2020/01/28 15:54:00 UTC
[jira] [Comment Edited] (MINIFICPP-1131) MiNiFi cpp-0.7.0
installation on rhel7 failing
[ https://issues.apache.org/jira/browse/MINIFICPP-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17025235#comment-17025235 ]
Marton Szasz edited comment on MINIFICPP-1131 at 1/28/20 3:53 PM:
------------------------------------------------------------------
The changes to the installer script between 0.6.0 and 0.7.0 didn't properly escape bash variable references in the heredoc containing the init script.
was (Author: szaszm):
The issue was introduced in context of MINIFI-914. The changes didn't properly escape bash variable references in the heredoc containing the init script.
> MiNiFi cpp-0.7.0 installation on rhel7 failing
> -----------------------------------------------
>
> Key: MINIFICPP-1131
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1131
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Affects Versions: 0.7.0
> Environment: MiNiFi++ cpp-0.7.0
> RHEL/CentOS 7
> Reporter: CHANDAN KUMAR
> Priority: Major
>
> # ./minifi.sh install dataflow
> ./minifi.sh: line 120: % 5: syntax error: operand expected (error token is "% 5")
> Could not create service file /etc/init.d/dataflow
>
> I see few more lines of code added in minifi.sh script in cpp-0.7.0 as compare to cpp-0.6.0 (Commenting out lines 169 to 279 seems to solve the problem)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)