Member since
07-30-2019
944
Posts
197
Kudos Received
91
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1505 | 10-05-2021 01:53 PM | |
| 16323 | 09-23-2019 06:03 AM | |
| 6816 | 05-04-2019 08:42 PM | |
| 1502 | 06-11-2018 12:45 PM | |
| 12621 | 06-04-2018 01:11 PM |
05-16-2017
09:08 PM
@amine adi NiFi does that automatically. The processor executes an external command on the contents of a flow file, and creates a new flow file with the results of the command.
... View more
05-16-2017
08:07 PM
@amine adi
Here is an example of java program being passed the name of the flow file as a parameter on the command line:
... View more
05-16-2017
07:28 PM
1 Kudo
@amine adi You can use the ExecuteStreamCommand processor to run the java program and it uses the expression language, so you will be able to pass attributes as parameters to the command line.
... View more
05-16-2017
01:05 PM
@Muhammad Umar All Fetch type processors require a List type processor preceding them to provide the files to fetch. So your FetchFile processor needs a list of files to fetch. So, put a ListFile processor configured to use the same directory as your FetchFile processor and send the output from the ListFile processor to the FetchFile processor. Here is a link to an article that uses the ListSFTP and GetSFTP processors to explain the method: List to Fetch example in NiFi
... View more
05-16-2017
12:08 PM
3 Kudos
@Muhammad Umar The FetchFile processor will do what you want to do. The GetFile processor does not have the option of moving a file after reading it. Just set the Completion Strategy to Move and then specify the directory in the Move Destination Directory
... View more
05-15-2017
04:17 PM
2 Kudos
@Andy Liang How much memory do you have allocated to the NiFi JVM? It is set in the bootstrap.conf file, the default is 512MB. The properties you want to look at are: # JVM memory settings java.arg.2=-Xms512m java.arg.3=-Xmx512m
... View more
05-13-2017
02:21 PM
@Francisco Pires Try clearing your browser cache or try deleting the processor and dropping a new ListFile processor on the graph. What version of HDF are you running? Here is my environment where it works just fine. I am running CentOS 7.3 in VirtualBox 5.1.22 on MacOS Sierra, HDF 2.1.2.
... View more
05-12-2017
02:44 PM
@Francisco Pires
I was able to use the sf_SharedFolder path name, so that is not the issue. Will you take snapshot of the property Input Directory with the current configuration? The only time I am able to reproduce the error you are seeing is when I add a blank space before or after the path or when I add a carriage return in the property. Make sure there is only a single line in the property value.
... View more
05-12-2017
12:39 PM
@Francisco Pires
No, that error has nothing to do with the issue for the ListFile processor. Maybe it has something to do with the mixed case, I am not sure since I don't have a CentOS 7 VirtualBox VM. Try changing the case to all lower case and no underscores for the mounted partition name and see if that makes a difference.
... View more
05-12-2017
12:19 AM
1 Kudo
@Yuta Imai In the upper left hand corner are several icons, one is for labels, click, then drag and drop onto the graph Then you will see a label To add comments, just right click and a menu pops up Click Configure and add your comments And there you go.
... View more