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

Cache the list of available timezones from the admin servlet

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: trunk
    • Fix Version/s: trunk
    • Component/s: None
    • Labels:

      Description

      The admin servlet has a call that returns a list of available timezones. On startup, it prepares a list of GMT offsets (e.g. "GMT-12:00", "GMT-11:00", etc), which is only generated once. But the rest of the timezones (e.g. "America/Los_Angeles", etc) are processed from TimeZone every time the admin servlet is asked for the list.

      We should refactor this to generate/process the entire list either the first time its called or at startup and then simply return the JSONArray when the admin servlet is asked for the list.

        Attachments

        1. OOZIE-1599.patch.1
          4 kB
          Sreepathi Prasanna

          Activity

            People

            • Assignee:
              sree2k Sreepathi Prasanna
              Reporter:
              rkanter Robert Kanter
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: