Uses of Class
org.apache.hadoop.yarn.service.api.records.Service
Packages that use Service
Package
Description
ATS implementation
-
Uses of Service in org.apache.hadoop.yarn.service.api.records
Methods in org.apache.hadoop.yarn.service.api.records that return ServiceModifier and TypeMethodDescriptionArtifact of single-component services.Service.components(List<Component> components) Components of an service.Service.configuration(Configuration configuration) Config properties of an service.Service.description(String description) Description of the service.Service.dockerClientConfig(String dockerClientConfig) A unique service id.Service.kerberosPrincipal(KerberosPrincipal kerberosPrincipal) Service.launchTime(Date launchTime) The time when the service was created, e.g. 2016-03-16T01:01:49.000Z.Life time (in seconds) of the service from the time it reaches the RUNNING_BUT_UNREADY state (after which it is automatically destroyed by YARN).A unique service name.Service.numberOfRunningContainers(Long numberOfRunningContainers) In get response this provides the total number of running containers for this service (across all components) at the time of request.The YARN queue that this service should be submitted to.Service.quicklinks(Map<String, String> quicklinks) A blob of key-value pairs of quicklinks to be exported for an service.Resource of single-component services or the global default for multi-component services.Service.state(ServiceState state) State of the service.Version of the service. -
Uses of Service in org.apache.hadoop.yarn.service.client
Methods in org.apache.hadoop.yarn.service.client that return ServiceModifier and TypeMethodDescriptionServiceClient.loadAppJsonFromLocalFS(String fileName, String serviceName, Long lifetime, String queue) Methods in org.apache.hadoop.yarn.service.client with parameters of type ServiceModifier and TypeMethodDescriptionintServiceClient.actionBuild(Service service) org.apache.hadoop.yarn.api.records.ApplicationIdServiceClient.actionCreate(Service service) intServiceClient.actionUpgrade(Service service, List<Container> compInstances) intServiceClient.actionUpgradeExpress(Service service) intServiceClient.initiateUpgrade(Service service) -
Uses of Service in org.apache.hadoop.yarn.service.containerlaunch
Methods in org.apache.hadoop.yarn.service.containerlaunch with parameters of type ServiceModifier and TypeMethodDescriptionContainerLaunchService.launchCompInstance(Service service, ComponentInstance instance, org.apache.hadoop.yarn.api.records.Container container, ContainerLaunchService.ComponentLaunchContext componentLaunchContext) ContainerLaunchService.reInitCompInstance(Service service, ComponentInstance instance, org.apache.hadoop.yarn.api.records.Container container, ContainerLaunchService.ComponentLaunchContext componentLaunchContext) -
Uses of Service in org.apache.hadoop.yarn.service.provider
Methods in org.apache.hadoop.yarn.service.provider with parameters of type ServiceModifier and TypeMethodDescriptionvoidAbstractProviderService.buildContainerEnvironment(AbstractLauncher launcher, Service service, ComponentInstance instance, SliderFileSystem fileSystem, org.apache.hadoop.conf.Configuration yarnConf, org.apache.hadoop.yarn.api.records.Container container, ContainerLaunchService.ComponentLaunchContext compLaunchContext, Map<String, String> tokensForSubstitution) voidAbstractProviderService.buildContainerLaunchCommand(AbstractLauncher launcher, Service service, ComponentInstance instance, SliderFileSystem fileSystem, org.apache.hadoop.conf.Configuration yarnConf, org.apache.hadoop.yarn.api.records.Container container, ContainerLaunchService.ComponentLaunchContext compLaunchContext, Map<String, String> tokensForSubstitution) AbstractProviderService.buildContainerLaunchContext(AbstractLauncher launcher, Service service, ComponentInstance instance, SliderFileSystem fileSystem, org.apache.hadoop.conf.Configuration yarnConf, org.apache.hadoop.yarn.api.records.Container container, ContainerLaunchService.ComponentLaunchContext compLaunchContext) ProviderService.buildContainerLaunchContext(AbstractLauncher containerLauncher, Service service, ComponentInstance instance, SliderFileSystem sliderFileSystem, org.apache.hadoop.conf.Configuration yarnConf, org.apache.hadoop.yarn.api.records.Container container, ContainerLaunchService.ComponentLaunchContext componentLaunchContext) Set up the entire container launch contextabstract voidAbstractProviderService.processArtifact(AbstractLauncher launcher, ComponentInstance compInstance, SliderFileSystem fileSystem, Service service, ContainerLaunchService.ComponentLaunchContext compLaunchCtx) -
Uses of Service in org.apache.hadoop.yarn.service.provider.defaultImpl
Methods in org.apache.hadoop.yarn.service.provider.defaultImpl with parameters of type ServiceModifier and TypeMethodDescriptionvoidDefaultProviderService.processArtifact(AbstractLauncher launcher, ComponentInstance compInstance, SliderFileSystem fileSystem, Service service, ContainerLaunchService.ComponentLaunchContext compLaunchCtx) -
Uses of Service in org.apache.hadoop.yarn.service.provider.docker
Methods in org.apache.hadoop.yarn.service.provider.docker with parameters of type ServiceModifier and TypeMethodDescriptionvoidDockerProviderService.buildContainerLaunchCommand(AbstractLauncher launcher, Service service, ComponentInstance instance, SliderFileSystem fileSystem, org.apache.hadoop.conf.Configuration yarnConf, org.apache.hadoop.yarn.api.records.Container container, ContainerLaunchService.ComponentLaunchContext compLaunchContext, Map<String, String> tokensForSubstitution) voidDockerProviderService.processArtifact(AbstractLauncher launcher, ComponentInstance compInstance, SliderFileSystem fileSystem, Service service, ContainerLaunchService.ComponentLaunchContext compLaunchCtx) -
Uses of Service in org.apache.hadoop.yarn.service.provider.tarball
Methods in org.apache.hadoop.yarn.service.provider.tarball with parameters of type ServiceModifier and TypeMethodDescriptionvoidTarballProviderService.processArtifact(AbstractLauncher launcher, ComponentInstance instance, SliderFileSystem fileSystem, Service service, ContainerLaunchService.ComponentLaunchContext compLaunchCtx) -
Uses of Service in org.apache.hadoop.yarn.service.timelineservice
Methods in org.apache.hadoop.yarn.service.timelineservice with parameters of type ServiceModifier and TypeMethodDescriptionvoidServiceTimelinePublisher.serviceAttemptRegistered(Service service, org.apache.hadoop.conf.Configuration systemConf) voidServiceTimelinePublisher.serviceAttemptUpdated(Service service) -
Uses of Service in org.apache.hadoop.yarn.service.utils
Fields in org.apache.hadoop.yarn.service.utils with type parameters of type ServiceMethods in org.apache.hadoop.yarn.service.utils that return ServiceModifier and TypeMethodDescriptionstatic ServiceServiceApiUtil.loadService(SliderFileSystem fs, String serviceName) static ServiceServiceApiUtil.loadServiceFrom(SliderFileSystem fs, org.apache.hadoop.fs.Path appDefPath) static ServiceServiceApiUtil.loadServiceUpgrade(SliderFileSystem fs, String serviceName, String version) Methods in org.apache.hadoop.yarn.service.utils with parameters of type ServiceModifier and TypeMethodDescriptionstatic voidServiceApiUtil.checkServiceDependencySatisified(Service service) static voidServiceApiUtil.createDirAndPersistApp(SliderFileSystem fs, org.apache.hadoop.fs.Path appDir, Service service) ServiceApiUtil.getLiveContainers(Service service, List<String> componentInstances) ServiceApiUtil.resolveCompsDependency(Service service) ServiceApiUtil.validateAndResolveCompsStable(Service liveService, Collection<String> compNames) Validates the components that are requested are stable for upgrade.ServiceApiUtil.validateAndResolveCompsUpgrade(Service liveService, Collection<String> compNames) Validates the components that are requested to upgrade require an upgrade.static voidServiceApiUtil.validateAndResolveService(Service service, SliderFileSystem fs, org.apache.hadoop.conf.Configuration conf) static voidServiceApiUtil.validateCompResourceSize(org.apache.hadoop.yarn.api.records.Resource maxResource, Service service) static org.apache.hadoop.fs.PathServiceApiUtil.writeAppDefinition(SliderFileSystem fs, org.apache.hadoop.fs.Path appDir, Service service) static org.apache.hadoop.fs.PathServiceApiUtil.writeAppDefinition(SliderFileSystem fs, Service service)