[ https://issues.apache.org/jira/browse/PIG-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15822146#comment-15822146 ]
Koji Noguchi commented on PIG-4260: ----------------------------------- {code} protected void warn(String msg, Enum warningEnum, Exception e) { + warn(msg, warningEnum, e); + } + + protected void warn(String msg, Enum warningEnum, Throwable e) { {code} I think this would create an infinite loop with stackoverflow when called with {{Exception}}. {{warn(msg, warningEnum, (Throwable) e);}} ? > SpillableMemoryManager.spill eats Exception > ------------------------------------------- > > Key: PIG-4260 > URL: https://issues.apache.org/jira/browse/PIG-4260 > Project: Pig > Issue Type: Bug > Components: impl > Reporter: Daniel Dai > Assignee: Rohini Palaniswamy > Fix For: 0.17.0, 0.16.1 > > Attachments: PIG-4260-1.patch, PIG-4260-2-nowhitespacechanges.patch, > PIG-4260-2.patch > > > Found by Rohini when working on PIG-4250. > bq. If there is a exception during spill() called by SpillableMemoryManager > it will be just ignored. We do not track that there was an exception during > spill and throw that back when the bag is accessed next time -- This message was sent by Atlassian JIRA (v6.3.4#6332)