hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2348) ResourceManager web UI should display locale time instead of UTC time
Date Thu, 24 Jul 2014 16:06:38 GMT

    [ https://issues.apache.org/jira/browse/YARN-2348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14073328#comment-14073328

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
* 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
* 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

View raw message