You can replace localhost to the host's name or IP address.

      conf.set(BSPConstants.PEER_HOST, "localhost");
      conf.set(BSPConstants.PEER_PORT, String
          .valueOf(30000 + randomSequence[i]));

In that example, randomSequence() was just used to avoid the port conflicts.

On Tue, Feb 9, 2010 at 3:28 PM, Konrad Hinsen
<[email protected]> wrote:
> On 9 Feb 2010, at 02:46, Edward J. Yoon wrote:
>
>> Nope, it can be run on multi-node cluster. The BSP job handles a list
>> of peer servers, each peer server is run in each node. and threads
>> will be handled by peer server.
>>
>> In other words, a BSP job is a multi-core multi-thread program on
>> distributed system.
>
> So then my question is: how do I start multiple peer servers?
>
> Konrad.
>



-- 
Best Regards, Edward J. Yoon @ NHN, corp.
[email protected]
http://blog.udanax.org

Reply via email to