when i run a NiFi processor it no longer works again

427 views Asked by At

I'm new to NiFi, assume that I don't know anything. I have it installed locally and I try to make a flow that takes some files from an SFTP and passes them to an AzureDataLake. I use ListSFTP, FetchSFTP, and PutAzureDataLakeStorage. Then I'll want to put a ValidateCsv between the Fetch and the Put. But for now I have two problems.

  1. The first is that whatever flow I create, I run it once, and if it works, it doesn't work anymore. Even if I turn off the server and everything. I have to re-create it from scratch to do the next test. I don't know why this could be, but it really slows me down.

  2. The second, I want to take only files that respond to a specific name format (TAL_dddd_dddd_dddddddd.0 being the d digits). What I do is the List, and in the Fetch, in its Remote File put something like this ./upload/NOMBRE/${filename:matches('TAL_\d{4}\d{4}\d{8}.0')}. But it does not work. I was going to test with ./upload/NOMBRE/${'TAL_\d{4}\d{4}\d{8}.0'}. But of course, problem 1 occurs and before redoing the entire flow I have come to ask.

I would appreciate the help. Thank you very much.

0

There are 0 answers