Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1716

Add a way to stream the logs for only the last x hours

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When a user has a busy cluster and long running coordinator jobs, streaming the logs can be really slow. In this situation, the user is typically only interested in the latest logs and doesn't care about logs from a while ago. So, we can speed this up by adding a parameter or something to the log streaming API to only fetch the logs from the last x hours. The log files roll over every hour, so this should be pretty straightforward. We can also prepend a message to the logs streamed back mentioning that only the last x hours of logs are included. The existing way of getting all of the logs should remain unaffected and still work.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                puru Purshotam Shah
                Reporter:
                rkanter Robert Kanter
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: