[
https://issues.apache.org/jira/browse/BOOKKEEPER-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flavio Junqueira updated BOOKKEEPER-22:
---------------------------------------
Priority: Blocker (was: Critical)
> Exception in LedgerCache causes addEntry request to fail
> --------------------------------------------------------
>
> Key: BOOKKEEPER-22
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-22
> Project: Bookkeeper
> Issue Type: Bug
> Reporter: Flavio Junqueira
> Priority: Blocker
> Attachments: BOOKKEEPER-22.patch
>
>
> The following exception causes a client to stall:
> {noformat}
> WARN - [NIOServerFactory:NIOServerFactory@123] - Exception in server socket
> loop: /0.0.0.0
> java.util.NoSuchElementException
> at java.util.HashMap$HashIterator.nextEntry(HashMap.java:796)
> at java.util.HashMap$EntryIterator.next(HashMap.java:834)
> at java.util.HashMap$EntryIterator.next(HashMap.java:832)
> at
> org.apache.bookkeeper.bookie.LedgerCache.grabCleanPage(LedgerCache.java:429)
> at
> org.apache.bookkeeper.bookie.LedgerCache.putEntryOffset(LedgerCache.java:133)
> at
> org.apache.bookkeeper.bookie.LedgerDescriptor.addEntry(LedgerDescriptor.java:84)
> at org.apache.bookkeeper.bookie.Bookie.addEntry(Bookie.java:477)
> at
> org.apache.bookkeeper.proto.BookieServer.processPacket(BookieServer.java:108)
> at
> org.apache.bookkeeper.proto.NIOServerFactory$Cnxn.readRequest(NIOServerFactory.java:309)
> at
> org.apache.bookkeeper.proto.NIOServerFactory$Cnxn.doIO(NIOServerFactory.java:207)
> at
> org.apache.bookkeeper.proto.NIOServerFactory.run(NIOServerFactory.java:118)
> {noformat}
> The client remains connected to the bookie, but never receives a response to
> the addEntry, causing the client pipeline to stall.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira