You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2015/09/09 16:35:46 UTC

[jira] [Commented] (YARN-4136) LinuxContainerExecutor loses info when forwarding ResourceHandlerException

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

Steve Loughran commented on YARN-4136:
--------------------------------------

Code at fault:
{code}
    } catch (ResourceHandlerException e) {
      LOG.error("ResourceHandlerChain.preStart() failed!", e);
      throw new IOException("ResourceHandlerChain.preStart() failed!");
    }
{code}

All I want is that IOE to include the error string and text. We shouldn't be losing stack traces

> LinuxContainerExecutor loses info when forwarding ResourceHandlerException
> --------------------------------------------------------------------------
>
>                 Key: YARN-4136
>                 URL: https://issues.apache.org/jira/browse/YARN-4136
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager
>    Affects Versions: 2.7.1
>            Reporter: Steve Loughran
>            Priority: Trivial
>
> The Linux container executor {{launchContainer}} method throws {{ResourceHandlerException}} when there are problems setting up the container -but these aren't propagated in the raised IOE. They should be nested with the string value included in the message text.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)