[ 
https://issues.apache.org/jira/browse/NIFI-4025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pierre Villard resolved NIFI-4025.
----------------------------------
    Resolution: Feedback Received

Apache NiFi 1.x is no longer maintained and no new release is planned on the 
1.x release line. Marking as resolved as part of a cleanup operation. Please 
open a new one with an updated description if this is still relevant for NiFi 
2.x.

> 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
>            Priority: Major
>         Attachments: nifi-app.log.JPG, tcpdump.JPG
>
>
> It is not possible to use a single FetchFTP processor instance with multiple 
> 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
(v8.20.10#820010)

Reply via email to