Alejandro Abdelnur commented on YARN-2348:

Allen suggestion of making selectable from the browser makes sense. 

In Oozie, we are doing this. Because JavaScript does not have built in 
libraries for TZ handling, what we did is:

* have request parameter that specifies the desired TZ for datetime values, 
default value is UTC.
* TZ conversion happens on the server side when producing the JSON output using 
the TZ request parameter.
* have a REST call that returns the list of available TZ.
* have a dropdown in the UI that shows the available TZs (uses the rest call 
from previous bullet)
* use a cookie to remember the user selected TZ
* if the cookie is present, set the TZ request parameter with it.

> ResourceManager web UI should display locale time instead of UTC time
> ---------------------------------------------------------------------
>                 Key: YARN-2348
>                 URL: https://issues.apache.org/jira/browse/YARN-2348
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.4.1
>            Reporter: Leitao Guo
>         Attachments: 1.before-change.jpg, 2.after-change.jpg, YARN-2348.patch
> ResourceManager web UI, including application list and scheduler, displays 
> UTC time in default,  this will confuse users who do not use UTC time. This 
> web UI should display local time of users.

This message was sent by Atlassian JIRA

Reply via email to