You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Dhiraj Soni (Jira)" <ji...@apache.org> on 2021/02/06 05:03:00 UTC

[jira] [Created] (LIVY-805) Livy starts throwing java.lang.IllegalStateException: failed to create a child event loop

Dhiraj Soni created LIVY-805:
--------------------------------

             Summary: Livy starts throwing java.lang.IllegalStateException: failed to create a child event loop
                 Key: LIVY-805
                 URL: https://issues.apache.org/jira/browse/LIVY-805
             Project: Livy
          Issue Type: Bug
          Components: Server
    Affects Versions: 0.7.0
         Environment: EMR 6.2.0
            Reporter: Dhiraj Soni
         Attachments: livy_webserver_logs.txt

I have a worker which keeps launching spark sessions and polling for its completion. This runs fine for a while but then suddenly Livy starts throwing 

 

```

java.lang.IllegalStateException: failed to create a child event loop
 at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:88)
 at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:58)
 at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:47)
 at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:59)
 at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:77)
 at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:72)
 at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:59)

```

Full stack trace attached

 

There aren't a lot of concurrent sessions running as well. At most 5 sessions running concurrently.

This happens intermittently.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)