Example usage for org.apache.hadoop.yarn.api.records.impl.pb ContainerIdPBImpl ContainerIdPBImpl

List of usage examples for org.apache.hadoop.yarn.api.records.impl.pb ContainerIdPBImpl ContainerIdPBImpl

Introduction

In this page you can find the example usage for org.apache.hadoop.yarn.api.records.impl.pb ContainerIdPBImpl ContainerIdPBImpl.

Prototype

public ContainerIdPBImpl(ContainerIdProto proto) 

Source Link

Usage

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);
}