hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-590) Fix TestSubmitGraphJob tests
Date Fri, 15 Jun 2012 06:52:42 GMT

    [ https://issues.apache.org/jira/browse/HAMA-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295491#comment-13295491
] 

Edward J. Yoon commented on HAMA-590:
-------------------------------------

I don't remember exactly but, there was NullPointerException at getTaskToRun() method. I guess,
it's a problem of graph partition logic.

{code}
    // Failed in attempt to get data locality or there was no input split.
    if (selectedGroom == null) {
      Iterator<String> groomIter = grooms.keySet().iterator();
      while (groomIter.hasNext()) {
        GroomServerStatus groom = grooms.get(groomIter.next());
        Integer taskInGroom = tasksInGroomMap.get(groom);
        taskInGroom = (taskInGroom == null) ? 0 : taskInGroom;
        if (taskInGroom < groom.getMaxTasks()) {
          selectedGroom = groom;
          t = new BSPTask(jobId, jobFile, taskid, partition, splitClass, split);
          activeTasks.put(taskid, groom.getGroomName());
        }
      }
{code}
                
> Fix TestSubmitGraphJob tests
> ----------------------------
>
>                 Key: HAMA-590
>                 URL: https://issues.apache.org/jira/browse/HAMA-590
>             Project: Hama
>          Issue Type: Bug
>          Components: graph
>            Reporter: Edward J. Yoon
>            Assignee: Thomas Jungblut
>             Fix For: 0.5.0
>
>
> I just noticed that graph's unit tests are just skipped. 
> All unit tests should be fixed and ran by default.

--
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