Open Tableau, select Other databases (JDBC), enter the URL and the username and password of the created human-machine user, and click Sign In.
URL format:
jdbc:presto://<HSBrokerIP1:port1>,<HSBrokerIP2:port2>,<HSBrokerIP3:port3>/hive/default?serviceDiscoveryMode=hsbroker
Example:
jdbc:presto://192.168.8.37:29860,192.168.8.38:29860,192.168.8.39:29860/hive/default?serviceDiscoveryMode=hsbroker
Obtain the HSBroker node and port number:
- Log in to FusionInsight Manager.
- Choose Cluster > Services > HetuEngine > Role > HSBroker to obtain the service IP addresses of all HSBroker instances.
- Choose Cluster > Services > HetuEngine > Configurations > All Configurations and search for server.port on the right to obtain the port number of HSBroker.
- You can select one or more normal brokers for the HSBroker node and port number.
- If the connection fails, disable the proxy and try again.