Thanks.

I modify the docker-entrypoint.sh and it works.
Here's what I updated:


#exec $(drop_privs_cmd) "$FLINK_HOME/bin/jobmanager.sh" start-foreground"$@"
$FLINK_HOME/bin/jobmanager.sh start "$@"

#exec $(drop_privs_cmd) "$FLINK_HOME/bin/taskmanager.sh" start-foreground "$@"
 $FLINK_HOME/bin/taskmanager.sh start "$@"



#hold the container
tail -f $CONF_FILE


------------------ ???????? ------------------
??????: "Yang Wang"<danrtsey...@gmail.com>;
????????: 2019??7??10??(??????) ????3:02
??????: "Ever"<439674...@qq.com>;
????: "user"<user@flink.apache.org>;
????: Re: logger error of flink 1.8+ docker mode



Hi Ever,

May you share more information about your environment? 
If you could not find any log in the flink dashboard, you need to check the 
log4j of job manager and task manager. Make sure you could find the log 
files(jobmanager.log/taskmanager.log) under /opt/flink/log in the docker 
container.


If you are running flink with background mode, you need to specify a daemon 
process instead. Otherwise, the docker container will finish soon.


Ever <439674...@qq.com> ??2019??7??10?????? ????11:02??????

After deploying Flink 1.8.0 with docker,  logger page for jobManager and 
taskManager doesn't work.





I try to run flink with background mode instead of 
start-foreground(docker-entrypoint.sh) , but  the container can't be started.


Anyone can help?

Reply via email to