Re: OnStopped annotation

2016-03-06 Thread Pierre Villard
> > On Mar 2, 2016, at 4:20 AM, Pierre Villard < > pierre.villard...@gmail.com> > wrote: > > Mark, > > I just checked and it seems to be OK. My processor is a > NAR > and > the > nifi-api.jar is not into the nar. Actually, I took the > AMQP > processor &g

Re: OnStopped annotation

2016-03-05 Thread Oleg Zhurakousky
in your processor, then it will not find the annotation. If you are deploying your processor as a NAR, though, the maven nar plugin should prevent you from bundling the nifi-api.jar into the nar. It may be worth while though to poke around and make sure that you don't have two copies of the OnStopp

Re: OnStopped annotation

2016-03-05 Thread Oleg Zhurakousky
reproduce it? I am trying to read >> into >> your >> initial >> email and suspecting you were doing some sort of >> testing, >> so >> want >> to >> make >> sure I am doing the same thing. . . . >> >> Oleg >> On Feb 28,

Re: OnStopped annotation

2016-03-05 Thread Pierre Villard
MQP > processor > as > example to build and integrate the SNMP one in Nifi, so > not > sure > to > see > why > it does not work. > > 2016-03-01 18:38 GMT+01:00 Mark Payne < > marka...@hotmail.com > : > > Pierre, > > This feels to me like it could p

Re: OnStopped annotation

2016-03-05 Thread Oleg Zhurakousky
though to poke around and make sure that you don't have two copies of the OnStopped annotation class defined in the classpath, though. Thanks -Mark On Mar 1, 2016, at 12:15 PM, Pierre Villard < pierre.villard...@gmail.com> wrote: Nice! I used your nifi-ide-integration project to launch

Re: OnStopped annotation

2016-03-05 Thread Pierre Villard
r > of > > > eyes > > > > > is > > > > > > > due > > > > > > > > ;) > > > > > > > > > > > > > > > > > > Cheers > > > > > > > > > Oleg > >

Re: OnStopped annotation

2016-03-03 Thread Aldrin Piri
> > > > > > Cheers > > > > > > > > Oleg > > > > > > > > > > > > > > > > > On Mar 2, 2016, at 4:20 AM, Pierre Villard < > > > > > > > pierre.villard...@gmail.com> > > > > > > > &

Re: OnStopped annotation

2016-03-03 Thread Pierre Villard
; > > > > > > pierre.villard...@gmail.com> > > > > > > > wrote: > > > > > > > > > > > > > > > > Mark, > > > > > > > > > > > > > > > > I just checked and it seems

Re: OnStopped annotation

2016-03-03 Thread Aldrin Piri
; > >>>> noticed > > > > > > >>>> that modification of properties in my processor didn't have > > any > > > > > > effect. > > > > > > >>>> So I switched to debug, added a processor, started it, and >

Re: OnStopped annotation

2016-03-03 Thread Pierre Villard
> > > > > why > > > > > > it does not work. > > > > > > > > > > > > 2016-03-01 18:38 GMT+01:00 Mark Payne : > > > > > > > > > > > >> Pierre, > > > > > >> > > >

Re: OnStopped annotation

2016-03-03 Thread Aldrin Piri
> > > > > >> This feels to me like it could potentially be a classpath issue. > The > > > > >> nifi-api.jar file is on the > > > > >> root class path (exists in $NIFI_HOME/lib). If there is a > different > > > > class >

Re: OnStopped annotation

2016-03-03 Thread Pierre Villard
t;> root class path (exists in $NIFI_HOME/lib). If there is a different > > > class > > > >> definition in your processor, > > > >> then it will not find the annotation. > > > >> > > > >> If you are deploying your processo

Re: OnStopped annotation

2016-03-02 Thread Aldrin Piri
e is on the > > >> root class path (exists in $NIFI_HOME/lib). If there is a different > > class > > >> definition in your processor, > > >> then it will not find the annotation. > > >> > > >> If you are deploying your processor

Re: OnStopped annotation

2016-03-02 Thread Pierre Villard
nar > plugin > >> should prevent you > >> from bundling the nifi-api.jar into the nar. It may be worth while > though > >> to poke around and make sure > >> that you don't have two copies of the OnStopped annotation class defined > >> in the cl

Re: OnStopped annotation

2016-03-02 Thread Oleg Zhurakousky
ugin >> should prevent you >> from bundling the nifi-api.jar into the nar. It may be worth while though >> to poke around and make sure >> that you don't have two copies of the OnStopped annotation class defined >> in the classpath, though. >> >> Thanks &

Re: OnStopped annotation

2016-03-02 Thread Pierre Villard
ing your processor as a NAR, though, the maven nar plugin > should prevent you > from bundling the nifi-api.jar into the nar. It may be worth while though > to poke around and make sure > that you don't have two copies of the OnStopped annotation class defined > in the classpath, thou

Re: OnStopped annotation

2016-03-01 Thread Mark Payne
, though, the maven nar plugin should prevent you from bundling the nifi-api.jar into the nar. It may be worth while though to poke around and make sure that you don't have two copies of the OnStopped annotation class defined in the classpath, though. Thanks -Mark > On Mar 1, 2016, at

Re: OnStopped annotation

2016-03-01 Thread Pierre Villard
com<mailto:ozhurakou...@hortonworks.com>> > wrote: > > Pierre > Can you paste the method definition? Just want to look at the > signature > and see if there is something obvious > > Sent from my iPhone > > On Feb 28, 2016, at 10:26, Pierr

Re: OnStopped annotation

2016-03-01 Thread Oleg Zhurakousky
my iPhone On Feb 28, 2016, at 10:26, Pierre Villard < pierre.villard...@gmail.com <mailto:pierre.villard...@gmail.com>> wrote: Hi, I am working on SNMP processors [1] and I'm almost ready for a PR... but I have an issue I can't explain. In my processors, I have implemented a

Re: OnStopped annotation

2016-03-01 Thread Pierre Villard
iFi minus UI. Here is an example: > >>>>> > >>> > https://github.com/apache/nifi/pull/210/files#diff-7be646c38c5447f7824e444343633829R92 > >>>>> > >>>>> Cheers > >>>>> Oleg > >>>>> > >>&

Re: OnStopped annotation

2016-02-29 Thread Oleg Zhurakousky
tps://github.com/apache/nifi/pull/210/files#diff-7be646c38c5447f7824e444343633829R92 >>>>> >>>>> Cheers >>>>> Oleg >>>>> >>>>> On Feb 28, 2016, at 11:07 AM, Oleg Zhurakousky < >>>>> ozhurakou...@hortonwork

Re: OnStopped annotation

2016-02-29 Thread Oleg Zhurakousky
;>>> >>>> Pierre >>>> Can you paste the method definition? Just want to look at the signature >>>> and see if there is something obvious >>>> >>>> Sent from my iPhone >>>> >>>> On Feb 28, 2016, at 10:26

Re: OnStopped annotation

2016-02-29 Thread Pierre Villard
> >> > >> Sent from my iPhone > >> > >> On Feb 28, 2016, at 10:26, Pierre Villard >> <mailto:pierre.villard...@gmail.com>> wrote: > >> > >> Hi, > >> > >> I am working on SNMP processors [1] and I'm almo

Re: OnStopped annotation

2016-02-28 Thread Oleg Zhurakousky
illard...@gmail.com>> wrote: >> >> Hi, >> >> I am working on SNMP processors [1] and I'm almost ready for a PR... but I >> have an issue I can't explain. In my processors, I have implemented a >> method close() with the @OnStopped annotation but it seems t

Re: OnStopped annotation

2016-02-28 Thread Pierre Villard
nd see if there is something obvious > > Sent from my iPhone > > On Feb 28, 2016, at 10:26, Pierre Villard <mailto:pierre.villard...@gmail.com>> wrote: > > Hi, > > I am working on SNMP processors [1] and I'm almost ready for a PR... but I > have an issue I can&

Re: OnStopped annotation

2016-02-28 Thread Oleg Zhurakousky
my processors, I have implemented a method close() with the @OnStopped annotation but it seems the annotation is not seen. When debugging and stopping my processor, I correctly go through quietlyInvokeMethodsWithAnnotations() in ReflectionUtils and my method close() appears without any annotation. I guess

Re: OnStopped annotation

2016-02-28 Thread Oleg Zhurakousky
ut I > have an issue I can't explain. In my processors, I have implemented a > method close() with the @OnStopped annotation but it seems the annotation > is not seen. When debugging and stopping my processor, I correctly go > through quietlyInvokeMethodsWithAnnotations() in

Re: OnStopped annotation

2016-02-28 Thread Aldrin Piri
R... but I > have an issue I can't explain. In my processors, I have implemented a > method close() with the @OnStopped annotation but it seems the annotation > is not seen. When debugging and stopping my processor, I correctly go > through quietlyInvokeMethodsWithAnnotations() in

OnStopped annotation

2016-02-28 Thread Pierre Villard
Hi, I am working on SNMP processors [1] and I'm almost ready for a PR... but I have an issue I can't explain. In my processors, I have implemented a method close() with the @OnStopped annotation but it seems the annotation is not seen. When debugging and stopping my processor, I co