[
https://issues.apache.org/jira/browse/HADOOP-8866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466066#comment-13466066
]
Hudson commented on HADOOP-8866:
--------------------------------
Integrated in Hadoop-Hdfs-trunk-Commit #2850 (See
[https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2850/])
HADOOP-8866. SampleQuantiles#query is O(N^2) instead of O(N). Contributed
by Andrew Wang. (Revision 1391711)
Result = SUCCESS
atm : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1391711
Files :
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/util/SampleQuantiles.java
> SampleQuantiles#query is O(N^2) instead of O(N)
> -----------------------------------------------
>
> Key: HADOOP-8866
> URL: https://issues.apache.org/jira/browse/HADOOP-8866
> Project: Hadoop Common
> Issue Type: Improvement
> Affects Versions: 2.0.2-alpha
> Reporter: Andrew Wang
> Assignee: Andrew Wang
> Priority: Minor
> Fix For: 2.0.3-alpha
>
> Attachments: hdfs-3976-1.patch
>
>
> SampleQuantiles#query() does O(N) calls LinkedList#get() in a loop, rather
> than using an iterator. This makes query O(N^2), rather than O(N).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira