You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently testing some behaviors on a local dynomite cluster using Docker and Docker Compose and I'm getting a NullPointer when I try to connect to multiple hosts. When using multiple hosts like this dynomite.cluster.hosts=localhost:8102:dc1-rack1:dc1:2147483647,localhost:8103:dc1-rack1:dc1:4294967294,localhost:8104:dc1-rack2:dc1:4294967295 I get this error when running my test (just test a insertion on dynomite).
Caused by: java.lang.NullPointerException
at com.netflix.dyno.connectionpool.impl.HostsUpdater.refreshHosts(HostsUpdater.java:111)
The NullPointer comes from this point where hostFromTokenMapSupplier is Null.
@emiteze It's been a while since I spent some time using this, but from what I remember my workaround was like I said in the issue was clearing the hosts. We've been using it in production since then and no issues have come up.
I'd be interested to get back into it and try debugging it when I have some free time at work to spend on the issue.
If you figure out any new info for debugging purposes, definitely let me know here in this issue thread. I'd be curious what any maintainers might say if they happen to check on the issues here. I'm sure it's something you and I are doing wrong configuration-wise, but you never know if there's a bug somewhere in the source
I'm currently testing some behaviors on a local dynomite cluster using Docker and Docker Compose and I'm getting a NullPointer when I try to connect to multiple hosts. When using multiple hosts like this
dynomite.cluster.hosts=localhost:8102:dc1-rack1:dc1:2147483647,localhost:8103:dc1-rack1:dc1:4294967294,localhost:8104:dc1-rack2:dc1:4294967295
I get this error when running my test (just test a insertion on dynomite).The NullPointer comes from this point where hostFromTokenMapSupplier is Null.
dyno/dyno-core/src/main/java/com/netflix/dyno/connectionpool/impl/HostsUpdater.java
Lines 110 to 113 in 8af6409
@chrisbendel you said on #264 that you had this issue, just clearing hosts solved it to you?
Anyone else has some tips about this?
Thanks in advance :)
The text was updated successfully, but these errors were encountered: