You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Gábor Gyimesi (Jira)" <ji...@apache.org> on 2023/09/20 15:58:00 UTC
[jira] [Updated] (MINIFICPP-447) hostname(true) fails in updateAttribute processor
[ https://issues.apache.org/jira/browse/MINIFICPP-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gábor Gyimesi updated MINIFICPP-447:
------------------------------------
Labels: beginner newbie starter (was: )
> hostname(true) fails in updateAttribute processor
> -------------------------------------------------
>
> Key: MINIFICPP-447
> URL: https://issues.apache.org/jira/browse/MINIFICPP-447
> Project: Apache NiFi MiNiFi C++
> Issue Type: Bug
> Affects Versions: 0.4.0
> Environment: Centos7 with NIST 800-171 security profile
> VM running on XenServer with 2 processors and 8GB memory
> Reporter: Tom Burton
> Priority: Minor
> Labels: beginner, newbie, starter
>
> When trying to store details of the host in an attribute using updateAttribute it works with the default ${hostname()} but fails if you attempt to get the FQDN using ${hostname(true)}. The error reported in the logs is that a ")" or "," is expected.
> The VM is operating as a simple endpoint without a domain controller and not listed on any DNS. No fqdn is listed in hosts file and on command line "hostname" and "hostname --fqdn" both report the same.
> This is current preventing me from recording the fqdn that minifi-cpp is collecting data on.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)