[
https://issues.apache.org/jira/browse/FLINK-18438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17155284#comment-17155284
]
JohnSiro commented on FLINK-18438:
----------------------------------
Hi [~xintongsong],
I am sure the JDK is correct, you can see the logs
flink-xxx-standalonesession-0-xxx.log:
2020-07-10 17:14:12,722 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint -
--------------------------------------------------------------------------------
2020-07-10 17:14:12,723 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Starting
StandaloneSessionClusterEntrypoint (Version: 1.10.1, Rev:c5915cf,
Date:07.05.2020 @ 13:58:51 CST)
2020-07-10 17:14:12,723 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint - OS current user: xxx
2020-07-10 17:14:12,724 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Current Hadoop/Kerberos
user: <no hadoop dependency found>
2020-07-10 17:14:12,724 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint - JVM: Java HotSpot(TM)
64-Bit Server VM - Oracle Corporation - 1.8/25.101-b13
2020-07-10 17:14:12,724 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Maximum heap size: 981
MiBytes
2020-07-10 17:14:12,724 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint - JAVA_HOME: C:\Program
Files\Java\jdk1.8.0_101
2020-07-10 17:14:12,725 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint - No Hadoop Dependency
available
2020-07-10 17:14:12,725 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint - JVM Options:
2020-07-10 17:14:12,725 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint - -Xms1024m
2020-07-10 17:14:12,725 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint - -Xmx1024m
2020-07-10 17:14:12,725 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint -
-Dlog.file=D:\home\flink-1.10.1/log/flink-xxx-standalonesession-0-xxx.log
2020-07-10 17:14:12,725 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint -
-Dlog4j.configuration=file:D:\home\flink-1.10.1/conf/log4j.properties
2020-07-10 17:14:12,726 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint -
-Dlogback.configurationFile=file:D:\home\flink-1.10.1/conf/logback.xml
2020-07-10 17:14:12,726 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Program Arguments:
2020-07-10 17:14:12,726 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint - --configDir
2020-07-10 17:14:12,726 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint -
D:\home\flink-1.10.1/conf
2020-07-10 17:14:12,726 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint - --executionMode
2020-07-10 17:14:12,726 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint - cluster
2020-07-10 17:14:12,726 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint - Classpath:
D:\home\flink-1.10.1\lib\flink-table_2.12-1.10.1.jar;D:\home\flink-1.10.1\lib\flink-table-blink_2.12-1.10.1.jar;D:\home\flink-1.10.1\lib\log4j-1.2.17.jar;D:\home\flink-1.10.1\lib\slf4j-log4j12-1.7.15.jar;D:\home\flink-1.10.1\lib\flink-dist_2.12-1.10.1.jar;.;.;.
2020-07-10 17:14:12,726 INFO
org.apache.flink.runtime.entrypoint.ClusterEntrypoint -
--------------------------------------------------------------------------------
> TaskManager start failed
> ------------------------
>
> Key: FLINK-18438
> URL: https://issues.apache.org/jira/browse/FLINK-18438
> Project: Flink
> Issue Type: Bug
> Components: Client / Job Submission
> Affects Versions: 1.10.1
> Environment: Java: java version "1.8.0_101"
> Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
> Flink: 1.10.1 (flink-1.10.1-bin-scala_2.12.tgz)
> OS: Windows 10 (1903) / 64-bits
> Reporter: JohnSiro
> Priority: Major
>
>
> Error: in file xxx-taskexecutor-0-xxx.out is:
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> Improperly specified VM option 'MaxMetaspaceSize=268435456 '
--
This message was sent by Atlassian Jira
(v8.3.4#803005)