[ 
https://issues.apache.org/jira/browse/TEZ-3666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ming Ma updated TEZ-3666:
-------------------------
    Attachment: TEZ-3666.patch

Here is the draft patch. The code path with the issue is only used by 
FairShuffleVertexManager. Besides the actual fix, also added additional 
loggings for the estimated partition stats and how partitions are assigned to 
destination tasks.

> Integer overflow in ShuffleVertexManagerBase
> --------------------------------------------
>
>                 Key: TEZ-3666
>                 URL: https://issues.apache.org/jira/browse/TEZ-3666
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Ming Ma
>         Attachments: TEZ-3666.patch
>
>
> In function getExpectedStatsInAtIndex, {{statsInMB[index] * numTasks / 
> numVMEventsReceived}} could cause Integer overflow, for example when 
> statsInMB[index]  == 30000 and numTasks == 200000.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to