Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 659F7117CE for ; Thu, 24 Jul 2014 16:06:39 +0000 (UTC) Received: (qmail 2496 invoked by uid 500); 24 Jul 2014 16:06:38 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 2457 invoked by uid 500); 24 Jul 2014 16:06:38 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 2443 invoked by uid 99); 24 Jul 2014 16:06:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jul 2014 16:06:38 +0000 Date: Thu, 24 Jul 2014 16:06:38 +0000 (UTC) From: "Alejandro Abdelnur (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-2348) ResourceManager web UI should display locale time instead of UTC time MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 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 (v6.2#6252)