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 8285210666 for ; Thu, 22 Jan 2015 09:41:36 +0000 (UTC) Received: (qmail 88231 invoked by uid 500); 22 Jan 2015 09:41:36 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 88186 invoked by uid 500); 22 Jan 2015 09:41:36 -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 88174 invoked by uid 99); 22 Jan 2015 09:41:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jan 2015 09:41:36 +0000 Date: Thu, 22 Jan 2015 09:41:36 +0000 (UTC) From: "Xia Hu (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-3083) Resource format isn't correct in Fair Scheduler web page 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-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xia Hu updated YARN-3083: ------------------------- Description: In my fair scheduler web page, the resources shown of each queue is like this: "<memory:65536, vCores:0>" so obviously < should be shown as "<", bet it isn't. After reading the codes, I suppose it's because method StringEscapeUtils.escapeHtml is called twice. But I only found one place. Anyway, I modify the code, and this problem seems to be solved. was: In my fair scheduler web page, the resources shown of each queue is like this: "<memory:65536, vCores:0>" so obviously "<" should be shown as "<", bet it isn't. After reading the codes, I suppose it's because method StringEscapeUtils.escapeHtml is called twice. But I only found one place. Anyway, I modify the code, and this problem seems to be solved. > Resource format isn't correct in Fair Scheduler web page > -------------------------------------------------------- > > Key: YARN-3083 > URL: https://issues.apache.org/jira/browse/YARN-3083 > Project: Hadoop YARN > Issue Type: Bug > Components: fairscheduler > Affects Versions: 2.3.0 > Reporter: Xia Hu > Labels: UI, fairscheduler > Attachments: fairscheduler-ui-format.patch > > > In my fair scheduler web page, the resources shown of each queue is like this: "<memory:65536, vCores:0>" > so obviously < should be shown as "<", bet it isn't. After reading the codes, I suppose it's because method StringEscapeUtils.escapeHtml is called twice. But I only found one place. Anyway, I modify the code, and this problem seems to be solved. -- This message was sent by Atlassian JIRA (v6.3.4#6332)