hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leitao Guo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2718) Create a CompositeConatainerExecutor that combines DockerContainerExecutor and DefaultContainerExecutor
Date Tue, 27 Jan 2015 03:10:35 GMT

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

Leitao Guo commented on YARN-2718:
----------------------------------

[~chenchun], in the following codes, I think you should return directly in case 'containerExecutor
== null'
[code]
  @Override
  public void setContainerExecutor(String containerExecutor) {
    maybeInitBuilder();
    if (containerExecutor == null) {
      builder.clearContainerExecutor();
    }
    builder.setContainerExecutor(containerExecutor);
  }
[code]

> Create a CompositeConatainerExecutor that combines DockerContainerExecutor and DefaultContainerExecutor
> -------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-2718
>                 URL: https://issues.apache.org/jira/browse/YARN-2718
>             Project: Hadoop YARN
>          Issue Type: New Feature
>            Reporter: Abin Shahab
>         Attachments: YARN-2718.patch
>
>
> There should be a composite container that allows users to run their jobs in DockerContainerExecutor,
but switch to DefaultContainerExecutor for debugging purposes.



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

Mime
View raw message