Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-524

Bookie journal filesystem gets full after SyncThread is terminated with exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 4.2.0
    • 4.2.0
    • bookkeeper-server
    • None

    Description

      The SyncThread get a NPE while the rest of the bookie is still running. This causes the journal gc to be stopped and the filesystem get full.

      Tue Dec 18 17:01:18 2012: Exception in thread "SyncThread" java.lang.NullPointerException
      Tue Dec 18 17:01:18 2012: at org.apache.bookkeeper.bookie.LedgerCacheImpl.getLedgerEntryPage(LedgerCacheImpl.java:153)
      Tue Dec 18 17:01:18 2012: at org.apache.bookkeeper.bookie.LedgerCacheImpl.flushLedger(LedgerCacheImpl.java:421)
      Tue Dec 18 17:01:18 2012: at org.apache.bookkeeper.bookie.LedgerCacheImpl.flushLedger(LedgerCacheImpl.java:363)
      Tue Dec 18 17:01:18 2012: at org.apache.bookkeeper.bookie.InterleavedLedgerStorage.flush(InterleavedLedgerStorage.java:148)
      Tue Dec 18 17:01:18 2012: at org.apache.bookkeeper.bookie.Bookie$SyncThread.run(Bookie.java:221)

      Attachments

        1. 0001-BOOKKEEPER-524-Bookie-journal-filesystem-gets-full-a.patch
          6 kB
          Matteo Merli
        2. 0001-BOOKKEEPER-524-Bookie-journal-filesystem-gets-full-a.patch
          1 kB
          Matteo Merli
        3. BOOKKEEPER-524.patch
          7 kB
          Flavio Paiva Junqueira
        4. BOOKKEEPER-524.patch
          7 kB
          Flavio Paiva Junqueira
        5. BOOKKEEPER-524.patch
          7 kB
          Flavio Paiva Junqueira
        6. BOOKKEEPER-524.patch
          7 kB
          Flavio Paiva Junqueira

        Activity

          People

            mmerli Matteo Merli
            mmerli Matteo Merli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: