|
Change Parameter Type allowed : Set<Integer> to allowed : Set<GpuDevice> in method package GpuAllocation(allowed Set<GpuDevice>, denied Set<GpuDevice>) in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceAllocator.GpuAllocation |
From |
To |
|
Change Parameter Type containerId : ContainerId to container : Container in method public storeAssignedResources(container Container, resourceType String, assignedResources List<Serializable>) : void in class org.apache.hadoop.yarn.server.nodemanager.recovery.NMMemoryStateStoreService |
From |
To |
|
Change Parameter Type denied : Set<Integer> to denied : Set<GpuDevice> in method package GpuAllocation(allowed Set<GpuDevice>, denied Set<GpuDevice>) in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceAllocator.GpuAllocation |
From |
To |
|
Change Parameter Type containerId : ContainerId to container : Container in method public storeAssignedResources(container Container, resourceType String, assignedResources List<Serializable>) : void in class org.apache.hadoop.yarn.server.nodemanager.recovery.NMLeveldbStateStoreService |
From |
To |
|
Change Parameter Type deniedDevices : List<Integer> to deniedDevices : List<GpuDevice> in method private verifyDeniedDevices(containerId ContainerId, deniedDevices List<GpuDevice>) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.TestGpuResourceHandler |
From |
To |
|
Change Parameter Type containerId : ContainerId to container : Container in method public abstract storeAssignedResources(container Container, resourceType String, assignedResources List<Serializable>) : void in class org.apache.hadoop.yarn.server.nodemanager.recovery.NMStateStoreService |
From |
To |
|
Change Parameter Type minorNumber : int to gpuDevice : GpuDevice in method public addGpu(gpuDevice GpuDevice) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceAllocator |
From |
To |
|
Rename Variable minorNumbers : List<Integer> to gpuDevices : List<GpuDevice> in method public getGpusUsableByYarn() : List<GpuDevice> in class org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu.GpuDiscoverer |
From |
To |
|
Rename Variable minorNumber : int to gpu : GpuDevice in method public bootstrap(configuration Configuration) : List<PrivilegedOperation> in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceHandlerImpl |
From |
To |
|
Rename Variable minorNumbers : List<Integer> to usableGpuDevices : List<GpuDevice> in method public getNumberOfUsableGpusFromConfig() : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu.TestGpuDiscoverer |
From |
To |
|
Rename Variable deviceId : Serializable to gpuDeviceSerializable : Serializable in method public recoverAssignedGpus(containerId ContainerId) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceAllocator |
From |
To |
|
Rename Variable minorNumbersOfUsableGpus : List<Integer> to usableGpus : List<GpuDevice> in method public bootstrap(configuration Configuration) : List<PrivilegedOperation> in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceHandlerImpl |
From |
To |
|
Rename Variable deviceNum : int to gpu : GpuDevice in method public assignGpus(container Container) : GpuAllocation in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceAllocator |
From |
To |
|
Rename Variable devId : int to gpuDevice : GpuDevice in method public recoverAssignedGpus(containerId ContainerId) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceAllocator |
From |
To |
|
Change Variable Type minorNumbers : List<Integer> to gpuDevices : List<GpuDevice> in method public getGpusUsableByYarn() : List<GpuDevice> in class org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu.GpuDiscoverer |
From |
To |
|
Change Variable Type minorNumber : int to gpu : GpuDevice in method public bootstrap(configuration Configuration) : List<PrivilegedOperation> in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceHandlerImpl |
From |
To |
|
Change Variable Type assignedGpus : Set<Integer> to assignedGpus : Set<GpuDevice> in method public assignGpus(container Container) : GpuAllocation in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceAllocator |
From |
To |
|
Change Variable Type minorNumbers : List<Integer> to usableGpuDevices : List<GpuDevice> in method public getNumberOfUsableGpusFromConfig() : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu.TestGpuDiscoverer |
From |
To |
|
Change Variable Type iter : Iterator<Map.Entry<Integer,ContainerId>> to iter : Iterator<Map.Entry<GpuDevice,ContainerId>> in method public cleanupAssignGpus(containerId ContainerId) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceAllocator |
From |
To |
|
Change Variable Type usableGpus : List<Integer> to usableGpus : List<GpuDevice> in method public updateConfiguredResource(res Resource) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu.GpuNodeResourceUpdateHandler |
From |
To |
|
Change Variable Type deviceAllocationMapping : Map<Integer,ContainerId> to deviceAllocationMapping : Map<GpuDevice,ContainerId> in method public testRecoverResourceAllocation() : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.TestGpuResourceHandler |
From |
To |
|
Change Variable Type minorNumbersOfUsableGpus : List<Integer> to usableGpus : List<GpuDevice> in method public bootstrap(configuration Configuration) : List<PrivilegedOperation> in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceHandlerImpl |
From |
To |
|
Change Variable Type deviceNum : int to gpu : GpuDevice in method public assignGpus(container Container) : GpuAllocation in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceAllocator |
From |
To |
|
Change Variable Type devId : int to gpuDevice : GpuDevice in method public recoverAssignedGpus(containerId ContainerId) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceAllocator |
From |
To |
|
Rename Parameter minorNumber : int to gpuDevice : GpuDevice in method public addGpu(gpuDevice GpuDevice) : void in class org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceAllocator |
From |
To |
|
Rename Parameter containerId : ContainerId to container : Container in method public storeAssignedResources(container Container, resourceType String, assignedResources List<Serializable>) : void in class org.apache.hadoop.yarn.server.nodemanager.recovery.NMMemoryStateStoreService |
From |
To |
|
Rename Parameter containerId : ContainerId to container : Container in method public storeAssignedResources(container Container, resourceType String, assignedResources List<Serializable>) : void in class org.apache.hadoop.yarn.server.nodemanager.recovery.NMLeveldbStateStoreService |
From |
To |
|
Rename Parameter containerId : ContainerId to container : Container in method public abstract storeAssignedResources(container Container, resourceType String, assignedResources List<Serializable>) : void in class org.apache.hadoop.yarn.server.nodemanager.recovery.NMStateStoreService |
From |
To |