You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "钟洋洋 (Jira)" <ji...@apache.org> on 2021/08/24 12:01:00 UTC
[jira] [Comment Edited] (FLINK-23945) 无法打开Flink dashboard界面
[ https://issues.apache.org/jira/browse/FLINK-23945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17403770#comment-17403770 ]
钟洋洋 edited comment on FLINK-23945 at 8/24/21, 12:00 PM:
--------------------------------------------------------
*k8s job配置如下*
apiVersion: batch/v1
kind: Job
metadata:
labels:
cattle.io/creator: norman
name: otsp
namespace: otsp-yd03-flink
spec:
backoffLimit: 6
completions: 1
parallelism: 1
selector:
matchLabels:
job-name: otsp
template:
metadata:
labels:
job-name: otsp
spec:
serviceAccount: otsp-flink-sa
containers:
- args:
- -c
- /opt/flink/bin/kubernetes-session.sh
-Dkubernetes.cluster-id=flink-native-k8s-session-9
-Dkubernetes.container.image=acpimagehub.cgb.cn/otsp_dev/flink-s3:1.12.3.10
-Djobmanager.heap.size=4096m
-Dtaskmanager.memory.process.size=4096m -Dtaskmanager.numberOfTaskSlots=16
-Dkubernetes.jobmanager.cpu=4
-Dkubernetes.taskmanager.cpu=16
-Dkubernetes.namespace=otsp-yd03-flink
-Dkubernetes.jobmanager.service-account=otsp-flink-sa
-Dkubernetes.rest-service.exposed.type=ClusterIP
-Dmetrics.reporter.promgateway.class=org.apache.flink.metrics.prometheus.PrometheusPushGatewayReporter
-Dmetrics.reporter.promgateway.host=21.96.246.38
-Dmetrics.reporter.promgateway.port=9091
-Dmetrics.reporter.promgateway.jobName=myJob
-Dmetrics.reporter.promgateway.randomJobNameSuffix=true
-Dmetrics.reporter.promgateway.deleteOnShutdown=false
-Dhigh-availability=zookeeper
-Dhigh-availability.zookeeper.quorum=21.96.18.110:2181,21.96.18.111:2181,21.96.33.90:2181
-Dhigh-availability.zookeeper.path.root=/flink
-Dhigh-availability.cluster-id=cluster_one
-Dhigh-availability.storageDir=s3://flink/rocovery
-Ds3.access-key=ABCDEFGHIJKLMNOPQRST
-Ds3.secret-key=*******
-Ds3.endpoint=[http://21.96.18.197:8082/]
-Ds3.path.style.access=true
command:
- /bin/sh
image: acpimagehub.cgb.cn/otsp_dev/flink-s3:1.12.3.10
imagePullPolicy: Always
name: otsp
resources:
limits:
cpu: "8"
memory: 8000Mi
requests:
cpu: "1"
memory: 1000Mi
volumeMounts:
- name: log
mountPath: /opt/flink/log
subPath: otsp/flink
volumes:
- name: log
persistentVolumeClaim:
claimName: otsp-yd03-flink-pvcvof
dnsPolicy: ClusterFirst
restartPolicy: Never
*k8s的job启动日志如下*
2021-08-24 11:41:37,480 INFO org.apache.flink.configuration.GlobalConfiguration [] - Loading configuration property: jobmanager.rpc.address, localhost
2021-08-24 11:41:37,485 INFO org.apache.flink.configuration.GlobalConfiguration [] - Loading configuration property: jobmanager.rpc.port, 6123
2021-08-24 11:41:37,485 INFO org.apache.flink.configuration.GlobalConfiguration [] - Loading configuration property: jobmanager.memory.process.size, 1600m
2021-08-24 11:41:37,485 INFO org.apache.flink.configuration.GlobalConfiguration [] - Loading configuration property: taskmanager.memory.process.size, 1728m
2021-08-24 11:41:37,485 INFO org.apache.flink.configuration.GlobalConfiguration [] - Loading configuration property: taskmanager.numberOfTaskSlots, 1
2021-08-24 11:41:37,485 INFO org.apache.flink.configuration.GlobalConfiguration [] - Loading configuration property: parallelism.default, 1
2021-08-24 11:41:37,485 INFO org.apache.flink.configuration.GlobalConfiguration [] - Loading configuration property: jobmanager.execution.failover-strategy, region
2021-08-24 11:41:38,365 INFO org.apache.flink.runtime.util.config.memory.ProcessMemoryUtils [] - The derived from fraction jvm overhead memory (160.000mb (167772162 bytes)) is less than its min value 192.000mb (201326592 bytes), min value will be used instead
2021-08-24 11:41:38,531 INFO org.apache.flink.kubernetes.utils.KubernetesUtils [] - Kubernetes deployment requires a fixed port. Configuration blob.server.port will be set to 6124
2021-08-24 11:41:38,531 INFO org.apache.flink.kubernetes.utils.KubernetesUtils [] - Kubernetes deployment requires a fixed port. Configuration taskmanager.rpc.port will be set to 6122
2021-08-24 11:41:38,538 INFO org.apache.flink.kubernetes.utils.KubernetesUtils [] - Kubernetes deployment requires a fixed port. Configuration high-availability.jobmanager.port will be set to 6123
2021-08-24 11:41:38,601 INFO org.apache.flink.runtime.util.config.memory.ProcessMemoryUtils [] - The derived from fraction jvm overhead memory (160.000mb (167772162 bytes)) is less than its min value 192.000mb (201326592 bytes), min value will be used instead
2021-08-24 11:41:39,386 WARN org.apache.flink.kubernetes.KubernetesClusterDescriptor [] - Please note that Flink client operations(e.g. cancel, list, stop, savepoint, etc.) won't work from outside the Kubernetes cluster since 'kubernetes.rest-service.exposed.type' has been set to ClusterIP.
2021-08-24 11:41:39,612 INFO org.apache.flink.kubernetes.KubernetesClusterDescriptor [] - Create flink session cluster flink-native-k8s-session-9 successfully, JobManager Web Interface: [http://flink-native-k8s-session-9-rest.otsp-yd03-flink:8081|http://flink-native-k8s-session-9-rest.otsp-yd03-flink:8081/]
2021-08-24 11:41:39,629 WARN org.apache.flink.kubernetes.KubernetesClusterDescriptor [] - Please note that Flink client operations(e.g. cancel, list, stop, savepoint, etc.) won't work from outside the Kubernetes cluster since 'kubernetes.rest-service.exposed.type' has been set to ClusterIP.
*jobmanager的启动日志如下*
sed: couldn't open temporary file /opt/flink/conf/sedfb53FU: Read-only file system
sed: couldn't open temporary file /opt/flink/conf/sed8NXv1X: Read-only file system
/docker-entrypoint.sh: line 75: /opt/flink/conf/flink-conf.yaml: Read-only file system
sed: couldn't open temporary file /opt/flink/conf/sedDnhwpZ: Read-only file system
/docker-entrypoint.sh: line 90: /opt/flink/conf/flink-conf.yaml.tmp: Read-only file system
Start command: $JAVA_HOME/bin/java -classpath $FLINK_CLASSPATH -Xmx1073741824 -Xms1073741824 -XX:MaxMetaspaceSize=268435456 -Dlog.file=/opt/flink/log/jobmanager.log -Dlogback.configurationFile=[file:/opt/flink/conf/logback-console.xml|file:///opt/flink/conf/logback-console.xml] -Dlog4j.configuration=[file:/opt/flink/conf/log4j-console.properties|file:///opt/flink/conf/log4j-console.properties] -Dlog4j.configurationFile=[file:/opt/flink/conf/log4j-console.properties|file:///opt/flink/conf/log4j-console.properties] org.apache.flink.kubernetes.entrypoint.KubernetesSessionClusterEntrypoint -D jobmanager.memory.off-heap.size=134217728b -D jobmanager.memory.jvm-overhead.min=201326592b -D jobmanager.memory.jvm-metaspace.size=268435456b -D jobmanager.memory.heap.size=1073741824b -D jobmanager.memory.jvm-overhead.max=201326592b
2021-08-24 11:41:48,607 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - --------------------------------------------------------------------------------
2021-08-24 11:41:48,611 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Starting KubernetesSessionClusterEntrypoint (Version: 1.12.3, Scala: 2.12, Rev:eae8bb1, Date:2021-04-23T11:49:05+02:00)
2021-08-24 11:41:48,612 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - OS current user: flink
2021-08-24 11:41:49,024 WARN org.apache.hadoop.util.NativeCodeLoader [] - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
2021-08-24 11:41:49,084 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Current Hadoop/Kerberos user: flink
2021-08-24 11:41:49,085 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - JVM: OpenJDK 64-Bit Server VM - Oracle Corporation - 1.8/25.292-b10
2021-08-24 11:41:49,085 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Maximum heap size: 989 MiBytes
2021-08-24 11:41:49,085 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - JAVA_HOME: /usr/local/openjdk-8
2021-08-24 11:41:49,086 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Hadoop version: 2.8.3
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - JVM Options:
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -Xmx1073741824
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -Xms1073741824
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -XX:MaxMetaspaceSize=268435456
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -Dlog.file=/opt/flink/log/jobmanager.log
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -Dlogback.configurationFile=[file:/opt/flink/conf/logback-console.xml|file:///opt/flink/conf/logback-console.xml]
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -Dlog4j.configuration=[file:/opt/flink/conf/log4j-console.properties|file:///opt/flink/conf/log4j-console.properties]
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -Dlog4j.configurationFile=[file:/opt/flink/conf/log4j-console.properties|file:///opt/flink/conf/log4j-console.properties]
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Program Arguments:
2021-08-24 11:41:49,088 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -D
2021-08-24 11:41:49,088 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - jobmanager.memory.off-heap.size=134217728b
2021-08-24 11:41:49,088 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -D
2021-08-24 11:41:49,088 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - jobmanager.memory.jvm-overhead.min=201326592b
2021-08-24 11:41:49,089 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -D
2021-08-24 11:41:49,089 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - jobmanager.memory.jvm-metaspace.size=268435456b
2021-08-24 11:41:49,089 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -D
2021-08-24 11:41:49,089 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - jobmanager.memory.heap.size=1073741824b
2021-08-24 11:41:49,089 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -D
2021-08-24 11:41:49,089 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - jobmanager.memory.jvm-overhead.max=201326592b
2021-08-24 11:41:49,089 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Classpath: /opt/flink/lib/flink-csv-1.12.3.jar:/opt/flink/lib/flink-json-1.12.3.jar:/opt/flink/lib/flink-shaded-hadoop-2-uber-2.8.3-10.0.jar:/opt/flink/lib/flink-shaded-zookeeper-3.4.14.jar:/opt/flink/lib/flink-table-blink_2.12-1.12.3.jar:/opt/flink/lib/flink-table_2.12-1.12.3.jar:/opt/flink/lib/log4j-1.2-api-2.12.1.jar:/opt/flink/lib/log4j-api-2.12.1.jar:/opt/flink/lib/log4j-core-2.12.1.jar:/opt/flink/lib/log4j-slf4j-impl-2.12.1.jar:/opt/flink/lib/flink-dist_2.12-1.12.3.jar:::
2021-08-24 11:41:49,089 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - --------------------------------------------------------------------------------
2021-08-24 11:41:49,090 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Registered UNIX signal handlers for [TERM, HUP, INT]
2021-08-24 11:41:49,102 INFO org.apache.flink.configuration.GlobalConfiguration
*当我去掉HA的有关配置后可以正常启动*
was (Author: zhongyangyang):
*k8s job配置如下*
apiVersion: batch/v1
kind: Job
metadata:
labels:
cattle.io/creator: norman
name: otsp
namespace: otsp-yd03-flink
spec:
backoffLimit: 6
completions: 1
parallelism: 1
selector:
matchLabels:
job-name: otsp
template:
metadata:
labels:
job-name: otsp
spec:
serviceAccount: otsp-flink-sa
containers:
- args:
- -c
- /opt/flink/bin/kubernetes-session.sh
-Dkubernetes.cluster-id=flink-native-k8s-session-9
-Dkubernetes.container.image=acpimagehub.cgb.cn/otsp_dev/flink-s3:1.12.3.10
-Djobmanager.heap.size=4096m
-Dtaskmanager.memory.process.size=4096m -Dtaskmanager.numberOfTaskSlots=16
-Dkubernetes.jobmanager.cpu=4
-Dkubernetes.taskmanager.cpu=16
-Dkubernetes.namespace=otsp-yd03-flink
-Dkubernetes.jobmanager.service-account=otsp-flink-sa
-Dkubernetes.rest-service.exposed.type=ClusterIP
-Dmetrics.reporter.promgateway.class=org.apache.flink.metrics.prometheus.PrometheusPushGatewayReporter
-Dmetrics.reporter.promgateway.host=21.96.246.38
-Dmetrics.reporter.promgateway.port=9091
-Dmetrics.reporter.promgateway.jobName=myJob
-Dmetrics.reporter.promgateway.randomJobNameSuffix=true
-Dmetrics.reporter.promgateway.deleteOnShutdown=false
-Dhigh-availability=zookeeper
-Dhigh-availability.zookeeper.quorum=21.96.18.110:2181,21.96.18.111:2181,21.96.33.90:2181
-Dhigh-availability.zookeeper.path.root=/flink
-Dhigh-availability.cluster-id=cluster_one
-Dhigh-availability.storageDir=s3://flink/rocovery
-Ds3.access-key=ABCDEFGHIJKLMNOPQRST
-Ds3.secret-key=abcdefghijklmnopqrstuvwxyz0123456789ABCD
-Ds3.endpoint=http://21.96.18.197:8082/
-Ds3.path.style.access=true
command:
- /bin/sh
image: acpimagehub.cgb.cn/otsp_dev/flink-s3:1.12.3.10
imagePullPolicy: Always
name: otsp
resources:
limits:
cpu: "8"
memory: 8000Mi
requests:
cpu: "1"
memory: 1000Mi
volumeMounts:
- name: log
mountPath: /opt/flink/log
subPath: otsp/flink
volumes:
- name: log
persistentVolumeClaim:
claimName: otsp-yd03-flink-pvcvof
dnsPolicy: ClusterFirst
restartPolicy: Never
*k8s的job启动日志如下*
2021-08-24 11:41:37,480 INFO org.apache.flink.configuration.GlobalConfiguration [] - Loading configuration property: jobmanager.rpc.address, localhost
2021-08-24 11:41:37,485 INFO org.apache.flink.configuration.GlobalConfiguration [] - Loading configuration property: jobmanager.rpc.port, 6123
2021-08-24 11:41:37,485 INFO org.apache.flink.configuration.GlobalConfiguration [] - Loading configuration property: jobmanager.memory.process.size, 1600m
2021-08-24 11:41:37,485 INFO org.apache.flink.configuration.GlobalConfiguration [] - Loading configuration property: taskmanager.memory.process.size, 1728m
2021-08-24 11:41:37,485 INFO org.apache.flink.configuration.GlobalConfiguration [] - Loading configuration property: taskmanager.numberOfTaskSlots, 1
2021-08-24 11:41:37,485 INFO org.apache.flink.configuration.GlobalConfiguration [] - Loading configuration property: parallelism.default, 1
2021-08-24 11:41:37,485 INFO org.apache.flink.configuration.GlobalConfiguration [] - Loading configuration property: jobmanager.execution.failover-strategy, region
2021-08-24 11:41:38,365 INFO org.apache.flink.runtime.util.config.memory.ProcessMemoryUtils [] - The derived from fraction jvm overhead memory (160.000mb (167772162 bytes)) is less than its min value 192.000mb (201326592 bytes), min value will be used instead
2021-08-24 11:41:38,531 INFO org.apache.flink.kubernetes.utils.KubernetesUtils [] - Kubernetes deployment requires a fixed port. Configuration blob.server.port will be set to 6124
2021-08-24 11:41:38,531 INFO org.apache.flink.kubernetes.utils.KubernetesUtils [] - Kubernetes deployment requires a fixed port. Configuration taskmanager.rpc.port will be set to 6122
2021-08-24 11:41:38,538 INFO org.apache.flink.kubernetes.utils.KubernetesUtils [] - Kubernetes deployment requires a fixed port. Configuration high-availability.jobmanager.port will be set to 6123
2021-08-24 11:41:38,601 INFO org.apache.flink.runtime.util.config.memory.ProcessMemoryUtils [] - The derived from fraction jvm overhead memory (160.000mb (167772162 bytes)) is less than its min value 192.000mb (201326592 bytes), min value will be used instead
2021-08-24 11:41:39,386 WARN org.apache.flink.kubernetes.KubernetesClusterDescriptor [] - Please note that Flink client operations(e.g. cancel, list, stop, savepoint, etc.) won't work from outside the Kubernetes cluster since 'kubernetes.rest-service.exposed.type' has been set to ClusterIP.
2021-08-24 11:41:39,612 INFO org.apache.flink.kubernetes.KubernetesClusterDescriptor [] - Create flink session cluster flink-native-k8s-session-9 successfully, JobManager Web Interface: http://flink-native-k8s-session-9-rest.otsp-yd03-flink:8081
2021-08-24 11:41:39,629 WARN org.apache.flink.kubernetes.KubernetesClusterDescriptor [] - Please note that Flink client operations(e.g. cancel, list, stop, savepoint, etc.) won't work from outside the Kubernetes cluster since 'kubernetes.rest-service.exposed.type' has been set to ClusterIP.
*jobmanager的启动日志如下*
sed: couldn't open temporary file /opt/flink/conf/sedfb53FU: Read-only file system
sed: couldn't open temporary file /opt/flink/conf/sed8NXv1X: Read-only file system
/docker-entrypoint.sh: line 75: /opt/flink/conf/flink-conf.yaml: Read-only file system
sed: couldn't open temporary file /opt/flink/conf/sedDnhwpZ: Read-only file system
/docker-entrypoint.sh: line 90: /opt/flink/conf/flink-conf.yaml.tmp: Read-only file system
Start command: $JAVA_HOME/bin/java -classpath $FLINK_CLASSPATH -Xmx1073741824 -Xms1073741824 -XX:MaxMetaspaceSize=268435456 -Dlog.file=/opt/flink/log/jobmanager.log -Dlogback.configurationFile=file:/opt/flink/conf/logback-console.xml -Dlog4j.configuration=file:/opt/flink/conf/log4j-console.properties -Dlog4j.configurationFile=file:/opt/flink/conf/log4j-console.properties org.apache.flink.kubernetes.entrypoint.KubernetesSessionClusterEntrypoint -D jobmanager.memory.off-heap.size=134217728b -D jobmanager.memory.jvm-overhead.min=201326592b -D jobmanager.memory.jvm-metaspace.size=268435456b -D jobmanager.memory.heap.size=1073741824b -D jobmanager.memory.jvm-overhead.max=201326592b
2021-08-24 11:41:48,607 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - --------------------------------------------------------------------------------
2021-08-24 11:41:48,611 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Starting KubernetesSessionClusterEntrypoint (Version: 1.12.3, Scala: 2.12, Rev:eae8bb1, Date:2021-04-23T11:49:05+02:00)
2021-08-24 11:41:48,612 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - OS current user: flink
2021-08-24 11:41:49,024 WARN org.apache.hadoop.util.NativeCodeLoader [] - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
2021-08-24 11:41:49,084 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Current Hadoop/Kerberos user: flink
2021-08-24 11:41:49,085 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - JVM: OpenJDK 64-Bit Server VM - Oracle Corporation - 1.8/25.292-b10
2021-08-24 11:41:49,085 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Maximum heap size: 989 MiBytes
2021-08-24 11:41:49,085 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - JAVA_HOME: /usr/local/openjdk-8
2021-08-24 11:41:49,086 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Hadoop version: 2.8.3
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - JVM Options:
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -Xmx1073741824
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -Xms1073741824
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -XX:MaxMetaspaceSize=268435456
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -Dlog.file=/opt/flink/log/jobmanager.log
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -Dlogback.configurationFile=file:/opt/flink/conf/logback-console.xml
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -Dlog4j.configuration=file:/opt/flink/conf/log4j-console.properties
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -Dlog4j.configurationFile=file:/opt/flink/conf/log4j-console.properties
2021-08-24 11:41:49,087 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Program Arguments:
2021-08-24 11:41:49,088 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -D
2021-08-24 11:41:49,088 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - jobmanager.memory.off-heap.size=134217728b
2021-08-24 11:41:49,088 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -D
2021-08-24 11:41:49,088 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - jobmanager.memory.jvm-overhead.min=201326592b
2021-08-24 11:41:49,089 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -D
2021-08-24 11:41:49,089 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - jobmanager.memory.jvm-metaspace.size=268435456b
2021-08-24 11:41:49,089 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -D
2021-08-24 11:41:49,089 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - jobmanager.memory.heap.size=1073741824b
2021-08-24 11:41:49,089 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - -D
2021-08-24 11:41:49,089 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - jobmanager.memory.jvm-overhead.max=201326592b
2021-08-24 11:41:49,089 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Classpath: /opt/flink/lib/flink-csv-1.12.3.jar:/opt/flink/lib/flink-json-1.12.3.jar:/opt/flink/lib/flink-shaded-hadoop-2-uber-2.8.3-10.0.jar:/opt/flink/lib/flink-shaded-zookeeper-3.4.14.jar:/opt/flink/lib/flink-table-blink_2.12-1.12.3.jar:/opt/flink/lib/flink-table_2.12-1.12.3.jar:/opt/flink/lib/log4j-1.2-api-2.12.1.jar:/opt/flink/lib/log4j-api-2.12.1.jar:/opt/flink/lib/log4j-core-2.12.1.jar:/opt/flink/lib/log4j-slf4j-impl-2.12.1.jar:/opt/flink/lib/flink-dist_2.12-1.12.3.jar:::
2021-08-24 11:41:49,089 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - --------------------------------------------------------------------------------
2021-08-24 11:41:49,090 INFO org.apache.flink.runtime.entrypoint.ClusterEntrypoint [] - Registered UNIX signal handlers for [TERM, HUP, INT]
2021-08-24 11:41:49,102 INFO org.apache.flink.configuration.GlobalConfiguration
*当我去掉HA的有关配置后可以正常启动*
> 无法打开Flink dashboard界面
> ---------------------
>
> Key: FLINK-23945
> URL: https://issues.apache.org/jira/browse/FLINK-23945
> Project: Flink
> Issue Type: Technical Debt
> Components: Deployment / Kubernetes
> Affects Versions: 1.12.3
> Reporter: 钟洋洋
> Priority: Blocker
>
> 用K8S 启动了一个flink native session 集群,没有看到错误日志,但是无法打开dashboard
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)