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

ASF GitHub Bot commented on FLINK-1771:
---------------------------------------

Github user hsaputra commented on a diff in the pull request:

    https://github.com/apache/flink/pull/542#discussion_r27452509
  
    --- Diff: 
flink-test-utils/src/main/java/org/apache/flink/test/util/TestEnvironment.java 
---
    @@ -80,7 +80,7 @@ public String getExecutionPlan() throws Exception {
        private OptimizedPlan compileProgram(String jobName) {
                Plan p = createProgramPlan(jobName);
     
    -           Optimizer pc = new Optimizer(new DataStatistics());
    +           Optimizer pc = new Optimizer(new DataStatistics(), 
this.executor.getConfiguration());
    --- End diff --
    
    For this and other tests, if we made static method to create new 
Configuration, we could make it clear this is just for local executor:
    
    ```
    LocalExecutor.createConfigForLocalExecutor(this.executor);
    ```


> Add support for submitting single jobs to a detached YARN session
> -----------------------------------------------------------------
>
>                 Key: FLINK-1771
>                 URL: https://issues.apache.org/jira/browse/FLINK-1771
>             Project: Flink
>          Issue Type: Improvement
>          Components: YARN Client
>    Affects Versions: 0.9
>            Reporter: Robert Metzger
>            Assignee: Robert Metzger
>
> We need tests ensuring that the processing slots are set properly when 
> starting Flink on YARN, in particular with the per job YARN session feature.
> Also, the YARN tests for detached YARN sessions / per job yarn clusters are 
> polluting the local home-directory.



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

Reply via email to