hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (HADOOP-3442) QuickSort may get into unbounded recursion
Date Thu, 05 Jun 2008 18:09:45 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602731#action_12602731
] 

szetszwo edited comment on HADOOP-3442 at 6/5/08 11:08 AM:
-------------------------------------------------------------------------

I forgot >>> is unsigned right shift, so (p+r)>>>1 won't be overflow.  However,
if p+r < 0, it is a problem.

      was (Author: szetszwo):
    I forgot >>> is unsigned right shift, so p+r won't be overflow.  However, if
p+r < 0, it is a problem.
  
> QuickSort may get into unbounded recursion
> ------------------------------------------
>
>                 Key: HADOOP-3442
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3442
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.17.0
>            Reporter: Runping Qi
>            Assignee: Chris Douglas
>         Attachments: 3442-0.patch, 3442-0v17.patch, CheckSortBuffer.java, HADOOP-3442.patch,
overflow.zip, spillbuffers.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message