[
https://issues.apache.org/jira/browse/YARN-2123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Akira AJISAKA updated YARN-2123:
--------------------------------
Attachment: YARN-2123-001.patch
Attaching a patch to use {{String.format(Locale.US, format, objects)}} instead
of {{String.format(format, objects)}}. I grepped "%.1f" and "%.2f" in yarn
source code and fixed them.
> Progress bars in Web UI always at 100% (likely 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
> Priority: Minor
> Attachments: YARN-2123-001.patch, screenshot.png
>
>
> 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)