You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Sa Li <sa...@gmail.com> on 2014/11/21 17:34:42 UTC

kafka web console running error

Hi, all

I am trying to get kafka web console work, but seems it only works few
hours and fails afterwards, below is the error messages on the screen. I am
assuming something wrong with the DB, I used to swap H2 to mysql, but
didn't help. Anyone has similar problem?


-------------
.
.


   at sun.misc.Resource.getByteBuffer(Resource.java:160) ~[na:1.7.0_65]
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:436)
~[na:1.7.0_65]

        at
akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.processBatch$1(BatchingExecutor.scala:67)
        at
akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:82)
        at
akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
        at
akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
        at
scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
        at
akka.dispatch.BatchingExecutor$Batch.run(BatchingExecutor.scala:58)
        at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:42)
        at
akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386)
        at
scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
        at
scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
        at
scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
        at
scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
[ERROR] Failed to construct terminal; falling back to unsupported
java.io.IOException: Cannot run program "sh": error=24, Too many open files
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
        at java.lang.Runtime.exec(Runtime.java:617)
        at java.lang.Runtime.exec(Runtime.java:485)
        at
jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:183)
        at
jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:173)
        at
jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:168)
        at
jline.internal.TerminalLineSettings.get(TerminalLineSettings.java:72)
        at
jline.internal.TerminalLineSettings.<init>(TerminalLineSettings.java:52)
        at jline.UnixTerminal.<init>(UnixTerminal.java:31)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at java.lang.Class.newInstance(Class.java:379)
[error] a.a.ActorSystemImpl - Uncaught error from thread
[play-akka.actor.default-dispatcher-944] shutting down JVM since
'akka.jvm-exit-on-fatal-error'
java.lang.NoClassDefFoundError:
common/Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1$$anonfun$applyOrElse$1
        at
common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:75)
~[na:na]
        at
common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:74)
~[na:na]
        at
scala.runtime.AbstractPartialFunction$mcJL$sp.apply$mcJL$sp(AbstractPartialFunction.scala:33)
~[scala-library.jar:na]
        at
scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:33)
~[scala-library.jar:na]
        at
scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:25)
~[scala-library.jar:na]
        at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185)
~[scala-library.jar:na]
        at jline.TerminalFactory.getFlavor(TerminalFactory.java:168)
        at jline.TerminalFactory.create(TerminalFactory.java:81)
        at jline.TerminalFactory.get(TerminalFactory.java:159)
        at sbt.MainLoop$$anon$1.run(MainLoop.scala:19)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: error=24, Too many open files
        at java.lang.UNIXProcess.forkAndExec(Native Method)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:186)
        at java.lang.ProcessImpl.start(ProcessImpl.java:130)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
        ... 18 more

[error] a.a.ActorSystemImpl - Uncaught error from thread
[play-akka.actor.default-dispatcher-943] shutting down JVM since
'akka.jvm-exit-on-fatal-error'
java.lang.NoClassDefFoundError:
common/Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1$$anonfun$applyOrElse$1
        at
common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:75)
~[na:na]
        at
common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:74)
~[na:na]
        at
scala.runtime.AbstractPartialFunction$mcJL$sp.apply$mcJL$sp(AbstractPartialFunction.scala:33)
~[scala-library.jar:na]
        at
scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:33)
~[scala-library.jar:na]
        at
scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:25)
~[scala-library.jar:na]
        at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185)
~[scala-library.jar:na]
root@DO-mq-dev:/home/stuser/kafka-web-console#



Thanks

-- 

Alec Li

Re: kafka web console running error

Posted by Jun Rao <ju...@gmail.com>.
You will need to contact the owner of that project directly.

Thanks,

Jun

On Thu, Nov 27, 2014 at 11:40 AM, Sa Li <sa...@gmail.com> wrote:

> I am using https://github.com/claudemamo/kafka-web-console version, and do
> you mind to tell where about to make such modification?
>
> thanks
>
> Alec
>
> On Mon, Nov 24, 2014 at 11:16 PM, Yang Fang <fr...@gmail.com>
> wrote:
>
> > do you see error msg "Too many open files"? it tips you should modify
> > nofile
> >
> > On Tue, Nov 25, 2014 at 1:26 PM, Jun Rao <ju...@gmail.com> wrote:
> >
> > > Which web console are you using?
> > >
> > > Thanks,
> > >
> > > Jun
> > >
> > > On Fri, Nov 21, 2014 at 8:34 AM, Sa Li <sa...@gmail.com> wrote:
> > >
> > > > Hi, all
> > > >
> > > > I am trying to get kafka web console work, but seems it only works
> few
> > > > hours and fails afterwards, below is the error messages on the
> screen.
> > I
> > > am
> > > > assuming something wrong with the DB, I used to swap H2 to mysql, but
> > > > didn't help. Anyone has similar problem?
> > > >
> > > >
> > > > -------------
> > > > .
> > > > .
> > > >
> > > >
> > > >    at sun.misc.Resource.getByteBuffer(Resource.java:160)
> ~[na:1.7.0_65]
> > > >         at
> java.net.URLClassLoader.defineClass(URLClassLoader.java:436)
> > > > ~[na:1.7.0_65]
> > > >
> > > >         at
> > > >
> > > >
> > >
> >
> akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.processBatch$1(BatchingExecutor.scala:67)
> > > >         at
> > > >
> > > >
> > >
> >
> akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:82)
> > > >         at
> > > >
> > > >
> > >
> >
> akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
> > > >         at
> > > >
> > > >
> > >
> >
> akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
> > > >         at
> > > >
> scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
> > > >         at
> > > > akka.dispatch.BatchingExecutor$Batch.run(BatchingExecutor.scala:58)
> > > >         at
> > akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:42)
> > > >         at
> > > >
> > > >
> > >
> >
> akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386)
> > > >         at
> > > > scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
> > > >         at
> > > >
> > > >
> > >
> >
> scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
> > > >         at
> > > >
> > scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
> > > >         at
> > > >
> > > >
> > >
> >
> scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
> > > > [ERROR] Failed to construct terminal; falling back to unsupported
> > > > java.io.IOException: Cannot run program "sh": error=24, Too many open
> > > files
> > > >         at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
> > > >         at java.lang.Runtime.exec(Runtime.java:617)
> > > >         at java.lang.Runtime.exec(Runtime.java:485)
> > > >         at
> > > >
> jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:183)
> > > >         at
> > > >
> jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:173)
> > > >         at
> > > >
> jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:168)
> > > >         at
> > > > jline.internal.TerminalLineSettings.get(TerminalLineSettings.java:72)
> > > >         at
> > > >
> > jline.internal.TerminalLineSettings.<init>(TerminalLineSettings.java:52)
> > > >         at jline.UnixTerminal.<init>(UnixTerminal.java:31)
> > > >         at
> > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > > > Method)
> > > >         at
> > > >
> > > >
> > >
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> > > >         at
> > > >
> > > >
> > >
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > > >         at
> > > java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> > > >         at java.lang.Class.newInstance(Class.java:379)
> > > > [error] a.a.ActorSystemImpl - Uncaught error from thread
> > > > [play-akka.actor.default-dispatcher-944] shutting down JVM since
> > > > 'akka.jvm-exit-on-fatal-error'
> > > > java.lang.NoClassDefFoundError:
> > > >
> > > >
> > >
> >
> common/Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1$$anonfun$applyOrElse$1
> > > >         at
> > > >
> > > >
> > >
> >
> common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:75)
> > > > ~[na:na]
> > > >         at
> > > >
> > > >
> > >
> >
> common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:74)
> > > > ~[na:na]
> > > >         at
> > > >
> > > >
> > >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply$mcJL$sp(AbstractPartialFunction.scala:33)
> > > > ~[scala-library.jar:na]
> > > >         at
> > > >
> > > >
> > >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:33)
> > > > ~[scala-library.jar:na]
> > > >         at
> > > >
> > > >
> > >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:25)
> > > > ~[scala-library.jar:na]
> > > >         at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185)
> > > > ~[scala-library.jar:na]
> > > >         at jline.TerminalFactory.getFlavor(TerminalFactory.java:168)
> > > >         at jline.TerminalFactory.create(TerminalFactory.java:81)
> > > >         at jline.TerminalFactory.get(TerminalFactory.java:159)
> > > >         at sbt.MainLoop$$anon$1.run(MainLoop.scala:19)
> > > >         at java.lang.Thread.run(Thread.java:745)
> > > > Caused by: java.io.IOException: error=24, Too many open files
> > > >         at java.lang.UNIXProcess.forkAndExec(Native Method)
> > > >         at java.lang.UNIXProcess.<init>(UNIXProcess.java:186)
> > > >         at java.lang.ProcessImpl.start(ProcessImpl.java:130)
> > > >         at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
> > > >         ... 18 more
> > > >
> > > > [error] a.a.ActorSystemImpl - Uncaught error from thread
> > > > [play-akka.actor.default-dispatcher-943] shutting down JVM since
> > > > 'akka.jvm-exit-on-fatal-error'
> > > > java.lang.NoClassDefFoundError:
> > > >
> > > >
> > >
> >
> common/Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1$$anonfun$applyOrElse$1
> > > >         at
> > > >
> > > >
> > >
> >
> common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:75)
> > > > ~[na:na]
> > > >         at
> > > >
> > > >
> > >
> >
> common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:74)
> > > > ~[na:na]
> > > >         at
> > > >
> > > >
> > >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply$mcJL$sp(AbstractPartialFunction.scala:33)
> > > > ~[scala-library.jar:na]
> > > >         at
> > > >
> > > >
> > >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:33)
> > > > ~[scala-library.jar:na]
> > > >         at
> > > >
> > > >
> > >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:25)
> > > > ~[scala-library.jar:na]
> > > >         at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185)
> > > > ~[scala-library.jar:na]
> > > > root@DO-mq-dev:/home/stuser/kafka-web-console#
> > > >
> > > >
> > > >
> > > > Thanks
> > > >
> > > > --
> > > >
> > > > Alec Li
> > > >
> > >
> >
>
>
>
> --
>
> Alec Li
>

Re: kafka web console running error

Posted by Sa Li <sa...@gmail.com>.
I am using https://github.com/claudemamo/kafka-web-console version, and do
you mind to tell where about to make such modification?

thanks

Alec

On Mon, Nov 24, 2014 at 11:16 PM, Yang Fang <fr...@gmail.com> wrote:

> do you see error msg "Too many open files"? it tips you should modify
> nofile
>
> On Tue, Nov 25, 2014 at 1:26 PM, Jun Rao <ju...@gmail.com> wrote:
>
> > Which web console are you using?
> >
> > Thanks,
> >
> > Jun
> >
> > On Fri, Nov 21, 2014 at 8:34 AM, Sa Li <sa...@gmail.com> wrote:
> >
> > > Hi, all
> > >
> > > I am trying to get kafka web console work, but seems it only works few
> > > hours and fails afterwards, below is the error messages on the screen.
> I
> > am
> > > assuming something wrong with the DB, I used to swap H2 to mysql, but
> > > didn't help. Anyone has similar problem?
> > >
> > >
> > > -------------
> > > .
> > > .
> > >
> > >
> > >    at sun.misc.Resource.getByteBuffer(Resource.java:160) ~[na:1.7.0_65]
> > >         at java.net.URLClassLoader.defineClass(URLClassLoader.java:436)
> > > ~[na:1.7.0_65]
> > >
> > >         at
> > >
> > >
> >
> akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.processBatch$1(BatchingExecutor.scala:67)
> > >         at
> > >
> > >
> >
> akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:82)
> > >         at
> > >
> > >
> >
> akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
> > >         at
> > >
> > >
> >
> akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
> > >         at
> > > scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
> > >         at
> > > akka.dispatch.BatchingExecutor$Batch.run(BatchingExecutor.scala:58)
> > >         at
> akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:42)
> > >         at
> > >
> > >
> >
> akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386)
> > >         at
> > > scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
> > >         at
> > >
> > >
> >
> scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
> > >         at
> > >
> scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
> > >         at
> > >
> > >
> >
> scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
> > > [ERROR] Failed to construct terminal; falling back to unsupported
> > > java.io.IOException: Cannot run program "sh": error=24, Too many open
> > files
> > >         at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
> > >         at java.lang.Runtime.exec(Runtime.java:617)
> > >         at java.lang.Runtime.exec(Runtime.java:485)
> > >         at
> > > jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:183)
> > >         at
> > > jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:173)
> > >         at
> > > jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:168)
> > >         at
> > > jline.internal.TerminalLineSettings.get(TerminalLineSettings.java:72)
> > >         at
> > >
> jline.internal.TerminalLineSettings.<init>(TerminalLineSettings.java:52)
> > >         at jline.UnixTerminal.<init>(UnixTerminal.java:31)
> > >         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > > Method)
> > >         at
> > >
> > >
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> > >         at
> > >
> > >
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > >         at
> > java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> > >         at java.lang.Class.newInstance(Class.java:379)
> > > [error] a.a.ActorSystemImpl - Uncaught error from thread
> > > [play-akka.actor.default-dispatcher-944] shutting down JVM since
> > > 'akka.jvm-exit-on-fatal-error'
> > > java.lang.NoClassDefFoundError:
> > >
> > >
> >
> common/Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1$$anonfun$applyOrElse$1
> > >         at
> > >
> > >
> >
> common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:75)
> > > ~[na:na]
> > >         at
> > >
> > >
> >
> common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:74)
> > > ~[na:na]
> > >         at
> > >
> > >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply$mcJL$sp(AbstractPartialFunction.scala:33)
> > > ~[scala-library.jar:na]
> > >         at
> > >
> > >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:33)
> > > ~[scala-library.jar:na]
> > >         at
> > >
> > >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:25)
> > > ~[scala-library.jar:na]
> > >         at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185)
> > > ~[scala-library.jar:na]
> > >         at jline.TerminalFactory.getFlavor(TerminalFactory.java:168)
> > >         at jline.TerminalFactory.create(TerminalFactory.java:81)
> > >         at jline.TerminalFactory.get(TerminalFactory.java:159)
> > >         at sbt.MainLoop$$anon$1.run(MainLoop.scala:19)
> > >         at java.lang.Thread.run(Thread.java:745)
> > > Caused by: java.io.IOException: error=24, Too many open files
> > >         at java.lang.UNIXProcess.forkAndExec(Native Method)
> > >         at java.lang.UNIXProcess.<init>(UNIXProcess.java:186)
> > >         at java.lang.ProcessImpl.start(ProcessImpl.java:130)
> > >         at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
> > >         ... 18 more
> > >
> > > [error] a.a.ActorSystemImpl - Uncaught error from thread
> > > [play-akka.actor.default-dispatcher-943] shutting down JVM since
> > > 'akka.jvm-exit-on-fatal-error'
> > > java.lang.NoClassDefFoundError:
> > >
> > >
> >
> common/Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1$$anonfun$applyOrElse$1
> > >         at
> > >
> > >
> >
> common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:75)
> > > ~[na:na]
> > >         at
> > >
> > >
> >
> common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:74)
> > > ~[na:na]
> > >         at
> > >
> > >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply$mcJL$sp(AbstractPartialFunction.scala:33)
> > > ~[scala-library.jar:na]
> > >         at
> > >
> > >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:33)
> > > ~[scala-library.jar:na]
> > >         at
> > >
> > >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:25)
> > > ~[scala-library.jar:na]
> > >         at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185)
> > > ~[scala-library.jar:na]
> > > root@DO-mq-dev:/home/stuser/kafka-web-console#
> > >
> > >
> > >
> > > Thanks
> > >
> > > --
> > >
> > > Alec Li
> > >
> >
>



-- 

Alec Li

Re: kafka web console running error

Posted by Yang Fang <fr...@gmail.com>.
do you see error msg "Too many open files"? it tips you should modify
nofile

On Tue, Nov 25, 2014 at 1:26 PM, Jun Rao <ju...@gmail.com> wrote:

> Which web console are you using?
>
> Thanks,
>
> Jun
>
> On Fri, Nov 21, 2014 at 8:34 AM, Sa Li <sa...@gmail.com> wrote:
>
> > Hi, all
> >
> > I am trying to get kafka web console work, but seems it only works few
> > hours and fails afterwards, below is the error messages on the screen. I
> am
> > assuming something wrong with the DB, I used to swap H2 to mysql, but
> > didn't help. Anyone has similar problem?
> >
> >
> > -------------
> > .
> > .
> >
> >
> >    at sun.misc.Resource.getByteBuffer(Resource.java:160) ~[na:1.7.0_65]
> >         at java.net.URLClassLoader.defineClass(URLClassLoader.java:436)
> > ~[na:1.7.0_65]
> >
> >         at
> >
> >
> akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.processBatch$1(BatchingExecutor.scala:67)
> >         at
> >
> >
> akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:82)
> >         at
> >
> >
> akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
> >         at
> >
> >
> akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
> >         at
> > scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
> >         at
> > akka.dispatch.BatchingExecutor$Batch.run(BatchingExecutor.scala:58)
> >         at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:42)
> >         at
> >
> >
> akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386)
> >         at
> > scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
> >         at
> >
> >
> scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
> >         at
> > scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
> >         at
> >
> >
> scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
> > [ERROR] Failed to construct terminal; falling back to unsupported
> > java.io.IOException: Cannot run program "sh": error=24, Too many open
> files
> >         at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
> >         at java.lang.Runtime.exec(Runtime.java:617)
> >         at java.lang.Runtime.exec(Runtime.java:485)
> >         at
> > jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:183)
> >         at
> > jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:173)
> >         at
> > jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:168)
> >         at
> > jline.internal.TerminalLineSettings.get(TerminalLineSettings.java:72)
> >         at
> > jline.internal.TerminalLineSettings.<init>(TerminalLineSettings.java:52)
> >         at jline.UnixTerminal.<init>(UnixTerminal.java:31)
> >         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> > Method)
> >         at
> >
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> >         at
> >
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> >         at
> java.lang.reflect.Constructor.newInstance(Constructor.java:526)
> >         at java.lang.Class.newInstance(Class.java:379)
> > [error] a.a.ActorSystemImpl - Uncaught error from thread
> > [play-akka.actor.default-dispatcher-944] shutting down JVM since
> > 'akka.jvm-exit-on-fatal-error'
> > java.lang.NoClassDefFoundError:
> >
> >
> common/Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1$$anonfun$applyOrElse$1
> >         at
> >
> >
> common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:75)
> > ~[na:na]
> >         at
> >
> >
> common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:74)
> > ~[na:na]
> >         at
> >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply$mcJL$sp(AbstractPartialFunction.scala:33)
> > ~[scala-library.jar:na]
> >         at
> >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:33)
> > ~[scala-library.jar:na]
> >         at
> >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:25)
> > ~[scala-library.jar:na]
> >         at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185)
> > ~[scala-library.jar:na]
> >         at jline.TerminalFactory.getFlavor(TerminalFactory.java:168)
> >         at jline.TerminalFactory.create(TerminalFactory.java:81)
> >         at jline.TerminalFactory.get(TerminalFactory.java:159)
> >         at sbt.MainLoop$$anon$1.run(MainLoop.scala:19)
> >         at java.lang.Thread.run(Thread.java:745)
> > Caused by: java.io.IOException: error=24, Too many open files
> >         at java.lang.UNIXProcess.forkAndExec(Native Method)
> >         at java.lang.UNIXProcess.<init>(UNIXProcess.java:186)
> >         at java.lang.ProcessImpl.start(ProcessImpl.java:130)
> >         at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
> >         ... 18 more
> >
> > [error] a.a.ActorSystemImpl - Uncaught error from thread
> > [play-akka.actor.default-dispatcher-943] shutting down JVM since
> > 'akka.jvm-exit-on-fatal-error'
> > java.lang.NoClassDefFoundError:
> >
> >
> common/Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1$$anonfun$applyOrElse$1
> >         at
> >
> >
> common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:75)
> > ~[na:na]
> >         at
> >
> >
> common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:74)
> > ~[na:na]
> >         at
> >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply$mcJL$sp(AbstractPartialFunction.scala:33)
> > ~[scala-library.jar:na]
> >         at
> >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:33)
> > ~[scala-library.jar:na]
> >         at
> >
> >
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:25)
> > ~[scala-library.jar:na]
> >         at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185)
> > ~[scala-library.jar:na]
> > root@DO-mq-dev:/home/stuser/kafka-web-console#
> >
> >
> >
> > Thanks
> >
> > --
> >
> > Alec Li
> >
>

Re: kafka web console running error

Posted by Jun Rao <ju...@gmail.com>.
Which web console are you using?

Thanks,

Jun

On Fri, Nov 21, 2014 at 8:34 AM, Sa Li <sa...@gmail.com> wrote:

> Hi, all
>
> I am trying to get kafka web console work, but seems it only works few
> hours and fails afterwards, below is the error messages on the screen. I am
> assuming something wrong with the DB, I used to swap H2 to mysql, but
> didn't help. Anyone has similar problem?
>
>
> -------------
> .
> .
>
>
>    at sun.misc.Resource.getByteBuffer(Resource.java:160) ~[na:1.7.0_65]
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:436)
> ~[na:1.7.0_65]
>
>         at
>
> akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.processBatch$1(BatchingExecutor.scala:67)
>         at
>
> akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:82)
>         at
>
> akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
>         at
>
> akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59)
>         at
> scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
>         at
> akka.dispatch.BatchingExecutor$Batch.run(BatchingExecutor.scala:58)
>         at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:42)
>         at
>
> akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386)
>         at
> scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
>         at
>
> scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
>         at
> scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
>         at
>
> scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
> [ERROR] Failed to construct terminal; falling back to unsupported
> java.io.IOException: Cannot run program "sh": error=24, Too many open files
>         at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
>         at java.lang.Runtime.exec(Runtime.java:617)
>         at java.lang.Runtime.exec(Runtime.java:485)
>         at
> jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:183)
>         at
> jline.internal.TerminalLineSettings.exec(TerminalLineSettings.java:173)
>         at
> jline.internal.TerminalLineSettings.stty(TerminalLineSettings.java:168)
>         at
> jline.internal.TerminalLineSettings.get(TerminalLineSettings.java:72)
>         at
> jline.internal.TerminalLineSettings.<init>(TerminalLineSettings.java:52)
>         at jline.UnixTerminal.<init>(UnixTerminal.java:31)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>         at
>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>         at java.lang.Class.newInstance(Class.java:379)
> [error] a.a.ActorSystemImpl - Uncaught error from thread
> [play-akka.actor.default-dispatcher-944] shutting down JVM since
> 'akka.jvm-exit-on-fatal-error'
> java.lang.NoClassDefFoundError:
>
> common/Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1$$anonfun$applyOrElse$1
>         at
>
> common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:75)
> ~[na:na]
>         at
>
> common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:74)
> ~[na:na]
>         at
>
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply$mcJL$sp(AbstractPartialFunction.scala:33)
> ~[scala-library.jar:na]
>         at
>
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:33)
> ~[scala-library.jar:na]
>         at
>
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:25)
> ~[scala-library.jar:na]
>         at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185)
> ~[scala-library.jar:na]
>         at jline.TerminalFactory.getFlavor(TerminalFactory.java:168)
>         at jline.TerminalFactory.create(TerminalFactory.java:81)
>         at jline.TerminalFactory.get(TerminalFactory.java:159)
>         at sbt.MainLoop$$anon$1.run(MainLoop.scala:19)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.io.IOException: error=24, Too many open files
>         at java.lang.UNIXProcess.forkAndExec(Native Method)
>         at java.lang.UNIXProcess.<init>(UNIXProcess.java:186)
>         at java.lang.ProcessImpl.start(ProcessImpl.java:130)
>         at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
>         ... 18 more
>
> [error] a.a.ActorSystemImpl - Uncaught error from thread
> [play-akka.actor.default-dispatcher-943] shutting down JVM since
> 'akka.jvm-exit-on-fatal-error'
> java.lang.NoClassDefFoundError:
>
> common/Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1$$anonfun$applyOrElse$1
>         at
>
> common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:75)
> ~[na:na]
>         at
>
> common.Util$$anonfun$getPartitionsLogSize$3$$anonfun$apply$19$$anonfun$apply$1.applyOrElse(Util.scala:74)
> ~[na:na]
>         at
>
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply$mcJL$sp(AbstractPartialFunction.scala:33)
> ~[scala-library.jar:na]
>         at
>
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:33)
> ~[scala-library.jar:na]
>         at
>
> scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:25)
> ~[scala-library.jar:na]
>         at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185)
> ~[scala-library.jar:na]
> root@DO-mq-dev:/home/stuser/kafka-web-console#
>
>
>
> Thanks
>
> --
>
> Alec Li
>