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 2020/04/22 23:22:11 UTC

Getting Remote node has peer class loading enabled flag different from local

Hi, getting the message in the subject line

I'm pretty sure I have all my nodes enabled with

      <property name="peerClassLoadingEnabled" value="true"/>

I'm guessing this cannot work with client enabled nodes only?

igniteConfig.setClientMode(true);

Re: Getting Remote node has peer class loading enabled flag different from local

Posted by John Smith <ja...@gmail.com>.
Yeah but that would require for me to go update all existing client
applications.

Decisions, decisions!

Thanks

On Thu, 23 Apr 2020 at 10:29, Evgenii Zhuravlev <e....@gmail.com>
wrote:

> Right, only nodes, where this EntryProcessor should be executed. As for
> peerClassLoading - it's easier to add it to the config template and use it
> for all clients.
>
> Evgenii
>
> чт, 23 апр. 2020 г. в 07:03, John Smith <ja...@gmail.com>:
>
>> Ah ok. So other option is to copy my jar to the lib folders of each
>> server node correct?
>>
>> Like if one application needs a specific EntryProcessor then that
>> application and the server node needs it in the class path. Not the other
>> clients? Just to be sure.
>>
>> On Thu, 23 Apr 2020 at 00:14, Evgenii Zhuravlev <e....@gmail.com>
>> wrote:
>>
>>> yes
>>>
>>> ср, 22 апр. 2020 г. в 18:31, John Smith <ja...@gmail.com>:
>>>
>>>> So client enabled nodes nee to set it also?
>>>>
>>>> On Wed, 22 Apr 2020 at 19:52, Evgenii Zhuravlev <
>>>> e.zhuravlev.wk@gmail.com> wrote:
>>>>
>>>>> Hi John,
>>>>>
>>>>> Yes, you're right, this flag should be the same on all nodes in the
>>>>> cluster. This message prints, which node has different value for tis flag,
>>>>> so you can find it.
>>>>>
>>>>> Evgenii
>>>>>
>>>>> ср, 22 апр. 2020 г. в 16:22, John Smith <ja...@gmail.com>:
>>>>>
>>>>>> Hi, getting the message in the subject line
>>>>>>
>>>>>> I'm pretty sure I have all my nodes enabled with
>>>>>>
>>>>>>       <property name="peerClassLoadingEnabled" value="true"/>
>>>>>>
>>>>>> I'm guessing this cannot work with client enabled nodes only?
>>>>>>
>>>>>> igniteConfig.setClientMode(true);
>>>>>>
>>>>>>
>>>>>>

Re: Getting Remote node has peer class loading enabled flag different from local

Posted by Evgenii Zhuravlev <e....@gmail.com>.
Right, only nodes, where this EntryProcessor should be executed. As for
peerClassLoading - it's easier to add it to the config template and use it
for all clients.

Evgenii

чт, 23 апр. 2020 г. в 07:03, John Smith <ja...@gmail.com>:

> Ah ok. So other option is to copy my jar to the lib folders of each server
> node correct?
>
> Like if one application needs a specific EntryProcessor then that
> application and the server node needs it in the class path. Not the other
> clients? Just to be sure.
>
> On Thu, 23 Apr 2020 at 00:14, Evgenii Zhuravlev <e....@gmail.com>
> wrote:
>
>> yes
>>
>> ср, 22 апр. 2020 г. в 18:31, John Smith <ja...@gmail.com>:
>>
>>> So client enabled nodes nee to set it also?
>>>
>>> On Wed, 22 Apr 2020 at 19:52, Evgenii Zhuravlev <
>>> e.zhuravlev.wk@gmail.com> wrote:
>>>
>>>> Hi John,
>>>>
>>>> Yes, you're right, this flag should be the same on all nodes in the
>>>> cluster. This message prints, which node has different value for tis flag,
>>>> so you can find it.
>>>>
>>>> Evgenii
>>>>
>>>> ср, 22 апр. 2020 г. в 16:22, John Smith <ja...@gmail.com>:
>>>>
>>>>> Hi, getting the message in the subject line
>>>>>
>>>>> I'm pretty sure I have all my nodes enabled with
>>>>>
>>>>>       <property name="peerClassLoadingEnabled" value="true"/>
>>>>>
>>>>> I'm guessing this cannot work with client enabled nodes only?
>>>>>
>>>>> igniteConfig.setClientMode(true);
>>>>>
>>>>>
>>>>>

Re: Getting Remote node has peer class loading enabled flag different from local

Posted by John Smith <ja...@gmail.com>.
Ah ok. So other option is to copy my jar to the lib folders of each server
node correct?

Like if one application needs a specific EntryProcessor then that
application and the server node needs it in the class path. Not the other
clients? Just to be sure.

On Thu, 23 Apr 2020 at 00:14, Evgenii Zhuravlev <e....@gmail.com>
wrote:

> yes
>
> ср, 22 апр. 2020 г. в 18:31, John Smith <ja...@gmail.com>:
>
>> So client enabled nodes nee to set it also?
>>
>> On Wed, 22 Apr 2020 at 19:52, Evgenii Zhuravlev <e....@gmail.com>
>> wrote:
>>
>>> Hi John,
>>>
>>> Yes, you're right, this flag should be the same on all nodes in the
>>> cluster. This message prints, which node has different value for tis flag,
>>> so you can find it.
>>>
>>> Evgenii
>>>
>>> ср, 22 апр. 2020 г. в 16:22, John Smith <ja...@gmail.com>:
>>>
>>>> Hi, getting the message in the subject line
>>>>
>>>> I'm pretty sure I have all my nodes enabled with
>>>>
>>>>       <property name="peerClassLoadingEnabled" value="true"/>
>>>>
>>>> I'm guessing this cannot work with client enabled nodes only?
>>>>
>>>> igniteConfig.setClientMode(true);
>>>>
>>>>
>>>>

Re: Getting Remote node has peer class loading enabled flag different from local

Posted by Evgenii Zhuravlev <e....@gmail.com>.
yes

ср, 22 апр. 2020 г. в 18:31, John Smith <ja...@gmail.com>:

> So client enabled nodes nee to set it also?
>
> On Wed, 22 Apr 2020 at 19:52, Evgenii Zhuravlev <e....@gmail.com>
> wrote:
>
>> Hi John,
>>
>> Yes, you're right, this flag should be the same on all nodes in the
>> cluster. This message prints, which node has different value for tis flag,
>> so you can find it.
>>
>> Evgenii
>>
>> ср, 22 апр. 2020 г. в 16:22, John Smith <ja...@gmail.com>:
>>
>>> Hi, getting the message in the subject line
>>>
>>> I'm pretty sure I have all my nodes enabled with
>>>
>>>       <property name="peerClassLoadingEnabled" value="true"/>
>>>
>>> I'm guessing this cannot work with client enabled nodes only?
>>>
>>> igniteConfig.setClientMode(true);
>>>
>>>
>>>

Re: Getting Remote node has peer class loading enabled flag different from local

Posted by John Smith <ja...@gmail.com>.
So client enabled nodes nee to set it also?

On Wed, 22 Apr 2020 at 19:52, Evgenii Zhuravlev <e....@gmail.com>
wrote:

> Hi John,
>
> Yes, you're right, this flag should be the same on all nodes in the
> cluster. This message prints, which node has different value for tis flag,
> so you can find it.
>
> Evgenii
>
> ср, 22 апр. 2020 г. в 16:22, John Smith <ja...@gmail.com>:
>
>> Hi, getting the message in the subject line
>>
>> I'm pretty sure I have all my nodes enabled with
>>
>>       <property name="peerClassLoadingEnabled" value="true"/>
>>
>> I'm guessing this cannot work with client enabled nodes only?
>>
>> igniteConfig.setClientMode(true);
>>
>>
>>

Re: Getting Remote node has peer class loading enabled flag different from local

Posted by Evgenii Zhuravlev <e....@gmail.com>.
Hi John,

Yes, you're right, this flag should be the same on all nodes in the
cluster. This message prints, which node has different value for tis flag,
so you can find it.

Evgenii

ср, 22 апр. 2020 г. в 16:22, John Smith <ja...@gmail.com>:

> Hi, getting the message in the subject line
>
> I'm pretty sure I have all my nodes enabled with
>
>       <property name="peerClassLoadingEnabled" value="true"/>
>
> I'm guessing this cannot work with client enabled nodes only?
>
> igniteConfig.setClientMode(true);
>
>
>