List of usage examples for org.apache.hadoop.yarn.server.utils BuilderUtils newApplicationAttemptId
public static ApplicationAttemptId newApplicationAttemptId(ApplicationId appId, int attemptId)
From source file:org.apache.tajo.util.ApplicationIdUtils.java
License:Apache License
public static ApplicationAttemptId createApplicationAttemptId(QueryId queryId, int attemptId) { return BuilderUtils.newApplicationAttemptId(queryIdToAppId(queryId), attemptId); }
From source file:org.apache.tajo.util.ApplicationIdUtils.java
License:Apache License
public static ApplicationAttemptId createApplicationAttemptId(QueryId queryId) { return BuilderUtils.newApplicationAttemptId(queryIdToAppId(queryId), 1); }