Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8BEC8107F2 for ; Fri, 14 Mar 2014 21:35:04 +0000 (UTC) Received: (qmail 37572 invoked by uid 500); 14 Mar 2014 21:34:50 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 37397 invoked by uid 500); 14 Mar 2014 21:34:47 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 36800 invoked by uid 99); 14 Mar 2014 21:34:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Mar 2014 21:34:46 +0000 Date: Fri, 14 Mar 2014 21:34:46 +0000 (UTC) From: "Srimanth Gunturi (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-1838) ATS entities api should provide ability to get entities from given id MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Srimanth Gunturi created YARN-1838: -------------------------------------- Summary: ATS entities api should provide ability to get entities from given id Key: YARN-1838 URL: https://issues.apache.org/jira/browse/YARN-1838 Project: Hadoop YARN Issue Type: Sub-task Components: api Reporter: Srimanth Gunturi To support pagination, we need ability to get entities from a certain ID by providing a new param called {{fromid}}. For example on a page of 10 jobs, our first call will be like [http://server:8188/ws/v1/timeline/HIVE_QUERY_ID?fields=events,primaryfilters,otherinfo&limit=11] When user hits next, we would like to call [http://server:8188/ws/v1/timeline/HIVE_QUERY_ID?fields=events,primaryfilters,otherinfo&fromid=JID11&limit=11] and continue on for further _Next_ clicks On hitting back, we will make similar calls for previous items [http://server:8188/ws/v1/timeline/HIVE_QUERY_ID?fields=events,primaryfilters,otherinfo&fromid=JID1&limit=11] {{fromid}} should be inclusive of the id given. -- This message was sent by Atlassian JIRA (v6.2#6252)