You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Matthew Rossi (Jira)" <ji...@apache.org> on 2023/12/28 10:24:00 UTC

[jira] [Created] (MAPREDUCE-7466) WordMedian example fails to compute the right median

Matthew Rossi created MAPREDUCE-7466:
----------------------------------------

             Summary: WordMedian example fails to compute the right median
                 Key: MAPREDUCE-7466
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7466
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: examples, test
            Reporter: Matthew Rossi


The WordMedian example does not correctly handle the case where the median falls exactly between two different values (e.g., the median word legth of "Hello Hadoop" should be 5.5).

This affects both the example and its test (i.e., TestWordStats).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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