Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10025 Various improvements in YARN log servlets
  3. YARN-10031

Create a general purpose log request with additional query parameters

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.4.0
    • yarn
    • None
    • Reviewed

    Description

      The current endpoints are robust but not very flexible with regards to filtering options. I suggest to add an endpoint which provides filtering options.
      E.g.:
      In ATS we have multiple endpoints:
      /containers/

      {containerid}/logs/{filename}
      /containerlogs/{containerid}

      /

      {filename}

      We could add @QueryParams parameters to the REST endpoints like this:
      /containers/

      {containerid}

      /logs?fileName=stderr&containerState=FAILED&nodeId=nm45

      Attachments

        1. YARN-10031.001.patch
          33 kB
          Andras Gyori
        2. YARN-10031.002.patch
          51 kB
          Andras Gyori
        3. YARN-10031.003.patch
          61 kB
          Andras Gyori
        4. YARN-10031.004.patch
          61 kB
          Andras Gyori
        5. YARN-10031.005.patch
          62 kB
          Adam Antal
        6. YARN-10031.005.patch
          62 kB
          Andras Gyori
        7. YARN-10031.006.patch
          62 kB
          Andras Gyori
        8. YARN-10031-WIP.001.patch
          23 kB
          Andras Gyori

        Activity

          People

            gandras Andras Gyori
            adam.antal Adam Antal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: