public class FinalUpgradeCatalog extends AbstractFinalUpgradeCatalog
AbstractUpgradeCatalog.ConfigUpdateType, AbstractUpgradeCatalog.VersionComparator
ALERT_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
Constructor and Description |
---|
FinalUpgradeCatalog(com.google.inject.Injector injector) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeDMLUpdates()
Performs normal data upgrade
|
protected void |
updateClusterEnv()
Updates
cluster-env in the following ways:
Adds/Updates ConfigHelper.CLUSTER_ENV_STACK_FEATURES_PROPERTY from stack
Adds/Updates ConfigHelper.CLUSTER_ENV_STACK_TOOLS_PROPERTY from stack
Adds/Updates ConfigHelper.CLUSTER_ENV_STACK_PACKAGES_PROPERTY from stack
Note: Config properties stack_features and stack_tools should always be updated to latest values as defined
in the stack on an Ambari upgrade. |
executeDDLUpdates, executePreDMLUpdates, getTargetVersion, isFinal
addAuthorizationToRole, addAuthorizationToRole, addAuthorizationToRole, addConnectionTimeoutParamForWebAndMetricAlerts, addNewConfigurationsFromXml, addRoleAuthorization, addSequence, addSequences, changePostgresSearchPath, convertStringToDocument, 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, upgradeSchema
@Inject public FinalUpgradeCatalog(com.google.inject.Injector injector)
protected void executeDMLUpdates() throws org.apache.ambari.server.AmbariException, SQLException
AbstractUpgradeCatalog
executeDMLUpdates
in class AbstractUpgradeCatalog
org.apache.ambari.server.AmbariException
SQLException
protected void updateClusterEnv() throws org.apache.ambari.server.AmbariException
cluster-env
in the following ways:
ConfigHelper.CLUSTER_ENV_STACK_FEATURES_PROPERTY
from stackConfigHelper.CLUSTER_ENV_STACK_TOOLS_PROPERTY
from stackConfigHelper.CLUSTER_ENV_STACK_PACKAGES_PROPERTY
from stackorg.apache.ambari.server.AmbariException
Copyright © 2022 Apache Software Foundation. All rights reserved.