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

Akira Ajisaka commented on MAPREDUCE-6816:
------------------------------------------

Thanks [~shenyinjie] for the quick update. Would you fix TaskPage.java as well?
{code:title=TaskPage.java}
        String progress = StringUtils.formatPercent(ta.getProgress() / 100, 2);
{code}
should be
{code}
        String progress = StringUtils.format("%.2f", ta.getProgress());
{code}
I'm +1 if that is addressed.

> Progress bars in Web UI always at 100% 
> ---------------------------------------
>
>                 Key: MAPREDUCE-6816
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6816
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: webapps
>            Reporter: Shen Yinjie
>            Assignee: Shen Yinjie
>            Priority: Blocker
>         Attachments: MAPREDUCE-6816.01.patch, MAPREDUCE-6816.02.patch, 
> MAPREDUCE-6816.03.patch, MAPREDUCE-6816.patch, pre.png
>
>
> YARN web UI always shows progress bars at 100% (see screenshot, progress of 
> the reduce step is roughly at 40.00%). I opened the HTML source code to check 
> (also see screenshot), and it seems the problem is that it uses "%%" ,which 
> cannot be recognized. This is due to the output of {{StringUtils.format()}} 
> contains '%', while in *Block.java use  {{join()}} add an extra '%'.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to