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

Flavio Junqueira commented on BOOKKEEPER-251:
---------------------------------------------

Thanks for the clarifications, Sijie.

{noformat}
Premature exception when processing 0recovery will take care of the problem
{noformat}

Two things that confuse me in this message:
# "Premature" indicates that the exception is coming at the wrong time. I 
believe we mean to say that garbage-collection has ended prematurely.
# "recovery should take care of it" does not make clear if any action is 
required from the operator. We may want to make it clear.
                
> Noise error message printed when scanning entry log files those have been 
> garbage collected.
> --------------------------------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-251
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-251
>             Project: Bookkeeper
>          Issue Type: Improvement
>          Components: bookkeeper-server
>    Affects Versions: 4.1.0
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>             Fix For: 4.1.0
>
>         Attachments: BK-251.diff
>
>
> currently, due to the messy scan mechanism deployed by garbage collector 
> thread. following noise error message would be printed when scanning those 
> entry log files has been garbage collected.
> {quote}
> 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)
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to