Re: FuzzyHashContent/CompareFuzzyHash processor

2017-10-06 Thread Andy LoPresto
Hi Shankha, The fuzzy hash processors operate on the content of the flowfile. You would first use a processor to ingest the “data file” content. This could be something like GetFile, GetHDFS, GetSFTP, InvokeHTTP, etc. depending on the source of the file. Once that step is done, the flowfile con

Re: Nifi:How can i remove “.” from “.filename” in nifi custom processor

2017-10-06 Thread sally
actually it never fiishes writing process i mean exceptions like this can't rename file ".conf.xml" -- Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/

Can't use renameTo in nifi custom processor code

2017-10-06 Thread sally
One of the most important part of my code is that it should put file in folder. i use this code for renaming ".conf.xml" to "conf.xml" but it doesn't work properly: final Path rootDirPath = get("C://Users//user//Desktop//try2//nifi-1.3.0//1"); final Path tempC

Re: Nifi:How can i remove “.” from “.filename” in nifi custom processor

2017-10-06 Thread sally
how can i see that flowfile write is already finished i have renameTo code like this : final Path rootDirPath = get("C://Users//user//Desktop//try2//nifi-1.3.0//1"); final Path tempCopyFile = rootDirPath.resolve("."+flowFile.getAttribute(CoreAttributes.FILENAME.key()));

Can't rename ".file.xml" to "file.xml" in nifi custom code

2017-10-06 Thread sally
I have this code inside my onTrigger method in order to rename file and then put it in folder but for unknown reasons i can't do it in log file i can't see any failure, error or warn. Mainly i want to make custom processor which get xml file from folder and then up

FuzzyHashContent/CompareFuzzyHash processor

2017-10-06 Thread shankhamajumdar
Hi, I want to implement fuzzy logic on some fields in a data file using NiFi. I am trying to use FuzzyHashContent/CompareFuzzyHash processor but not sure how to implement the flow. Can you please provide me an example? Regards, Shankha -- Sent from: http://apache-nifi-developer-list.39713.n7.