Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Error when trying to run bigben in a single node, non-docker execution. #26

Open
kvotheyr opened this issue Apr 22, 2019 · 0 comments
Open

Comments

@kvotheyr
Copy link

Hello,

I'm getting the below error when trying to run non-docker, single node execution. Any pointers to resolve this?

2019-04-22 06:46:28 ERROR [main] BigBen:59 - error in loading modules, system will exit now
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /16.254.3.170:9042 (com.datastax.driver.core.exceptions.TransportException: [/16.254.3.170:9042] Cannot connect))
        at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:232)
        at com.datastax.driver.core.ControlConnection.connect(ControlConnection.java:79)
        at com.datastax.driver.core.Cluster$Manager.negotiateProtocolVersionAndConnect(Cluster.java:1600)
        at com.datastax.driver.core.Cluster$Manager.init(Cluster.java:1518)
        at com.datastax.driver.core.Cluster.init(Cluster.java:159)
        at com.datastax.driver.core.Cluster.connectAsync(Cluster.java:330)
        at com.datastax.driver.core.Cluster.connect(Cluster.java:280)
        at com.walmartlabs.bigben.providers.domain.cassandra.CassandraModule.<clinit>(CassandraModule.kt:63)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at com.walmartlabs.bigben.utils.commons.ModuleRegistry.createModule(modules.kt:75)
        at com.walmartlabs.bigben.utils.commons.ModuleRegistry.loadModules(modules.kt:63)
        at com.walmartlabs.bigben.BigBen$Initializer.<clinit>(BigBen.kt:57)
        at com.walmartlabs.bigben.BigBen.init(BigBen.kt:42)
        at com.walmartlabs.bigben.app.App.<init>(app.kt:64)
        at com.walmartlabs.bigben.app.RunKt.app(run.kt:50)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:71)
        at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Static.call(CallerImpl.kt:80)
        at kotlin.reflect.jvm.internal.KCallableImpl.call(KCallableImpl.kt:106)
        at kotlin.reflect.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_reflect_api(KCallableImpl.kt:152)
        at kotlin.reflect.jvm.internal.KCallableImpl.callBy(KCallableImpl.kt:110)
        at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.callFunctionWithInjection(ApplicationEngineEnvironmentReloading.kt:347)
        at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.executeModuleFunction(ApplicationEngineEnvironmentReloading.kt:297)
        at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.instantiateAndConfigureApplication(ApplicationEngineEnvironmentReloading.kt:273)
        at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.createApplication(ApplicationEngineEnvironmentReloading.kt:126)
        at io.ktor.server.engine.ApplicationEngineEnvironmentReloading.start(ApplicationEngineEnvironmentReloading.kt:245)
        at io.ktor.server.netty.NettyApplicationEngine.start(NettyApplicationEngine.kt:106)
        at io.ktor.server.netty.NettyApplicationEngine.start(NettyApplicationEngine.kt:18)
        at io.ktor.server.engine.ApplicationEngine$DefaultImpls.start$default(ApplicationEngine.kt:46)
        at io.ktor.server.netty.EngineMain.main(EngineMain.kt:17)
        at com.walmartlabs.bigben.app.RunKt.main(run.kt:30)

Thanks!

@kvotheyr kvotheyr changed the title Error with starting Cassandra in a single node, non-docker execution Error when trying to run bigben in a single node, non-docker execution. Apr 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant