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

Hadoop QA commented on BOOKKEEPER-695:
--------------------------------------

Testing JIRA BOOKKEEPER-695


Patch 
[0001-BOOKKEEPER-695-Some-entry-logs-are-not-removed-from-.patch|https://issues.apache.org/jira/secure/attachment/12724290/0001-BOOKKEEPER-695-Some-entry-logs-are-not-removed-from-.patch]
 downloaded at Thu Apr  9 18:30:17 UTC 2015

----------------------------

{color:green}+1 PATCH_APPLIES{color}
{color:green}+1 CLEAN{color}
{color:green}+1 RAW_PATCH_ANALYSIS{color}
.    {color:green}+1{color} the patch does not introduce any @author tags
.    {color:green}+1{color} the patch does not introduce any tabs
.    {color:green}+1{color} the patch does not introduce any trailing spaces
.    {color:green}+1{color} the patch does not introduce any line longer than 
120
.    {color:green}+1{color} the patch does adds/modifies 1 testcase(s)
{color:green}+1 RAT{color}
.    {color:green}+1{color} the patch does not seem to introduce new RAT 
warnings
{color:green}+1 JAVADOC{color}
.    {color:green}+1{color} the patch does not seem to introduce new Javadoc 
warnings
{color:green}+1 COMPILE{color}
.    {color:green}+1{color} HEAD compiles
.    {color:green}+1{color} patch compiles
.    {color:green}+1{color} the patch does not seem to introduce new javac 
warnings
{color:green}+1 FINDBUGS{color}
.    {color:green}+1{color} the patch does not seem to introduce new Findbugs 
warnings
{color:red}-1 TESTS{color}
.    Tests run: 949
.    Tests failed: 1
.    Tests errors: 0

.    The patch failed the following testcases:

.      testSimpleChat(org.apache.hedwig.jms.BasicJMSTest)

{color:green}+1 DISTRO{color}
.    {color:green}+1{color} distro tarball builds with the patch 

----------------------------
{color:red}*-1 Overall result, please check the reported -1(s)*{color}


The full output of the test-patch run is available at

.   https://builds.apache.org/job/bookkeeper-trunk-precommit-build/915/

> Some entry logs are not removed from the bookie storage
> -------------------------------------------------------
>
>                 Key: BOOKKEEPER-695
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-695
>             Project: Bookkeeper
>          Issue Type: Bug
>    Affects Versions: 4.3.0
>            Reporter: Matteo Merli
>            Assignee: Matteo Merli
>            Priority: Minor
>             Fix For: 4.4.0
>
>         Attachments: 
> 0001-BOOKKEEPER-695-Some-entry-logs-are-not-removed-from-.patch
>
>
> Some entry logs appear to be truncated (possible at a momemnt when the bookie
> was shut down) and the compaction is never getting rid of them:
> {code}
> 00:00:06.448 [GarbageCollectorThread] INFO 
> o.a.b.bookie.GarbageCollectorThread - Extracting entry log meta from 
> entryLogId: 1497
> 00:00:07.140 [GarbageCollectorThread] WARN  
> o.a.b.bookie.GarbageCollectorThread - Premature exception when processing 
> 1497 recovery will take care of the problem
> java.io.IOException: Short read for ledger entry from entryLog 
> 1497@718702792(31356!=32840)
>         at 
> org.apache.bookkeeper.bookie.EntryLogger.scanEntryLog(EntryLogger.java:514) 
> ~[bookkeeper-server-4.2.1.15.jar:4.2.2-SNAPSHOT]
>         at 
> org.apache.bookkeeper.bookie.GarbageCollectorThread.extractMetaFromEntryLog(GarbageCollectorThread.java:572)
>  [bookkeeper-server-4.2.1.15.jar:4.2.2-SNAPSHOT]
>         at 
> org.apache.bookkeeper.bookie.GarbageCollectorThread.extractMetaFromEntryLogs(GarbageCollectorThread.java:549)
>  [bookkeeper-server-4.2.1.15.jar:4.2.2-SNAPSHOT]
>         at 
> org.apache.bookkeeper.bookie.GarbageCollectorThread.run(GarbageCollectorThread.java:268)
>  [bookkeeper-server-4.2.1.15.jar:4.2.2-SNAPSHOT]
> {code}
> These entry logs are not being removed: 
> {code}
> $ ll -h *.log
> -rw-r--r-- 1 yahoo users 686M Jul 17 10:45 5d9.log
> -rw-r--r-- 1 yahoo users 634M Jul 27 19:31 b2d.log
> -rw-r--r-- 1 yahoo users 1.5G Jul 28 15:22 b35.log
> -rw-r--r-- 1 yahoo users 2.0G Aug  4 04:57 dbd.log
> -rw-r--r-- 1 yahoo users 2.0G Aug  4 04:58 dbe.log
> .....
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to