nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yolanda Davis <>
Subject Re: JoltTransformJSON error
Date Thu, 06 Oct 2016 00:43:02 GMT
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
portion that is in braces next to the "spec" variable as Matt suggested and
leave the specification type as Shift.  Either method should fix the issue.

Please let us know how it goes!


Sent from my iPhone

On Oct 5, 2016, at 7:40 PM, Matt Burgess <> wrote:

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 in.

Yolanda knows MUCH more about this than I do, so if that doesn't fix your
problem, she likely has the solution (or will identify any bug). No
pressure Yolanda ;)


On Oct 5, 2016, at 7:13 PM, Karthik Ramakrishnan <> wrote:

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 the main UI, it is giving the error
which I had mentioned. Appreciate any help possible. TIA


On Wed, Oct 5, 2016 at 5:33 PM, 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.
> Thanks,
> Yolanda
> On Wed, Oct 5, 2016 at 4:29 PM, Karthik Ramakrishnan <
>> wrote:
>> 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 -
>> Can anyone throw some light on this? This is the only blocker that is
>> hindering my flow as of now.
>> Thanks!!!
>> --
>> Thanks,
>> *Karthik Ramakrishnan*
>> *Intern - Data Services*
>> *Copart Inc.*
>> *Contact : +1 (469) 951-8854 <%2B1%20%28469%29%20951-8854>*
> --
> --
> @YolandaMDavis

*Karthik Ramakrishnan*
*Contact : +1 (469) 951-8854 <%2B1%20%28469%29%20951-8854>*

<NiFi - Issue 2.PNG>

<NiFi - Issue 1.PNG>

View raw message