You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2019/04/09 09:40:00 UTC

[jira] [Updated] (FLINK-12130) Apply command line options to configuration before installing security modules

     [ https://issues.apache.org/jira/browse/FLINK-12130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aljoscha Krettek updated FLINK-12130:
-------------------------------------
    Summary: Apply command line options to configuration before installing security modules  (was: Apply command line options to configuration before install security modules)

> Apply command line options to configuration before installing security modules
> ------------------------------------------------------------------------------
>
>                 Key: FLINK-12130
>                 URL: https://issues.apache.org/jira/browse/FLINK-12130
>             Project: Flink
>          Issue Type: Improvement
>          Components: Command Line Client
>            Reporter: Victor Wong
>            Priority: Major
>
> Currently if the user configures Kerberos credentials through command line, it won't work.
> {code:java}
> // flink run -m yarn-cluster -yD security.kerberos.login.keytab=/path/to/keytab -yD security.kerberos.login.principal=xxx /path/to/test.jar
> {code}
> Above command would cause security failure if you do not have a ticket cache w/ kinit.
> Maybe we could call _org.apache.flink.client.cli.AbstractCustomCommandLine#applyCommandLineOptionsToConfiguration_  before _SecurityUtils.install(new SecurityConfiguration(cli.configuration));_
> Here is a demo patch: [https://github.com/jiasheng55/flink/commit/f2c63b97bdb7d6067deb7a48caf72958abb2903a]



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