## Uses of Interface
org.apache.hadoop.service.Service

- Packages that use Service
  Package | Description
  --- | ---
  org.apache.hadoop.mapreduce.v2.hs |
  org.apache.hadoop.registry.client.api | YARN Registry Client API.
  org.apache.hadoop.registry.client.impl | Registry client services
  org.apache.hadoop.registry.client.impl.zk | Core Zookeeper support.
  org.apache.hadoop.registry.server.services | Basic services for the YARN registry The `RegistryAdminService` extends the shared YARN Registry client with registry setup and (potentially asynchronous) administrative actions.
  org.apache.hadoop.service |
  org.apache.hadoop.service.launcher | This package contains classes, interfaces and exceptions to launch YARN services from the command line.
  org.apache.hadoop.yarn.client.api |
  org.apache.hadoop.yarn.client.api.async |
  org.apache.hadoop.yarn.client.api.impl |
  org.apache.hadoop.yarn.event |
  org.apache.hadoop.yarn.service.client | Package org.apache.hadoop.yarn.service.client contains classes for YARN Services Client API.
  org.apache.hadoop.yarn.util |

- - ### Uses of Service in org.apache.hadoop.mapreduce.v2.hs

    Classes in org.apache.hadoop.mapreduce.v2.hs that implement Service
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HistoryFileManager` This class provides a way to interact with history files in a thread safe manor.

  - ### Uses of Service in org.apache.hadoop.registry.client.api

    Subinterfaces of Service in org.apache.hadoop.registry.client.api
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `DNSOperations` DNS Operations.
    `interface` | `RegistryOperations` Registry Operations

  - ### Uses of Service in org.apache.hadoop.registry.client.impl

    Classes in org.apache.hadoop.registry.client.impl that implement Service
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RegistryOperationsClient` This is the client service for applications to work with the registry.

  - ### Uses of Service in org.apache.hadoop.registry.client.impl.zk

    Classes in org.apache.hadoop.registry.client.impl.zk that implement Service
    Modifier and Type | Class and Description
    --- | ---
    `class` | `org.apache.hadoop.registry.client.impl.zk.CuratorService` This service binds to Zookeeper via Apache Curator.
    `class` | `RegistryOperationsService` The Registry operations service.

  - ### Uses of Service in org.apache.hadoop.registry.server.services

    Classes in org.apache.hadoop.registry.server.services that implement Service
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AddingCompositeService` Composite service that exports the add/remove methods.

    Methods in org.apache.hadoop.registry.server.services with parameters of type Service
    Modifier and Type | Method and Description
    --- | ---
    `void` | AddingCompositeService.`addService(Service service)`
    `boolean` | AddingCompositeService.`removeService(Service service)`

  - ### Uses of Service in org.apache.hadoop.service

    Classes in org.apache.hadoop.service that implement Service
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractService` This is the base implementation class for services.
    `class` | `CompositeService` Composition of services.

    Methods in org.apache.hadoop.service that return types with arguments of type Service
    Modifier and Type | Method and Description
    --- | ---
    `List<Service>` | CompositeService.`getServices()` Get a cloned list of services

    Methods in org.apache.hadoop.service with parameters of type Service
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | CompositeService.`addService(Service service)` Add the passed `Service` to the list of services managed by this `CompositeService`
    `protected boolean` | CompositeService.`removeService(Service service)`
    `void` | ServiceStateChangeListener.`stateChanged(Service service)` Callback to notify of a state change.
    `void` | LoggingStateChangeListener.`stateChanged(Service service)` Callback for a state change event: log it
    `static void` | ServiceOperations.`stop(Service service)` Stop a service.
    `static Exception` | ServiceOperations.`stopQuietly(org.slf4j.Logger log, Service service)` Stop a service; if it is null do nothing.
    `static Exception` | ServiceOperations.`stopQuietly(org.apache.commons.logging.Log log, Service service)` Stop a service; if it is null do nothing.
    `static Exception` | ServiceOperations.`stopQuietly(Service service)` Stop a service; if it is null do nothing.

  - ### Uses of Service in org.apache.hadoop.service.launcher

    Subinterfaces of Service in org.apache.hadoop.service.launcher
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `LaunchableService` An interface which services can implement to have their execution managed by the ServiceLauncher.

    Classes in org.apache.hadoop.service.launcher that implement Service
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractLaunchableService` Subclass of `AbstractService` that provides basic implementations of the `LaunchableService` methods.

  - ### Uses of Service in org.apache.hadoop.yarn.client.api

    Classes in org.apache.hadoop.yarn.client.api that implement Service
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AHSClient`
    `class` | `AMRMClient<T extends org.apache.hadoop.yarn.client.api.AMRMClient.ContainerRequest>`
    `class` | `AppAdminClient` Client for managing applications.
    `class` | `NMClient`
    `class` | `SharedCacheClient` This is the client for YARN's shared cache.
    `class` | `TimelineClient` A client library that can be used to post some information in terms of a number of conceptual entities.
    `class` | `TimelineReaderClient` A client library that can be used to get Timeline Entities associated with application, application attempt or containers.
    `class` | `YarnClient`

  - ### Uses of Service in org.apache.hadoop.yarn.client.api.async

    Classes in org.apache.hadoop.yarn.client.api.async that implement Service
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AMRMClientAsync<T extends org.apache.hadoop.yarn.client.api.AMRMClient.ContainerRequest>` `AMRMClientAsync` handles communication with the ResourceManager and provides asynchronous updates on events such as container allocations and completions.
    `class` | `NMClientAsync` `NMClientAsync` handles communication with all the NodeManagers and provides asynchronous updates on getting responses from them.

  - ### Uses of Service in org.apache.hadoop.yarn.client.api.impl

    Classes in org.apache.hadoop.yarn.client.api.impl that implement Service
    Modifier and Type | Class and Description
    --- | ---
    `class` | `TimelineReaderClientImpl` Implementation of TimelineReaderClient interface.

  - ### Uses of Service in org.apache.hadoop.yarn.event

    Classes in org.apache.hadoop.yarn.event that implement Service
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AsyncDispatcher` Dispatches `Event`s in a separate thread.

  - ### Uses of Service in org.apache.hadoop.yarn.service.client

    Classes in org.apache.hadoop.yarn.service.client with annotations of type with type parameters of type that implement declared as with annotations of type with type parameters of type with annotations of type with annotations of type with type parameters of type that return that return types with arguments of type with parameters of type with type arguments of type that throw with annotations of type with annotations of type with parameters of type with type arguments of type that throw Service
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ServiceClient`

  - ### Uses of Service in org.apache.hadoop.yarn.util

    Classes in org.apache.hadoop.yarn.util that implement Service
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractLivelinessMonitor<O>` A simple liveliness monitor with which clients can register, trust the component to monitor liveliness, get a call-back on expiry and then finally unregister.

Copyright © 2022 Apache Software Foundation. All rights reserved.