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 (JIRA)" <ji...@apache.org> on 2011/08/30 09:30:39 UTC

[jira] [Created] (HAMA-432) Child process doesn't catch exceptions thrown by BSPPeer

Child process doesn't catch exceptions thrown by BSPPeer
--------------------------------------------------------

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


All exceptions thrown by BSPPeer should be catched and the task status should be updated.

{code}
line:915        task.run(job, bspPeer, umbilical); // run the task


org.apache.hama.bsp.BSPTask.run(BSPTask.java:60)
2011-08-30 13:44:32,121 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0         at org.apache.hama.bsp.GroomServer$BSPPeerChild.main(GroomServer.java:915)
2011-08-30 13:44:32,143 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0 11/08/30 13:44:32 INFO zookeeper.ZooKeeper: Session: 0x13219001fbc0004 closed
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HAMA-432) Child process doesn't catch exceptions thrown by BSPPeer

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

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

    Attachment: HAMA-432.patch

> Child process doesn't catch exceptions thrown by BSPPeer
> --------------------------------------------------------
>
>                 Key: HAMA-432
>                 URL: https://issues.apache.org/jira/browse/HAMA-432
>             Project: Hama
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Edward J. Yoon
>             Fix For: 0.4.0
>
>         Attachments: HAMA-432.patch, patch.txt
>
>
> All exceptions thrown by BSPPeer should be catched and the task status should be updated.
> {code}
> line:915        task.run(job, bspPeer, umbilical); // run the task
> org.apache.hama.bsp.BSPTask.run(BSPTask.java:60)
> 2011-08-30 13:44:32,121 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0         at org.apache.hama.bsp.GroomServer$BSPPeerChild.main(GroomServer.java:915)
> 2011-08-30 13:44:32,143 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0 11/08/30 13:44:32 INFO zookeeper.ZooKeeper: Session: 0x13219001fbc0004 closed
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-432) Child process doesn't catch exceptions thrown by BSPPeer

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

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

I noticed that getBSPPeerConnection() throws NullPointerException when hosts configuration is set incorrectly, Job will hang in this case.

> Child process doesn't catch exceptions thrown by BSPPeer
> --------------------------------------------------------
>
>                 Key: HAMA-432
>                 URL: https://issues.apache.org/jira/browse/HAMA-432
>             Project: Hama
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Edward J. Yoon
>             Fix For: 0.4.0
>
>         Attachments: patch.txt
>
>
> All exceptions thrown by BSPPeer should be catched and the task status should be updated.
> {code}
> line:915        task.run(job, bspPeer, umbilical); // run the task
> org.apache.hama.bsp.BSPTask.run(BSPTask.java:60)
> 2011-08-30 13:44:32,121 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0         at org.apache.hama.bsp.GroomServer$BSPPeerChild.main(GroomServer.java:915)
> 2011-08-30 13:44:32,143 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0 11/08/30 13:44:32 INFO zookeeper.ZooKeeper: Session: 0x13219001fbc0004 closed
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-432) Child process doesn't catch exceptions thrown by BSPPeer

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

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

Yeah, web UI works well e.g., taskCapacity and nodes, ..

> Child process doesn't catch exceptions thrown by BSPPeer
> --------------------------------------------------------
>
>                 Key: HAMA-432
>                 URL: https://issues.apache.org/jira/browse/HAMA-432
>             Project: Hama
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Edward J. Yoon
>             Fix For: 0.4.0
>
>
> All exceptions thrown by BSPPeer should be catched and the task status should be updated.
> {code}
> line:915        task.run(job, bspPeer, umbilical); // run the task
> org.apache.hama.bsp.BSPTask.run(BSPTask.java:60)
> 2011-08-30 13:44:32,121 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0         at org.apache.hama.bsp.GroomServer$BSPPeerChild.main(GroomServer.java:915)
> 2011-08-30 13:44:32,143 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0 11/08/30 13:44:32 INFO zookeeper.ZooKeeper: Session: 0x13219001fbc0004 closed
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HAMA-432) Child process doesn't catch exceptions thrown by BSPPeer

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

Edward J. Yoon resolved HAMA-432.
---------------------------------

    Resolution: Fixed

Committed.

> Child process doesn't catch exceptions thrown by BSPPeer
> --------------------------------------------------------
>
>                 Key: HAMA-432
>                 URL: https://issues.apache.org/jira/browse/HAMA-432
>             Project: Hama
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.4.0
>
>         Attachments: HAMA-432.patch, HAMA-432_v02.patch, patch.txt
>
>
> All exceptions thrown by BSPPeer should be catched and the task status should be updated.
> {code}
> line:915        task.run(job, bspPeer, umbilical); // run the task
> org.apache.hama.bsp.BSPTask.run(BSPTask.java:60)
> 2011-08-30 13:44:32,121 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0         at org.apache.hama.bsp.GroomServer$BSPPeerChild.main(GroomServer.java:915)
> 2011-08-30 13:44:32,143 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0 11/08/30 13:44:32 INFO zookeeper.ZooKeeper: Session: 0x13219001fbc0004 closed
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HAMA-432) Child process doesn't catch exceptions thrown by BSPPeer

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

Thomas Jungblut commented on HAMA-432:
--------------------------------------

Just a short question which doesn't really belong here, but does the web monitoring work? You changed alot.

> Child process doesn't catch exceptions thrown by BSPPeer
> --------------------------------------------------------
>
>                 Key: HAMA-432
>                 URL: https://issues.apache.org/jira/browse/HAMA-432
>             Project: Hama
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Edward J. Yoon
>             Fix For: 0.4.0
>
>
> All exceptions thrown by BSPPeer should be catched and the task status should be updated.
> {code}
> line:915        task.run(job, bspPeer, umbilical); // run the task
> org.apache.hama.bsp.BSPTask.run(BSPTask.java:60)
> 2011-08-30 13:44:32,121 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0         at org.apache.hama.bsp.GroomServer$BSPPeerChild.main(GroomServer.java:915)
> 2011-08-30 13:44:32,143 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0 11/08/30 13:44:32 INFO zookeeper.ZooKeeper: Session: 0x13219001fbc0004 closed
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HAMA-432) Child process doesn't catch exceptions thrown by BSPPeer

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

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

    Attachment: HAMA-432_v02.patch

let's commit this before reorganize structures.

> Child process doesn't catch exceptions thrown by BSPPeer
> --------------------------------------------------------
>
>                 Key: HAMA-432
>                 URL: https://issues.apache.org/jira/browse/HAMA-432
>             Project: Hama
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.4.0
>
>         Attachments: HAMA-432.patch, HAMA-432_v02.patch, patch.txt
>
>
> All exceptions thrown by BSPPeer should be catched and the task status should be updated.
> {code}
> line:915        task.run(job, bspPeer, umbilical); // run the task
> org.apache.hama.bsp.BSPTask.run(BSPTask.java:60)
> 2011-08-30 13:44:32,121 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0         at org.apache.hama.bsp.GroomServer$BSPPeerChild.main(GroomServer.java:915)
> 2011-08-30 13:44:32,143 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0 11/08/30 13:44:32 INFO zookeeper.ZooKeeper: Session: 0x13219001fbc0004 closed
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HAMA-432) Child process doesn't catch exceptions thrown by BSPPeer

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

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

    Attachment: patch.txt

Added statusUpdate() and fatalError() methods to BSPPeerProtocol.

I think, we have to think about superstep counter.

> Child process doesn't catch exceptions thrown by BSPPeer
> --------------------------------------------------------
>
>                 Key: HAMA-432
>                 URL: https://issues.apache.org/jira/browse/HAMA-432
>             Project: Hama
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Edward J. Yoon
>             Fix For: 0.4.0
>
>         Attachments: patch.txt
>
>
> All exceptions thrown by BSPPeer should be catched and the task status should be updated.
> {code}
> line:915        task.run(job, bspPeer, umbilical); // run the task
> org.apache.hama.bsp.BSPTask.run(BSPTask.java:60)
> 2011-08-30 13:44:32,121 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0         at org.apache.hama.bsp.GroomServer$BSPPeerChild.main(GroomServer.java:915)
> 2011-08-30 13:44:32,143 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0 11/08/30 13:44:32 INFO zookeeper.ZooKeeper: Session: 0x13219001fbc0004 closed
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (HAMA-432) Child process doesn't catch exceptions thrown by BSPPeer

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

Edward J. Yoon reassigned HAMA-432:
-----------------------------------

    Assignee: Edward J. Yoon

> Child process doesn't catch exceptions thrown by BSPPeer
> --------------------------------------------------------
>
>                 Key: HAMA-432
>                 URL: https://issues.apache.org/jira/browse/HAMA-432
>             Project: Hama
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.4.0
>
>         Attachments: HAMA-432.patch, patch.txt
>
>
> All exceptions thrown by BSPPeer should be catched and the task status should be updated.
> {code}
> line:915        task.run(job, bspPeer, umbilical); // run the task
> org.apache.hama.bsp.BSPTask.run(BSPTask.java:60)
> 2011-08-30 13:44:32,121 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0         at org.apache.hama.bsp.GroomServer$BSPPeerChild.main(GroomServer.java:915)
> 2011-08-30 13:44:32,143 INFO org.apache.hama.bsp.TaskRunner: attempt_201108301343_0001_000000_0 11/08/30 13:44:32 INFO zookeeper.ZooKeeper: Session: 0x13219001fbc0004 closed
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira