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

Reply via email to