You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Tom Burton (JIRA)" <ji...@apache.org> on 2018/03/30 08:09:00 UTC

[jira] [Created] (MINIFICPP-447) hostname(true) fails in updateAttribute processor

Tom Burton created MINIFICPP-447:
------------------------------------

             Summary: hostname(true) fails in updateAttribute processor
                 Key: MINIFICPP-447
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-447
             Project: 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


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
(v7.6.3#76005)