You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Sijie Guo (JIRA)" <ji...@apache.org> on 2012/09/03 12:47:07 UTC

[jira] [Commented] (BOOKKEEPER-383) NPE in BookieJournalTest

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

Sijie Guo commented on BOOKKEEPER-383:
--------------------------------------

currently garbage collection thread isn't bound with zookeeper after BOOKKEEPER-203. so we still start GC thread but skips real gc actions in those ledger manager who uses ZooKeeper.
                
> NPE in BookieJournalTest
> ------------------------
>
>                 Key: BOOKKEEPER-383
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-383
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>            Priority: Minor
>             Fix For: 4.2.0
>
>         Attachments: BOOKKEEPER-383.diff, BOOKKEEPER-383.diff
>
>
> Running org.apache.bookkeeper.bookie.BookieJournalTest
> Exception in thread "GarbageCollectorThread" java.lang.NullPointerException
> 	at org.apache.bookkeeper.meta.AbstractZkLedgerManager.asyncGetLedgersInSingleNode(AbstractZkLedgerManager.java:191)
> 	at org.apache.bookkeeper.meta.AbstractZkLedgerManager.getLedgersInSingleNode(AbstractZkLedgerManager.java:268)
> 	at org.apache.bookkeeper.meta.FlatLedgerManager.garbageCollectLedgers(FlatLedgerManager.java:144)
> 	at org.apache.bookkeeper.bookie.GarbageCollectorThread.doGcLedgers(GarbageCollectorThread.java:226)
> The exception is found in https://builds.apache.org/job/bookkeeper-trunk/671/console

--
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