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

Hudson commented on HADOOP-13202:
---------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #10115 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/10115/])
HADOOP-13202. Avoid possible overflow in (aajisaka: rev 
c2bcffb34ebe4399b523a44f69d23761648bd0c4)
* 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/bloom/TestBloomFilters.java
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/bloom/BloomFilter.java


> Avoid possible overflow in org.apache.hadoop.util.bloom.BloomFilter#getNBytes
> -----------------------------------------------------------------------------
>
>                 Key: HADOOP-13202
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13202
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 2.7.2
>            Reporter: zhengbing li
>            Assignee: Kai Sasaki
>             Fix For: 2.8.0, 2.7.4, 3.0.0-alpha2
>
>         Attachments: HADOOP-13202.01.patch, HADOOP-13202.02.patch, 
> HADOOP-13202.03.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Current implementation:
> return (vectorSize + 7) / 8;
> when vectorSize is 2147483647(the max value of Int), error 
> :"java.lang.NegativeArraySizeException" will report 
> the implementation might be changed
> return (int)(((long)vectorSize + 7) / 8);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to