@InterfaceAudience.Public

# Package org.apache.hadoop.yarn.exceptions

- Enum Summary
  Enum | Description
  --- | ---
  InvalidResourceRequestException.InvalidResourceType |

- Exception Summary
  Exception | Description
  --- | ---
  ApplicationAttemptNotFoundException | This exception is thrown on `(GetApplicationAttemptReportRequest)` API when the Application Attempt doesn't exist in Application History Server or `ApplicationMasterProtocol.allocate(AllocateRequest)` if application doesn't exist in RM.
  ApplicationIdNotProvidedException | Exception to be thrown when Client submit an application without providing `ApplicationId` in `ApplicationSubmissionContext`.
  ApplicationMasterNotRegisteredException | This exception is thrown when an Application Master tries to unregister by calling `ApplicationMasterProtocol.finishApplicationMaster(FinishApplicationMasterRequest)` API without first registering by calling `ApplicationMasterProtocol.registerApplicationMaster(RegisterApplicationMasterRequest)` or after an RM restart.
  ApplicationNotFoundException | This exception is thrown on `(GetApplicationReportRequest)` API when the Application doesn't exist in RM and AHS
  ConfigurationException | This exception is thrown on unrecoverable configuration errors.
  ContainerNotFoundException | This exception is thrown on `(GetContainerReportRequest)` API when the container doesn't exist in AHS
  InvalidApplicationMasterRequestException | This exception is thrown when an ApplicationMaster asks for resources by calling `ApplicationMasterProtocol.allocate(AllocateRequest)` without first registering by calling `ApplicationMasterProtocol.registerApplicationMaster(RegisterApplicationMasterRequest)` or if it tries to register more than once.
  InvalidAuxServiceException | This exception is thrown by a NodeManager that is rejecting start-container requests via `ContainerManagementProtocol.startContainers(StartContainersRequest)` for auxservices does not exist.
  InvalidContainerException | This exception is thrown by a NodeManager that is rejecting start-container requests via `ContainerManagementProtocol.startContainers(StartContainersRequest)` for containers allocated by a previous instance of the RM.
  InvalidContainerReleaseException | This exception is thrown when an Application Master tries to release containers not belonging to it using `ApplicationMasterProtocol.allocate(AllocateRequest)` API.
  InvalidLabelResourceRequestException | This exception is thrown when a resource requested via `ResourceRequest` in the `ApplicationMasterProtocol.allocate(AllocateRequest)` when requested label is not having permission to access.
  InvalidResourceBlacklistRequestException | This exception is thrown when an application provides an invalid `ResourceBlacklistRequest` specification for blacklisting of resources in `ApplicationMasterProtocol.allocate(AllocateRequest)` API.
  InvalidResourceRequestException | This exception is thrown when a resource requested via `ResourceRequest` in the `ApplicationMasterProtocol.allocate(AllocateRequest)` API is out of the range of the configured lower and upper limits on resources.
  NMNotYetReadyException | This exception is thrown on `ContainerManagementProtocol.startContainers(StartContainersRequest)` API when an NM starts from scratch but has not yet connected with RM.
  ResourceNotFoundException | This exception is thrown when details of an unknown resource type are requested.
  ResourceProfilesNotEnabledException | This exception is thrown when the client requests information about ResourceProfiles in the `ApplicationClientProtocol` but resource profiles is not enabled on the RM.
  SchedulerInvalidResoureRequestException | This exception is thrown when any issue inside scheduler to handle a new or updated `SchedulingRequest`/ `ResourceRequest` add to the scheduler.
  YarnException | YarnException indicates exceptions from yarn servers.
  YARNFeatureNotEnabledException | This exception is thrown when a feature is being used which is not enabled yet.
  YarnRuntimeException | Base YARN Exception.

Copyright © 2008–2022 Apache Software Foundation. All rights reserved.