public abstract class AbstractFinalUpgradeCatalog extends AbstractUpgradeCatalog
AbstractUpgradeCatalog.ConfigUpdateType, AbstractUpgradeCatalog.VersionComparatorALERT_URL_PROPERTY_CONNECTION_TIMEOUT, ambariManagementController, ambariSequencesTable, ambariUpgradeConfigUpdatesFileName, AUTHENTICATED_USER_NAME, configuration, CONFIGURATION_TYPE_RANGER_HBASE_PLUGIN_PROPERTIES, CONFIGURATION_TYPE_RANGER_HIVE_PLUGIN_PROPERTIES, CONFIGURATION_TYPE_RANGER_KNOX_PLUGIN_PROPERTIES, dbAccessor, injector, PROPERTY_RANGER_HBASE_PLUGIN_ENABLED, PROPERTY_RANGER_HIVE_PLUGIN_ENABLED, PROPERTY_RANGER_KNOX_PLUGIN_ENABLED, QUEUES, YARN_SCHEDULER_CAPACITY_ROOT_QUEUE, YARN_SCHEDULER_CAPACITY_ROOT_QUEUES| Modifier and Type | Method and Description |
|---|---|
protected void |
executeDDLUpdates()
Perform database schema transformation.
|
protected void |
executePreDMLUpdates()
Perform data insertion before running normal upgrade of data, requires started persist service
|
String |
getTargetVersion()
Return the version that will be upgraded to
|
boolean |
isFinal()
Defines if Upgrade Catalog should be executed last
|
addAuthorizationToRole, addAuthorizationToRole, addAuthorizationToRole, addConnectionTimeoutParamForWebAndMetricAlerts, addNewConfigurationsFromXml, addRoleAuthorization, addSequence, addSequences, changePostgresSearchPath, convertStringToDocument, executeDMLUpdates, executeInTransaction, fetchMaxId, getCapacitySchedulerLeafQueues, getCheckedClusterMap, getEntityManagerProvider, getKerberosDescriptor, getSourceVersion, getUpgradeCatalog, getUpgradeJsonOutput, isConfigEnabled, isNNHAEnabled, isQueueNameValid, onPostUpgrade, preUpgradeData, registerCatalog, removeConfigurationPropertiesFromCluster, setConfigUpdatesFileName, toString, updateConfigurationProperties, updateConfigurationPropertiesForCluster, updateConfigurationPropertiesForCluster, updateConfigurationPropertiesWithValuesFromXml, updateConfigurationPropertiesWithValuesFromXml, updateDatabaseSchemaVersion, updateKerberosDescriptorArtifact, updateKerberosDescriptorArtifacts, updateKerberosDescriptorIdentityReferences, updateKerberosDescriptorIdentityReferences, updateMetaInfoVersion, updateQueueName, updateWidgetDefinitionsForService, upgradeData, upgradeSchemaprotected void executeDDLUpdates()
throws org.apache.ambari.server.AmbariException,
SQLException
AbstractUpgradeCatalogexecuteDDLUpdates in class AbstractUpgradeCatalogorg.apache.ambari.server.AmbariExceptionSQLExceptionprotected void executePreDMLUpdates()
throws org.apache.ambari.server.AmbariException,
SQLException
AbstractUpgradeCatalogexecutePreDMLUpdates in class AbstractUpgradeCatalogorg.apache.ambari.server.AmbariExceptionSQLExceptionpublic String getTargetVersion()
UpgradeCatalogpublic boolean isFinal()
UpgradeCatalogisFinal in interface UpgradeCatalogisFinal in class AbstractUpgradeCatalogCopyright © 2022 Apache Software Foundation. All rights reserved.