public class UpgradeCatalog271 extends AbstractUpgradeCatalog
AbstractUpgradeCatalog.ConfigUpdateType, AbstractUpgradeCatalog.VersionComparator| Modifier and Type | Field and Description |
|---|---|
protected static String |
CLUSTERS_BLUEPRINT_PROVISIONING_STATE_COLUMN |
protected static String |
CLUSTERS_TABLE |
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 |
|---|
UpgradeCatalog271(com.google.inject.Injector injector)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBlueprintProvisioningState() |
protected void |
executeDDLUpdates()
Perform database schema transformation.
|
protected void |
executeDMLUpdates()
Performs normal data upgrade
|
protected void |
executePreDMLUpdates()
Perform data insertion before running normal upgrade of data, requires started persist service
|
String |
getSourceVersion()
Return latest source version that can be upgraded from.
|
String |
getTargetVersion()
Return the version that will be upgraded to
|
protected void |
removeLogSearchPatternConfigs()
Removes config types with -logsearch-conf suffix
|
protected void |
renameAmbariInfraService() |
protected void |
updateRangerKmsDbUrl()
Updating JDBC connection url in Ranger KMS for verifying communication to database
using database root user credentials
|
protected void |
updateRangerLogDirConfigs()
Updating Ranger Admin and Ranger Usersync log directory configs
|
protected void |
updateSolrConfigurations()
Upgrade lucene version to 7.4.0 in Solr config of Log Search collections and Solr Log4j config
|
protected void |
updateTimelineReaderAddress()
Replace placeholder values in timeline reader address.
|
addAuthorizationToRole, addAuthorizationToRole, addAuthorizationToRole, addConnectionTimeoutParamForWebAndMetricAlerts, addNewConfigurationsFromXml, addRoleAuthorization, addSequence, addSequences, changePostgresSearchPath, convertStringToDocument, executeInTransaction, fetchMaxId, getCapacitySchedulerLeafQueues, getCheckedClusterMap, getEntityManagerProvider, getKerberosDescriptor, getUpgradeCatalog, getUpgradeJsonOutput, isConfigEnabled, isFinal, isNNHAEnabled, isQueueNameValid, onPostUpgrade, preUpgradeData, registerCatalog, removeConfigurationPropertiesFromCluster, setConfigUpdatesFileName, toString, updateConfigurationProperties, updateConfigurationPropertiesForCluster, updateConfigurationPropertiesForCluster, updateConfigurationPropertiesWithValuesFromXml, updateConfigurationPropertiesWithValuesFromXml, updateDatabaseSchemaVersion, updateKerberosDescriptorArtifact, updateKerberosDescriptorArtifacts, updateKerberosDescriptorIdentityReferences, updateKerberosDescriptorIdentityReferences, updateMetaInfoVersion, updateQueueName, updateWidgetDefinitionsForService, upgradeData, upgradeSchemaprotected static final String CLUSTERS_TABLE
protected static final String CLUSTERS_BLUEPRINT_PROVISIONING_STATE_COLUMN
@Inject public UpgradeCatalog271(com.google.inject.Injector injector)
injector - public String getTargetVersion()
public String getSourceVersion()
getSourceVersion in interface UpgradeCataloggetSourceVersion in class AbstractUpgradeCatalogprotected void executeDDLUpdates()
throws org.apache.ambari.server.AmbariException,
SQLException
executeDDLUpdates in class AbstractUpgradeCatalogorg.apache.ambari.server.AmbariExceptionSQLExceptionprotected void executePreDMLUpdates()
throws org.apache.ambari.server.AmbariException,
SQLException
executePreDMLUpdates in class AbstractUpgradeCatalogorg.apache.ambari.server.AmbariExceptionSQLExceptionprotected void executeDMLUpdates()
throws org.apache.ambari.server.AmbariException,
SQLException
executeDMLUpdates in class AbstractUpgradeCatalogorg.apache.ambari.server.AmbariExceptionSQLExceptionprotected void updateRangerLogDirConfigs()
throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariExceptionprotected void updateRangerKmsDbUrl()
throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariExceptionprotected void updateTimelineReaderAddress()
throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariExceptionprotected void renameAmbariInfraService()
protected void removeLogSearchPatternConfigs()
throws SQLException
SQLExceptionprotected void addBlueprintProvisioningState()
throws SQLException
SQLExceptionprotected void updateSolrConfigurations()
throws org.apache.ambari.server.AmbariException
org.apache.ambari.server.AmbariExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.