RE: DistributedMapCacheServer not included when making copy of ProcessGroup

2022-01-19 Thread Isha Lamboo
Sure, I will create a ticket

Thanks for looking into it!

Isha

Van: Mark Payne 
Verzonden: woensdag 19 januari 2022 15:56
Aan: users 
Onderwerp: Re: DistributedMapCacheServer not included when making copy of 
ProcessGroup

OK thanks. So that is not intended to happen. It’s a bug. Good news is that I 
was able to easily replicate by creating a new process group, just adding the 
distributed map cache server, and then copy & paste. Not sure why it would do 
that, but we can certainly look into it. You mind filing a Jira for it?

Thanks
-Mark



On Jan 19, 2022, at 9:52 AM, Isha Lamboo 
mailto:isha.lam...@virtualsciences.nl>> wrote:

Hi Mark,

It happens when using copy & paste to duplicate the Process Group on the canvas.

We’ve since committed the fixed process group to the registry from the dev 
server and the DistributedMapCacheServer is created successfully when changing 
version on the production server, so the component must be present in the 
flowdefinition.

Thanks,

Isha

Van: Mark Payne mailto:marka...@hotmail.com>>
Verzonden: woensdag 19 januari 2022 15:46
Aan: users@nifi.apache.org<mailto:users@nifi.apache.org>
Onderwerp: Re: DistributedMapCacheServer not included when making copy of 
ProcessGroup

Hi Isha,

When you say it was “copied” what precisely do you mean? Did you copy & paste 
the Process Group? Did you create a template and then instantiate it? Did you 
download the flow definition and then upload it again? There are a few 
different mechanism that you can use for duplicating process groups.

Thanks
-Mark




On Jan 19, 2022, at 7:25 AM, Isha Lamboo 
mailto:isha.lam...@virtualsciences.nl>> wrote:

Hi all,

I’ve encountered an issue today where a DistributedMapCacheServer controller 
service was missing from a process group with a flow.
It turns out that during development the entire process group was copied to 
test some changes and then the copy was used from there on.

A bit of testing shows that in NiFi 1.15.2 the DistributedMapCacheServer is 
silently excluded from the copy operation. I found no warnings or errors in the 
log concerning the operation.

I can imagine this is done on purpose since a copy using the same port could 
never work, but I would expect either a warning, or for the validation/enabling 
of the copy to fail.



Is this by design and are the DistributedMapCacheServer services supposed to be 
created at the root level, or can I create a bug/improvement ticket for this?

Kind regards,

Isha Lamboo



Re: DistributedMapCacheServer not included when making copy of ProcessGroup

2022-01-19 Thread Mark Payne
OK thanks. So that is not intended to happen. It’s a bug. Good news is that I 
was able to easily replicate by creating a new process group, just adding the 
distributed map cache server, and then copy & paste. Not sure why it would do 
that, but we can certainly look into it. You mind filing a Jira for it?

Thanks
-Mark


On Jan 19, 2022, at 9:52 AM, Isha Lamboo 
mailto:isha.lam...@virtualsciences.nl>> wrote:

Hi Mark,

It happens when using copy & paste to duplicate the Process Group on the canvas.

We’ve since committed the fixed process group to the registry from the dev 
server and the DistributedMapCacheServer is created successfully when changing 
version on the production server, so the component must be present in the 
flowdefinition.

Thanks,

Isha

Van: Mark Payne mailto:marka...@hotmail.com>>
Verzonden: woensdag 19 januari 2022 15:46
Aan: users@nifi.apache.org<mailto:users@nifi.apache.org>
Onderwerp: Re: DistributedMapCacheServer not included when making copy of 
ProcessGroup

Hi Isha,

When you say it was “copied” what precisely do you mean? Did you copy & paste 
the Process Group? Did you create a template and then instantiate it? Did you 
download the flow definition and then upload it again? There are a few 
different mechanism that you can use for duplicating process groups.

Thanks
-Mark



On Jan 19, 2022, at 7:25 AM, Isha Lamboo 
mailto:isha.lam...@virtualsciences.nl>> wrote:

Hi all,

I’ve encountered an issue today where a DistributedMapCacheServer controller 
service was missing from a process group with a flow.
It turns out that during development the entire process group was copied to 
test some changes and then the copy was used from there on.

A bit of testing shows that in NiFi 1.15.2 the DistributedMapCacheServer is 
silently excluded from the copy operation. I found no warnings or errors in the 
log concerning the operation.

I can imagine this is done on purpose since a copy using the same port could 
never work, but I would expect either a warning, or for the validation/enabling 
of the copy to fail.


Is this by design and are the DistributedMapCacheServer services supposed to be 
created at the root level, or can I create a bug/improvement ticket for this?

Kind regards,

Isha Lamboo



RE: DistributedMapCacheServer not included when making copy of ProcessGroup

2022-01-19 Thread Isha Lamboo
Hi Mark,

It happens when using copy & paste to duplicate the Process Group on the canvas.

We’ve since committed the fixed process group to the registry from the dev 
server and the DistributedMapCacheServer is created successfully when changing 
version on the production server, so the component must be present in the 
flowdefinition.

Thanks,

Isha

Van: Mark Payne 
Verzonden: woensdag 19 januari 2022 15:46
Aan: users@nifi.apache.org
Onderwerp: Re: DistributedMapCacheServer not included when making copy of 
ProcessGroup

Hi Isha,

When you say it was “copied” what precisely do you mean? Did you copy & paste 
the Process Group? Did you create a template and then instantiate it? Did you 
download the flow definition and then upload it again? There are a few 
different mechanism that you can use for duplicating process groups.

Thanks
-Mark



On Jan 19, 2022, at 7:25 AM, Isha Lamboo 
mailto:isha.lam...@virtualsciences.nl>> wrote:

Hi all,

I’ve encountered an issue today where a DistributedMapCacheServer controller 
service was missing from a process group with a flow.
It turns out that during development the entire process group was copied to 
test some changes and then the copy was used from there on.

A bit of testing shows that in NiFi 1.15.2 the DistributedMapCacheServer is 
silently excluded from the copy operation. I found no warnings or errors in the 
log concerning the operation.

I can imagine this is done on purpose since a copy using the same port could 
never work, but I would expect either a warning, or for the validation/enabling 
of the copy to fail.


Is this by design and are the DistributedMapCacheServer services supposed to be 
created at the root level, or can I create a bug/improvement ticket for this?

Kind regards,

Isha Lamboo



Re: DistributedMapCacheServer not included when making copy of ProcessGroup

2022-01-19 Thread Mark Payne
Hi Isha,

When you say it was “copied” what precisely do you mean? Did you copy & paste 
the Process Group? Did you create a template and then instantiate it? Did you 
download the flow definition and then upload it again? There are a few 
different mechanism that you can use for duplicating process groups.

Thanks
-Mark


On Jan 19, 2022, at 7:25 AM, Isha Lamboo 
mailto:isha.lam...@virtualsciences.nl>> wrote:

Hi all,

I’ve encountered an issue today where a DistributedMapCacheServer controller 
service was missing from a process group with a flow.
It turns out that during development the entire process group was copied to 
test some changes and then the copy was used from there on.

A bit of testing shows that in NiFi 1.15.2 the DistributedMapCacheServer is 
silently excluded from the copy operation. I found no warnings or errors in the 
log concerning the operation.

I can imagine this is done on purpose since a copy using the same port could 
never work, but I would expect either a warning, or for the validation/enabling 
of the copy to fail.

Is this by design and are the DistributedMapCacheServer services supposed to be 
created at the root level, or can I create a bug/improvement ticket for this?

Kind regards,

Isha Lamboo