Uses of Class
org.apache.hadoop.yarn.exceptions.YarnException
Packages that use YarnException
Package
Description
Public api for Application Master Service interceptors.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Package that includes some CSI utility classes.
-
Uses of YarnException in org.apache.hadoop.yarn.ams
Methods in org.apache.hadoop.yarn.ams that throw YarnExceptionModifier and TypeMethodDescriptionvoidApplicationMasterServiceProcessor.allocate(ApplicationAttemptId appAttemptId, AllocateRequest request, AllocateResponse response) Allocate call.voidApplicationMasterServiceProcessor.registerApplicationMaster(ApplicationAttemptId applicationAttemptId, RegisterApplicationMasterRequest request, RegisterApplicationMasterResponse response) Register AM attempt. -
Uses of YarnException in org.apache.hadoop.yarn.api
Methods in org.apache.hadoop.yarn.api that throw YarnExceptionModifier and TypeMethodDescriptionApplicationMasterProtocol.allocate(AllocateRequest request) The main interface between anApplicationMasterand theResourceManager.ApplicationBaseProtocol.cancelDelegationToken(CancelDelegationTokenRequest request) Cancel an existing delegationToken.ContainerManagementProtocol.commitLastReInitialization(ContainerId containerId) Commit the Last ReInitialization if possible.ApplicationClientProtocol.deleteReservation(ReservationDeleteRequest request) The interface used by clients to remove an existing Reservation.ApplicationClientProtocol.failApplicationAttempt(FailApplicationAttemptRequest request) The interface used by clients to request theResourceManagerto fail an application attempt.ApplicationMasterProtocol.finishApplicationMaster(FinishApplicationMasterRequest request) The interface used by anApplicationMasterto notify theResourceManagerabout its completion (success or failed).ApplicationClientProtocol.forceKillApplication(KillApplicationRequest request) The interface used by clients to request theResourceManagerto abort submitted application.ApplicationBaseProtocol.getApplicationAttemptReport(GetApplicationAttemptReportRequest request) The interface used by clients to get a report of an Application Attempt from theResourceManagerorApplicationHistoryServerApplicationBaseProtocol.getApplicationAttempts(GetApplicationAttemptsRequest request) The interface used by clients to get a report of all Application attempts in the cluster from theResourceManagerorApplicationHistoryServerApplicationBaseProtocol.getApplicationReport(GetApplicationReportRequest request) The interface used by clients to get a report of an Application from theResourceManagerorApplicationHistoryServer.ApplicationBaseProtocol.getApplications(GetApplicationsRequest request) The interface used by clients to get a report of Applications matching the filters defined byGetApplicationsRequestin the cluster from theResourceManagerorApplicationHistoryServer.ApplicationClientProtocol.getAttributesToNodes(GetAttributesToNodesRequest request) The interface used by client to get attributes to nodes mappings available in ResourceManager.ApplicationClientProtocol.getClusterMetrics(GetClusterMetricsRequest request) The interface used by clients to get metrics about the cluster from theResourceManager.ApplicationClientProtocol.getClusterNodeAttributes(GetClusterNodeAttributesRequest request) The interface used by client to get node attributes available in ResourceManager.ApplicationClientProtocol.getClusterNodeLabels(GetClusterNodeLabelsRequest request) The interface used by client to get node labels in the clusterApplicationClientProtocol.getClusterNodes(GetClusterNodesRequest request) The interface used by clients to get a report of all nodes in the cluster from theResourceManager.ApplicationBaseProtocol.getContainerReport(GetContainerReportRequest request) The interface used by clients to get a report of an Container from theResourceManagerorApplicationHistoryServerApplicationBaseProtocol.getContainers(GetContainersRequest request) The interface used by clients to get a report of Containers for an application attempt from theResourceManagerorApplicationHistoryServerContainerManagementProtocol.getContainerStatuses(GetContainerStatusesRequest request) The API used by theApplicationMasterto request for current statuses ofContainers from theNodeManager.ApplicationBaseProtocol.getDelegationToken(GetDelegationTokenRequest request) The interface used by clients to get delegation token, enabling the containers to be able to talk to the service using those tokens.ApplicationClientProtocol.getLabelsToNodes(GetLabelsToNodesRequest request) The interface used by client to get labels to nodes mappings in existing cluster.ContainerManagementProtocol.getLocalizationStatuses(GetLocalizationStatusesRequest request) API to request for the localization statuses of requested containers from the Node Manager.ApplicationClientProtocol.getNewApplication(GetNewApplicationRequest request) The interface used by clients to obtain a newApplicationIdfor submitting new applications.ApplicationClientProtocol.getNewReservation(GetNewReservationRequest request) The interface used by clients to obtain a newReservationIdfor submitting new reservations.ApplicationClientProtocol.getNodesToAttributes(GetNodesToAttributesRequest request) The interface used by client to get node to attributes mappings.ApplicationClientProtocol.getNodeToLabels(GetNodesToLabelsRequest request) The interface used by client to get node to labels mappings in existing cluster.CsiAdaptorProtocol.getPluginInfo(GetPluginInfoRequest request) Get plugin info from the CSI driver.ApplicationClientProtocol.getQueueInfo(GetQueueInfoRequest request) The interface used by clients to get information about queues from theResourceManager.ApplicationClientProtocol.getQueueUserAcls(GetQueueUserAclsInfoRequest request) The interface used by clients to get information about queue acls for current user from theResourceManager.ApplicationClientProtocol.getResourceProfile(GetResourceProfileRequest request) The interface to get the details for a specific resource profile.ApplicationClientProtocol.getResourceProfiles(GetAllResourceProfilesRequest request) The interface used by clients to get all the resource profiles that are available on the ResourceManager.ApplicationClientProtocol.getResourceTypeInfo(GetAllResourceTypeInfoRequest request) The interface to get the details for a specific resource profile.ContainerManagementProtocol.increaseContainersResource(IncreaseContainersResourceRequest request) Deprecated.voidA csi-adaptor implementation can init its state within this function.ApplicationClientProtocol.listReservations(ReservationListRequest request) The interface used by clients to get the list of reservations in a plan.ContainerManagementProtocol.localize(ResourceLocalizationRequest request) Localize resources required by the container.ApplicationClientProtocol.moveApplicationAcrossQueues(MoveApplicationAcrossQueuesRequest request) Move an application to a new queue.CsiAdaptorProtocol.nodePublishVolume(NodePublishVolumeRequest request) Publish the volume on a node manager, the volume will be mounted to the local file system and become visible for clients.CsiAdaptorProtocol.nodeUnpublishVolume(NodeUnpublishVolumeRequest request) This is a reverse operation ofCsiAdaptorProtocol.nodePublishVolume(NodePublishVolumeRequest), it un-mounts the volume from given node.ApplicationMasterProtocol.registerApplicationMaster(RegisterApplicationMasterRequest request) The interface used by a newApplicationMasterto register with theResourceManager.ContainerManagementProtocol.reInitializeContainer(ReInitializeContainerRequest request) ReInitialize the Container with a new Launch Context.ClientSCMProtocol.release(ReleaseSharedCacheResourceRequest request) The interface used by clients to release a resource with theSharedCacheManager.This method is called once an application is no longer using a claimed resource in the shared cache.ApplicationBaseProtocol.renewDelegationToken(RenewDelegationTokenRequest request) Renew an existing delegationToken.ContainerManagementProtocol.restartContainer(ContainerId containerId) Restart the container.ContainerManagementProtocol.rollbackLastReInitialization(ContainerId containerId) Rollback the Last ReInitialization if possible.ApplicationClientProtocol.signalToContainer(SignalContainerRequest request) The interface used by clients to request theResourceManagerto signal a container.ContainerManagementProtocol.signalToContainer(SignalContainerRequest request) ContainerManagementProtocol.startContainers(StartContainersRequest request) TheApplicationMasterprovides a list ofStartContainerRequests to aNodeManagerto startContainers allocated to it using this interface.ContainerManagementProtocol.stopContainers(StopContainersRequest request) TheApplicationMasterrequests aNodeManagerto stop a list ofContainers allocated to it using this interface.ApplicationClientProtocol.submitApplication(SubmitApplicationRequest request) The interface used by clients to submit a new application to theResourceManager.ApplicationClientProtocol.submitReservation(ReservationSubmissionRequest request) The interface used by clients to submit a new reservation to theResourceManager.ApplicationClientProtocol.updateApplicationPriority(UpdateApplicationPriorityRequest request) The interface used by client to set priority of an application.ApplicationClientProtocol.updateApplicationTimeouts(UpdateApplicationTimeoutsRequest request) The interface used by client to set ApplicationTimeouts of an application.ContainerManagementProtocol.updateContainer(ContainerUpdateRequest request) The API used by theApplicationMasterto request for resource update of running containers on theNodeManager.ApplicationClientProtocol.updateReservation(ReservationUpdateRequest request) The interface used by clients to update an existing Reservation.ClientSCMProtocol.use(UseSharedCacheResourceRequest request) The interface used by clients to claim a resource with theSharedCacheManager.The client uses a checksum to identify the resource and anApplicationIdto identify which application will be using the resource.CsiAdaptorProtocol.validateVolumeCapacity(ValidateVolumeCapabilitiesRequest request) Validate if the volume capacity can be satisfied on the underneath storage system. -
Uses of YarnException in org.apache.hadoop.yarn.conf
Methods in org.apache.hadoop.yarn.conf that throw YarnExceptionModifier and TypeMethodDescriptionabstract InputStreamConfigurationProvider.getConfigurationInputStream(org.apache.hadoop.conf.Configuration bootstrapConf, String name) Opens an InputStream at the indicated file. -
Uses of YarnException in org.apache.hadoop.yarn.exceptions
Subclasses of YarnException in org.apache.hadoop.yarn.exceptionsModifier and TypeClassDescriptionclassThis 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.classException to be thrown when Client submit an application without providingApplicationIdinApplicationSubmissionContext.classThis 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.classThis exception is thrown on(GetApplicationReportRequest)API when the Application doesn't exist in RM and AHSclassThis exception is thrown on unrecoverable configuration errors.classThis exception is thrown on(GetContainerReportRequest)API when the container doesn't exist in AHSclassThis 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.classThis exception is thrown by a NodeManager that is rejecting start-container requests viaContainerManagementProtocol.startContainers(StartContainersRequest)for auxservices does not exist.classThis 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.classThis exception is thrown when an Application Master tries to release containers not belonging to it usingApplicationMasterProtocol.allocate(AllocateRequest)API.classThis exception is thrown when a resource requested viaResourceRequestin theApplicationMasterProtocol.allocate(AllocateRequest)when requested label is not having permission to access.classThis exception is thrown when an application provides an invalidResourceBlacklistRequestspecification for blacklisting of resources inApplicationMasterProtocol.allocate(AllocateRequest)API.classThis 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.classThis exception is thrown onContainerManagementProtocol.startContainers(StartContainersRequest)API when an NM starts from scratch but has not yet connected with RM.classThis exception is thrown when the client requests information about ResourceProfiles in theApplicationClientProtocolbut resource profiles is not enabled on the RM.classThis exception is thrown when a feature is being used which is not enabled yet. -
Uses of YarnException in org.apache.hadoop.yarn.server.api
Methods in org.apache.hadoop.yarn.server.api that throw YarnExceptionModifier and TypeMethodDescriptionResourceManagerAdministrationProtocol.addToClusterNodeLabels(AddToClusterNodeLabelsRequest request) ResourceManagerAdministrationProtocol.batchSaveFederationQueuePolicies(BatchSaveFederationQueuePoliciesRequest request) In YARN-Federation mode, this method provides a way to save queue policies in batches.ResourceManagerAdministrationProtocol.checkForDecommissioningNodes(CheckForDecommissioningNodesRequest checkForDecommissioningNodesRequest) ResourceManagerAdministrationProtocol.deleteFederationApplication(DeleteFederationApplicationRequest request) In YARN-Federation mode, this method provides a way to delete federation application.ResourceManagerAdministrationProtocol.deleteFederationPoliciesByQueues(DeleteFederationQueuePoliciesRequest request) In YARN-Federation mode, this method provides a way to delete queue weight policies.ResourceManagerAdministrationProtocol.deregisterSubCluster(DeregisterSubClusterRequest request) In YARN Federation mode, We allow users to mark subClusters With no heartbeat for a long time as SC_LOST state.ResourceManagerAdministrationProtocol.getFederationSubClusters(GetSubClustersRequest request) In YARN-Federation mode, this method provides a way to get federation subcluster list.ResourceManagerAdministrationProtocol.listFederationQueuePolicies(QueryFederationQueuePoliciesRequest request) In YARN-Federation mode, this method provides a way to list policies.ResourceManagerAdministrationProtocol.mapAttributesToNodes(NodesToAttributesMappingRequest request) ResourceManagerAdministrationProtocol.refreshAdminAcls(RefreshAdminAclsRequest request) ResourceManagerAdministrationProtocol.refreshClusterMaxPriority(RefreshClusterMaxPriorityRequest request) ResourceManagerAdministrationProtocol.refreshNodes(RefreshNodesRequest request) ResourceManagerAdministrationProtocol.refreshNodesResources(RefreshNodesResourcesRequest request) ResourceManagerAdministrationProtocol.refreshQueues(RefreshQueuesRequest request) ResourceManagerAdministrationProtocol.refreshServiceAcls(RefreshServiceAclsRequest request) ResourceManagerAdministrationProtocol.refreshSuperUserGroupsConfiguration(RefreshSuperUserGroupsConfigurationRequest request) ResourceManagerAdministrationProtocol.refreshUserToGroupsMappings(RefreshUserToGroupsMappingsRequest request) ResourceManagerAdministrationProtocol.removeFromClusterNodeLabels(RemoveFromClusterNodeLabelsRequest request) ResourceManagerAdministrationProtocol.replaceLabelsOnNode(ReplaceLabelsOnNodeRequest request) SCMAdminProtocol.runCleanerTask(RunSharedCacheCleanerTaskRequest request) The method used by administrators to ask SCM to run cleaner task right awayResourceManagerAdministrationProtocol.saveFederationQueuePolicy(SaveFederationQueuePolicyRequest request) In YARN-Federation mode, We will be storing the Policy information for Queues.ResourceManagerAdministrationProtocol.updateNodeResource(UpdateNodeResourceRequest request) The interface used by admin to update nodes' resources to theResourceManager -
Uses of YarnException in org.apache.hadoop.yarn.server.api.protocolrecords
Methods in org.apache.hadoop.yarn.server.api.protocolrecords that throw YarnExceptionModifier and TypeMethodDescriptionstatic voidFederationQueueWeight.checkHeadRoomAlphaValid(String headRoomAlpha) Check if HeadRoomAlpha is a number and is between 0 and 1.static voidFederationQueueWeight.checkSubClusterQueueWeightRatioValid(String subClusterWeight) Check if the subCluster Queue Weight Ratio are valid. -
Uses of YarnException in org.apache.hadoop.yarn.util.csi
Methods in org.apache.hadoop.yarn.util.csi that throw YarnExceptionModifier and TypeMethodDescriptionstatic InetSocketAddressCsiConfigUtils.getCsiAdaptorAddressForDriver(String driverName, org.apache.hadoop.conf.Configuration conf) Resolve the CSI adaptor address for a CSI driver from configuration.static StringCsiConfigUtils.getCsiDriverEndpoint(String driverName, org.apache.hadoop.conf.Configuration conf)