Re: Processor classpath

2017-07-07 Thread James Srinivasan
No worries, while "it's working but I don't entirely know why" satisfies me immediately, it does keep niggling at the back of my mind (not least in case it randomly stops working!). Thanks for all the help, James On 7 July 2017 at 17:44, Bryan Bende wrote: > Actually after

Re: Processor classpath

2017-07-07 Thread James Srinivasan
Here's where strace tells me my processor is looking for core-site.xml: [nifi@nifi nifi-1.3.0]$ strace -p 22189 -f 2>&1 | grep core-site.xml [pid 22284] stat("/opt/nifi/nifi-1.3.0/conf/core-site.xml", [pid 22284]

Re: Processor classpath

2017-07-07 Thread Bryan Bende
Hi James, I'm saying that it should not find a core-site.xml in NiFi's conf directory because the conf directory is not on the classpath of processors. Are you saying you have tested putting it there and believe it is finding it? -Bryan On Fri, Jul 7, 2017 at 11:08 AM, James Srinivasan

Re: Processor classpath

2017-07-07 Thread James Srinivasan
Hi Bryan, That all makes sense...except this is my own NiFi processor, not one of the built-in Hadoop ones: https://github.com/jrs53/geomesa-nifi So I'm still confused as to why core-site.xml is picked up from NiFi's conf directory, but very happy that it is! On 5 July 2017 at 21:55, Bryan

Re: how to use LookUpRecord processor?

2017-07-07 Thread Bryan Bende
Hi Prabhu, The SimpleCsvFileLookupService is meant to look up one value and add it back to the records. So lets say you want to lookup the gender and add it to the original records... You would configure SimpleCsvFileLookupService with the following: - Lookup Key Column = ID - Lookup Key Value

how to use LookUpRecord processor?

2017-07-07 Thread prabhu Mahendran
I tried to join two csv file based on id with respect to the below reference. How to join two CSVs with Apache Nifi i'm using NiFi-1.3.0 Now i have two csv files. 1.custom.csv No,Name,ID,Age1,Hik,2201,332,Kio,3300,22 2.gender.csv ID,Name,Sex2201,Hik,Male3300,Kio,FemaleI try to combine those

Re: Fwd: NiFi: update attributes with other existing attributes

2017-07-07 Thread Pavan Challa
Thanks a lot Joey. It works!!! On Thu, Jul 6, 2017 at 9:37 PM, Joey Frazee wrote: > Pavan, this sort of example might be helpful: > > https://gist.github.com/jfrazee/26deffba3a7d50e991495e223a020b93 > > The template and script show how to evaluate expressions when an