@InterfaceAudience.Private public class PlacementConstraintFromProtoConverter extends Object
PlacementConstraintFromProtoConverter
generates an
PlacementConstraint.AbstractConstraint
given a
YarnProtos.PlacementConstraintProto
.Constructor and Description |
---|
PlacementConstraintFromProtoConverter(org.apache.hadoop.yarn.proto.YarnProtos.PlacementConstraintProto constraintProto) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.api.resource.PlacementConstraint |
convert() |
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.