You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Koji Noguchi (JIRA)" <ji...@apache.org> on 2013/01/29 22:41:12 UTC

[jira] [Updated] (PIG-3147) Spill failing with "java.lang.RuntimeException: InternalCachedBag.spill() should not be called"

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

Koji Noguchi updated PIG-3147:
------------------------------

    Attachment: pig-3147-v01.txt

Reading PIG-975, InternalCachedBag should not register with SpillableMemoryManager.

This is just a pure guess, but uploading a patch that takes out markSpillableIfNecessary from InternalCachedBag.java.
                
> Spill failing with "java.lang.RuntimeException: InternalCachedBag.spill() should not be called"
> -----------------------------------------------------------------------------------------------
>
>                 Key: PIG-3147
>                 URL: https://issues.apache.org/jira/browse/PIG-3147
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.11
>            Reporter: Koji Noguchi
>            Priority: Blocker
>         Attachments: pig-3147-v01.txt
>
>
> Tried 0.11 jar with spilling, my job failed to spill with the following stack trace.  Anyone else seeing this?
> {noformat}
> java.lang.RuntimeException: InternalCachedBag.spill() should not be called
> 	at org.apache.pig.data.InternalCachedBag.spill(InternalCachedBag.java:167)
> 	at org.apache.pig.impl.util.SpillableMemoryManager.handleNotification(SpillableMemoryManager.java:243)
> 	at sun.management.NotificationEmitterSupport.sendNotification(NotificationEmitterSupport.java:138)
> 	at sun.management.MemoryImpl.createNotification(MemoryImpl.java:171)
> 	at sun.management.MemoryPoolImpl$PoolSensor.triggerAction(MemoryPoolImpl.java:272)
> 	at sun.management.Sensor.trigger(Sensor.java:120)
> Exception in thread "Low Memory Detector" java.lang.InternalError: Error in invoking listener
> 	at sun.management.NotificationEmitterSupport.sendNotification(NotificationEmitterSupport.java:141)
> 	at sun.management.MemoryImpl.createNotification(MemoryImpl.java:171)
> 	at sun.management.MemoryPoolImpl$PoolSensor.triggerAction(MemoryPoolImpl.java:272)
> 	at sun.management.Sensor.trigger(Sensor.java:120)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira