changxue created IOTDB-4760:
-------------------------------
Summary: [connection]connect iotdb cluster with the nodUrls method
of session builder, failed
Key: IOTDB-4760
URL: https://issues.apache.org/jira/browse/IOTDB-4760
Project: Apache IoTDB
Issue Type: Bug
Affects Versions: 0.14.0-SNAPSHOT
Reporter: changxue
Assignee: Haonan Hou
[connection]connect iotdb cluster with the nodUrls method of session builder,
failed
environment:
3C3D cluster with the latest source codes of master branch
test codes:
{code:java}
List<String> node_list = new ArrayList<>(3);
node_list.add("172.20.70.44:6667");
node_list.add("172.20.70.45:6667");
node_list.add("172.20.70.46:6667");
Session session = new Session.Builder()
.nodeUrls(node_list)
.build();
session.executeQueryStatement("show storage group "); {code}
It throws NPE on the laster statement.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)