1.hive-site.xml配置如下:
<property>
<name>hive.server2.webui.host</name>
<value>192.168.53.122</value>
<description>The host address the HiveServer2 WebUI will listen on</description>
</property>
<property>
<name>hive.server2.webui.port</name>
<value>10002</value>
<description>The port the HiveServer2 WebUI will listen on. This can beset to 0 or a negative integer to disable the web UI</description>
</property>
2.啟動hiveserver2
3.打開http://192.168.53.122:10002即可
界面中可以直觀的看到當前鏈接的會話、歷史日志、配置參數以及度量信息。