parse the ProcessGroupStatusEntity
recursively to get all processors/process-groups from an instance but this
approach will not give me the ControllerServices that a processor is
referencing.
One approach from here on is to make one rest call per processor to get those
details (which is expensive
o:bbe...@gmail.com]
> Sent: Tuesday, August 14, 2018 9:17 AM
> To: users@nifi.apache.org
> Subject: Re: [EXT] Re: Get all Processors
>
> You could probably achieve the same thing but traversing the process
> groups and asking each one for its processors without the
> includeDe
, 2018 9:17 AM
To: users@nifi.apache.org
Subject: Re: [EXT] Re: Get all Processors
You could probably achieve the same thing but traversing the process groups and
asking each one for its processors without the includeDescendantGroups=true.
It would be more complex on the client side, but would avoid
lto:pierre.villard...@gmail.com]
> Sent: Tuesday, August 14, 2018 2:20 AM
> To: users@nifi.apache.org
> Subject: Re: [EXT] Re: Get all Processors
>
>
>
> Hi Karthik,
>
>
>
> Are you running a cluster or standalone NiFi? What's your default read
> timeout val
: Re: [EXT] Re: Get all Processors
Hi Karthik,
Are you running a cluster or standalone NiFi? What's your default read timeout
value in nifi.properties? I believe the default value is a bit low when you
start reaching thousands of processors.
nifi.cluster.node.read.timeout=5 sec
Pierre
20
rthik Kothareddy (karthikk) [CONT - Type 2] <
karth...@micron.com>:
> Joe,
>
> I tried this call on both 1.7.1 and 1.6.0 and still getting the timeout
> exception. I know that this is a very expensive call and requires lot of
> caching from serverside. I was looking for a way to ge
Joe,
I tried this call on both 1.7.1 and 1.6.0 and still getting the timeout
exception. I know that this is a very expensive call and requires lot of
caching from serverside. I was looking for a way to get all processors and the
controller Services they refer (if any?). Not sure how to get the
ss it if that is the case.
Others might have better data offhand.
Thanks
On Mon, Aug 13, 2018 at 3:08 PM Karthik Kothareddy (karthikk) [CONT -
Type 2] wrote:
>
> All,
>
>
>
> I was trying to get all processors from “root” Process group with the
> following rest call -
>
All,
I was trying to get all processors from "root" Process group with the following
rest call -
/nifi-api/process-groups/root/processors?includeDescendantGroups=true and this
call keeps timing out with the below exception
javax.ws.rs.ProcessingException: java.net.SocketTimeou