Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.
lagom lagom의 online-auction-java프로젝트 실행시 "Could not find Cassandra contact points, due to: ServiceLocator is not bound" 경고 발생시 조치사항
lagom에서 내부적으로 persistence로 사용하는 cassandra모듈 라이브러리가 없어서 발생하는 문제이므로 build.sbt에 다음을 추가해준다.
libraryDependencies ++= Seq(lagomJavadslPersistence)
------------------오류내용---------
LF4J: com.google.inject.internal.BytecodeGen
SLF4J: The following set of substitute loggers may have been accessed
SLF4J: during the initialization phase. Logging calls during this
SLF4J: phase were not honored. However, subsequent logging calls to these
SLF4J: loggers will work as normally expected.
SLF4J: See also http://www.slf4j.org/codes.html#substituteLogger
[warn] c.l.l.i.p.c.ServiceLocatorSessionProvider - Could not find Cassandra contact points, due to: ServiceLocator is not bound
[warn] a.k.KafkaConsumerActor - Consumer interrupted with WakeupException after timeout. Message: null. Current value of akka.kafka.consumer.wakeup-timeout is 3000 milliseconds
[warn] a.k.KafkaConsumerActor - Consumer interrupted with WakeupException after timeout. Message: null. Current value of akka.kafka.consumer.wakeup-timeout is 3000 milliseconds
[warn] c.l.l.i.j.r.ServiceRegistryServiceLocator - Service name=[elastic-search] was not found. Hint: Maybe it was not registered?
[error] c.l.l.i.b.k.KafkaSubscriberActor - Topic subscription interrupted due to failure: [java.lang.IllegalStateException: Service elastic-search was not found by service locator]
[error] a.a.OneForOneStrategy - Service elastic-search was not found by service locator
java.lang.IllegalStateException: Service elastic-search was not found by service locator
at com.lightbend.lagom.internal.client.ClientServiceCallInvoker$$anonfun$doInvoke$2.apply(ClientServiceCallInvoker.scala:75) ~[lagom-client_2.11-1.3.5.jar:1.3.5]
at com.lightbend.lagom.internal.client.ClientServiceCallInvoker$$anonfun$doInvoke$2.apply(ClientServiceCallInvoker.scala:72) ~[lagom-client_2.11-1.3.5.jar:1.3.5]
at scala.util.Success$$anonfun$map$1.apply(Try.scala:237) ~[scala-library-2.11.8.jar:1.0.1]
at scala.util.Try$.apply(Try.scala:192) ~[scala-library-2.11.8.jar:1.0.1]
at scala.util.Success.map(Try.scala:237) ~[scala-library-2.11.8.jar:1.0.1]
at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:237) ~[scala-library-2.11.8.jar:na]
at scala.concurrent.Future$$anonfun$map$1.apply(Future.scala:237) ~[scala-library-2.11.8.jar:na]
at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) ~[scala-library-2.11.8.jar:na]
at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55) ~[akka-actor_2.11-2.4.19.jar:na]
at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91) ~[akka-actor_2.11-2.4.19.jar:na]
댓글 0
번호 | 제목 | 날짜 | 조회 수 |
---|---|---|---|
11 | lombok설치방법 | 2020.06.20 | 358 |
10 | embedded-cassandra의 data 저장위치 | 2019.06.09 | 1178 |
9 | scala-eclipse 다운로드 | 2019.06.09 | 395 |
8 | maven을 이용하여 Hello world 서비스 자동 생성시 HelloServiceImpl.java에서 사용하는 getMessage() 와 getName() 이 정의되지 않은 오류가 발생시 조치방법 | 2018.01.19 | 872 |
7 | Lagom에서 제공하는 Maven을 이용한 Hello프로젝트 자동생성 및 실행 | 2018.01.19 | 337 |
6 | lagom에서 제공하는 초기 생성기능을 이용하여 생성한 프로젝트의 소스 파악 | 2018.01.16 | 855 |
5 | windows7에서 lagom의 hello world를 빌드하여 실행하는 경우의 로그(mvn lagom:runAll -Dscala.binary.version=2.11) | 2017.12.22 | 376 |
4 | Lagom프레임웍에서 제공하는 HelloWorld 테스트를 수행시 [unknown-version]오류가 발생하면서 빌드가 되지 않는 경우 조치사항 | 2017.12.22 | 333 |
3 | lagom-windows용 build.sbt파일 내용 | 2017.10.12 | 263 |
2 | lagom-linux용 build.sbt파일 내용 | 2017.10.12 | 1515 |
» | lagom의 online-auction-java프로젝트 실행시 "Could not find Cassandra contact points, due to: ServiceLocator is not bound" 경고 발생시 조치사항 | 2017.10.12 | 395 |