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

Give thread pools a meaningful name in CallableQueueService and SchedulerService

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.3.0
    • core
    • None

    Description

      In Oozie, we have two thread pools. One is used by SchedulerService and another is used by CallableQueueService. These are named something like pool-X-thread-Y.

      Even though thread names are not logged (usually), it can still be useful in case of thread dumps and tests, where we can see where a particular XCommand is executed (see OOZIE-2564).

      Suggested names:

      • CallableQueueService: CallableQueue-thread-N (or just CallableQueue-N)
      • Scheduler: Scheduler-thread-N (or just Scheduler-N)

      Attachments

        1. OOZIE-2603-002.patch
          5 kB
          Peter Bacsko
        2. OOZIE-2603-001.patch
          4 kB
          Peter Bacsko

        Activity

          People

            pbacsko Peter Bacsko
            pbacsko Peter Bacsko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: