Giuseppe Luciano commented on YARN-2123:

The progress bar doesn't show because of 
"String percent = String.format("%.1f", app.getProgress() * 100.0F);" in 
If the language is Italian, for example, the percent is a string with the 
comma, and so the output in HTML is:
"<div class="ui-progressbar-value ui-widget-header ui-corner-left" 
style="width:82,0%"> </div>" if you change the comma this the dot it works.

> 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
>            Priority: Minor
>         Attachments: 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

Reply via email to