curiodb
curiodb copied to clipboard
127.0.0.1
Fresh Install of the latest master apears to always try to connect to 127.0.0.1 which will fail if you try and build a cluster between multiple machines (i.e over a private network).
Error Messages:
Jan 21 06:53:41 db01 bash[24020]: [WARN] [01/21/2017 06:53:41.374] [curiodb-akka.remote.default-remote-dispatcher-43] [akka.tcp://[email protected]:9001/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2Fcuriodb%40127.0.0.1%3A9001-74] Association with remote system [akka.tcp://[email protected]:9001] has failed, address is now gated for [5000] ms. Reason: [Association failed with [akka.tcp://[email protected]:9001]] Caused by: [Connection refused: /127.0.0.1:9001]
Jan 21 06:53:49 db01 bash[24020]: [WARN] [01/21/2017 06:53:49.370] [curiodb-akka.remote.default-remote-dispatcher-41] [akka.tcp://[email protected]:9001/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2Fcuriodb%4010.128.21.3%3A9001-75] Association with remote system [akka.tcp://[email protected]:9001] has failed, address is now gated for [5000] ms. Reason: [Association failed with [akka.tcp://[email protected]:9001]] Caused by: [No route to host]
Jan 21 06:53:49 db01 bash[24020]: [WARN] [01/21/2017 06:53:49.378] [curiodb-akka.remote.default-remote-dispatcher-44] [akka.tcp://[email protected]:9001/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2Fcuriodb%4010.128.21.2%3A9001-76] Association with remote system [akka.tcp://[email protected]:9001] has failed, address is now gated for [5000] ms. Reason: [Association failed with [akka.tcp://[email protected]:9001]] Caused by: [No route to host]
Jan 21 06:53:51 db01 bash[24020]: [WARN] [01/21/2017 06:53:51.401] [curiodb-akka.remote.default-remote-dispatcher-44] [akka.tcp://[email protected]:9001/system/endpointManager/reliableEndpointWriter-akka.tcp%3A%2F%2Fcuriodb%40127.0.0.1%3A9001-77] Association with remote system [akka.tcp://[email protected]:9001] has failed, address is now gated for [5000] ms. Reason: [Association failed with [akka.tcp://[email protected]:9001]] Caused by: [Connection refused: /127.0.0.1:9001]
Configuration:
curiodb {
// Addresses listening for clients.
listen = [
"tcp://10.128.21.1:6379" // TCP server using Redis protocol.
]
// Duration settings (either time value, or "off").
persist-after = 1 second // Like "save" in Redis.
sleep-after = 10 seconds // Virtual memory threshold.
expire-after = off // Automatic key expiry.
transactions {
timeout = 3 seconds // Max time a transaction may take to run.
isolation = repeatable // "repeatable", "committed", or "uncommitted".
on-error = rollback // "commit" or "rollback".
}
commands {
timeout = 1 second // Max time a command may take to run.
disabled = [SHUTDOWN] // List of disabled commands.
debug = off // Print debug info for every command run.
}
// Cluster nodes.
nodes = {
db01: "tcp://10.128.21.1:9001"
db02: "tcp://10.128.21.2:9001"
db03: "tcp://10.128.21.3:9001"
}
// Current cluster node (from the "nodes" keys above).
node = db01
}
It's also not even listening on port 6379 which is configured. This is using OpenJDK, I'll test out Suns next.
Can confirm same situation with Oracle JRE. :(