Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with webui #36

Open
BConcernedOnFamily opened this issue Jul 24, 2019 · 0 comments
Open

Does not work with webui #36

BConcernedOnFamily opened this issue Jul 24, 2019 · 0 comments

Comments

@BConcernedOnFamily
Copy link

I use the capillary's edition that is capillary-1.3-original.
the question is :
the webui(ip:9900) doesnot work and I run the command that is "nohup ./capillary -Dconfig.file=../conf/application.conf -Dhttp.port=9900 >> ../logs/capillary.log 2>&1 &"

the capillary's log is:
ERROR!
[^[[31merror^[[0m] application -

! @7c7dk9b6p - Internal server error, for (GET) [/] ->

play.api.Application$$anon$1: Execution exception[[SocketTimeoutException: null]]
at play.api.Application$class.handleError(Application.scala:296) ~[com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.api.DefaultApplication.handleError(Application.scala:402) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$14$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:205) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$14$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:202) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33) [org.scala-lang.scala-library-2.10.4.jar:na]
Caused by: java.net.SocketTimeoutException: null
at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:211) ~[na:1.8.0_91]
at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103) ~[na:1.8.0_91]
at java.nio.channels.Channels$ReadableByteChannelImpl.read(Channels.java:385) ~[na:1.8.0_91]
at kafka.utils.Utils$.read(Utils.scala:375) ~[org.apache.kafka.kafka_2.10-0.8.1.1.jar:na]
at kafka.network.BoundedByteBufferReceive.readFrom(BoundedByteBufferReceive.scala:54) ~[org.apache.kafka.kafka_2.10-0.8.1.1.jar:na]
[^[[31merror^[[0m] application -

! @7c7dk9b6p - Internal server error, for (GET) [/] ->

play.api.Application$$anon$1: Execution exception[[SocketTimeoutException: null]]
at play.api.Application$class.handleError(Application.scala:296) ~[com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.api.DefaultApplication.handleError(Application.scala:402) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$14$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:205) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$14$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:202) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33) [org.scala-lang.scala-library-2.10.4.jar:na]
Caused by: java.net.SocketTimeoutException: null
at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:211) ~[na:1.8.0_91]
at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103) ~[na:1.8.0_91]
at java.nio.channels.Channels$ReadableByteChannelImpl.read(Channels.java:385) ~[na:1.8.0_91]
at kafka.utils.Utils$.read(Utils.scala:375) ~[org.apache.kafka.kafka_2.10-0.8.1.1.jar:na]
at kafka.network.BoundedByteBufferReceive.readFrom(BoundedByteBufferReceive.scala:54) ~[org.apache.kafka.kafka_2.10-0.8.1.1.jar:na]
[root@tr730p25-sr logs]# vim capillary.log

! @7c7dk9b6p - Internal server error, for (GET) [/] ->

play.api.Application$$anon$1: Execution exception[[SocketTimeoutException: null]]
at play.api.Application$class.handleError(Application.scala:296) ~[com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.api.DefaultApplication.handleError(Application.scala:402) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$14$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:205) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$14$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:202) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33) [org.scala-lang.scala-library-2.10.4.jar:na]
Caused by: java.net.SocketTimeoutException: null
at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:211) ~[na:1.8.0_91]
at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103) ~[na:1.8.0_91]
at java.nio.channels.Channels$ReadableByteChannelImpl.read(Channels.java:385) ~[na:1.8.0_91]
at kafka.utils.Utils$.read(Utils.scala:375) ~[org.apache.kafka.kafka_2.10-0.8.1.1.jar:na]
at kafka.network.BoundedByteBufferReceive.readFrom(BoundedByteBufferReceive.scala:54) ~[org.apache.kafka.kafka_2.10-0.8.1.1.jar:na]
ERROR!
ERROR!
ERROR!
[^[[31merror^[[0m] application -

! @7c7dk9bdg - Internal server error, for (GET) [/] ->

play.api.Application$$anon$1: Execution exception[[IndexOutOfBoundsException: 0]]
at play.api.Application$class.handleError(Application.scala:296) ~[com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.api.DefaultApplication.handleError(Application.scala:402) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$14$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:205) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$14$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:202) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33) [org.scala-lang.scala-library-2.10.4.jar:na]
Caused by: java.lang.IndexOutOfBoundsException: 0
at scala.collection.immutable.Vector.checkRangeConvert(Vector.scala:137) ~[org.scala-lang.scala-library-2.10.4.jar:na]
"capillary.log" 28008364L, 2926637060C 27909882,2-9 99%
java.lang.ArithmeticException

[INFO] [07/23/2019 15:15:36.749] [application-akka.actor.default-dispatcher-144580] [akka://application/user/topology-reader/BDP-ICKI_ROC_KAFKA-BDP_ODS_HSY_ICKI_P_HBASE_ICKI_P-monitor] capillary.monitors.topology.delta.checkInterval.seconds is set to be 60
[INFO] [07/23/2019 15:15:36.749] [application-akka.actor.default-dispatcher-144580] [akka://application/user/topology-reader/BDP-ICKI_ROC_KAFKA-BDP_ODS_HSY_ICKI_P_HBASE_ICKI_P-monitor] find emailSender Some(Actor[akka://application/user/storm-cluster-monitor/emailSender#77820688])
ERROR!
ERROR!
ERROR!
[^[[31merror^[[0m] application -

! @7cigop75g - Internal server error, for (GET) [/] ->

play.api.Application$$anon$1: Execution exception[[IndexOutOfBoundsException: 0]]
at play.api.Application$class.handleError(Application.scala:296) ~[com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.api.DefaultApplication.handleError(Application.scala:402) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$14$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:205) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$14$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:202) [com.typesafe.play.play_2.10-2.3.4.jar:2.3.4]
at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33) [org.scala-lang.scala-library-2.10.4.jar:na]
Caused by: java.lang.IndexOutOfBoundsException: 0

    at scala.collection.immutable.Vector.checkRangeConvert(Vector.scala:137) ~[org.scala-lang.scala-library-2.10.4.jar:na]
    at scala.collection.immutable.Vector.apply(Vector.scala:127) ~[org.scala-lang.scala-library-2.10.4.jar:na]
    at utils.KafkaApi$$anonfun$3.apply(KafkaApi.scala:65) ~[capillary.capillary-1.3.jar:1.3]
    at utils.KafkaApi$$anonfun$3.apply(KafkaApi.scala:36) ~[capillary.capillary-1.3.jar:1.3]
    at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) ~[org.scala-lang.scala-library-2.10.4.jar:na]

the capillary's conf is:
capillary.zookeepers="tr123zk:2181,tr234zk:2181,tr345zk:2181"
capillary.kafka.zkroot="/kafka-product"
capillary.storm.zkroot="/storm-kafka-topology"
capillary.storm.ui.url="http://tr123zk:18080"
capillary.email.smtp.host="smtp*****.com"
capillary.email.from="y*****[email protected]"
capillary.email.username=yzli
capillary.email.password="12345"
capillary.email.receivers.path="/capillary/email-receivers"
capillary.monitors.cluster.checkInterval.seconds=30
capillary.monitors.topology.checkInterval.seconds=60
capillary.monitors.topology.delta.checkInterval.seconds=60
capillary.monitors.topology.delta.statisticRange.seconds = 3600
capillary.monitors.topology.delta.warning.maxNumber=1000000
include "application-local.conf"

storm's edition is apache-storm-1.0.0
kafka's edition is kafka_2.11-0.10.0.0
and the storm and the kafka are OK.

please give me any tips to solve this problem, I tried my best to deal with it but not to solve it.

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant