Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

        1. YARN-1838.5.patch
          66 kB
          Zhijie Shen
        2. YARN-1838.4.patch
          65 kB
          Billie Rinaldi
        3. YARN-1838.3.patch
          65 kB
          Billie Rinaldi
        4. YARN-1838.2.patch
          48 kB
          Billie Rinaldi
        5. YARN-1838.1.patch
          38 kB
          Billie Rinaldi

          Activity

            People

            • Assignee:
              billie.rinaldi Billie Rinaldi
              Reporter:
              srimanth.gunturi Srimanth Gunturi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: