- Я начинаю docker со ссылки https://kudu.apache.org/docs/quickstart.html#_start_the_quickstart_cluster
- $ KUDU_QUICKSTART_IP - 10.44.192.145, $ KUDU_QUICKSTART_VERSION - 1.9.0
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5351c1c7a459 apache/kudu:1.9.0 "/kudu-entrypoint.sh…" 18 minutes ago Up 18 minutes 0.0.0.0:7450->7450/tcp, 0.0.0.0:8450->8450/tcp docker_kudu-tserver-5_1
63d397d3a559 apache/kudu:1.9.0 "/kudu-entrypoint.sh…" 18 minutes ago Up 18 minutes 0.0.0.0:7350->7350/tcp, 0.0.0.0:8350->8350/tcp docker_kudu-tserver-4_1
cb0d18e63bf5 apache/kudu:1.9.0 "/kudu-entrypoint.sh…" 18 minutes ago Up 18 minutes 0.0.0.0:7250->7250/tcp, 0.0.0.0:8250->8250/tcp docker_kudu-tserver-3_1
2ff13a3f0af2 apache/kudu:1.9.0 "/kudu-entrypoint.sh…" 18 minutes ago Up 18 minutes 0.0.0.0:7050->7050/tcp, 0.0.0.0:8050->8050/tcp docker_kudu-tserver-1_1
0f4b4b49b5ea apache/kudu:1.9.0 "/kudu-entrypoint.sh…" 18 minutes ago Up 18 minutes 0.0.0.0:7150->7150/tcp, 0.0.0.0:8150->8150/tcp docker_kudu-tserver-2_1
967c85863e69 apache/kudu:1.9.0 "/kudu-entrypoint.sh…" 18 minutes ago Up 18 minutes 0.0.0.0:7051->7051/tcp, 0.0.0.0:8051->8051/tcp docker_kudu-master-1_1
1d7d018b418d apache/kudu:1.9.0 "/kudu-entrypoint.sh…" 18 minutes ago Up 18 minutes 0.0.0.0:7251->7251/tcp, 0.0.0.0:8251->8251/tcp docker_kudu-master-3_1
656a47661c50 apache/kudu:1.9.0 "/kudu-entrypoint.sh…" 18 minutes ago Up 18 minutes 0.0.0.0:7151->7151/tcp, 0.0.0.0:8151->8151/tcp docker_kudu-master-2_1
У меня куду- python версия 1.2.0, я могу подключить ведущего куду-мастера через куду- python, но не могу подключить остальных последователей куду-мастера.
In [1]: import kudu
In [2]: client = kudu.connect(host='10.44.192.145', port=7051)
W0714 15:27:28.267447 5576 openssl_util.cc:102] It appears that OpenSSL has been previously initialized by code outside of Kudu. Please use kudu::client::DisableOpenSSLInitialization() to avoid potential crashes due to conflicting initialization.
In [3]: client = kudu.connect(host='10.44.192.145', port=7151)
---------------------------------------------------------------------------
KuduBadStatus Traceback (most recent call last)
<ipython-input-3-eb1398c574f6> in <module>()
----> 1 client = kudu.connect(host='10.44.192.145', port=7151)
/usr/lib64/python2.7/site-packages/kudu/__init__.pyc in connect(host, port, admin_timeout_ms, rpc_timeout_ms)
90
91 return Client(addresses, admin_timeout_ms=admin_timeout_ms,
---> 92 rpc_timeout_ms=rpc_timeout_ms)
93
94
/usr/lib64/python2.7/site-packages/kudu/client.pyx in kudu.client.Client.__cinit__()
269 builder.default_rpc_timeout(timeout.delta)
270
--> 271 check_status(builder.Build(&self.client))
272
273 # A convenience
/usr/lib64/python2.7/site-packages/kudu/errors.pyx in kudu.errors.check_status()
60 raise KuduInvalidArgument(c_message)
61 else:
---> 62 raise KuduBadStatus(status.ToString())
KuduBadStatus: Timed out: Could not connect to the cluster: ConnectToClusterRpc(addrs: 10.44.192.145:7151, num_attempts: 242) passed its deadline: Not found: no leader found: ConnectToClusterRpc(addrs: 10.44.192.145:7151, num_attempts: 1)