Examples of ApplicationAttemptStateData


Examples of org.apache.hadoop.yarn.server.resourcemanager.recovery.records.ApplicationAttemptStateData

        return;
      }
      ApplicationAttemptState attemptState =
          ((RMStateStoreAppAttemptEvent) event).getAppAttemptState();
      try {
        ApplicationAttemptStateData attemptStateData =
            ApplicationAttemptStateData.newInstance(attemptState);
        if (LOG.isDebugEnabled()) {
          LOG.debug("Storing info for attempt: " + attemptState.getAttemptId());
        }
        store.storeApplicationAttemptStateInternal(attemptState.getAttemptId(),
View Full Code Here

Examples of org.apache.hadoop.yarn.server.resourcemanager.recovery.records.ApplicationAttemptStateData

        return;
      }
      ApplicationAttemptState attemptState =
          ((RMStateUpdateAppAttemptEvent) event).getAppAttemptState();
      try {
        ApplicationAttemptStateData attemptStateData = ApplicationAttemptStateData
            .newInstance(attemptState);
        if (LOG.isDebugEnabled()) {
          LOG.debug("Updating info for attempt: " + attemptState.getAttemptId());
        }
        store.updateApplicationAttemptStateInternal(attemptState.getAttemptId(),
View Full Code Here

Examples of org.apache.hadoop.yarn.server.resourcemanager.recovery.records.ApplicationAttemptStateData

  }

  public static ApplicationAttemptStateData newApplicationAttemptStateData(
      ApplicationAttemptId attemptId, Container container,
      ByteBuffer attemptTokens) {
    ApplicationAttemptStateData attemptStateData =
        recordFactory.newRecordInstance(ApplicationAttemptStateData.class);
    attemptStateData.setAttemptId(attemptId);
    attemptStateData.setMasterContainer(container);
    attemptStateData.setAppAttemptTokens(attemptTokens);
    return attemptStateData;
  }
View Full Code Here

Examples of org.apache.hadoop.yarn.server.resourcemanager.recovery.records.ApplicationAttemptStateData

  public static ApplicationAttemptStateData newApplicationAttemptStateData(
      ApplicationAttemptId attemptId, Container container,
      ByteBuffer attemptTokens, long startTime, RMAppAttemptState finalState,
      String finalTrackingUrl, String diagnostics,
      FinalApplicationStatus amUnregisteredFinalStatus) {
    ApplicationAttemptStateData attemptStateData =
        recordFactory.newRecordInstance(ApplicationAttemptStateData.class);
    attemptStateData.setAttemptId(attemptId);
    attemptStateData.setMasterContainer(container);
    attemptStateData.setAppAttemptTokens(attemptTokens);
    attemptStateData.setState(finalState);
    attemptStateData.setFinalTrackingUrl(finalTrackingUrl);
    attemptStateData.setDiagnostics(diagnostics);
    attemptStateData.setStartTime(startTime);
    attemptStateData.setFinalApplicationStatus(amUnregisteredFinalStatus);
    return attemptStateData;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.