Search in sources :

Example 1 with LogAggregationReportProto

use of org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.LogAggregationReportProto in project hadoop by apache.

the class NodeHeartbeatRequestPBImpl method initLogAggregationReportsForApps.

private void initLogAggregationReportsForApps() {
    NodeHeartbeatRequestProtoOrBuilder p = viaProto ? proto : builder;
    List<LogAggregationReportProto> list = p.getLogAggregationReportsForAppsList();
    this.logAggregationReportsForApps = new ArrayList<LogAggregationReport>();
    for (LogAggregationReportProto c : list) {
        this.logAggregationReportsForApps.add(convertFromProtoFormat(c));
    }
}
Also used : LogAggregationReport(org.apache.hadoop.yarn.server.api.protocolrecords.LogAggregationReport) NodeHeartbeatRequestProtoOrBuilder(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.NodeHeartbeatRequestProtoOrBuilder) LogAggregationReportProto(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.LogAggregationReportProto)

Aggregations

LogAggregationReportProto (org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.LogAggregationReportProto)1 NodeHeartbeatRequestProtoOrBuilder (org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.NodeHeartbeatRequestProtoOrBuilder)1 LogAggregationReport (org.apache.hadoop.yarn.server.api.protocolrecords.LogAggregationReport)1