[GitHub] ignite pull request #4466: IGNITE-9144 client and daemon nodes are supported

2018-08-01 Thread ezagumennov
GitHub user ezagumennov opened a pull request:

https://github.com/apache/ignite/pull/4466

IGNITE-9144 client and daemon nodes are supported



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/gridgain/apache-ignite ignite-9144

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/4466.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #4466


commit 827640ef107d1fc19fccd769e61fb4be880203e3
Author: ezagumennov 
Date:   2018-08-01T10:31:27Z

IGNITE-9144 client and daemon nodes are supported




---


Re: daemon nodes

2017-06-28 Thread Dmitriy Govorukhin
Yakov,

I created jira issue IGNITE-5603
.

Whoever has an objection related this task?

On Wed, Jun 28, 2017 at 2:28 PM, Yakov Zhdanov  wrote:

> >For me, daemon server, very strange.
>
> Agree, daemons can always be a client. Dmitry G, I doubt if we should
> bother with this right now, but can you please create a ticket that will
> imply client mode for daemons. Probably, community can pick it up.
>
> --Yakov
>


Re: daemon nodes

2017-06-28 Thread Yakov Zhdanov
>For me, daemon server, very strange.

Agree, daemons can always be a client. Dmitry G, I doubt if we should
bother with this right now, but can you please create a ticket that will
imply client mode for daemons. Probably, community can pick it up.

--Yakov


Re: daemon nodes

2017-06-28 Thread Дмитрий Рябов
Dmitriy Govorukhin, ServerImpl
process TcpDiscoveryJoinRequestMessage,
TcpDiscoveryStatusCheckMessage, TcpDiscoveryDiscardMessage
and TcpDiscoveryRingLatencyCheckMessage while ClientImpl
process TcpDiscoveryPingRequest. Thats the difference I see between server
and client node message workers.

2017-06-28 13:52 GMT+03:00 Dmitry Pavlov <dpavlov@gmail.com>:

> Hi,
> ok, if we have 3 type of nodes: - clients - servers - daemons. Let us merge
> all types of daemons in one daemon type and remove unused code for server
> daemon. Are there any concerns about this idea?
>
> Best Regards,
> Dmitry Pavlov
>
> ср, 28 июн. 2017 г. в 12:19, Dmitriy Govorukhin <
> dmitriy.govoruk...@gmail.com>:
>
> > What kind of messages are you talking about? Please, provide example.
> >
> > On Wed, Jun 28, 2017 at 11:54 AM, Дмитрий Рябов <somefire...@gmail.com>
> > wrote:
> > > Some messages don't go through clients. May be some daemon realization
> > will
> > > need them?
> > >
> > > 2017-06-28 11:22 GMT+03:00 Dmitriy Govorukhin <
> > dmitriy.govoruk...@gmail.com>
> > > :
> > >
> > >> Dmitriy,
> > >>
> > >> Why daemon node may be server or client? Why it is not just daemon? I
> > >> guess if daemon " do not store data or
> > >> execute computations " it must be always client daemon. For me, daemon
> > >> server, very strange.
> > >>
> > >> On Wed, Jun 28, 2017 at 1:25 AM, Dmitriy Setrakyan
> > >> <dsetrak...@apache.org> wrote:
> > >> > Daemon nodes are nodes that join the cluster, but do not store data
> or
> > >> > execute computations or perform any other of the Ignite API-based
> > >> > functionality. Visor node is a good example of a daemon node,
> because
> > it
> > >> > wants to join the cluster and receive metrics from other nodes, but
> > does
> > >> > not need to participate in computation or data related
> functionality.
> > >> >
> > >> > D.
> > >> >
> > >> > On Tue, Jun 27, 2017 at 2:49 AM, Dmitriy Govorukhin <
> > >> > dmitriy.govoruk...@gmail.com> wrote:
> > >> >
> > >> >> Hi Igniters,
> > >> >>
> > >> >> Can somebody explain what does mean  daemon node? I thought that
> > exist
> > >> >> only client and server node, but node may can be daemon (server
> > daemon
> > >> >> or client daemon).  As is can see, command line visor join in
> > topology
> > >> >> as server daemon. Can this be an outdated functionality?
> > >> >>
> > >>
> >
>


Re: daemon nodes

2017-06-28 Thread Dmitry Pavlov
Hi,
ok, if we have 3 type of nodes: - clients - servers - daemons. Let us merge
all types of daemons in one daemon type and remove unused code for server
daemon. Are there any concerns about this idea?

Best Regards,
Dmitry Pavlov

ср, 28 июн. 2017 г. в 12:19, Dmitriy Govorukhin <
dmitriy.govoruk...@gmail.com>:

> What kind of messages are you talking about? Please, provide example.
>
> On Wed, Jun 28, 2017 at 11:54 AM, Дмитрий Рябов <somefire...@gmail.com>
> wrote:
> > Some messages don't go through clients. May be some daemon realization
> will
> > need them?
> >
> > 2017-06-28 11:22 GMT+03:00 Dmitriy Govorukhin <
> dmitriy.govoruk...@gmail.com>
> > :
> >
> >> Dmitriy,
> >>
> >> Why daemon node may be server or client? Why it is not just daemon? I
> >> guess if daemon " do not store data or
> >> execute computations " it must be always client daemon. For me, daemon
> >> server, very strange.
> >>
> >> On Wed, Jun 28, 2017 at 1:25 AM, Dmitriy Setrakyan
> >> <dsetrak...@apache.org> wrote:
> >> > Daemon nodes are nodes that join the cluster, but do not store data or
> >> > execute computations or perform any other of the Ignite API-based
> >> > functionality. Visor node is a good example of a daemon node, because
> it
> >> > wants to join the cluster and receive metrics from other nodes, but
> does
> >> > not need to participate in computation or data related functionality.
> >> >
> >> > D.
> >> >
> >> > On Tue, Jun 27, 2017 at 2:49 AM, Dmitriy Govorukhin <
> >> > dmitriy.govoruk...@gmail.com> wrote:
> >> >
> >> >> Hi Igniters,
> >> >>
> >> >> Can somebody explain what does mean  daemon node? I thought that
> exist
> >> >> only client and server node, but node may can be daemon (server
> daemon
> >> >> or client daemon).  As is can see, command line visor join in
> topology
> >> >> as server daemon. Can this be an outdated functionality?
> >> >>
> >>
>


Re: daemon nodes

2017-06-28 Thread Dmitriy Govorukhin
What kind of messages are you talking about? Please, provide example.

On Wed, Jun 28, 2017 at 11:54 AM, Дмитрий Рябов <somefire...@gmail.com> wrote:
> Some messages don't go through clients. May be some daemon realization will
> need them?
>
> 2017-06-28 11:22 GMT+03:00 Dmitriy Govorukhin <dmitriy.govoruk...@gmail.com>
> :
>
>> Dmitriy,
>>
>> Why daemon node may be server or client? Why it is not just daemon? I
>> guess if daemon " do not store data or
>> execute computations " it must be always client daemon. For me, daemon
>> server, very strange.
>>
>> On Wed, Jun 28, 2017 at 1:25 AM, Dmitriy Setrakyan
>> <dsetrak...@apache.org> wrote:
>> > Daemon nodes are nodes that join the cluster, but do not store data or
>> > execute computations or perform any other of the Ignite API-based
>> > functionality. Visor node is a good example of a daemon node, because it
>> > wants to join the cluster and receive metrics from other nodes, but does
>> > not need to participate in computation or data related functionality.
>> >
>> > D.
>> >
>> > On Tue, Jun 27, 2017 at 2:49 AM, Dmitriy Govorukhin <
>> > dmitriy.govoruk...@gmail.com> wrote:
>> >
>> >> Hi Igniters,
>> >>
>> >> Can somebody explain what does mean  daemon node? I thought that exist
>> >> only client and server node, but node may can be daemon (server daemon
>> >> or client daemon).  As is can see, command line visor join in topology
>> >> as server daemon. Can this be an outdated functionality?
>> >>
>>


Re: daemon nodes

2017-06-28 Thread Дмитрий Рябов
Some messages don't go through clients. May be some daemon realization will
need them?

2017-06-28 11:22 GMT+03:00 Dmitriy Govorukhin <dmitriy.govoruk...@gmail.com>
:

> Dmitriy,
>
> Why daemon node may be server or client? Why it is not just daemon? I
> guess if daemon " do not store data or
> execute computations " it must be always client daemon. For me, daemon
> server, very strange.
>
> On Wed, Jun 28, 2017 at 1:25 AM, Dmitriy Setrakyan
> <dsetrak...@apache.org> wrote:
> > Daemon nodes are nodes that join the cluster, but do not store data or
> > execute computations or perform any other of the Ignite API-based
> > functionality. Visor node is a good example of a daemon node, because it
> > wants to join the cluster and receive metrics from other nodes, but does
> > not need to participate in computation or data related functionality.
> >
> > D.
> >
> > On Tue, Jun 27, 2017 at 2:49 AM, Dmitriy Govorukhin <
> > dmitriy.govoruk...@gmail.com> wrote:
> >
> >> Hi Igniters,
> >>
> >> Can somebody explain what does mean  daemon node? I thought that exist
> >> only client and server node, but node may can be daemon (server daemon
> >> or client daemon).  As is can see, command line visor join in topology
> >> as server daemon. Can this be an outdated functionality?
> >>
>


Re: daemon nodes

2017-06-28 Thread Dmitriy Govorukhin
Dmitriy,

Why daemon node may be server or client? Why it is not just daemon? I
guess if daemon " do not store data or
execute computations " it must be always client daemon. For me, daemon
server, very strange.

On Wed, Jun 28, 2017 at 1:25 AM, Dmitriy Setrakyan
<dsetrak...@apache.org> wrote:
> Daemon nodes are nodes that join the cluster, but do not store data or
> execute computations or perform any other of the Ignite API-based
> functionality. Visor node is a good example of a daemon node, because it
> wants to join the cluster and receive metrics from other nodes, but does
> not need to participate in computation or data related functionality.
>
> D.
>
> On Tue, Jun 27, 2017 at 2:49 AM, Dmitriy Govorukhin <
> dmitriy.govoruk...@gmail.com> wrote:
>
>> Hi Igniters,
>>
>> Can somebody explain what does mean  daemon node? I thought that exist
>> only client and server node, but node may can be daemon (server daemon
>> or client daemon).  As is can see, command line visor join in topology
>> as server daemon. Can this be an outdated functionality?
>>


Re: daemon nodes

2017-06-27 Thread Dmitriy Setrakyan
Daemon nodes are nodes that join the cluster, but do not store data or
execute computations or perform any other of the Ignite API-based
functionality. Visor node is a good example of a daemon node, because it
wants to join the cluster and receive metrics from other nodes, but does
not need to participate in computation or data related functionality.

D.

On Tue, Jun 27, 2017 at 2:49 AM, Dmitriy Govorukhin <
dmitriy.govoruk...@gmail.com> wrote:

> Hi Igniters,
>
> Can somebody explain what does mean  daemon node? I thought that exist
> only client and server node, but node may can be daemon (server daemon
> or client daemon).  As is can see, command line visor join in topology
> as server daemon. Can this be an outdated functionality?
>


daemon nodes

2017-06-27 Thread Dmitriy Govorukhin
Hi Igniters,

Can somebody explain what does mean  daemon node? I thought that exist
only client and server node, but node may can be daemon (server daemon
or client daemon).  As is can see, command line visor join in topology
as server daemon. Can this be an outdated functionality?