[
https://issues.apache.org/jira/browse/NIFI-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16039158#comment-16039158
]
Joseph Witt commented on NIFI-4025:
-----------------------------------
Adding support for this involves some important performance implications. If
the host being connected to can change dynamically and per flowfile we need to
make sure we are still doing efficient connection management. If we're
starting up and tearing down connections frequently we need to rethink how we
do this. It isn't necessarily as simple as having connection pooling but a
nuanced pooling approach might work.
> Expression language is not supporting Hostname property in FetchFTP
> -------------------------------------------------------------------
>
> Key: NIFI-4025
> URL: https://issues.apache.org/jira/browse/NIFI-4025
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.2.0
> Environment: ubuntu 14 x86_64 jdk1.8 nifi1.2.0
> Reporter: Roman Biryulkin
> Attachments: nifi-app.log.JPG, tcpdump.JPG
>
>
> It is not possible to use FetchFTP with multiply FTP servers, because
> expression language is not supporting Hostname property.
> Ways to reproduce:
> Step 1: Use ip address of my ftp server in property Hostname.
> Result: Success fetch files, no errors in log
> Expected: Success fetch files, no errors in log
> Step 2: I use MiNiFi and processor ListFile on it. FlowFile have attribute
> "s2s.host". I set value "$\{s2s.host}" in property Hostname.
> Result: Files failed to load.
> - In nifi-app.log I see error: "java.net.ConnectException: Connection refused
> (Connection refused)", but with right ip address.
> - On the right network interface not see any traffic for ftp port (command on
> ubuntu: tcpdump -i eth0 port 21)
> - On the local network interface I see outgoing traffic to ftp port (command
> on ubuntu: tcpdump -i lo port 21)
> Expected: Success fetch files, no errors in log
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)