简体   繁体   中英

Change java version in master node of dataproc

I have created a dataproc cluster in Google cloud and in the master node I can see the java version as 8.

I need to use Java version 11, How can we do that.

Can we edit in the existing cluster or Can we specify it while creating a new cluster.

Dataproc doesn't support changing Java version at runtime or cluster creation time. If you really want to change the Java version, consider creating a custom image with the Java version you want. But note that, Dataproc packages in 1.5 and 2.0 are built with Java 8, so be careful about compatibility issues.

BTW, Dataproc Serverless Spark is Java 11 based 1 .

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM