Re: [EXT] Re: Add interrupt option for stopped processors with active threads

2018-03-22 Thread Joe Witt
Karthik

I believe there are ways to determine underlying threads being
executed tied to particular linux processes in some cases.  However,
NiFi doesn't pin a processor to a specific/single thread.  A single
processor could use every thread in the thread pool during its
lifetime.  What would be cool to track if it can be done in an open
source friendly and opt-in for a given environment model is to show
CPU and memory usage for a single processor over time.

Thanks
Joe

On Thu, Mar 22, 2018 at 2:50 PM, Karthik Kothareddy (karthikk) [CONT -
Type 2] <karth...@micron.com> wrote:
>
> Also on the same note, is there a way to get the underlying PID (unix) for a 
> Processor? I know we can get the PID for the NiFi itself and get the child 
> processes for that. But is there a way we can correlate them back to actual 
> NiFi Processors ?
>
>
>
> -Original Message-
> From: Matt Gilman [mailto:matt.c.gil...@gmail.com]
> Sent: Thursday, March 22, 2018 11:46 AM
> To: dev@nifi.apache.org
> Subject: [EXT] Re: Add interrupt option for stopped processors with active 
> threads
>
> There is a PR available for the backend work [1]. It is actively being 
> reviewed. Following that, there is additional work to make the front-end 
> changes [2]. It doesn't look like it's going to make it into 1.6.0.
> However, it should be in scope for 1.7.0 assuming sufficient review traction 
> for both efforts.
>
> Matt
>
> [1] https://github.com/apache/nifi/pull/2555
> [2] https://issues.apache.org/jira/browse/NIFI-1295
>
> On Thu, Mar 22, 2018 at 1:37 PM, Karthik Kothareddy (karthikk) [CONT - Type 
> 2] <karth...@micron.com> wrote:
>
>> Hello,
>>
>> Is there an ETA on the below Improvement? Or is it in the scope for
>> any future releases?
>>
>> https://issues.apache.org/jira/browse/NIFI-78
>>
>> Thanks
>> Karthik
>>


RE: [EXT] Re: Add interrupt option for stopped processors with active threads

2018-03-22 Thread Karthik Kothareddy (karthikk) [CONT - Type 2]

Also on the same note, is there a way to get the underlying PID (unix) for a 
Processor? I know we can get the PID for the NiFi itself and get the child 
processes for that. But is there a way we can correlate them back to actual 
NiFi Processors ? 



-Original Message-
From: Matt Gilman [mailto:matt.c.gil...@gmail.com] 
Sent: Thursday, March 22, 2018 11:46 AM
To: dev@nifi.apache.org
Subject: [EXT] Re: Add interrupt option for stopped processors with active 
threads

There is a PR available for the backend work [1]. It is actively being 
reviewed. Following that, there is additional work to make the front-end 
changes [2]. It doesn't look like it's going to make it into 1.6.0.
However, it should be in scope for 1.7.0 assuming sufficient review traction 
for both efforts.

Matt

[1] https://github.com/apache/nifi/pull/2555
[2] https://issues.apache.org/jira/browse/NIFI-1295

On Thu, Mar 22, 2018 at 1:37 PM, Karthik Kothareddy (karthikk) [CONT - Type 2] 
<karth...@micron.com> wrote:

> Hello,
>
> Is there an ETA on the below Improvement? Or is it in the scope for 
> any future releases?
>
> https://issues.apache.org/jira/browse/NIFI-78
>
> Thanks
> Karthik
>


RE: [EXT] Re: Add interrupt option for stopped processors with active threads

2018-03-22 Thread Karthik Kothareddy (karthikk) [CONT - Type 2]
Thanks Matt, will keep an eye on it.

-Original Message-
From: Matt Gilman [mailto:matt.c.gil...@gmail.com] 
Sent: Thursday, March 22, 2018 11:46 AM
To: dev@nifi.apache.org
Subject: [EXT] Re: Add interrupt option for stopped processors with active 
threads

There is a PR available for the backend work [1]. It is actively being 
reviewed. Following that, there is additional work to make the front-end 
changes [2]. It doesn't look like it's going to make it into 1.6.0.
However, it should be in scope for 1.7.0 assuming sufficient review traction 
for both efforts.

Matt

[1] https://github.com/apache/nifi/pull/2555
[2] https://issues.apache.org/jira/browse/NIFI-1295

On Thu, Mar 22, 2018 at 1:37 PM, Karthik Kothareddy (karthikk) [CONT - Type 2] 
<karth...@micron.com> wrote:

> Hello,
>
> Is there an ETA on the below Improvement? Or is it in the scope for 
> any future releases?
>
> https://issues.apache.org/jira/browse/NIFI-78
>
> Thanks
> Karthik
>