Re: Nifi question

2016-04-26 Thread Jim Wagoner
Thanks Joe On Tue, Apr 26, 2016 at 5:48 PM, Joe Witt wrote: > We're a gentle bunch. Fire away and ask questions as needed. You can > reply to this to get this back on list. All good. > > So yeah we need to handle these cases better. You should not have to > worry about this so that is on us

Re: nifi question

2016-02-17 Thread Joe Witt
Hello, Could you share a screenshot. Also, which web browser (and version) are you using ? Finally, which version of NiFi? Thanks JOe On Wed, Feb 17, 2016 at 10:24 AM, yonatan kebede wrote: > hi, > i am new to nifi and have got problems on the UI, that its not displaying > the icons on top of

nifi question

2016-02-17 Thread yonatan kebede
hi, i am new to nifi and have got problems on the UI, that its not displaying the icons on top of the processors and also in the connections/relations, it was working in windows 8 but when i update it to win 10 , sth like this happen? what do you think is the problem? or any helpis appreciated Re

Re: nifi question

2015-09-28 Thread Sumanth Chinthagunta
Great. that is exactly what I needed. > On Sep 28, 2015, at 2:42 PM, Mark Payne wrote: > > Sumo, > > Generally, the approach that we take is to perform that type of operation in > a method that has the @OnScheduled annotation. > > Then you do it only once when the Processor is scheduled. > >

Re: nifi question

2015-09-28 Thread Mark Payne
Sumo, Generally, the approach that we take is to perform that type of operation in a method that has the @OnScheduled annotation. Then you do it only once when the Processor is scheduled. If you want to ensure that it happens only one time for the lifecycle of the JVM, you could use a boolean

Re: nifi question

2015-09-28 Thread Sumanth Chinthagunta
Thanks Mark for pointing me to GetTwitter example. I will try to follow this pattern. PropertyDescriptor is only available in onTrigger method via ProcessContext. I needed to get hold of Service from initialize method using ProcessorInitializationContexts as documented in the Developer guide.

Re: nifi question

2015-09-28 Thread Mark Payne
Sumo, The preferred mechanism for obtaining a Controller Service is to do so via a PropertyDescriptor. You would specify that the property represents a Controller Service by using the identifiesControllerService(Class) method. This is discussed in the "Interacting with a Controller Service" sect

nifi question

2015-09-27 Thread Sumanth Chinthagunta
Hi All, I am new to NiFi and I'm stuck with couple issues: 1. Unable to get hold of ControllerService from Processor’s init method. I wanted to pre-set some dependencies in my Processor during init phase instead of querying them repeatedly in onTrigger method. I am gettin