You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@helix.apache.org by Massimo Calderoni <mc...@vmware.com> on 2013/03/29 22:30:06 UTC
HelixAdmin.addInstance()
Question over HelixAdmin.addInstance(clusterName, instanceConfig), for me to understand the registration process:
is it correct to say that by adding an instance, admin only needs its id?
In other words, if the method signature were:
addInstance(String clusterName, String id)
would it be the same thing?
Re: HelixAdmin.addInstance()
Posted by kishore g <g....@gmail.com>.
Hi Max,
Yes, it would be the same. InstanceConfig allows one to add additional
configuration.
Thanks,
Kishore G
On Fri, Mar 29, 2013 at 2:30 PM, Massimo Calderoni <mc...@vmware.com>wrote:
> Question over HelixAdmin.addInstance(clusterName, instanceConfig), for me
> to understand the registration process:
> is it correct to say that by adding an instance, admin only needs its id?
> In other words, if the method signature were:
> addInstance(String clusterName, String id)
> would it be the same thing?
>