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 2012/05/25 09:35:27 UTC

[jira] [Created] (HAMA-582) Task's error logs should be displayed on client-end when job is failed.

Edward J. Yoon created HAMA-582:
-----------------------------------

             Summary: Task's error logs should be displayed on client-end when job is failed.
                 Key: HAMA-582
                 URL: https://issues.apache.org/jira/browse/HAMA-582
             Project: Hama
          Issue Type: Improvement
          Components: bsp core
    Affects Versions: 0.5.0
            Reporter: Edward J. Yoon
            Assignee: Edward J. Yoon
             Fix For: 0.5.0


Current job client displays only "Job failed." message. Task's error logs should be displayed.

--
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-582) Task's error logs should be displayed on client-end when job is failed.

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

Edward J. Yoon resolved HAMA-582.
---------------------------------

    Resolution: Fixed

Fixed.
                
> Task's error logs should be displayed on client-end when job is failed.
> -----------------------------------------------------------------------
>
>                 Key: HAMA-582
>                 URL: https://issues.apache.org/jira/browse/HAMA-582
>             Project: Hama
>          Issue Type: Improvement
>          Components: bsp core
>    Affects Versions: 0.5.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.5.0
>
>         Attachments: HAMA-582.patch
>
>
> Current job client displays only "Job failed." message. Task's error logs should be displayed.

--
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-582) Task's error logs should be displayed on client-end when job is failed.

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

Thomas Jungblut commented on HAMA-582:
--------------------------------------

BTW what's with HAMA-442?
                
> Task's error logs should be displayed on client-end when job is failed.
> -----------------------------------------------------------------------
>
>                 Key: HAMA-582
>                 URL: https://issues.apache.org/jira/browse/HAMA-582
>             Project: Hama
>          Issue Type: Improvement
>          Components: bsp core
>    Affects Versions: 0.5.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.5.0
>
>
> Current job client displays only "Job failed." message. Task's error logs should be displayed.

--
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-582) Task's error logs should be displayed on client-end when job is failed.

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

Hudson commented on HAMA-582:
-----------------------------

Integrated in Hama-Nightly #562 (See [https://builds.apache.org/job/Hama-Nightly/562/])
    Logging HAMA-582 to CHANGES.txt (Revision 1343443)
Fix minor bugs of HAMA-582 (Revision 1343442)

     Result = SUCCESS
edwardyoon : 
Files : 
* /incubator/hama/trunk/CHANGES.txt

edwardyoon : 
Files : 
* /incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/BSPJobClient.java
* /incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/JobInProgress.java
* /incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/TaskCompletionEvent.java
* /incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/TaskInProgress.java
* /incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/TaskLog.java
* /incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/TaskLogServlet.java

                
> Task's error logs should be displayed on client-end when job is failed.
> -----------------------------------------------------------------------
>
>                 Key: HAMA-582
>                 URL: https://issues.apache.org/jira/browse/HAMA-582
>             Project: Hama
>          Issue Type: Improvement
>          Components: bsp core
>    Affects Versions: 0.5.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.5.0
>
>         Attachments: HAMA-582.patch
>
>
> Current job client displays only "Job failed." message. Task's error logs should be displayed.

--
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] [Comment Edited] (HAMA-582) Task's error logs should be displayed on client-end when job is failed.

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

Edward J. Yoon edited comment on HAMA-582 at 5/28/12 9:03 AM:
--------------------------------------------------------------

This patch is a very dirty code and builds hang forever at examples, but allows to display Task's error logs.

I'll finish this tomorrow.

                
      was (Author: udanax):
    This patch is a very dirty code and builds hang forever at examples, but allows to display Task's error logs.

I'm finishing tomorrow.

                  
> Task's error logs should be displayed on client-end when job is failed.
> -----------------------------------------------------------------------
>
>                 Key: HAMA-582
>                 URL: https://issues.apache.org/jira/browse/HAMA-582
>             Project: Hama
>          Issue Type: Improvement
>          Components: bsp core
>    Affects Versions: 0.5.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.5.0
>
>         Attachments: HAMA-582.patch
>
>
> Current job client displays only "Job failed." message. Task's error logs should be displayed.

--
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-582) Task's error logs should be displayed on client-end when job is failed.

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

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

    Attachment: HAMA-582.patch

attach my patch.
                
> Task's error logs should be displayed on client-end when job is failed.
> -----------------------------------------------------------------------
>
>                 Key: HAMA-582
>                 URL: https://issues.apache.org/jira/browse/HAMA-582
>             Project: Hama
>          Issue Type: Improvement
>          Components: bsp core
>    Affects Versions: 0.5.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.5.0
>
>         Attachments: HAMA-582.patch
>
>
> Current job client displays only "Job failed." message. Task's error logs should be displayed.

--
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-582) Task's error logs should be displayed on client-end when job is failed.

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

Thomas Jungblut commented on HAMA-582:
--------------------------------------

Cool feature, I miss this in Hadoop.

Just a few suggestions:
-You can see on which process the failure happened by checking the exitcode of the process.
-Based on this you can either parse the last n-kb of the log file OR
-if you can make the bsp process smarter when a user exception happened, you can send the exception by heartbeat back to the groom.

Good luck!
                
> Task's error logs should be displayed on client-end when job is failed.
> -----------------------------------------------------------------------
>
>                 Key: HAMA-582
>                 URL: https://issues.apache.org/jira/browse/HAMA-582
>             Project: Hama
>          Issue Type: Improvement
>          Components: bsp core
>    Affects Versions: 0.5.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.5.0
>
>
> Current job client displays only "Job failed." message. Task's error logs should be displayed.

--
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-582) Task's error logs should be displayed on client-end when job is failed.

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

Hudson commented on HAMA-582:
-----------------------------

Integrated in Hama trunk #4 (See [https://builds.apache.org/job/Hama%20trunk/4/])
    Logging HAMA-582 to CHANGES.txt (Revision 1343443)
Fix minor bugs of HAMA-582 (Revision 1343442)

     Result = SUCCESS
edwardyoon : 
Files : 
* /incubator/hama/trunk/CHANGES.txt

edwardyoon : 
Files : 
* /incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/BSPJobClient.java
* /incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/JobInProgress.java
* /incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/TaskCompletionEvent.java
* /incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/TaskInProgress.java
* /incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/TaskLog.java
* /incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/TaskLogServlet.java

                
> Task's error logs should be displayed on client-end when job is failed.
> -----------------------------------------------------------------------
>
>                 Key: HAMA-582
>                 URL: https://issues.apache.org/jira/browse/HAMA-582
>             Project: Hama
>          Issue Type: Improvement
>          Components: bsp core
>    Affects Versions: 0.5.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.5.0
>
>         Attachments: HAMA-582.patch
>
>
> Current job client displays only "Job failed." message. Task's error logs should be displayed.

--
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-582) Task's error logs should be displayed on client-end when job is failed.

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

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

This patch is a very dirty code and builds hang forever at examples, but allows to display Task's error logs.

I'm finishing tomorrow.

                
> Task's error logs should be displayed on client-end when job is failed.
> -----------------------------------------------------------------------
>
>                 Key: HAMA-582
>                 URL: https://issues.apache.org/jira/browse/HAMA-582
>             Project: Hama
>          Issue Type: Improvement
>          Components: bsp core
>    Affects Versions: 0.5.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.5.0
>
>         Attachments: HAMA-582.patch
>
>
> Current job client displays only "Job failed." message. Task's error logs should be displayed.

--
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-582) Task's error logs should be displayed on client-end when job is failed.

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

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

Finding error logs on multi servers is a very, very, very annoying thing.
                
> Task's error logs should be displayed on client-end when job is failed.
> -----------------------------------------------------------------------
>
>                 Key: HAMA-582
>                 URL: https://issues.apache.org/jira/browse/HAMA-582
>             Project: Hama
>          Issue Type: Improvement
>          Components: bsp core
>    Affects Versions: 0.5.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.5.0
>
>
> Current job client displays only "Job failed." message. Task's error logs should be displayed.

--
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-582) Task's error logs should be displayed on client-end when job is failed.

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

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

I've committed this before move to other place.
                
> Task's error logs should be displayed on client-end when job is failed.
> -----------------------------------------------------------------------
>
>                 Key: HAMA-582
>                 URL: https://issues.apache.org/jira/browse/HAMA-582
>             Project: Hama
>          Issue Type: Improvement
>          Components: bsp core
>    Affects Versions: 0.5.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.5.0
>
>         Attachments: HAMA-582.patch
>
>
> Current job client displays only "Job failed." message. Task's error logs should be displayed.

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