You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by John Smith <ja...@gmail.com> on 2023/02/27 15:58:38 UTC
Does peer class loading have to be enabled on both server and client node?
I have 3 node clusters and I'm trying to enable peer class loading on the
cluster, but it keeps shutting off after restart because it says the remote
node doesn't have it enabled.
So is peer class loading required to be enabled on the server nodes or can
it just be enabled per client that needs it?
Re: Does peer class loading have to be enabled on both server and client node?
Posted by John Smith <ja...@gmail.com>.
Yeah that's what I mean, so URI deployment doesn't have the same
restrictions, does it affect thick clients in any way???
On Thu, Mar 2, 2023 at 4:00 AM Stephen Darlington <
stephen.darlington@gridgain.com> wrote:
> You could consider using URI deployment?
> https://ignite.apache.org/docs/latest/code-deployment/deploying-user-code
>
> On 1 Mar 2023, at 18:59, John Smith <ja...@gmail.com> wrote:
>
> So I'm stuck with a catch 22 here... I can't enable the flag on the server
> nodes without shutting down all the client nodes and vise versa....
>
> Unless I did something wrong, but the server shuts off when i set the
> value to true and it doesn't match with the another node... So I would have
> to shutdown my entire infrastructure to enable it?
>
> Like even if I shut down all the thick client connected I would have to
> even to turn off all the server nodes make sure everything is off and then
> restart one by one.
>
> Does code deployment present the same problem, where I enable a shared
> folder to periodically load classes?
>
> On Mon., Feb. 27, 2023, 11:11 a.m. John Smith, <ja...@gmail.com>
> wrote:
>
>> Sorry to be clear the applications are thick clients but client = true
>> flag is enabled.
>>
>> On Mon, Feb 27, 2023 at 11:09 AM John Smith <ja...@gmail.com>
>> wrote:
>>
>>> Oh god! Forget that then! lol Really? So If I have 10 applications they
>>> all need to be recompiled/reconfigured and redeployed?
>>>
>>> On Mon, Feb 27, 2023 at 11:07 AM Stephen Darlington <
>>> stephen.darlington@gridgain.com> wrote:
>>>
>>>> It’s a cluster wide setting and needs to be set to the same value on
>>>> all nodes, both server and thick-client.
>>>>
>>>> > On 27 Feb 2023, at 15:58, John Smith <ja...@gmail.com> wrote:
>>>> >
>>>> > I have 3 node clusters and I'm trying to enable peer class loading on
>>>> the cluster, but it keeps shutting off after restart because it says the
>>>> remote node doesn't have it enabled.
>>>> >
>>>> > So is peer class loading required to be enabled on the server nodes
>>>> or can it just be enabled per client that needs it?
>>>>
>>>>
>
Re: Does peer class loading have to be enabled on both server and client node?
Posted by Stephen Darlington <st...@gridgain.com>.
You could consider using URI deployment? https://ignite.apache.org/docs/latest/code-deployment/deploying-user-code
> On 1 Mar 2023, at 18:59, John Smith <ja...@gmail.com> wrote:
>
> So I'm stuck with a catch 22 here... I can't enable the flag on the server nodes without shutting down all the client nodes and vise versa....
>
> Unless I did something wrong, but the server shuts off when i set the value to true and it doesn't match with the another node... So I would have to shutdown my entire infrastructure to enable it?
>
> Like even if I shut down all the thick client connected I would have to even to turn off all the server nodes make sure everything is off and then restart one by one.
>
> Does code deployment present the same problem, where I enable a shared folder to periodically load classes?
>
> On Mon., Feb. 27, 2023, 11:11 a.m. John Smith, <java.dev.mtl@gmail.com <ma...@gmail.com>> wrote:
>> Sorry to be clear the applications are thick clients but client = true flag is enabled.
>>
>> On Mon, Feb 27, 2023 at 11:09 AM John Smith <java.dev.mtl@gmail.com <ma...@gmail.com>> wrote:
>>> Oh god! Forget that then! lol Really? So If I have 10 applications they all need to be recompiled/reconfigured and redeployed?
>>>
>>> On Mon, Feb 27, 2023 at 11:07 AM Stephen Darlington <stephen.darlington@gridgain.com <ma...@gridgain.com>> wrote:
>>>> It’s a cluster wide setting and needs to be set to the same value on all nodes, both server and thick-client.
>>>>
>>>> > On 27 Feb 2023, at 15:58, John Smith <java.dev.mtl@gmail.com <ma...@gmail.com>> wrote:
>>>> >
>>>> > I have 3 node clusters and I'm trying to enable peer class loading on the cluster, but it keeps shutting off after restart because it says the remote node doesn't have it enabled.
>>>> >
>>>> > So is peer class loading required to be enabled on the server nodes or can it just be enabled per client that needs it?
>>>>
Re: Does peer class loading have to be enabled on both server and client node?
Posted by John Smith <ja...@gmail.com>.
So I'm stuck with a catch 22 here... I can't enable the flag on the server
nodes without shutting down all the client nodes and vise versa....
Unless I did something wrong, but the server shuts off when i set the value
to true and it doesn't match with the another node... So I would have to
shutdown my entire infrastructure to enable it?
Like even if I shut down all the thick client connected I would have to
even to turn off all the server nodes make sure everything is off and then
restart one by one.
Does code deployment present the same problem, where I enable a shared
folder to periodically load classes?
On Mon., Feb. 27, 2023, 11:11 a.m. John Smith, <ja...@gmail.com>
wrote:
> Sorry to be clear the applications are thick clients but client = true
> flag is enabled.
>
> On Mon, Feb 27, 2023 at 11:09 AM John Smith <ja...@gmail.com>
> wrote:
>
>> Oh god! Forget that then! lol Really? So If I have 10 applications they
>> all need to be recompiled/reconfigured and redeployed?
>>
>> On Mon, Feb 27, 2023 at 11:07 AM Stephen Darlington <
>> stephen.darlington@gridgain.com> wrote:
>>
>>> It’s a cluster wide setting and needs to be set to the same value on all
>>> nodes, both server and thick-client.
>>>
>>> > On 27 Feb 2023, at 15:58, John Smith <ja...@gmail.com> wrote:
>>> >
>>> > I have 3 node clusters and I'm trying to enable peer class loading on
>>> the cluster, but it keeps shutting off after restart because it says the
>>> remote node doesn't have it enabled.
>>> >
>>> > So is peer class loading required to be enabled on the server nodes or
>>> can it just be enabled per client that needs it?
>>>
>>>
Re: Does peer class loading have to be enabled on both server and client node?
Posted by John Smith <ja...@gmail.com>.
Sorry to be clear the applications are thick clients but client = true flag
is enabled.
On Mon, Feb 27, 2023 at 11:09 AM John Smith <ja...@gmail.com> wrote:
> Oh god! Forget that then! lol Really? So If I have 10 applications they
> all need to be recompiled/reconfigured and redeployed?
>
> On Mon, Feb 27, 2023 at 11:07 AM Stephen Darlington <
> stephen.darlington@gridgain.com> wrote:
>
>> It’s a cluster wide setting and needs to be set to the same value on all
>> nodes, both server and thick-client.
>>
>> > On 27 Feb 2023, at 15:58, John Smith <ja...@gmail.com> wrote:
>> >
>> > I have 3 node clusters and I'm trying to enable peer class loading on
>> the cluster, but it keeps shutting off after restart because it says the
>> remote node doesn't have it enabled.
>> >
>> > So is peer class loading required to be enabled on the server nodes or
>> can it just be enabled per client that needs it?
>>
>>
Re: Does peer class loading have to be enabled on both server and client node?
Posted by John Smith <ja...@gmail.com>.
Oh god! Forget that then! lol Really? So If I have 10 applications they all
need to be recompiled/reconfigured and redeployed?
On Mon, Feb 27, 2023 at 11:07 AM Stephen Darlington <
stephen.darlington@gridgain.com> wrote:
> It’s a cluster wide setting and needs to be set to the same value on all
> nodes, both server and thick-client.
>
> > On 27 Feb 2023, at 15:58, John Smith <ja...@gmail.com> wrote:
> >
> > I have 3 node clusters and I'm trying to enable peer class loading on
> the cluster, but it keeps shutting off after restart because it says the
> remote node doesn't have it enabled.
> >
> > So is peer class loading required to be enabled on the server nodes or
> can it just be enabled per client that needs it?
>
>
Re: Does peer class loading have to be enabled on both server and client node?
Posted by Stephen Darlington <st...@gridgain.com>.
It’s a cluster wide setting and needs to be set to the same value on all nodes, both server and thick-client.
> On 27 Feb 2023, at 15:58, John Smith <ja...@gmail.com> wrote:
>
> I have 3 node clusters and I'm trying to enable peer class loading on the cluster, but it keeps shutting off after restart because it says the remote node doesn't have it enabled.
>
> So is peer class loading required to be enabled on the server nodes or can it just be enabled per client that needs it?