Modifier and Type | Field and Description |
---|---|
static String |
ExecutionCommand.KeyNames.PACKAGE_VERSION
Deprecated.
|
static String |
ExecutionCommand.KeyNames.REPO_VERSION_ID
Deprecated.
|
static String |
ExecutionCommand.KeyNames.SERVICE_REPO_INFO
Deprecated.
|
static String |
ExecutionCommand.KeyNames.VERSION
The version of the component to send down with the command.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
CommandRepository.Repository.getApplicableServices() |
void |
CommandRepository.Repository.setApplicableServices(List<String> applicableServices) |
void |
CommandRepository.setLegacyRepoFileName(String stackName,
String repoVersion)
Deprecated.
|
void |
CommandRepository.setLegacyRepoId(String repoVersion)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
Configuration.getAlertCacheFlushInterval()
Gets the interval at which cached alert data is written out to the
database, if enabled.
|
int |
Configuration.getAlertCacheSize()
Gets the size of the alerts cache, if enabled.
|
boolean |
Configuration.isAlertCacheEnabled()
If
true , then alerts processed by the AlertReceivedListener
will not write alert data to the database on every event. |
Modifier and Type | Method and Description |
---|---|
List<String> |
RepositoryResponse.getApplicableServices() |
void |
RepositoryResponse.setApplicableServices(List<String> applicableServices) |
Modifier and Type | Field and Description |
---|---|
static String |
RepositoryResourceProvider.REPOSITORY_APPLICABLE_SERVICES_PROPERTY_ID |
Modifier and Type | Method and Description |
---|---|
Set<Resource> |
ClusterStackVersionResourceProvider.getResourcesAuthorized(Request request,
Predicate predicate) |
protected void |
VersionDefinitionResourceProvider.toRepositoryVersionEntity(org.apache.ambari.server.controller.internal.VersionDefinitionResourceProvider.XmlHolder holder)
Transforms a XML version defintion to an entity
|
Modifier and Type | Class and Description |
---|---|
class |
KerberosIdentityCleaner |
class |
RemovableIdentities
I represent a group of kerberos identities which are to be deleted after a service or a component was removed.
|
Modifier and Type | Class and Description |
---|---|
class |
AlertsDAO
|
Modifier and Type | Method and Description |
---|---|
List<String> |
RepoDefinitionEntity.getApplicableServices() |
boolean |
RepositoryVersionEntity.isLegacy()
Deprecated.
|
void |
RepoDefinitionEntity.setApplicableServices(List<String> applicableServices) |
void |
RepositoryVersionEntity.setLegacy(boolean isLegacy)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
DeleteUnsupportedServicesAndComponents
Upgrade Server Action that deletes the components and services which are no
longer supported in the target stack.
|
Modifier and Type | Class and Description |
---|---|
class |
HostsType
Wrapper around a collection of hosts for components.
|
class |
MasterHostResolver
Class that determines hosts that are active or standby for services that
support HA
|
class |
UpdateActiveRepoVersionOnStartup
This class should be instantiated on server startup and its
UpdateActiveRepoVersionOnStartup.process() method invoked. |
Modifier and Type | Method and Description |
---|---|
static boolean |
RepoUtil.addServiceReposToOperatingSystemEntities(List<RepoOsEntity> operatingSystems,
com.google.common.collect.ListMultimap<String,RepositoryInfo> stackReposByOs)
Checks the passed
operatingSystems parameter if it contains all repositories from the stack model. |
String |
StackServiceDirectory.getRepoDir()
Obtain the repository directory if exists or null
|
RepositoryXml |
StackServiceDirectory.getRepoFile()
Obtain the repository xml file if exists or null
|
static List<RepositoryInfo> |
RepoUtil.getServiceRepos(List<RepositoryInfo> vdfRepos,
com.google.common.collect.ListMultimap<String,RepositoryInfo> stackReposByOs)
Given a list of VDF repositorie and stack repositories (grouped by os) returns the service repositories.
|
Modifier and Type | Method and Description |
---|---|
CommandRepository |
RepositoryVersionHelper.getCommandRepository(Cluster cluster,
ServiceComponent component,
Host host)
Builds repository information for inclusion in a command.
|
CommandRepository |
RepositoryVersionHelper.getCommandRepository(Cluster cluster,
Service service,
Host host,
String componentName) |
Modifier and Type | Method and Description |
---|---|
StackId |
UpgradeContext.getStackIdFromVersions(Map<String,RepositoryVersionEntity> version)
Getting stackId from the set of versions.
|
Set<String> |
UpgradeContext.getSupportedServices()
Gets the services participating in the upgrade.
|
boolean |
UpgradeContext.isScoped(UpgradeScope scope) |
boolean |
UpgradeContext.isServiceSupported(String serviceName)
Gets if a service is supported.
|
void |
UpgradeHelper.updateDesiredRepositoriesAndConfigs(UpgradeContext upgradeContext)
Updates the various repositories and configurations for services
participating in the upgrade or downgrade.
|
Modifier and Type | Method and Description |
---|---|
Config |
ConfigFactory.createNew(Cluster cluster,
String type,
String tag,
Map<String,String> map,
Map<String,Map<String,String>> mapAttributes)
Creates a new
Config object using provided values. |
List<String> |
RepositoryInfo.getApplicableServices() |
void |
RepositoryInfo.setApplicableServices(List<String> applicableServices) |
Modifier and Type | Class and Description |
---|---|
class |
CachedAlertFlushService
The
CachedAlertFlushService is used to periodically flush cached
alert data to the database. |
Copyright © 2022 Apache Software Foundation. All rights reserved.