You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2010/01/12 07:08:54 UTC

[jira] Created: (MAPREDUCE-1371) TaskTracker.offerService catches exceptions and ignores.

TaskTracker.offerService catches exceptions and ignores.
--------------------------------------------------------

                 Key: MAPREDUCE-1371
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1371
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: tasktracker
    Affects Versions: 0.20.1
            Reporter: Amareshwari Sriramadasu
             Fix For: 0.21.0


TaskTracker.offerService() code catches exceptions and just logs it. Instead it should throw it out.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (MAPREDUCE-1371) TaskTracker.offerService catches exceptions and ignores.

Posted by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799087#action_12799087 ] 

Amareshwari Sriramadasu commented on MAPREDUCE-1371:
----------------------------------------------------


Offending code here, 
{code}
  State offerService() throws Exception {
    while (running && !shuttingDown) {
      try {
        ...
        ...
      } catch (...) {
      } catch (Exception except) {
        String msg = "Caught exception: " + 
          StringUtils.stringifyException(except);
        LOG.error(msg);
      }
    }
  }
{code}

This is seen on some test failures. See test timeout on MAPREDUCE-1365

> TaskTracker.offerService catches exceptions and ignores.
> --------------------------------------------------------
>
>                 Key: MAPREDUCE-1371
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1371
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: tasktracker
>    Affects Versions: 0.20.1
>            Reporter: Amareshwari Sriramadasu
>             Fix For: 0.21.0
>
>
> TaskTracker.offerService() code catches exceptions and just logs it. Instead it should throw it out.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.