public interface ContainerSignatureMatcher
| Modifier and Type | Method and Description |
|---|---|
Map<String,org.apache.hadoop.yarn.api.records.LocalResource> |
getAdditionalResources(Map<String,org.apache.hadoop.yarn.api.records.LocalResource> lr1,
Map<String,org.apache.hadoop.yarn.api.records.LocalResource> lr2)
Gets additional resources specified in lr2, which are not present for lr1
|
boolean |
isExactMatch(Object cs1,
Object cs2)
Checks if the container signatures match exactly
|
boolean |
isSuperSet(Object cs1,
Object cs2)
Checks the compatibility between the specified container signatures.
|
boolean isSuperSet(Object cs1, Object cs2)
boolean isExactMatch(Object cs1, Object cs2)
Map<String,org.apache.hadoop.yarn.api.records.LocalResource> getAdditionalResources(Map<String,org.apache.hadoop.yarn.api.records.LocalResource> lr1, Map<String,org.apache.hadoop.yarn.api.records.LocalResource> lr2)
lr1 - lr2 - Copyright © 2014 Apache Software Foundation. All rights reserved.