COD has added a new CLI option, --java-version which can configure a major Java version on your COD cluster. The new CLI option can be used along with the create-database command to specify the Java version. The supported Java versions are JDK8 and JDK11. In case the parameter is not specified, JDK8 is used. Following is a sample command.
cdp opdb create-database --environment-name <environment_name> --database-name <database_name> --java-version <value>
cdp opdb create-database --environment-name cod7215 --database-name testenv --java-version 11
Useful links:
CDP CLI beta
This is available starting in COD v1.34 and you do not need to upgrade to a higher version of COD to benefit from this feature.
Try the Cloudera Operational Database for free with Test Drive (no cloud account or setup is needed).