Add getPeerName(int index) and Fix getAllPeerNames()
----------------------------------------------------

                 Key: HAMA-456
                 URL: https://issues.apache.org/jira/browse/HAMA-456
             Project: Hama
          Issue Type: Bug
          Components: bsp
    Affects Versions: 0.3.0
            Reporter: Edward J. Yoon
            Assignee: Edward J. Yoon
             Fix For: 0.4.0


1. Add getPeerName(int index) and move mater task election logic into bsp() 
function.

2. getAllPeerNames() will always return null in bsp() function.

{code}
  public String[] getAllPeerNames() {
    String[] result = null;
    try {
      result = zk.getChildren("/" + jobConf.getJobID().toString(), this)
          .toArray(new String[0]);
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to