Package org.springframework.yarn.support.console.ContainerClusterReport

Examples of org.springframework.yarn.support.console.ContainerClusterReport.ClustersInfoReportData


    Map<String, Integer> pracks = response.getGridProjection().getProjectionData().getRacks();
    Integer sany = response.getGridProjection().getSatisfyState().getAllocateData().getAny();
    Map<String, Integer> shosts = response.getGridProjection().getSatisfyState().getAllocateData().getHosts();
    Map<String, Integer> sracks = response.getGridProjection().getSatisfyState().getAllocateData().getRacks();

    data.add(new ClustersInfoReportData(response.getContainerClusterState().getClusterState().toString(), response.getGridProjection().getMembers().size(), pany, phosts, pracks, sany, shosts, sracks));
    if (verbose) {
      return ContainerClusterReport.clusterInfoReportBuilder()
          .add(ClusterInfoField.STATE)
          .add(ClusterInfoField.MEMBERS)
          .add(ClusterInfoField.PROJECTIONANY)
View Full Code Here

TOP

Related Classes of org.springframework.yarn.support.console.ContainerClusterReport.ClustersInfoReportData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.