Package org.apache.hadoop.yarn.server.nodemanager.api.deviceplugin
package org.apache.hadoop.yarn.server.nodemanager.api.deviceplugin
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.
-
ClassDescriptionRepresent one "device" resource.Builder for Device.A must interface for vendor plugin to implement.An optional interface to implement if custom device scheduling is needed.Contains plugin register request info.Builder class for construct
DeviceRegisterRequest.This is a spec used to prepare and run container.Builder for DeviceRuntimeSpec.Describe one device mount.Builder for MountDeviceSpec.Describe one volume mount.Builder for MountVolumeSpec.Describe one volume creation or deletion.Builder for VolumeSpec.YarnRuntime parameter enum forDevicePlugin.