List of usage examples for org.apache.hadoop.yarn.api.records.impl.pb ContainerIdPBImpl ContainerIdPBImpl
public ContainerIdPBImpl(ContainerIdProto proto)
From source file:mamba.applicationhistoryservice.records.impl.pb.ApplicationAttemptStartDataPBImpl.java
License:Apache License
private ContainerIdPBImpl convertFromProtoFormat(ContainerIdProto containerId) { return new ContainerIdPBImpl(containerId); }
From source file:org.apache.tajo.master.TaskRunnerListener.java
License:Apache License
@Override public void getTask(RpcController controller, ContainerIdProto request, RpcCallback<QueryUnitRequestProto> done) { context.getEventHandler().handle(new TaskRequestEvent(new ContainerIdPBImpl(request), done)); }
From source file:org.apache.tajo.worker.YarnResourceAllocator.java
License:Apache License
@Override public ContainerId makeContainerId(YarnProtos.ContainerIdProto containerId) { return new ContainerIdPBImpl(containerId); }