ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Atri Sharma <atri.j...@gmail.com>
Subject Re: Method to get all hostnames for a ClusterGroup
Date Thu, 11 Jun 2015 14:26:06 GMT
Hi,

Patch is posted.

https://issues.apache.org/jira/browse/IGNITE-1006

Please see and let me know your feedback and comments.

On Tue, Jun 9, 2015 at 6:07 PM, Atri Sharma <atri.jiit@gmail.com> wrote:

> Will put a patch
> On 9 Jun 2015 16:53, "Yakov Zhdanov" <yzhdanov@apache.org> wrote:
>
>> I think your solution is fine, but you should add host names to a set (to
>> avoid duplicates).
>>
>> --Yakov
>>
>> 2015-06-06 21:36 GMT+03:00 Atri Sharma <atri.jiit@gmail.com>:
>>
>> > Folks,
>> >
>> > I have been trying to get list of all hostnames for a given
>> ClusterGroup. I
>> > think current solution is to get nodes() and then iterate over it and
>> > append node hostNames() to a string array.
>> >
>> > Is there method for directly getting the list?
>> >
>> > --
>> > Regards,
>> >
>> > Atri
>> > *l'apprenant*
>> >
>>
>


-- 
Regards,

Atri
*l'apprenant*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message