Uses of Class
org.apache.hadoop.yarn.api.records.Container
Packages that use Container
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.
-
Uses of Container in org.apache.hadoop.yarn.ams
Method parameters in org.apache.hadoop.yarn.ams with type arguments of type ContainerModifier and TypeMethodDescriptionstatic voidApplicationMasterServiceUtils.addToAllocatedContainers(AllocateResponse allocateResponse, List<Container> allocatedContainers) Add allocated containers toAllocateResponse.static voidApplicationMasterServiceUtils.addToUpdatedContainers(AllocateResponse allocateResponse, ContainerUpdateType updateType, List<Container> updatedContainers) Add updated containers toAllocateResponse. -
Uses of Container in org.apache.hadoop.yarn.api.protocolrecords
Methods in org.apache.hadoop.yarn.api.protocolrecords that return types with arguments of type ContainerModifier and TypeMethodDescriptionAllocateResponse.getAllocatedContainers()Get the list of newly allocatedContainerby theResourceManager.AllocateResponse.getContainersFromPreviousAttempts()Get the list of running containers as viewed byResourceManagerfrom previous application attempts which have not been reported to the Application Master yet.RegisterApplicationMasterResponse.getContainersFromPreviousAttempts()Get the list of running containers as viewed byResourceManagerfrom previous application attempts.Method parameters in org.apache.hadoop.yarn.api.protocolrecords with type arguments of type ContainerModifier and TypeMethodDescriptionAllocateResponse.AllocateResponseBuilder.allocatedContainers(List<Container> allocatedContainers) Set theallocatedContainersof the response.AllocateResponse.AllocateResponseBuilder.containersFromPreviousAttempt(List<Container> containersFromPreviousAttempt) Set thecontainersFromPreviousAttemptof the response.RegisterApplicationMasterResponse.newInstance(Resource minCapability, Resource maxCapability, Map<ApplicationAccessType, String> acls, ByteBuffer key, List<Container> containersFromPreviousAttempt, String queue, List<NMToken> nmTokensFromPreviousAttempts) abstract voidAllocateResponse.setAllocatedContainers(List<Container> containers) Set the list of newly allocatedContainerby theResourceManager.abstract voidAllocateResponse.setContainersFromPreviousAttempts(List<Container> containersFromPreviousAttempt) Set the list of running containers as viewed byResourceManagerfrom previous application attempts which have not been reported to the Application Master yet.abstract voidRegisterApplicationMasterResponse.setContainersFromPreviousAttempts(List<Container> containersFromPreviousAttempt) Set the list of running containers as viewed byResourceManagerfrom previous application attempts. -
Uses of Container in org.apache.hadoop.yarn.api.records
Methods in org.apache.hadoop.yarn.api.records that return ContainerModifier and TypeMethodDescriptionabstract ContainerUpdatedContainer.getContainer()Get theContainer.static ContainerContainer.newInstance(ContainerId containerId, NodeId nodeId, String nodeHttpAddress, Resource resource, Priority priority, Token containerToken) static ContainerContainer.newInstance(ContainerId containerId, NodeId nodeId, String nodeHttpAddress, Resource resource, Priority priority, Token containerToken, ExecutionType executionType) Methods in org.apache.hadoop.yarn.api.records with parameters of type ContainerModifier and TypeMethodDescriptionstatic UpdatedContainerUpdatedContainer.newInstance(ContainerUpdateType updateType, Container container) Static Factory method.abstract voidUpdatedContainer.setContainer(Container container) Set theContainer.