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

Hao Xia commented on MAPREDUCE-6343:
------------------------------------

Instead of allowing larger than 2 PiB heap (which is unrealistic anyway), a 
less intrusive fix could be using a long temp variable when parsing, and cast 
the final value back to int.

> JobConf.parseMaximumHeapSizeMB() fails to parse value greater than 2GB 
> expressed in bytes
> -----------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6343
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6343
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Hao Xia
>
> It currently tries to parse the value as an integer, which blows up whenever 
> the value is greater than 2GB and expressed in bytes.



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

Reply via email to