You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Shamsudeen Jameer <sh...@prth.com> on 2024/04/30 21:52:41 UTC
Restarting Nifi Cluster Systems to add new user
Hello all,I have a nifi cluster system with 3 nodes that require a restart
of all systems when adding a new user. If any of the nodes are online it
won’t pick up the new configs. Basically, nifi will try to keep the
running config active at all times. Since I have 3 cluster nodes, I need to
shut down all of them at the same time after adding the new user. Is there
anything that can be suggested to prevent the shutdown of all systems when
adding a new user?
Thanks!
--
PROPRIETARY
/ CONFIDENTIALITY NOTICE
This message (including any
attachments) contains information
that is proprietary and confidential to
PRIORITY TECHNOLOGY HOLDINGS, INC. and its
affiliates and subsidiaries,
including the sender hereof, and is for the sole
use of the intended
recipients. If you are not an intended recipient, you may
not read, print,
retain, use, copy, distribute, forward or disclose to anyone
this message
or any information contained in this message (including any
attachments).
If you have received this message in error, please advise the
sender of
this error by reply e-mail, and please destroy all copies of this
message
(including any attachments).
RE: Restarting Nifi Cluster Systems to add new user
Posted by Isha Lamboo <is...@virtualsciences.nl>.
Hi Shamsudeen,
We are also using AD for our users and they appear automatically. You say you are not using groups, but you need to specify at least one group whose members will be added as NiFi users. If you don’t have a suitable group, there is probably a Developers group or even the generic Users group in any AD. Beware that the sync could get very slow though if you have thousands of users in that group. I would advise creating a “NiFi Users” group for all users that are supposed to interact with NiFi.
The group to filter/find users by is also specified in the authorizers.xml as Joe has pointed out.
Regards,
Isha
Van: Joe Witt <jo...@gmail.com>
Verzonden: woensdag 1 mei 2024 00:42
Aan: users@nifi.apache.org
Onderwerp: Re: Restarting Nifi Cluster Systems to add new user
Thanks - take a look at your conf/authorizers file and see which authorizer is being used.
Based on what you said it sounds like org.apache.nifi.ldap.tenants.LdapUserGroupProvider
There are properties related to how aggressively it will search for information from the directory server. The default appears to be 30 minutes.
Is this potentially the issue?
Thanks
On Tue, Apr 30, 2024 at 3:20 PM Shamsudeen Jameer <sh...@prth.com>> wrote:
Hello Joe,
It's through AD. But it isn't controlled via groups. I ended up having to add the user through the UI (which will normally be overwritten). I'm running version 1.23.2.
Regards,
Shamsudeen JameerData Operations ManagerPriorityshamsudeen.jameer@prth.com<ma...@prth.com>O: (516) 345-5015 M: (917) 374-6599‒‒
[https://marketing.prth.com/email/signature/PRTH-Email-Logo.png]
On Tue, Apr 30, 2024 at 6:01 PM Joe Witt <jo...@gmail.com>> wrote:
Hello
Can you share more about which authentication and authorization provider you're using with NiFi today?
Also would be good to share which other authentication/authorization providers your organization could leverage as then it is a question of which ones are supported out of the box.
Thanks
Joe
On Tue, Apr 30, 2024 at 2:53 PM Shamsudeen Jameer <sh...@prth.com>> wrote:
Hello all,I have a nifi cluster system with 3 nodes that require a restart of all systems when adding a new user. If any of the nodes are online it won’t pick up the new configs. Basically, nifi will try to keep the running config active at all times. Since I have 3 cluster nodes, I need to shut down all of them at the same time after adding the new user. Is there anything that can be suggested to prevent the shutdown of all systems when adding a new user?
Thanks!
PROPRIETARY / CONFIDENTIALITY NOTICE
This message (including any attachments) contains information that is proprietary and confidential to PRIORITY TECHNOLOGY HOLDINGS, INC. and its affiliates and subsidiaries, including the sender hereof, and is for the sole use of the intended recipients. If you are not an intended recipient, you may not read, print, retain, use, copy, distribute, forward or disclose to anyone this message or any information contained in this message (including any attachments). If you have received this message in error, please advise the sender of this error by reply e-mail, and please destroy all copies of this message (including any attachments).
PROPRIETARY / CONFIDENTIALITY NOTICE
This message (including any attachments) contains information that is proprietary and confidential to PRIORITY TECHNOLOGY HOLDINGS, INC. and its affiliates and subsidiaries, including the sender hereof, and is for the sole use of the intended recipients. If you are not an intended recipient, you may not read, print, retain, use, copy, distribute, forward or disclose to anyone this message or any information contained in this message (including any attachments). If you have received this message in error, please advise the sender of this error by reply e-mail, and please destroy all copies of this message (including any attachments).
Re: Restarting Nifi Cluster Systems to add new user
Posted by Joe Witt <jo...@gmail.com>.
Thanks - take a look at your conf/authorizers file and see which authorizer
is being used.
Based on what you said it sounds
like org.apache.nifi.ldap.tenants.LdapUserGroupProvider
There are properties related to how aggressively it will search for
information from the directory server. The default appears to be 30
minutes.
Is this potentially the issue?
Thanks
On Tue, Apr 30, 2024 at 3:20 PM Shamsudeen Jameer <
shamsudeen.jameer@prth.com> wrote:
> Hello Joe,
> It's through AD. But it isn't controlled via groups. I ended up having to
> add the user through the UI (which will normally be overwritten). I'm
> running version 1.23.2.
>
> Regards,
> *Shamsudeen Jameer*Data Operations ManagerPriority
> shamsudeen.jameer@prth.comO: (516) 345-5015 M: (917) 374-6599‒‒
>
>
>
> On Tue, Apr 30, 2024 at 6:01 PM Joe Witt <jo...@gmail.com> wrote:
>
>> Hello
>>
>> Can you share more about which authentication and authorization provider
>> you're using with NiFi today?
>>
>> Also would be good to share which other authentication/authorization
>> providers your organization could leverage as then it is a question of
>> which ones are supported out of the box.
>>
>> Thanks
>> Joe
>>
>> On Tue, Apr 30, 2024 at 2:53 PM Shamsudeen Jameer <
>> shamsudeen.jameer@prth.com> wrote:
>>
>>> Hello all,I have a nifi cluster system with 3 nodes that require a
>>> restart of all systems when adding a new user. If any of the nodes are
>>> online it won’t pick up the new configs. Basically, nifi will try to keep
>>> the running config active at all times. Since I have 3 cluster nodes, I
>>> need to shut down all of them at the same time after adding the new user.
>>> Is there anything that can be suggested to prevent the shutdown of all
>>> systems when adding a new user?
>>> Thanks!
>>>
>>> PROPRIETARY / CONFIDENTIALITY NOTICE
>>>
>>> This message (including any attachments) contains information that is
>>> proprietary and confidential to PRIORITY TECHNOLOGY HOLDINGS, INC. and its
>>> affiliates and subsidiaries, including the sender hereof, and is for the
>>> sole use of the intended recipients. If you are not an intended recipient,
>>> you may not read, print, retain, use, copy, distribute, forward or disclose
>>> to anyone this message or any information contained in this message
>>> (including any attachments). If you have received this message in error,
>>> please advise the sender of this error by reply e-mail, and please destroy
>>> all copies of this message (including any attachments).
>>>
>>
> PROPRIETARY / CONFIDENTIALITY NOTICE
>
> This message (including any attachments) contains information that is
> proprietary and confidential to PRIORITY TECHNOLOGY HOLDINGS, INC. and its
> affiliates and subsidiaries, including the sender hereof, and is for the
> sole use of the intended recipients. If you are not an intended recipient,
> you may not read, print, retain, use, copy, distribute, forward or disclose
> to anyone this message or any information contained in this message
> (including any attachments). If you have received this message in error,
> please advise the sender of this error by reply e-mail, and please destroy
> all copies of this message (including any attachments).
>
Re: Restarting Nifi Cluster Systems to add new user
Posted by Shamsudeen Jameer <sh...@prth.com>.
Hello Joe,
It's through AD. But it isn't controlled via groups. I ended up having to
add the user through the UI (which will normally be overwritten). I'm
running version 1.23.2.
Regards,
*Shamsudeen Jameer*Data Operations ManagerPriorityshamsudeen.jameer@prth.comO:
(516) 345-5015 M: (917) 374-6599‒‒
On Tue, Apr 30, 2024 at 6:01 PM Joe Witt <jo...@gmail.com> wrote:
> Hello
>
> Can you share more about which authentication and authorization provider
> you're using with NiFi today?
>
> Also would be good to share which other authentication/authorization
> providers your organization could leverage as then it is a question of
> which ones are supported out of the box.
>
> Thanks
> Joe
>
> On Tue, Apr 30, 2024 at 2:53 PM Shamsudeen Jameer <
> shamsudeen.jameer@prth.com> wrote:
>
>> Hello all,I have a nifi cluster system with 3 nodes that require a
>> restart of all systems when adding a new user. If any of the nodes are
>> online it won’t pick up the new configs. Basically, nifi will try to keep
>> the running config active at all times. Since I have 3 cluster nodes, I
>> need to shut down all of them at the same time after adding the new user.
>> Is there anything that can be suggested to prevent the shutdown of all
>> systems when adding a new user?
>> Thanks!
>>
>> PROPRIETARY / CONFIDENTIALITY NOTICE
>>
>> This message (including any attachments) contains information that is
>> proprietary and confidential to PRIORITY TECHNOLOGY HOLDINGS, INC. and its
>> affiliates and subsidiaries, including the sender hereof, and is for the
>> sole use of the intended recipients. If you are not an intended recipient,
>> you may not read, print, retain, use, copy, distribute, forward or disclose
>> to anyone this message or any information contained in this message
>> (including any attachments). If you have received this message in error,
>> please advise the sender of this error by reply e-mail, and please destroy
>> all copies of this message (including any attachments).
>>
>
--
PROPRIETARY
/ CONFIDENTIALITY NOTICE
This message (including any
attachments) contains information
that is proprietary and confidential to
PRIORITY TECHNOLOGY HOLDINGS, INC. and its
affiliates and subsidiaries,
including the sender hereof, and is for the sole
use of the intended
recipients. If you are not an intended recipient, you may
not read, print,
retain, use, copy, distribute, forward or disclose to anyone
this message
or any information contained in this message (including any
attachments).
If you have received this message in error, please advise the
sender of
this error by reply e-mail, and please destroy all copies of this
message
(including any attachments).
Re: Restarting Nifi Cluster Systems to add new user
Posted by Joe Witt <jo...@gmail.com>.
Hello
Can you share more about which authentication and authorization provider
you're using with NiFi today?
Also would be good to share which other authentication/authorization
providers your organization could leverage as then it is a question of
which ones are supported out of the box.
Thanks
Joe
On Tue, Apr 30, 2024 at 2:53 PM Shamsudeen Jameer <
shamsudeen.jameer@prth.com> wrote:
> Hello all,I have a nifi cluster system with 3 nodes that require a
> restart of all systems when adding a new user. If any of the nodes are
> online it won’t pick up the new configs. Basically, nifi will try to keep
> the running config active at all times. Since I have 3 cluster nodes, I
> need to shut down all of them at the same time after adding the new user.
> Is there anything that can be suggested to prevent the shutdown of all
> systems when adding a new user?
> Thanks!
>
> PROPRIETARY / CONFIDENTIALITY NOTICE
>
> This message (including any attachments) contains information that is
> proprietary and confidential to PRIORITY TECHNOLOGY HOLDINGS, INC. and its
> affiliates and subsidiaries, including the sender hereof, and is for the
> sole use of the intended recipients. If you are not an intended recipient,
> you may not read, print, retain, use, copy, distribute, forward or disclose
> to anyone this message or any information contained in this message
> (including any attachments). If you have received this message in error,
> please advise the sender of this error by reply e-mail, and please destroy
> all copies of this message (including any attachments).
>