Re: JoltTransformJSON error from NiFi, but is valid in tester

2024-02-19 Thread James McMahon
Thank you Arvind. I removed the comment but the processor continues to fail its configuration check with the same error. Our nifi version is 1.16.3. I experimented with other configuration properties of the processor and seem to have hit on success. I had tried setting Jolt Transformation DSL to S

Re: JoltTransformJSON error from NiFi, but is valid in tester

2024-02-18 Thread Arvind Singh Tomar
Hi James, Sharing your Nifi version would help identify the issue. However, one thing which I encountered while working with Nifi version 1.23.2 that the processor does not like embedded comments in the transformations. I needed to remove all the comments. I tested yours by removing the comment

JoltTransformJSON error from NiFi, but is valid in tester

2024-02-18 Thread James McMahon
I have this JSON as flowfile content: { "dates" : { "date_file" : "20240115184407", "ingested" : "20240217175748", "latest_date" : "1980", "earliest_date" : "1980", "date_info" : "MMDD" }, "parents" : { "md5" : "86107362084b86ea64dc33dfde5e14ff", "sha2

Re: JoltTransformJSON error

2016-10-06 Thread Yolanda Davis
Glad it worked out! Let us know if you have any other questions. -yolanda > On Oct 6, 2016, at 3:49 PM, Karthik Ramakrishnan > wrote: > > Hi Yolanda, > > Thanks!! This is working. I guess I added too many specifications in the > spec. Unlike the demo-app this doesn't need the operations

Re: JoltTransformJSON error

2016-10-06 Thread Karthik Ramakrishnan
Matt / Yolanda, Thanks for taking the reply. I just found time to work on this. I removed the array brackets from the spec and changed it to 'shift', but this is the only output I am getting as of now. { "shift": "Update" } I am not getting the entire tree as in the app-demo. Is there something

Re: JoltTransformJSON error

2016-10-05 Thread Yolanda Davis
Matt is absolutely correct, your specification is actually in the form of Chain spec, where you could have one or more operations defined. In your case you have just one operation in your chain so you can try changing the drop down to Chain or edit your your specification to only include the portio

Re: JoltTransformJSON error

2016-10-05 Thread Matt Burgess
I'm not near my computer but my knee-jerk reaction is that all the jolt-app-demo transforms are actually Chain transforms, some (like your example) with a single transform inside (like a Shift). Try removing the array brackets if you're selecting a Shift transform, or choose Chain and keep them

Re: JoltTransformJSON error

2016-10-05 Thread Karthik Ramakrishnan
Hi Yolanda, Thanks for taking this up. I am running *NiFi 1.0.0* in my local. I have attached the screen from both the Processor's Advanced UI and the Jolt Transform Demo website. If I click Transform - There is no change in the UI. It doesn't even throw and error. When I see the processor in th

Re: JoltTransformJSON error

2016-10-05 Thread Yolanda Davis
Hi Karthik, What version of NiFi are you using? Also do you mind sharing the specification that you are attempting to use? If you could provide a picture/snapshot of the processor's configuration using the Advance UI that would help me to try to recreate the problem or provide a solution. Than

JoltTransformJSON error

2016-10-05 Thread Karthik Ramakrishnan
Hello - I am using the JoltTransformJSON processor for a Jolt transformation. I am getting an error: *" is invalid because Specification is not valid for the given transformation* I am using a "Shift" DSL and my spec is working while testing in - http://jolt-demo.appspot.com/ Can anyone throw s