Package org.apache.hadoop.yarn.exceptions
@Public
package org.apache.hadoop.yarn.exceptions
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-
ClassDescriptionThis exception is thrown on
(GetApplicationAttemptReportRequest)API when the Application Attempt doesn't exist in Application History Server orApplicationMasterProtocol.allocate(AllocateRequest)if application doesn't exist in RM.Exception to be thrown when Client submit an application without providingApplicationIdinApplicationSubmissionContext.org.apache.hadoop.yarn.exceptions.ApplicationMasterNotRegisteredExceptionThis exception is thrown when an Application Master tries to unregister by callingApplicationMasterProtocol.finishApplicationMaster(FinishApplicationMasterRequest)API without first registering by callingApplicationMasterProtocol.registerApplicationMaster(RegisterApplicationMasterRequest)or after an RM restart.This exception is thrown on(GetApplicationReportRequest)API when the Application doesn't exist in RM and AHSThis exception is thrown on unrecoverable configuration errors.This exception is thrown on(GetContainerReportRequest)API when the container doesn't exist in AHSorg.apache.hadoop.yarn.exceptions.InvalidApplicationMasterRequestExceptionThis exception is thrown when an ApplicationMaster asks for resources by callingApplicationMasterProtocol.allocate(AllocateRequest)without first registering by callingApplicationMasterProtocol.registerApplicationMaster(RegisterApplicationMasterRequest)or if it tries to register more than once.org.apache.hadoop.yarn.exceptions.InvalidAuxServiceExceptionThis exception is thrown by a NodeManager that is rejecting start-container requests viaContainerManagementProtocol.startContainers(StartContainersRequest)for auxservices does not exist.org.apache.hadoop.yarn.exceptions.InvalidContainerExceptionThis exception is thrown by a NodeManager that is rejecting start-container requests viaContainerManagementProtocol.startContainers(StartContainersRequest)for containers allocated by a previous instance of the RM.org.apache.hadoop.yarn.exceptions.InvalidContainerReleaseExceptionThis exception is thrown when an Application Master tries to release containers not belonging to it usingApplicationMasterProtocol.allocate(AllocateRequest)API.org.apache.hadoop.yarn.exceptions.InvalidLabelResourceRequestExceptionThis exception is thrown when a resource requested viaResourceRequestin theApplicationMasterProtocol.allocate(AllocateRequest)when requested label is not having permission to access.org.apache.hadoop.yarn.exceptions.InvalidResourceBlacklistRequestExceptionThis exception is thrown when an application provides an invalidResourceBlacklistRequestspecification for blacklisting of resources inApplicationMasterProtocol.allocate(AllocateRequest)API.org.apache.hadoop.yarn.exceptions.InvalidResourceRequestExceptionThis exception is thrown when a resource requested viaResourceRequestin theApplicationMasterProtocol.allocate(AllocateRequest)API is out of the range of the configured lower and upper limits on resources.org.apache.hadoop.yarn.exceptions.NMNotYetReadyExceptionThis exception is thrown onContainerManagementProtocol.startContainers(StartContainersRequest)API when an NM starts from scratch but has not yet connected with RM.This exception is thrown when details of an unknown resource type are requested.org.apache.hadoop.yarn.exceptions.ResourceProfilesNotEnabledExceptionThis exception is thrown when the client requests information about ResourceProfiles in theApplicationClientProtocolbut resource profiles is not enabled on the RM.org.apache.hadoop.yarn.exceptions.SchedulerInvalidResourceRequestExceptionThis exception is thrown when any issue inside scheduler to handle a new or updatedSchedulingRequest/ResourceRequestadd to the scheduler.YarnException indicates exceptions from yarn servers.This exception is thrown when a feature is being used which is not enabled yet.org.apache.hadoop.yarn.exceptions.YarnRuntimeExceptionBase YARN Exception.