[
https://issues.apache.org/jira/browse/MAPREDUCE-6206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Rabe updated MAPREDUCE-6206:
---------------------------------
Attachment: MAPREDUCE-6206.patch
A quick fix which uses {{String.format}} (which uses the currently active
locale to format numbers) to build the text to check against.
> TestAggregatedTransferRate fails on non-US systems
> --------------------------------------------------
>
> Key: MAPREDUCE-6206
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6206
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: trunk
> Reporter: Jens Rabe
> Assignee: Jens Rabe
> Priority: Critical
> Fix For: trunk
>
> Attachments: MAPREDUCE-6206.patch
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> When running the test TestAggregatedTransferRate from
> org.apache.hadoop.mapreduce.task.reduce.TestShuffleScheduler on a non-US
> system (or, to be more precise, a system which does not use the point as a
> decimal separator), the test fails.
> E.g. on a German system, the progress message is:
> {{copy task(attempt_test_0000_m_000000_0 succeeded at 1,00 MB/s) Aggregated
> copy rate(1 of 10 at 1,00 MB/s)}}
> But the test checks for:
> {{copy task(attempt_test_0000_m_000000_0 succeeded at 1.00 MB/s) Aggregated
> copy rate(1 of 10 at 1.00 MB/s)}}
> which causes it to fail.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)