You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Sreepathi Prasanna (JIRA)" <ji...@apache.org> on 2014/08/06 10:11:13 UTC

[jira] [Updated] (OOZIE-1599) Cache the list of available timezones from the admin servlet

     [ https://issues.apache.org/jira/browse/OOZIE-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sreepathi Prasanna updated OOZIE-1599:
--------------------------------------

    Attachment: OOZIE-1599.patch.0

> Cache the list of available timezones from the admin servlet
> ------------------------------------------------------------
>
>                 Key: OOZIE-1599
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1599
>             Project: Oozie
>          Issue Type: Improvement
>    Affects Versions: trunk
>            Reporter: Robert Kanter
>              Labels: newbie
>             Fix For: trunk
>
>         Attachments: OOZIE-1599.patch.0
>
>
> 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.  



--
This message was sent by Atlassian JIRA
(v6.2#6252)