Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

NIFI FetchSFTP Completion Strategy =Move File Error

Please advice how can we fix it.

13599-fetchsftp.jpg

ERROR [Timer-Driven Process Thread-17] o.a.nifi.processors.standard.FetchSFTP FetchSFTP[id=a92d2521-015a-1000-0000-0000222ef8ce] FetchSFTP[id=a92d2521-015a-1000-0000-0000222ef8ce] failed to process session due to java.lang.NumberFormatException: For input string: "": java.lang.NumberFormatException: For input string: ""

WARN [Timer-Driven Process Thread-6] o.a.nifi.processors.standard.FetchSFTP FetchSFTP[id=a92d2521-015a-1000-0000-0000222ef8ce] Processor Administratively Yielded for 1 sec due to processing failure

WARN [Timer-Driven Process Thread-6] o.a.n.c.t.ContinuallyRunProcessorTask Administratively Yielding FetchSFTP[id=a92d2521-015a-1000-0000-0000222ef8ce] due to uncaught Exception: java.lang.NumberFormatException: For input string: ""

WARN [Timer-Driven Process Thread-6] o.a.n.c.t.ContinuallyRunProcessorTask

5 REPLIES 5

Mentor

@Oleksandr Solomko

What is the value you are passing for "path" and "filename"?

Are they valid directory names for your OS?

Thanks,

Matt

directory names and permitts are ok.

Problem was fixed via changing Hostname,Port,Username from variables like sftp% to hardcode values.

Thanks.

New Contributor

I've the same issue but the values of Hostname,Port must be variables in my case. Is there a solution to fix this issue

@Oleksandr Solomko

Does the user running NiFi have permission to create a directory if it does not exist?

@Oleksandr Solomko

Did you check to see if the user had permissions to create the directory?

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.