zookeeper-bookkeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Nagro <jna...@hubspot.com>
Subject update to most recent snapshot results in weird logs
Date Wed, 09 May 2012 20:04:02 GMT
Hello -

I was seeing error messages related to BOOKKEEPER-229. I saw that the patch
was incorporated in, so I upgraded one of my QA bk servers, which resulted
in these sorts of error messages over and over in the logs:


2012-05-09 15:58:52,742 - INFO
 [GarbageCollectorThread:GarbageCollectorThread@466] - Extracting entry log
meta from entryLogId: 0
2012-05-09 15:58:52,743 - WARN  [GarbageCollectorThread:EntryLogger@386] -
Failed to get channel to scan entry log: 0.log
2012-05-09 15:58:52,743 - WARN
 [GarbageCollectorThread:GarbageCollectorThread@473] - Premature exception
when processing 0recovery will take care of the problem
java.io.FileNotFoundException: No file for log 0
        at
org.apache.bookkeeper.bookie.EntryLogger.findFile(EntryLogger.java:366)
        at
org.apache.bookkeeper.bookie.EntryLogger.getChannelForLogId(EntryLogger.java:340)
        at
org.apache.bookkeeper.bookie.EntryLogger.scanEntryLog(EntryLogger.java:384)
        at
org.apache.bookkeeper.bookie.GarbageCollectorThread.extractMetaFromEntryLog(GarbageCollectorThread.java:485)
        at
org.apache.bookkeeper.bookie.GarbageCollectorThread.extractMetaFromEntryLogs(GarbageCollectorThread.java:470)
        at
org.apache.bookkeeper.bookie.GarbageCollectorThread.run(GarbageCollectorThread.java:189)
2012-05-09 15:58:52,743 - INFO
 [GarbageCollectorThread:GarbageCollectorThread@466] - Extracting entry log
meta from entryLogId: 1
2012-05-09 15:58:52,743 - WARN  [GarbageCollectorThread:EntryLogger@386] -
Failed to get channel to scan entry log: 1.log
2012-05-09 15:58:52,744 - WARN
 [GarbageCollectorThread:GarbageCollectorThread@473] - Premature exception
when processing 1recovery will take care of the problem
java.io.FileNotFoundException: No file for log 1
        at
org.apache.bookkeeper.bookie.EntryLogger.findFile(EntryLogger.java:366)
        at
org.apache.bookkeeper.bookie.EntryLogger.getChannelForLogId(EntryLogger.java:340)
        at
org.apache.bookkeeper.bookie.EntryLogger.scanEntryLog(EntryLogger.java:384)
        at
org.apache.bookkeeper.bookie.GarbageCollectorThread.extractMetaFromEntryLog(GarbageCollectorThread.java:485)
        at
org.apache.bookkeeper.bookie.GarbageCollectorThread.extractMetaFromEntryLogs(GarbageCollectorThread.java:470)
        at
org.apache.bookkeeper.bookie.GarbageCollectorThread.run(GarbageCollectorThread.java:189)
2012-05-09 15:58:52,744 - INFO
 [GarbageCollectorThread:GarbageCollectorThread@466] - Extracting entry log
meta from entryLogId: 2
2012-05-09 15:58:52,744 - WARN  [GarbageCollectorThread:EntryLogger@386] -
Failed to get channel to scan entry log: 2.log
2012-05-09 15:58:52,744 - WARN
 [GarbageCollectorThread:GarbageCollectorThread@473] - Premature exception
when processing 2recovery will take care of the problem
java.io.FileNotFoundException: No file for log 2
        at
org.apache.bookkeeper.bookie.EntryLogger.findFile(EntryLogger.java:366)
        at
org.apache.bookkeeper.bookie.EntryLogger.getChannelForLogId(EntryLogger.java:340)
        at
org.apache.bookkeeper.bookie.EntryLogger.scanEntryLog(EntryLogger.java:384)
        at
org.apache.bookkeeper.bookie.GarbageCollectorThread.extractMetaFromEntryLog(GarbageCollectorThread.java:485)
        at
org.apache.bookkeeper.bookie.GarbageCollectorThread.extractMetaFromEntryLogs(GarbageCollectorThread.java:470)
        at
org.apache.bookkeeper.bookie.GarbageCollectorThread.run(GarbageCollectorThread.java:189)
2012-05-09 15:58:52,744 - INFO
 [GarbageCollectorThread:GarbageCollectorThread@466] - Extracting entry log
meta from entryLogId: 4
2012-05-09 15:58:52,744 - WARN  [GarbageCollectorThread:EntryLogger@386] -
Failed to get channel to scan entry log: 4.log
2012-05-09 15:58:52,745 - WARN
 [GarbageCollectorThread:GarbageCollectorThread@473] - Premature exception
when processing 4recovery will take care of the problem
java.io.FileNotFoundException: No file for log 4
        at
org.apache.bookkeeper.bookie.EntryLogger.findFile(EntryLogger.java:366)
        at
org.apache.bookkeeper.bookie.EntryLogger.getChannelForLogId(EntryLogger.java:340)
        at
org.apache.bookkeeper.bookie.EntryLogger.scanEntryLog(EntryLogger.java:384)
        at
org.apache.bookkeeper.bookie.GarbageCollectorThread.extractMetaFromEntryLog(GarbageCollectorThread.java:485)
        at
org.apache.bookkeeper.bookie.GarbageCollectorThread.extractMetaFromEntryLogs(GarbageCollectorThread.java:470)
        at
org.apache.bookkeeper.bookie.GarbageCollectorThread.run(GarbageCollectorThread.java:189)


Any ideas?

Thanks!

-John Nagro

Mime
View raw message