diff --git hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/ApplicationHistoryReader.java hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/ApplicationHistoryReader.java index bd632d8..0bc0417 100644 --- hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/ApplicationHistoryReader.java +++ hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/ApplicationHistoryReader.java @@ -53,6 +53,32 @@ throws IOException; /** + * This method returns all Application {@link ApplicationHistoryData}s + * + * @param offset + * for start of the limit + * @param limit + * the number od results + * @param String + * applicationType + * @param user + * name + * @param start + * range of start time + * @param end + * range of start time + * @param start + * range of end time + * @param end + * range of end time + * @return map {@link ApplicationId, @link ApplicationHistoryData}s. + * @throws {@link IOException} + */ + Map getAllApplications(int offset, + int limit, String applicationType, String user, long startedBegin, + long startedEnd, long finishBegin, long finishEnd) throws IOException; + + /** * Application can have multiple application attempts * {@link ApplicationAttemptHistoryData}. This method returns the all * {@link ApplicationAttemptHistoryData}s for the Application.