flink群集启动错误[ERROR]无法正确获取JVM参数 [英] flink cluster startup error [ERROR] Could not get JVM parameters properly

查看:488
本文介绍了flink群集启动错误[ERROR]无法正确获取JVM参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

$ bin/start-cluster.sh
Starting cluster.
[INFO] 1 instance(s) of standalonesession are already running on centos1.
Starting standalonesession daemon on host centos1.
[ERROR] Could not get JVM parameters properly.
[ERROR] Could not get JVM parameters properly.

我在所有主服务器和从服务器中都拥有$ JAVA_HOME

I have got the $JAVA_HOME in all the master and slaves

]$ echo $JAVA_HOME
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.242.b08-0.el7_7.x86_64/

下面是配置文件设置.

jobmanager.rpc.address: 10.0.2.4
# The RPC port where the JobManager is reachable.
jobmanager.rpc.port: 6123
taskmanager.numberOfTaskSlots: 5
parallelism.default: 2

主控中的JPS:

]# jps
30944 QuorumPeerMain
9600 StandaloneSessionClusterEntrypoint
31640 ConsoleProducer
32889 Jps
31278 Kafka

在从属服务器中,我看不到jps命令输出:

in slave I am not able to see jps command output:

# jps
-bash: jps: command not found

在任务管理器下,我也看不到任何条目. http://10.xxx:8081/#/task-manager

Also under the task-manager i don't see any entries. http://10.x.x.x:8081/#/task-manager

推荐答案

您是否配置了conf/slaves文件?参见 https://ci .apache.org/projects/flink/flink-docs-stable/ops/deployment/cluster_setup.html#configuring-flink .

Did you configure the conf/slaves file? See https://ci.apache.org/projects/flink/flink-docs-stable/ops/deployment/cluster_setup.html#configuring-flink.

jps的问题看起来不像Flink的问题.从站上真的有一个JDK吗?

The problem with jps doesn't look like a problem with Flink. Is there really a JDK on the slave?

这篇关于flink群集启动错误[ERROR]无法正确获取JVM参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆