public class DatabaseChecker extends Object
Constructor and Description |
---|
DatabaseChecker() |
Modifier and Type | Method and Description |
---|---|
static void |
checkDBConfigsConsistency()
Validates configuration consistency by ensuring that configuration types
only have a single entry in
ClusterConfigEntity which is enabled. |
static void |
checkDBConsistency() |
static void |
checkDBVersion() |
public static void checkDBConsistency() throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
public static void checkDBConfigsConsistency() throws org.apache.ambari.server.AmbariException
ClusterConfigEntity
which is enabled.
Additionally will check to ensure that every installed service's
configurations are present in the configuration table.org.apache.ambari.server.AmbariException
- if check failedClusterConfigEntity.isSelected()
public static void checkDBVersion() throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariException
Copyright © 2022 Apache Software Foundation. All rights reserved.