RE: [EXT] Re: Get all Processors

2018-08-15 Thread Karthik Kothareddy (karthikk) [CONT - Type 2]
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

Re: [EXT] Re: Get all Processors

2018-08-14 Thread Daniel Chaffelson
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

RE: [EXT] Re: Get all Processors

2018-08-14 Thread Karthik Kothareddy (karthikk) [CONT - Type 2]
, 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

Re: [EXT] Re: Get all Processors

2018-08-14 Thread Bryan Bende
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

2018-08-14 Thread Karthik Kothareddy (karthikk) [CONT - Type 2]
: 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

Re: [EXT] Re: Get all Processors

2018-08-14 Thread Pierre Villard
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

RE: [EXT] Re: Get all Processors

2018-08-13 Thread Karthik Kothareddy (karthikk) [CONT - Type 2]
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

Re: Get all Processors

2018-08-13 Thread Joe Witt
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 - >

Get all Processors

2018-08-13 Thread Karthik Kothareddy (karthikk) [CONT - Type 2]
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