java.lang.IllegalArgumentException: Invalid value set for db.setupType, the valid values are EMBEDDED or EXTERNAL
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
at com.cloudera.server.cmf.components.EmbeddedDbManager.isCmUsingEmbeddedDb(EmbeddedDbManager.java:275)
at com.cloudera.server.cmf.components.EmbeddedDbManager.checkEmbeddedDbSetup(EmbeddedDbManager.java:243)
at com.cloudera.server.cmf.Main.(Main.java:306)
at com.cloudera.server.cmf.Main.main(Main.java:216)
新版本db.properties里面新增了一个配置,我这里直接把最后一行注释掉,再次启动cloudera-scm-server成功。
# The db setup type
# By default, it is set to INIT
# If scm-server uses Embedded DB then it is set to EMBEDDED
# If scm-server uses External DB then it is set to EXTERNAL
#com.cloudera.cmf.db.setupType=INIT