I submit a job to the hadoop cluster on the flink client, do I need to configure the java home path in flink conf?
If you need to configure,
Should I configure the java home of the client machine or the java home of the hadoop cluster?
When I did not configure java home, I submitted the job error as follows
LogType:jobmanager.err
Log Upload Time:Fri Jan 22 17:27:25 -0800 2021
LogLength:160
Log Contents:
Unrecognized VM option 'MaxMetaspaceSize=268435456'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
According the output you posted, you problem is not java_path (yet!) The line
Unrecognized VM option 'MaxMetaspaceSize=268435456'
You need to remove MaxMetaspaceSize from configuration or replace it with: -XX:MaxMetaspaceSize
you can get help from this issue.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.