You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by Matteo Merli <mm...@apache.org> on 2017/05/01 04:13:39 UTC

Re: [GitHub] bookkeeper issue #116: BOOKKEEPER-1008 Move to Netty4.1

> Kishore is seeing epoll compatibility issues with nio on netty 4.1.

What do you guys mean by incompatibility?
Netty can have the event loop to work either with the regular JDK nio
select or by using JNI to call epoll directly, but it should be either
everything goes with NIO or everything goes with epoll.


On Sun, Apr 30, 2017 at 7:57 AM Venkateswara Rao Jujjuri <ju...@gmail.com>
wrote:

> Kishore is seeing epoll compatibility issues with nio on netty 4.1.
> Kishore did that go away when you moved to 4.1.9 as suggested by
> @eolivelli?
>
>
> JV
>
> On Sat, Apr 29, 2017 at 6:38 AM, eolivelli <gi...@git.apache.org> wrote:
>
> > Github user eolivelli commented on the issue:
> >
> >     https://github.com/apache/bookkeeper/pull/116
> >
> >     I got these other errors which can be due to some resource leak
> >     ```
> >
>  recoverWithoutPasswordInConf[7](org.apache.bookkeeper.client.BookieRecoveryTest)
> > Time elapsed: 0.299 sec  <<< ERROR!
> >     java.lang.IllegalStateException: failed to create a child event loop
> >             at org.apache.bookkeeper.client.BookieRecoveryTest.
> > recoverWithoutPasswordInConf(BookieRecoveryTest.java:846)
> >     Caused by: io.netty.channel.ChannelException: failed to open a new
> > selector
> >             at org.apache.bookkeeper.client.BookieRecoveryTest.
> > recoverWithoutPasswordInConf(BookieRecoveryTest.java:846)
> >     Caused by: java.io.IOException: Too many open files
> >             at org.apache.bookkeeper.client.BookieRecoveryTest.
> > recoverWithoutPasswordInConf(BookieRecoveryTest.java:846)
> >
> >     testSyncBookieRecoveryToSpecificBookie[7](org.apache.
> > bookkeeper.client.BookieRecoveryTest)  Time elapsed: 2.27 sec  <<< ERROR!
> >     java.lang.IllegalStateException: failed to create a child event loop
> >             at org.apache.bookkeeper.client.BookieRecoveryTest.setUp(
> > BookieRecoveryTest.java:112)
> >     Caused by: io.netty.channel.ChannelException: failed to open a new
> > selector
> >             at org.apache.bookkeeper.client.BookieRecoveryTest.setUp(
> > BookieRecoveryTest.java:112)
> >     Caused by: java.io.IOException: Too many open files
> >             at org.apache.bookkeeper.client.BookieRecoveryTest.setUp(
> > BookieRecoveryTest.java:112)
> >
> >     ```
> >
> >
> > ---
> > If your project is set up for it, you can reply to this email and have
> your
> > reply appear on GitHub as well. If your project does not have this
> feature
> > enabled and wishes so, or if the feature is enabled but not working,
> please
> > contact infrastructure at infrastructure@apache.org or file a JIRA
> ticket
> > with INFRA.
> > ---
> >
>
>
>
> --
> Jvrao
> ---
> First they ignore you, then they laugh at you, then they fight you, then
> you win. - Mahatma Gandhi
>