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

Joseph Witt updated NIFI-4025:
------------------------------
    Description: 
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


  was:
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



> 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 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
(v6.3.15#6346)

Reply via email to