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

Yang Wang commented on FLINK-15682:
-----------------------------------

[~yuzhaojing] Could you share your docker image? Do you build your flink image 
with following dockerfile?

 
{code:java}
FROM flink:latest
RUN rm -rf /opt/flink/
COPY flink-1.10-SNAPSHOT /opt/flink
{code}
Do you change some codes of flink before maven building? Generally, the start 
command should be like following.
{code:java}
/bin/bash -c $JAVA_HOME/bin/java -classpath $FLINK_CLASSPATH -Xms3072m 
-Xmx3072m -Dlog.file=/opt/flink/log/jobmanager.log 
-Dlogback.configurationFile=file:/opt/flink/conf/logback.xml 
-Dlog4j.configuration=file:/opt/flink/conf/log4j.properties 
org.apache.flink.kubernetes.entrypoint.KubernetesSessionClusterEntrypoint 1> 
/opt/flink/log/jobmanager.out 2> /opt/flink/log/jobmanager.err
{code}

> Flink native kubernetes Could not run
> -------------------------------------
>
>                 Key: FLINK-15682
>                 URL: https://issues.apache.org/jira/browse/FLINK-15682
>             Project: Flink
>          Issue Type: Bug
>          Components: Deployment / Kubernetes
>            Reporter: yuzhaojing
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 1.10.0
>
>         Attachments: image-2020-01-21-10-37-42-248.png, 
> image-2020-01-21-13-29-18-903.png, image-2020-01-21-13-30-59-731.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently,native kubernetes use exec /bin/bash -c java_command to start 
> jobmanager and taskmanager.but there are $Flink_ClassPath in 
> java_command,when use exec $@,this env can't be parse.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to