[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845626#action_12845626
 ] 

Patrick Hunt commented on ZOOKEEPER-121:
----------------------------------------

Still failing in some cases, most recent:

    [junit] 2010-03-16 00:39:13,346 - WARN  
[QuorumPeer:/0:0:0:0:0:0:0:0:11657:follo...@116] - Got zxid 0x100000059 
expected 0x1
    [junit] 2010-03-16 00:39:13,353 - INFO  
[QuorumPeer:/0:0:0:0:0:0:0:0:11657:filetxnsnap...@208] - Snapshotting: 100000153
    [junit] 2010-03-16 00:39:13,354 - FATAL 
[SyncThread:4:syncrequestproces...@148] - Severe unrecoverable error, exiting
    [junit] java.nio.channels.ClosedChannelException
    [junit]     at 
sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:91)
    [junit]     at sun.nio.ch.FileChannelImpl.position(FileChannelImpl.java:256)
    [junit]     at 
org.apache.zookeeper.server.persistence.Util.padLogFile(Util.java:214)
    [junit]     at 
org.apache.zookeeper.server.persistence.FileTxnLog.padFile(FileTxnLog.java:228)
    [junit]     at 
org.apache.zookeeper.server.persistence.FileTxnLog.append(FileTxnLog.java:206)
    [junit]     at 
org.apache.zookeeper.server.persistence.FileTxnSnapLog.append(FileTxnSnapLog.java:269)
    [junit]     at 
org.apache.zookeeper.server.ZKDatabase.append(ZKDatabase.java:435)
    [junit]     at 
org.apache.zookeeper.server.SyncRequestProcessor.run(SyncRequestProcessor.java:107)
    [junit] 2010-03-16 00:39:13,355 - FATAL 
[SyncThread:3:syncrequestproces...@148] - Severe unrecoverable error, exiting
    [junit] java.nio.channels.ClosedChannelException
    [junit]     at 
sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:91)
    [junit]     at sun.nio.ch.FileChannelImpl.position(FileChannelImpl.java:256)
    [junit]     at 
org.apache.zookeeper.server.persistence.Util.padLogFile(Util.java:214)
    [junit]     at 
org.apache.zookeeper.server.persistence.FileTxnLog.padFile(FileTxnLog.java:228)
    [junit]     at 
org.apache.zookeeper.server.persistence.FileTxnLog.append(FileTxnLog.java:206)
    [junit]     at 
org.apache.zookeeper.server.persistence.FileTxnSnapLog.append(FileTxnSnapLog.java:269)
    [junit]     at 
org.apache.zookeeper.server.ZKDatabase.append(ZKDatabase.java:435)
    [junit]     at 
org.apache.zookeeper.server.SyncRequestProcessor.run(SyncRequestProcessor.java:107)
    [junit] 2010-03-16 00:39:13,357 - INFO  
[QuorumPeer:/0:0:0:0:0:0:0:0:11658:filetxnsnap...@208] - Snapshotting: 100000153
    [junit] Running org.apache.zookeeper.test.ZooKeeperQuotaTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec


> SyncRequestProcessor is not closing log stream during shutdown
> --------------------------------------------------------------
>
>                 Key: ZOOKEEPER-121
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-121
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: server
>            Reporter: Patrick Hunt
>            Assignee: Mahadev konar
>            Priority: Blocker
>             Fix For: 3.3.0
>
>         Attachments: ZOOKEEPER-121.patch, ZOOKEEPER-121.patch, 
> ZOOKEEPER-121.patch, ZOOKEEPER-121.patch
>
>
> The SyncRequestProcessor is not closing log stream during shutdown. 
> See FIXMEs with this ID in ClientBase.java -- I've commented out the 
> assertion for the time being (checking for logs being deleted), as part of 
> this fix re-enable these asserts and also verify tests on a Windows system.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to