You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Rick Braddy <rb...@softnas.com> on 2015/09/09 20:42:05 UTC

How to delete docs for renamed processor

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


Re: How to delete docs for renamed processor

Posted by Matt Gilman <ma...@gmail.com>.
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 <rb...@softnas.com> 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:dbress@onyxconsults.com]
> Sent: Wednesday, September 09, 2015 2:37 PM
> To: dev@nifi.apache.org
> 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 <rb...@softnas.com>
> Sent: Wednesday, September 9, 2015 3:25 PM
> To: dev@nifi.apache.org
> 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:dbress@onyxconsults.com]
> Sent: Wednesday, September 09, 2015 2:06 PM
> To: dev@nifi.apache.org
> 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 <rb...@softnas.com>
> Sent: Wednesday, September 9, 2015 3:00 PM
> To: dev@nifi.apache.org
> 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:markap14@hotmail.com]
> Sent: Wednesday, September 09, 2015 1:45 PM
> To: dev@nifi.apache.org
> Subject: RE: How to delete docs for renamed processor
>
> Rick,
>
> You can try deleting the nifi/work directory and restarting.
>
> Thanks
> -Mark
>
> ----------------------------------------
> > From: rbraddy@softnas.com
> > To: dev@nifi.apache.org
> > 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
> >
>
>

Re: How to delete docs for renamed processor

Posted by Dan Bress <db...@onyxconsults.com>.
Rick,
   Great. Can you drop that in the lib directory(and make sure you don't have any other versions of this jar in that lib directory), stop nifi, delete the work directory, and restart?  I think that will get you to where you want to be.

Dan Bress
Software Engineer
ONYX Consulting Services

________________________________________
From: Rick Braddy <rb...@softnas.com>
Sent: Wednesday, September 9, 2015 3:46 PM
To: dev@nifi.apache.org
Subject: RE: How to delete docs for renamed processor

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:dbress@onyxconsults.com]
Sent: Wednesday, September 09, 2015 2:37 PM
To: dev@nifi.apache.org
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 <rb...@softnas.com>
Sent: Wednesday, September 9, 2015 3:25 PM
To: dev@nifi.apache.org
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:dbress@onyxconsults.com]
Sent: Wednesday, September 09, 2015 2:06 PM
To: dev@nifi.apache.org
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 <rb...@softnas.com>
Sent: Wednesday, September 9, 2015 3:00 PM
To: dev@nifi.apache.org
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:markap14@hotmail.com]
Sent: Wednesday, September 09, 2015 1:45 PM
To: dev@nifi.apache.org
Subject: RE: How to delete docs for renamed processor

Rick,

You can try deleting the nifi/work directory and restarting.

Thanks
-Mark

----------------------------------------
> From: rbraddy@softnas.com
> To: dev@nifi.apache.org
> 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
>


RE: How to delete docs for renamed processor

Posted by Rick Braddy <rb...@softnas.com>.
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:dbress@onyxconsults.com] 
Sent: Wednesday, September 09, 2015 2:37 PM
To: dev@nifi.apache.org
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 <rb...@softnas.com>
Sent: Wednesday, September 9, 2015 3:25 PM
To: dev@nifi.apache.org
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:dbress@onyxconsults.com]
Sent: Wednesday, September 09, 2015 2:06 PM
To: dev@nifi.apache.org
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 <rb...@softnas.com>
Sent: Wednesday, September 9, 2015 3:00 PM
To: dev@nifi.apache.org
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:markap14@hotmail.com]
Sent: Wednesday, September 09, 2015 1:45 PM
To: dev@nifi.apache.org
Subject: RE: How to delete docs for renamed processor

Rick,

You can try deleting the nifi/work directory and restarting.

Thanks
-Mark

----------------------------------------
> From: rbraddy@softnas.com
> To: dev@nifi.apache.org
> 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
>


Re: How to delete docs for renamed processor

Posted by Dan Bress <db...@onyxconsults.com>.
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 <rb...@softnas.com>
Sent: Wednesday, September 9, 2015 3:25 PM
To: dev@nifi.apache.org
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:dbress@onyxconsults.com]
Sent: Wednesday, September 09, 2015 2:06 PM
To: dev@nifi.apache.org
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 <rb...@softnas.com>
Sent: Wednesday, September 9, 2015 3:00 PM
To: dev@nifi.apache.org
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:markap14@hotmail.com]
Sent: Wednesday, September 09, 2015 1:45 PM
To: dev@nifi.apache.org
Subject: RE: How to delete docs for renamed processor

Rick,

You can try deleting the nifi/work directory and restarting.

Thanks
-Mark

----------------------------------------
> From: rbraddy@softnas.com
> To: dev@nifi.apache.org
> 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
>


RE: How to delete docs for renamed processor

Posted by Rick Braddy <rb...@softnas.com>.
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:dbress@onyxconsults.com] 
Sent: Wednesday, September 09, 2015 2:06 PM
To: dev@nifi.apache.org
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 <rb...@softnas.com>
Sent: Wednesday, September 9, 2015 3:00 PM
To: dev@nifi.apache.org
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:markap14@hotmail.com]
Sent: Wednesday, September 09, 2015 1:45 PM
To: dev@nifi.apache.org
Subject: RE: How to delete docs for renamed processor

Rick,

You can try deleting the nifi/work directory and restarting.

Thanks
-Mark

----------------------------------------
> From: rbraddy@softnas.com
> To: dev@nifi.apache.org
> 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
>


Re: How to delete docs for renamed processor

Posted by Dan Bress <db...@onyxconsults.com>.
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 <rb...@softnas.com>
Sent: Wednesday, September 9, 2015 3:00 PM
To: dev@nifi.apache.org
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:markap14@hotmail.com]
Sent: Wednesday, September 09, 2015 1:45 PM
To: dev@nifi.apache.org
Subject: RE: How to delete docs for renamed processor

Rick,

You can try deleting the nifi/work directory and restarting.

Thanks
-Mark

----------------------------------------
> From: rbraddy@softnas.com
> To: dev@nifi.apache.org
> 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
>


RE: How to delete docs for renamed processor

Posted by Rick Braddy <rb...@softnas.com>.
Thanks Mark.  Unfortunately, that didn't work - it's still there.

Rick

-----Original Message-----
From: Mark Payne [mailto:markap14@hotmail.com] 
Sent: Wednesday, September 09, 2015 1:45 PM
To: dev@nifi.apache.org
Subject: RE: How to delete docs for renamed processor

Rick,

You can try deleting the nifi/work directory and restarting.

Thanks
-Mark

----------------------------------------
> From: rbraddy@softnas.com
> To: dev@nifi.apache.org
> 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
>
 		 	   		  

RE: How to delete docs for renamed processor

Posted by Mark Payne <ma...@hotmail.com>.
Rick,

You can try deleting the nifi/work directory and restarting.

Thanks
-Mark

----------------------------------------
> From: rbraddy@softnas.com
> To: dev@nifi.apache.org
> 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
>