Makoto,

For future reference, you only need to delete the templates contained in the 
process group you are trying to delete. You can see the process group ID in the 
templates listing — any that match the UUID of the PG you are deleting need to 
be deleted, but others are fine.

Andy LoPresto
alopre...@apache.org
alopresto.apa...@gmail.com
PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69

> On Jan 27, 2017, at 7:56 PM, Makoto Hashimoto <tokomakoma...@gmail.com> wrote:
> 
> Hi all,
> 
> I could delete the process group after deleting all templates in my 
> environment.
> 
> MH
> 
> 
> 2017-01-28 12:38 GMT+09:00 Andy LoPresto <alopre...@apache.org 
> <mailto:alopre...@apache.org>>:
> Created NIFI-3417 [1] to address this.
> 
> [1] https://issues.apache.org/jira/browse/NIFI-3417 
> <https://issues.apache.org/jira/browse/NIFI-3417>
> 
> Andy LoPresto
> alopre...@apache.org <mailto:alopre...@apache.org>
> alopresto.apa...@gmail.com <mailto:alopresto.apa...@gmail.com>
> PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69
> 
>> On Jan 27, 2017, at 7:35 PM, Joe Witt <joe.w...@gmail.com 
>> <mailto:joe.w...@gmail.com>> wrote:
>> 
>> That certainly sounds JIRA worthy though.  Templates should not be able to 
>> block the destruction of a process group.
>> 
>> On Fri, Jan 27, 2017 at 10:32 PM, Andy LoPresto <alopre...@apache.org 
>> <mailto:alopre...@apache.org>> wrote:
>> Makoto,
>> 
>> Templates are tied to process groups. Unfortunately, this means that to 
>> delete the group, you will have to delete the templates first. You can do 
>> this by using the “hamburger” global menu at the top right of the UI and 
>> selecting “Templates”, then deleting the templates which reside in this 
>> process group (export them to XML first if you want to save them).
>> 
>> If you want to move those templates out of the PG, and you are comfortable 
>> working in XML, a less-enticing option is to stop the application, 
>> uncompress and open the flow.xml.gz file, and move the template entries out 
>> of the process group to root or another group, being sure to update any 
>> references in the XML. Then save and compress the file, and restart the 
>> application.
>> 
>> I understand this is not an ideal solution. I’m going to file a Jira 
>> documenting this and suggest that the dialog allows you to select one of 
>> three options:
>> 
>> 1. Delete process group and all contained templates
>> 2. Delete process group and move templates to parent PG (this could cause 
>> issues because the components and connections will no longer be defined)
>> 3. Cancel the delete operation.
>> 
>> I’ll also suggest improving the documentation to make this situation clearer.
>> 
>> <template_delete.png>
>> 
>> 
>> Andy LoPresto
>> alopre...@apache.org <mailto:alopre...@apache.org>
>> alopresto.apa...@gmail.com <mailto:alopresto.apa...@gmail.com>
>> PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69
>> 
>>> On Jan 27, 2017, at 7:12 PM, Makoto Hashimoto <tokomakoma...@gmail.com 
>>> <mailto:tokomakoma...@gmail.com>> wrote:
>>> 
>>> Hi,
>>> 
>>> I'm trying to delete an empty group.
>>> 
>>> <image.png>
>>> 
>>> However, it fails with the following error.
>>> 
>>> <image.png>
>>> 
>>> Is something wrong with my operation and could someone would help to
>>> solve this problem ?
>>> 
>>> Regards,
>>> MH
> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to