You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Yuanhao Zhu <yu...@accelleron-industries.com> on 2025/05/26 09:24:39 UTC

回复: 1.28.1 to 2.4 upgrade and dirty Jolt processor

Hey Geoffery

You can also write a script that change the property key of the old JoltTransform processors in the flow.json.gz file to the new ones like

sed -e 's|org.apache.nifi.processors.standard.JoltTransformJSON|org.apache.nifi.processors.jolt.JoltTransformJSON|g' \
    -e 's|jolt-spec|Jolt Specification|g' \
    -e 's|"jolt-transform"|"Jolt Transform"|g' \

Best regards

Yuanhao
________________________________
发件人: Greene (US), Geoffrey N via users <us...@nifi.apache.org>
发送时间: 2025年5月23日 17:08
收件人: users@nifi.apache.org <us...@nifi.apache.org>
主题: 1.28.1 to 2.4 upgrade and dirty Jolt processor

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

As I begin the process of upgrading 1.28.1 to 2.4.0, I notice that upgrading flows with a  JoltTransformJSON processor does not work.



Someone on the nifi side should probably look at this.  The “old” processor does not map well to the new one.  My solution is for each one, I have had to drag a new one in, and recreate all the values.



Just fyi, I do have a workaround…





Geoffrey Greene

ATF / Senior Software Ninjaneer



Re: 1.28.1 to 2.4 upgrade and dirty Jolt processor

Posted by Breno Cesar <br...@gmail.com>.
Hi !

Do you tried to use Nifi Registry ? Here i migrete from 1.15.3 to 2.4 using
nifi registry with almost no need to configure, with the exception of
sensitive fields (passwords).

*Breno *





Em seg., 26 de mai. de 2025 às 06:25, Yuanhao Zhu <
yuanhao.zhu@accelleron-industries.com> escreveu:

> Hey Geoffery
>
> You can also write a script that change the property key of the old
> JoltTransform processors in the flow.json.gz file to the new ones like
>
> sed -e
> 's|org.apache.nifi.processors.standard.JoltTransformJSON|org.apache.nifi.processors.jolt.JoltTransformJSON|g'
> \
>     -e 's|jolt-spec|Jolt Specification|g' \
>     -e 's|"jolt-transform"|"Jolt Transform"|g' \
>
> Best regards
>
> Yuanhao
> ------------------------------
> *发件人:* Greene (US), Geoffrey N via users <us...@nifi.apache.org>
> *发送时间:* 2025年5月23日 17:08
> *收件人:* users@nifi.apache.org <us...@nifi.apache.org>
> *主题:* 1.28.1 to 2.4 upgrade and dirty Jolt processor
>
> CAUTION: This email originated from outside of the organization. Do not
> click links or open attachments unless you recognize the sender and know
> the content is safe.
>
> As I begin the process of upgrading 1.28.1 to 2.4.0, I notice that
> upgrading flows with a  JoltTransformJSON processor does not work.
>
>
>
> Someone on the nifi side should probably look at this.  The “old”
> processor does not map well to the new one.  My solution is for each one, I
> have had to drag a new one in, and recreate all the values.
>
>
>
> Just fyi, I do have a workaround…
>
>
>
>
>
> Geoffrey Greene
>
> ATF / Senior Software Ninjaneer
>
>
>