当前位置: 首页 > 工具软件 > Simba > 使用案例 >

Impala JDBC Driver returns [Simba]ImpalaJDBCDriver Error setting/closing session: {0}

危斯伯
2023-12-01

问题:

 

Impala JDBC Driver returns [Simba]ImpalaJDBCDriver Error setting/closing session: {0}

 

解决思路:

出现问题的原因是因为JDBC端口设置错误。

Configuring the JDBC Port

The default port used by JDBC 2.0 and later (as well as ODBC 2.x) is 21050. Impala server accepts JDBC connections through this same port 21050 by default. Make sure this port is available for communication with other hosts on your network, for example, that it is not blocked by firewall software. If your JDBC client software connects to a different port, specify that alternative port number with the --hs2_port option when starting impalad. See Starting Impala for details about Impala startup options. See Ports Used by Impala for information about all ports used for communication between Impala and clients or between Impala components.

将端口修改为:

21050

即可

 

 

 类似资料: