>
> 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
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
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,
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
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
r
> of
> > > eyes
> > > > > is
> > > > > > > due
> > > > > > > > ;)
> > > > > > > > >
> > > > > > > > > Cheers
> > > > > > > > > Oleg
> >
> > > > > > Cheers
> > > > > > > > Oleg
> > > > > > > >
> > > > > > > > > On Mar 2, 2016, at 4:20 AM, Pierre Villard <
> > > > > > > pierre.villard...@gmail.com>
> > > > > > > &
;
> > > > > > pierre.villard...@gmail.com>
> > > > > > > wrote:
> > > > > > > >
> > > > > > > > Mark,
> > > > > > > >
> > > > > > > > I just checked and it seems
; > >>>> noticed
> > > > > > >>>> that modification of properties in my processor didn't have
> > any
> > > > > > effect.
> > > > > > >>>> So I switched to debug, added a processor, started it, and
>
> > > > > why
> > > > > > it does not work.
> > > > > >
> > > > > > 2016-03-01 18:38 GMT+01:00 Mark Payne :
> > > > > >
> > > > > >> Pierre,
> > > > > >>
> > >
>
> > > > >> 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
>
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
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
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
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
&
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
, 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
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
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
iFi minus UI. Here is an example:
> >>>>>
> >>>
> https://github.com/apache/nifi/pull/210/files#diff-7be646c38c5447f7824e444343633829R92
> >>>>>
> >>>>> Cheers
> >>>>> Oleg
> >>>>>
> >>&
tps://github.com/apache/nifi/pull/210/files#diff-7be646c38c5447f7824e444343633829R92
>>>>>
>>>>> Cheers
>>>>> Oleg
>>>>>
>>>>> On Feb 28, 2016, at 11:07 AM, Oleg Zhurakousky <
>>>>> ozhurakou...@hortonwork
;>>>
>>>> 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
> >>
> >> 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
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
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&
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
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
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
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
29 matches
Mail list logo