[
https://issues.apache.org/jira/browse/FLINK-25532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17490740#comment-17490740
]
Konstantin Knauf edited comment on FLINK-25532 at 2/11/22, 8:32 AM:
--------------------------------------------------------------------
I was under the impression that it requires to set the entrypoint, which, I
think, is a bit confusing for the user, -but-
{code:java}
sql-client:
image: flink:1.14.3
command: /opt/flink/bin/sql-client.sh
depends_on:
- jobmanager
environment:
- |
FLINK_PROPERTIES=
jobmanager.rpc.address: jobmanager
{code}
-as well as-
{code:java}
sql-client:
image: flink:1.14.3
entrypoint: /opt/flink/bin/sql-client.sh
depends_on:
- jobmanager
environment:
- |
FLINK_PROPERTIES=
jobmanager.rpc.address: jobmanager
{code}
-work for me.-
It still requires users that start of from
[https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/resource-providers/standalone/docker/#flink-with-docker-compose]
to find out how to run a sql-client alongside. There are actually quite a few
examples on Github, which do really just that (+ adding a few dependencies),
which tells me that this seems to be too complicated.
EDIT: Actually, it DOES only work when you override the entrypoint. I must have
made a mistake while testing earlier.
was (Author: knaufk):
I was under the impression that it requires to set the entrypoint, which, I
think, is a bit confusing for the user, but
{code:java}
sql-client:
image: flink:1.14.3
command: /opt/flink/bin/sql-client.sh
depends_on:
- jobmanager
environment:
- |
FLINK_PROPERTIES=
jobmanager.rpc.address: jobmanager
{code}
as well as
{code:java}
sql-client:
image: flink:1.14.3
entrypoint: /opt/flink/bin/sql-client.sh
depends_on:
- jobmanager
environment:
- |
FLINK_PROPERTIES=
jobmanager.rpc.address: jobmanager
{code}
work for me.
It still requires users that start of from
https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/resource-providers/standalone/docker/#flink-with-docker-compose
to find out how to run a sql-client alongside. There are actually quite a few
examples on Github, which do really just that (+ adding a few dependencies),
which tells me that this seems to be too complicated.
> Provide Flink SQL CLI as Docker image
> -------------------------------------
>
> Key: FLINK-25532
> URL: https://issues.apache.org/jira/browse/FLINK-25532
> Project: Flink
> Issue Type: New Feature
> Components: Table SQL / Client
> Reporter: Martijn Visser
> Priority: Major
>
> Flink is currently available via as Docker images. However, the Flink SQL CLI
> isn't available as a Docker image. We should also provide this.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)