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

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

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

    https://github.com/apache/flink/pull/5416#discussion_r175483617
  
    --- Diff: 
flink-yarn-tests/src/test/java/org/apache/flink/yarn/YarnTestBase.java ---
    @@ -206,7 +209,7 @@ public void checkClusterEmpty() throws IOException, 
YarnException {
                        }
                }
     
    -           flinkConfiguration = new 
org.apache.flink.configuration.Configuration();
    +           flinkConfiguration = GlobalConfiguration.loadConfiguration();
    --- End diff --
    
    Can't we read the vanilla configuration in `YarnTestBase#start:474` then 
configure the keytab and the principal and write this `Configuration` out via 
`BootstrapTool#writeConfiguration`? We could then simply set 
`flinkConfiguration` to this `Configuration`. What do you think?


> Fix YARNSessionFIFOSecuredITCase
> --------------------------------
>
>                 Key: FLINK-8562
>                 URL: https://issues.apache.org/jira/browse/FLINK-8562
>             Project: Flink
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Shuyi Chen
>            Assignee: Shuyi Chen
>            Priority: Blocker
>             Fix For: 1.5.0
>
>
> Currently, YARNSessionFIFOSecuredITCase will not fail even if the current 
> Flink YARN Kerberos integration is failing in production. Please see 
> FLINK-8275.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to