hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HAMA-456) Add getPeerName(int index) and Fix getAllPeerNames()
Date Tue, 18 Oct 2011 01:02:11 GMT
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

        

Mime
View raw message