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

Akira AJISAKA commented on YARN-2123:
-------------------------------------

Attaching v4 patch
* Use {{StringUtils.format}} instead of {{String.format(Locale.ENGLISH, ...)}}.
* Removed yarn.util.StringHelper.percent and use StringUtils.formatPercent 
instead.

> Progress bars in Web UI always at 100% due to non-US locale
> -----------------------------------------------------------
>
>                 Key: YARN-2123
>                 URL: https://issues.apache.org/jira/browse/YARN-2123
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: webapp
>    Affects Versions: 2.3.0
>            Reporter: Johannes Simon
>            Assignee: Akira AJISAKA
>         Attachments: NaN_after_launching_RM.png, YARN-2123-001.patch, 
> YARN-2123-002.patch, YARN-2123-003.patch, fair-scheduler-ajisaka.xml, 
> screenshot-noPatch.png, screenshot-patch.png, screenshot.png, 
> yarn-site-ajisaka.xml
>
>
> In our cluster setup, the YARN web UI always shows progress bars at 100% (see 
> screenshot, progress of the reduce step is roughly at 32.82%). I opened the 
> HTML source code to check (also see screenshot), and it seems the problem is 
> that it uses a comma as decimal mark, where most browsers expect a dot for 
> floating-point numbers. This could possibly be due to localized number 
> formatting being used in the wrong place, which would also explain why this 
> bug is not always visible.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to