hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6816) Progress bars in Web UI always at 100%
Date Tue, 06 Dec 2016 06:57:58 GMT

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

Akira Ajisaka commented on MAPREDUCE-6816:

Thanks [~shenyinjie] for providing a patch! YARN-2123 replaced {{StringHelper.percent(arg)}}
with {{StringUtils.formatPercent(arg, 2)}}, which is the cause of the regression. The former
does not output '%' but the latter outputs '%', so we should have used {{StringUtils.format("%.2f",
arg * 100)}} instead. Therefore, would you replace {{StringUtils.formatPercent(arg, 2)}} with
{{StringUtils.format("%.2f", arg * 100)}} instead of the removal of joining '%'?
Sorry for my mistake in YARN-2123.

> 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.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

To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org

View raw message