flink集群启动报错[ERROR] Could not get JVM parameters properly
flink cluster startup error [ERROR] Could not get JVM parameters properly
$ 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.
我在所有的master和slave中都拿到了$JAVA_HOME
]$ 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
在 slave 中我看不到 jps 命令输出:
# jps
-bash: jps: command not found
同样在任务管理器下我没有看到任何条目。
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。
jps的问题看起来不像是Flink的问题。从机上真的有JDK吗?
$ 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.
我在所有的master和slave中都拿到了$JAVA_HOME
]$ 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
在 slave 中我看不到 jps 命令输出:
# jps
-bash: jps: command not found
同样在任务管理器下我没有看到任何条目。 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。
jps的问题看起来不像是Flink的问题。从机上真的有JDK吗?