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

Murtadha Hubail reassigned ASTERIXDB-2327:
------------------------------------------

    Assignee: Murtadha Hubail

> An AsterixDB node cannot start with java.lang.StackOverflowError
> ----------------------------------------------------------------
>
>                 Key: ASTERIXDB-2327
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2327
>             Project: Apache AsterixDB
>          Issue Type: Bug
>            Reporter: Taewoo Kim
>            Assignee: Murtadha Hubail
>            Priority: Major
>         Attachments: nc-4.log.gz
>
>
> On the Cloudberry cluster, after I shutdown the cluster and tried to bring it 
> again, one of server showed the following exception.
>  
> {code:java}
> 20:05:41.700 [Executor-6:4] WARN 
> org.apache.asterix.transaction.management.service.recovery.AbstractCheckpointManager
>  - Reading checkpoint file: /mnt/ssd/scrat
> ch/waans11/asterixdb/txnlog/checkpoint_1520910173665
> 20:05:41.790 [Executor-6:4] ERROR 
> org.apache.asterix.app.replication.message.RegistrationTasksResponseMessage - 
> Failed during startup task
> java.lang.StackOverflowError: null
> at java.util.HashMap$EntryIterator.<init>(HashMap.java:1461) ~[?:1.8.0]
> at java.util.HashMap$EntrySet.iterator(HashMap.java:1005) ~[?:1.8.0]
> at 
> org.apache.asterix.app.nc.RecoveryManager.freeJobsCachedEntities(RecoveryManager.java:556)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.access$200(RecoveryManager.java:91) 
> ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.writeCurrentPartitionToDisk(RecoveryManager.java:929)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9
> .4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.spillToDiskAndfreeMemory(RecoveryManager.java:840)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-
> SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.freeJobsCachedEntities(RecoveryManager.java:559)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.access$200(RecoveryManager.java:91) 
> ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.writeCurrentPartitionToDisk(RecoveryManager.java:929)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9
> .4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.spillToDiskAndfreeMemory(RecoveryManager.java:840)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-
> SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.freeJobsCachedEntities(RecoveryManager.java:559)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.access$200(RecoveryManager.java:91) 
> ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.writeCurrentPartitionToDisk(RecoveryManager.java:929)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9
> .4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.spillToDiskAndfreeMemory(RecoveryManager.java:840)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-
> SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.freeJobsCachedEntities(RecoveryManager.java:559)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.access$200(RecoveryManager.java:91) 
> ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.writeCurrentPartitionToDisk(RecoveryManager.java:929)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9
> .4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.spillToDiskAndfreeMemory(RecoveryManager.java:840)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-
> SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.freeJobsCachedEntities(RecoveryManager.java:559)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.access$200(RecoveryManager.java:91) 
> ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.writeCurrentPartitionToDisk(RecoveryManager.java:929)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9
> .4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.spillToDiskAndfreeMemory(RecoveryManager.java:840)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-
> SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.freeJobsCachedEntities(RecoveryManager.java:559)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.access$200(RecoveryManager.java:91) 
> ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.writeCurrentPartitionToDisk(RecoveryManager.java:929)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9
> .4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.spillToDiskAndfreeMemory(RecoveryManager.java:840)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-
> SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.freeJobsCachedEntities(RecoveryManager.java:559)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.access$200(RecoveryManager.java:91) 
> ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.writeCurrentPartitionToDisk(RecoveryManager.java:929)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9
> .4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.spillToDiskAndfreeMemory(RecoveryManager.java:840)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-
> SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.freeJobsCachedEntities(RecoveryManager.java:559)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.access$200(RecoveryManager.java:91) 
> ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.writeCurrentPartitionToDisk(RecoveryManager.java:929)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9
> .4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.spillToDiskAndfreeMemory(RecoveryManager.java:840)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-
> SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.freeJobsCachedEntities(RecoveryManager.java:559)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager.access$200(RecoveryManager.java:91) 
> ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.writeCurrentPartitionToDisk(RecoveryManager.java:929)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9
> .4-SNAPSHOT]
> at 
> org.apache.asterix.app.nc.RecoveryManager$JobEntityCommits.spillToDiskAndfreeMemory(RecoveryManager.java:840)
>  ~[asterix-app-0.9.4-SNAPSHOT.jar:0.9.4-
> SNAPSHOT]{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to