You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (Jira)" <ji...@apache.org> on 2020/04/09 16:39:00 UTC
[jira] [Comment Edited] (FLINK-10445) CLI stuck with (potentially
incorrect) SSL config
[ https://issues.apache.org/jira/browse/FLINK-10445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17079550#comment-17079550 ]
Till Rohrmann edited comment on FLINK-10445 at 4/9/20, 4:38 PM:
----------------------------------------------------------------
It looks as if it is still a problem.
cc [~chesnay]
was (Author: till.rohrmann):
It looks as if it is still a problem.
> CLI stuck with (potentially incorrect) SSL config
> -------------------------------------------------
>
> Key: FLINK-10445
> URL: https://issues.apache.org/jira/browse/FLINK-10445
> Project: Flink
> Issue Type: Bug
> Components: Command Line Client, Runtime / REST
> Affects Versions: 1.5.4
> Reporter: Nico Kruber
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> I created a keystore with
> {code}
> keytool -genkeypair -alias flink.internal -keystore internal.keystore -dname "CN=flink.internal" -storepass internal_store_password -keypass internal_key_password -keyalg RSA -keysize 4096
> {code}
> and adapted {{flink-conf.yaml}} to point to this with the following configuration:
> {code}
> security.ssl.enabled: true
> web.ssl.enabled: false
> security.ssl.keystore: /path/to/internal.keystore
> security.ssl.keystore-password: internal_store_password
> security.ssl.key-password: internal_key_password
> security.ssl.truststore: /path/to/internal.keystore
> security.ssl.truststore-password: internal_store_password
> {code}
> Now I know that this setup is supposed to work with Flink 1.6+ but probably wrong for 1.5. However, I was able to start up a Flink cluster and tried to submit a job via
> {code}
> ./bin/flink run -p 1 ./examples/streaming/WordCount.jar --input /home/nico/Projects/flink/LICENSE
> {code}
> and nothing happened. The CLI was stuck at
> {code}
> Starting execution of program
> Printing result to stdout. Use --output to specify output path.
> {code}
> and the job did not show up in the Web UI. I can also not find anything related to the job submission in the JM log.
> Debugging into {{CliFrontend}}, it eventually enters {{RestClient#submitRequest}} but doesn't seem to get a response. {{RestClient.MultipartRequest#writeTo}} does add a listener on the future and debugging in there, the {{ignored}} object handed to the lambda is a {{DefaultChannelPromise@1a884b08(failure(java.nio.channels.ClosedChannelException)}} which looks like we should react on. However, that alone is not really enough information on the cause of the error and requires further investigation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)