You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by prabhu Mahendran <pr...@gmail.com> on 2018/03/19 06:57:00 UTC

How to know the processors last running time?

i'm having group of processors to perform some functionalities.

I have scheduled the starting processor to be run upon daily at particular
time by using cron expression.

I need to know that the processors last running time.

just consider an example if i having getfile,generateflowfile processor
triggers entire workflow by cron. At some times, i enter into that workflow
not able to ensure that processor running as per cron or not because it
entire processing completed at that time.

can anyone suggest me the best way to ensure the processors last running
time and its processing attributes?.

Re: How to know the processors last running time?

Posted by prabhu Mahendran <pr...@gmail.com>.
Thank you for the help.

On Mon, Mar 19, 2018 at 5:13 PM, Jorge Machado <jo...@me.com> wrote:

> From Nifi default I don’t know any other way. You can always create a
> entry on a table and write the information that you need into it.
>
> Jorge
>
>
> On 19 Mar 2018, at 12:22, prabhu Mahendran <pr...@gmail.com>
> wrote:
>
> Thanks for the update.
>
> Is there any other option other than logAttribute?
>
> On Mon, Mar 19, 2018 at 3:50 PM, Jorge Machado <jo...@me.com> wrote:
>
>> you could end your flow with a logAttribute Processor for example. Would
>> that resolve your issues ?
>>
>> Jorge Machado
>>
>>
>>
>>
>>
>>
>> On 19 Mar 2018, at 07:57, prabhu Mahendran <pr...@gmail.com>
>> wrote:
>>
>> i'm having group of processors to perform some functionalities.
>>
>> I have scheduled the starting processor to be run upon daily at
>> particular time by using cron expression.
>>
>> I need to know that the processors last running time.
>>
>> just consider an example if i having getfile,generateflowfile processor
>> triggers entire workflow by cron. At some times, i enter into that workflow
>> not able to ensure that processor running as per cron or not because it
>> entire processing completed at that time.
>>
>> can anyone suggest me the best way to ensure the processors last running
>> time and its processing attributes?.
>>
>>
>>
>
>

Re: How to know the processors last running time?

Posted by Jorge Machado <jo...@me.com>.
From Nifi default I don’t know any other way. You can always create a entry on a table and write the information that you need into it. 

Jorge


> On 19 Mar 2018, at 12:22, prabhu Mahendran <pr...@gmail.com> wrote:
> 
> Thanks for the update.
> 
> Is there any other option other than logAttribute?
> 
> On Mon, Mar 19, 2018 at 3:50 PM, Jorge Machado <jomach@me.com <ma...@me.com>> wrote:
> you could end your flow with a logAttribute Processor for example. Would that resolve your issues ? 
> 
> Jorge Machado
> 
> 
> 
> 
> 
> 
>> On 19 Mar 2018, at 07:57, prabhu Mahendran <prabhuu161994@gmail.com <ma...@gmail.com>> wrote:
>> 
>> i'm having group of processors to perform some functionalities.
>> 
>> I have scheduled the starting processor to be run upon daily at particular time by using cron expression.
>> 
>> I need to know that the processors last running time.
>> 
>> just consider an example if i having getfile,generateflowfile processor triggers entire workflow by cron. At some times, i enter into that workflow not able to ensure that processor running as per cron or not because it entire processing completed at that time.
>> 
>> can anyone suggest me the best way to ensure the processors last running time and its processing attributes?.
> 
> 


Re: How to know the processors last running time?

Posted by prabhu Mahendran <pr...@gmail.com>.
Thanks for the update.

Is there any other option other than logAttribute?

On Mon, Mar 19, 2018 at 3:50 PM, Jorge Machado <jo...@me.com> wrote:

> you could end your flow with a logAttribute Processor for example. Would
> that resolve your issues ?
>
> Jorge Machado
>
>
>
>
>
>
> On 19 Mar 2018, at 07:57, prabhu Mahendran <pr...@gmail.com>
> wrote:
>
> i'm having group of processors to perform some functionalities.
>
> I have scheduled the starting processor to be run upon daily at particular
> time by using cron expression.
>
> I need to know that the processors last running time.
>
> just consider an example if i having getfile,generateflowfile processor
> triggers entire workflow by cron. At some times, i enter into that workflow
> not able to ensure that processor running as per cron or not because it
> entire processing completed at that time.
>
> can anyone suggest me the best way to ensure the processors last running
> time and its processing attributes?.
>
>
>

Re: How to know the processors last running time?

Posted by Jorge Machado <jo...@me.com>.
you could end your flow with a logAttribute Processor for example. Would that resolve your issues ? 

Jorge Machado






> On 19 Mar 2018, at 07:57, prabhu Mahendran <pr...@gmail.com> wrote:
> 
> i'm having group of processors to perform some functionalities.
> 
> I have scheduled the starting processor to be run upon daily at particular time by using cron expression.
> 
> I need to know that the processors last running time.
> 
> just consider an example if i having getfile,generateflowfile processor triggers entire workflow by cron. At some times, i enter into that workflow not able to ensure that processor running as per cron or not because it entire processing completed at that time.
> 
> can anyone suggest me the best way to ensure the processors last running time and its processing attributes?.