org.apache.hadoop.yarn.api.records.impl.pb.ContainerStatusPBImpl Java Examples

The following examples show how to use org.apache.hadoop.yarn.api.records.impl.pb.ContainerStatusPBImpl. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: GetContainerStatusesResponsePBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ContainerStatusPBImpl convertFromProtoFormat(ContainerStatusProto p) {
  return new ContainerStatusPBImpl(p);
}
 
Example #2
Source File: GetContainerStatusesResponsePBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ContainerStatusProto convertToProtoFormat(ContainerStatus t) {
  return ((ContainerStatusPBImpl) t).getProto();
}
 
Example #3
Source File: AllocateResponsePBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private synchronized ContainerStatusPBImpl convertFromProtoFormat(
    ContainerStatusProto p) {
  return new ContainerStatusPBImpl(p);
}
 
Example #4
Source File: AllocateResponsePBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private synchronized ContainerStatusProto convertToProtoFormat(
    ContainerStatus t) {
  return ((ContainerStatusPBImpl)t).getProto();
}
 
Example #5
Source File: NodeStatusPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ContainerStatusPBImpl convertFromProtoFormat(ContainerStatusProto c) {
  return new ContainerStatusPBImpl(c);
}
 
Example #6
Source File: NodeStatusPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ContainerStatusProto convertToProtoFormat(ContainerStatus c) {
  return ((ContainerStatusPBImpl)c).getProto();
}
 
Example #7
Source File: GetContainerStatusesResponsePBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ContainerStatusPBImpl convertFromProtoFormat(ContainerStatusProto p) {
  return new ContainerStatusPBImpl(p);
}
 
Example #8
Source File: GetContainerStatusesResponsePBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ContainerStatusProto convertToProtoFormat(ContainerStatus t) {
  return ((ContainerStatusPBImpl) t).getProto();
}
 
Example #9
Source File: AllocateResponsePBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private synchronized ContainerStatusPBImpl convertFromProtoFormat(
    ContainerStatusProto p) {
  return new ContainerStatusPBImpl(p);
}
 
Example #10
Source File: AllocateResponsePBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private synchronized ContainerStatusProto convertToProtoFormat(
    ContainerStatus t) {
  return ((ContainerStatusPBImpl)t).getProto();
}
 
Example #11
Source File: NodeStatusPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ContainerStatusPBImpl convertFromProtoFormat(ContainerStatusProto c) {
  return new ContainerStatusPBImpl(c);
}
 
Example #12
Source File: NodeStatusPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ContainerStatusProto convertToProtoFormat(ContainerStatus c) {
  return ((ContainerStatusPBImpl)c).getProto();
}
 
Example #13
Source File: TestObjectFactory.java    From incubator-myriad with Apache License 2.0 4 votes vote down vote up
private static ContainerStatus getContainerStatus(RMNode node) {
  ContainerStatus status = new ContainerStatusPBImpl();
  return status;
}
 
Example #14
Source File: NMHeartBeatHandlerTest.java    From incubator-myriad with Apache License 2.0 4 votes vote down vote up
private ContainerStatus getContainerStatus(RMNode node) {
  ContainerStatus status = new ContainerStatusPBImpl();
  return status;
}