public class YarnWorkerNode extends Object implements ResourceIDRetrievable
Constructor and Description |
---|
YarnWorkerNode(org.apache.hadoop.yarn.api.records.Container container) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.yarn.api.records.Container |
getContainer() |
ResourceID |
getResourceID()
Gets the ResourceID of the object.
|
public YarnWorkerNode(org.apache.hadoop.yarn.api.records.Container container)
public ResourceID getResourceID()
ResourceIDRetrievable
getResourceID
in interface ResourceIDRetrievable
public org.apache.hadoop.yarn.api.records.Container getContainer()
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.