当前位置: 首页>>代码示例>>Java>>正文


Java ApplicationAttemptReportProtoOrBuilder类代码示例

本文整理汇总了Java中org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAttemptReportProtoOrBuilder的典型用法代码示例。如果您正苦于以下问题:Java ApplicationAttemptReportProtoOrBuilder类的具体用法?Java ApplicationAttemptReportProtoOrBuilder怎么用?Java ApplicationAttemptReportProtoOrBuilder使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ApplicationAttemptReportProtoOrBuilder类属于org.apache.hadoop.yarn.proto.YarnProtos包,在下文中一共展示了ApplicationAttemptReportProtoOrBuilder类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getApplicationAttemptId

import org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAttemptReportProtoOrBuilder; //导入依赖的package包/类
@Override
public ApplicationAttemptId getApplicationAttemptId() {
  if (this.ApplicationAttemptId != null) {
    return this.ApplicationAttemptId;
  }

  ApplicationAttemptReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationAttemptId()) {
    return null;
  }
  this.ApplicationAttemptId =
      convertFromProtoFormat(p.getApplicationAttemptId());
  return this.ApplicationAttemptId;
}
 
开发者ID:naver,项目名称:hadoop,代码行数:15,代码来源:ApplicationAttemptReportPBImpl.java

示例2: getHost

import org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAttemptReportProtoOrBuilder; //导入依赖的package包/类
@Override
public String getHost() {
  ApplicationAttemptReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasHost()) {
    return null;
  }
  return p.getHost();
}
 
开发者ID:naver,项目名称:hadoop,代码行数:9,代码来源:ApplicationAttemptReportPBImpl.java

示例3: getTrackingUrl

import org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAttemptReportProtoOrBuilder; //导入依赖的package包/类
@Override
public String getTrackingUrl() {
  ApplicationAttemptReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasTrackingUrl()) {
    return null;
  }
  return p.getTrackingUrl();
}
 
开发者ID:naver,项目名称:hadoop,代码行数:9,代码来源:ApplicationAttemptReportPBImpl.java

示例4: getOriginalTrackingUrl

import org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAttemptReportProtoOrBuilder; //导入依赖的package包/类
@Override
public String getOriginalTrackingUrl() {
  ApplicationAttemptReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasOriginalTrackingUrl()) {
    return null;
  }
  return p.getOriginalTrackingUrl();
}
 
开发者ID:naver,项目名称:hadoop,代码行数:9,代码来源:ApplicationAttemptReportPBImpl.java

示例5: getDiagnostics

import org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAttemptReportProtoOrBuilder; //导入依赖的package包/类
@Override
public String getDiagnostics() {
  ApplicationAttemptReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasDiagnostics()) {
    return null;
  }
  return p.getDiagnostics();
}
 
开发者ID:naver,项目名称:hadoop,代码行数:9,代码来源:ApplicationAttemptReportPBImpl.java

示例6: getYarnApplicationAttemptState

import org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAttemptReportProtoOrBuilder; //导入依赖的package包/类
@Override
public YarnApplicationAttemptState getYarnApplicationAttemptState() {
  ApplicationAttemptReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasYarnApplicationAttemptState()) {
    return null;
  }
  return convertFromProtoFormat(p.getYarnApplicationAttemptState());
}
 
开发者ID:naver,项目名称:hadoop,代码行数:9,代码来源:ApplicationAttemptReportPBImpl.java

示例7: getAMContainerId

import org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAttemptReportProtoOrBuilder; //导入依赖的package包/类
@Override
public ContainerId getAMContainerId() {
  if (this.amContainerId != null) {
    return this.amContainerId;
  }

  ApplicationAttemptReportProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasAmContainerId()) {
    return null;
  }
  this.amContainerId = convertFromProtoFormat(p.getAmContainerId());
  return this.amContainerId;
}
 
开发者ID:naver,项目名称:hadoop,代码行数:14,代码来源:ApplicationAttemptReportPBImpl.java


注:本文中的org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAttemptReportProtoOrBuilder类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。