Use DBeaver 7.2.0 as an example to describe how to access HetuEngine.
Obtaining the JDBC file:
Decompress the package in the FusionInsight_Cluster_Cluster ID_HetuEngine_ClientConfig\HetuEngine\xxx\ directory to obtain the hetu-jdbc-*.jar file.
Note: xxx can be arm or x86.
Add the mapping of the host where the instance is located in the HSFabric or HSBroker mode. The format is Host IP address Host name.
Example: 192.168.42.90 server-2110081635-0001
The local hosts file in a Windows environment is stored in, for example, C:\Windows\System32\drivers\etc.
Parameter |
Value |
---|---|
Class Name |
io.prestosql.jdbc.PrestoDriver |
URL Template |
|
Search for gateway.port to obtain the HSFabric port number. The default port number is 29902 in security mode and 29903 in normal mode.
Search for server.port to obtain the HSBroker port number. The default port number is 29860 in security mode and 29861 in normal mode.
On the Main tab page for creating a connection, set JDBC URL and leave Password blank.
On the page for creating a connection, configure the parameters on the Driver properties tab. Set user to the user created in Prerequisites. Click Test Connection. After the connection is successful, click OK then Finish. You can click Connection details (name, type, ... ) to change the connection name.