You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon (Created) (JIRA)" <ji...@apache.org> on 2011/11/10 13:47:51 UTC

[jira] [Created] (HAMA-474) ClusterStatus.getTasks() always returns 0

ClusterStatus.getTasks() always returns 0
-----------------------------------------

                 Key: HAMA-474
                 URL: https://issues.apache.org/jira/browse/HAMA-474
             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


The totalTasks should be updated at ReportGroomStatusHandler.handle() method.

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

        

[jira] [Commented] (HAMA-474) ClusterStatus.getTasks() always returns 0

Posted by "Edward J. Yoon (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147658#comment-13147658 ] 

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

Additionally,

I noticed that initial tasks launching takes very long time. So, I want to add

{code}
+        report = "Wait for tasks that have not yet been activated: "
+            + ((getClusterStatus(false).getTasks() / job.getNumBspTask()) * 100)
+            + "%";
{code}


                
> ClusterStatus.getTasks() always returns 0
> -----------------------------------------
>
>                 Key: HAMA-474
>                 URL: https://issues.apache.org/jira/browse/HAMA-474
>             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
>
>         Attachments: HAMA-474.patch
>
>
> The totalTasks should be updated at ReportGroomStatusHandler.handle() method.

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

        

[jira] [Updated] (HAMA-474) ClusterStatus.getTasks() always returns 0

Posted by "Edward J. Yoon (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon updated HAMA-474:
--------------------------------

    Attachment: HAMA-474.patch

Attach my patch.
                
> ClusterStatus.getTasks() always returns 0
> -----------------------------------------
>
>                 Key: HAMA-474
>                 URL: https://issues.apache.org/jira/browse/HAMA-474
>             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
>
>         Attachments: HAMA-474.patch
>
>
> The totalTasks should be updated at ReportGroomStatusHandler.handle() method.

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

        

[jira] [Commented] (HAMA-474) ClusterStatus.getTasks() always returns 0

Posted by "Thomas Jungblut (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147670#comment-13147670 ] 

Thomas Jungblut commented on HAMA-474:
--------------------------------------

+1 seems to be a very simple patch :)
I hope I don't added conflicts with my last commit.


bq. I noticed that initial tasks launching takes very long time. So, I want to add

This is good for the user ;) We have to profile why it takes so long.
                
> ClusterStatus.getTasks() always returns 0
> -----------------------------------------
>
>                 Key: HAMA-474
>                 URL: https://issues.apache.org/jira/browse/HAMA-474
>             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
>
>         Attachments: HAMA-474.patch
>
>
> The totalTasks should be updated at ReportGroomStatusHandler.handle() method.

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

        

[jira] [Resolved] (HAMA-474) ClusterStatus.getTasks() always returns 0

Posted by "Edward J. Yoon (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon resolved HAMA-474.
---------------------------------

    Resolution: Fixed

Committed!
                
> ClusterStatus.getTasks() always returns 0
> -----------------------------------------
>
>                 Key: HAMA-474
>                 URL: https://issues.apache.org/jira/browse/HAMA-474
>             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
>
>         Attachments: HAMA-474.patch
>
>
> The totalTasks should be updated at ReportGroomStatusHandler.handle() method.

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