Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Apache Nifi : ListSFTP Processor Failed to properly initialize Processor

avatar
Explorer

Hi, All!

I have a problem with NIFI ListSFTP processor. After started processor errored with

 

Failed to properly initialize Processor. If still scheduled to run, NiFi will attempt to initialize and run the Processor again after the 'Administrative Yield Duration' has elapsed. Failure is due to java.lang.IllegalArgumentException: A HostProvider may not be empty!: java.lang.IllegalArgumentException: A HostProvider may not be empty!

 

ListSFTP processor Version 1.12.0 and the Properties as follows:

hackerway_2-1679645790435.pnghackerway_3-1679645813496.png

hackerway_4-1679645837656.png

Error screenshot from UI:

hackerway_0-1679645637829.pnghackerway_1-1679645679858.png

1 ACCEPTED SOLUTION

avatar

hi @hackerway,

It seems that you have the same exact issue as posted here: https://community.cloudera.com/t5/Support-Questions/NiFi-ListSTFP-hostprovider-may-not-be-empty/m-p/...

I had the same issue and what @MattWho said in that post helped me solve my issue 🙂

Have a look to the solution and try to see if it will solve your issue.


In addition to the above link, you can also have a look on: https://stackoverflow.com/questions/59826510/a-hostprovider-may-not-be-empty-after-upgrading-to-nifi...

View solution in original post

4 REPLIES 4

avatar

hi @hackerway,

It seems that you have the same exact issue as posted here: https://community.cloudera.com/t5/Support-Questions/NiFi-ListSTFP-hostprovider-may-not-be-empty/m-p/...

I had the same issue and what @MattWho said in that post helped me solve my issue 🙂

Have a look to the solution and try to see if it will solve your issue.


In addition to the above link, you can also have a look on: https://stackoverflow.com/questions/59826510/a-hostprovider-may-not-be-empty-after-upgrading-to-nifi...

avatar
Explorer

Hi @cotopaul  Thanks for the response. As you rightly pointed out, it's the same issue. However, I'm still facing the problem. I have configured the 'zookeeper.properties' as below: 

hackerway_0-1679655935811.png

 

 

avatar

@hackerwayhow does your state-management.xml look like? Are you using the embedded zookeeper by any chance?

avatar
Explorer

Thanks @cotopaul state-management.xml  Connect String was missing , Yes