Re: Json routing

2016-07-26 Thread Anuj Handa
sketchy about this step since in the examples you have you only have one relationship.. do you have an example where you have multiple realtionship defined.. i might have missed it on the blog. Anuj On Tue, Jul 26, 2016 at 11:28 AM, Anuj Handa <anujha...@gmail.com> wrote: > Hi Matt, > &

Re: export from Teradata

2016-07-14 Thread Anuj Handa
Hi Dima, You will have to create an über jar from the JDBC drivers provided by Teradata and copy the uberjar into the lib folder of nifi. As Matt pointed out the instructions are in the email thread. You can refer them. Anuj > On Jul 14, 2016, at 9:35 AM, Matt Burgess

Json routing

2016-07-07 Thread Anuj Handa
Hi Folks, I have following two JSON documents and i would like to route them based on what the value is. In the below examples its order and refund. i want this to be dynamic as i can expect range of values. i was thinking of using EvaluateJsonPath and reading the Value of this field in the

Re: Problem with EvaluationJsonPath

2016-06-28 Thread Anuj Handa
Please ignore.. i looked at the code again and there was typo.. the "$" was missing from the one of the attributes.. thanks for looking into it On Tue, Jun 28, 2016 at 2:41 PM, Anuj Handa <anujha...@gmail.com> wrote: > Hi Matt, > > here's a snipet of th

Problem with EvaluationJsonPath

2016-06-24 Thread Anuj Handa
Hi , I am trying to user the Evaluate Json path processor. It works fine except when the Value is evaluated to 0, then it throws an error 2016-06-24 15:00:56,917 ERROR [Timer-Driven Process Thread-9] o.a.n.p.standard.EvaluateJsonPath EvaluateJsonPath[id=475d43ec-549b-4378-81d5-778041558781]

Re: Replace Text

2016-06-14 Thread Anuj Handa
anybody has any thoughts on UTF 8 Flow files with XMLtransforemation and other processors ? Anuj On Mon, Jun 13, 2016 at 4:45 PM, Anuj Handa <anujha...@gmail.com> wrote: > So it seems like its a UTF-8 issue, when i changed the string to use Hex > instead of Text and using the HEXcod

Re: Replace Text

2016-06-13 Thread Anuj Handa
understand, ultimately > you want to split the incoming FlowFile on each occurrence of > " "#|#|#" before each occurrence so that it will be easy to split? > > > > > > Joe > > - - - - - - > > Joseph Percivall > > linkedin.com/in/Percivall > > e: joeper

Replace Text

2016-06-13 Thread Anuj Handa
Hi, I am trying to read a file and then use replaceText to append a string so I can spilt the line in the next step. I am nable to make the ReplaceText work. The flowfile is going through as success without the string being appended or replaced Any thoughts what i could be doing wrong [image:

Not a Valid JSON content

2016-06-09 Thread Anuj Handa
Hi , I am getting the below error of not a valid JSON content a text file containing XML was sconverted to JSON. 2016-06-09 16:10:11,765 ERROR [Timer-Driven Process Thread-10] o.a.n.p.standard.EvaluateJsonPath EvaluateJsonPath[id=475d43ec-549b-4378-81d5-778041558781] FlowFile

Re: Apache NIFI insert to MySQL help

2016-05-27 Thread Anuj Handa
Hi Sven, you need to give the path of the driver jar file in the controller(Database file Jar Url).. Plus put the jar file in the nifi lib folder and restart Nifi. Anuj On Fri, May 27, 2016 at 4:37 PM, Sven Davison wrote: > I’m trying to do some stuff and send it to my

Re: Put SQL to connect to Teradata

2016-05-24 Thread Anuj Handa
;) Anuj On Mon, May 23, 2016 at 7:21 PM, Anuj Handa <anujha...@gmail.com> wrote: > Hi Jeremy, > > I figured out that maven was looking for Jar files and not able to find > them so i had install the JAR files. there were few typos and names > incorrect which were causing pr

Re: Put SQL to connect to Teradata

2016-05-23 Thread Anuj Handa
oupId=com.anuj.teradata > -DartifactId= terajdbc4 -Dversion=1.0.0-SNAPSHOT -Dpackaging=jar > > > On Sat, May 21, 2016 at 11:03 PM, Anuj Handa <anujha...@gmail.com> wrote: > >> hi Jeremy, >> >> I have no idea on how to use maven but i gave it a try and i am gett

Re: Put SQL to connect to Teradata

2016-05-21 Thread Anuj Handa
> > META-INF/*.SF > META-INF/*.DSA > META-INF/*.RSA > > > > > > > package > > shade >

Re: XML Shredding.

2016-04-30 Thread Anuj Handa
eed to remove > that before running EvaluateXPath. > > An alternative approach might be to use an ExtractText processor if you > wish to remove the text of the element. > > On Fri, Apr 29, 2016 at 7:43 PM, Anuj Handa <anujha...@gmail.com> wrote: > >> Hello folks.

XML Shredding.

2016-04-29 Thread Anuj Handa
Hello folks.. I am very new to Nifi and trying to see if i can use it to shred XML data. right now I am reading a file which has different type of xml messages. Examples below. As a first step i was trying to get an element type {cashreportdata} and write the whole element to a new file.