Rick,

The available processors and their documentation is generated at runtime
based on the contents of the lib directory. The NARs are expanded into the
work directory. Since you've tried completely removing the work directory
and your processor's JAR is clean of your old processor, everything should
be good. Did you happen to rename the NAR as well? Is the old NAR still
present in the lib directory?

Since the processor shows up in the New Processor Dialog, you should be
able to look in your logs/nifi-app.log file to see where it was loaded
from. There is a listing at start up mapping discovered processors and
their corresponding NAR.

Matt

On Wed, Sep 9, 2015 at 3:46 PM, Rick Braddy <[email protected]> wrote:

> Dan,
>
> Ran the "mvn clean install" and inspected the resulting process jar file.
> The old class is not present in the jar file using "jar tf processor.jar"
>
> Rick
>
> -----Original Message-----
> From: Dan Bress [mailto:[email protected]]
> Sent: Wednesday, September 09, 2015 2:37 PM
> To: [email protected]
> Subject: Re: How to delete docs for renamed processor
>
> Rick,
>    It sounds like the nar contains both the old .class and the new .class
>
>    Can you run "mvn clean install" on your nar, then look at the
> nar/META-INF/bundled-dependencies/your-processors.jar and see if it
> contains both the old class and the new class?
>
> Dan Bress
> Software Engineer
> ONYX Consulting Services
>
> ________________________________________
> From: Rick Braddy <[email protected]>
> Sent: Wednesday, September 9, 2015 3:25 PM
> To: [email protected]
> Subject: RE: How to delete docs for renamed processor
>
> Dan,
>
> Yes. The old processor name still shows up in the UI when dragging a new
> processor onto the canvass, so it's not just the docs that are remaining.
>
> "mvn -T C2.0 clean install" is the nar build command used.
>
> Rick
>
> -----Original Message-----
> From: Dan Bress [mailto:[email protected]]
> Sent: Wednesday, September 09, 2015 2:06 PM
> To: [email protected]
> Subject: Re: How to delete docs for renamed processor
>
> Rick,
>    Can you confirm whether the old processor name still shows up in the
> "new processor" UI when you try and drag a new processor on the graph?
>
>    Also did you do a 'mvn clean install' on your nar, or just 'mvn
> install'?
>
> Dan Bress
> Software Engineer
> ONYX Consulting Services
>
> ________________________________________
> From: Rick Braddy <[email protected]>
> Sent: Wednesday, September 9, 2015 3:00 PM
> To: [email protected]
> Subject: RE: How to delete docs for renamed processor
>
> Thanks Mark.  Unfortunately, that didn't work - it's still there.
>
> Rick
>
> -----Original Message-----
> From: Mark Payne [mailto:[email protected]]
> Sent: Wednesday, September 09, 2015 1:45 PM
> To: [email protected]
> Subject: RE: How to delete docs for renamed processor
>
> Rick,
>
> You can try deleting the nifi/work directory and restarting.
>
> Thanks
> -Mark
>
> ----------------------------------------
> > From: [email protected]
> > To: [email protected]
> > Subject: How to delete docs for renamed processor
> > Date: Wed, 9 Sep 2015 18:42:05 +0000
> >
> > Hi,
> >
> > Hopefully a quick answer. I have renamed a custom processor and I still
> see the processor by the old name showing up in the user docs. Is there a
> way to delete the docs related to the old processor name?
> >
> > Thanks
> > Rick
> >
>
>

Reply via email to