Skip to main content
hsuan
Silver ⭐️
Aug 26, 2021 9:38 PM UTC
Question

Unable to access Hive WebUI

hive-site.xml

  <property>
<name>system:java.io.tmpdir</name>
<value>/usr/local/hive/tmp</value>
</property>
<property>
<name>system:user.name</name>
<value>${user.name}</value>
</property>
<property>
<name>hive.server2.webui.host</name>
<value>active-nn</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>

 

core-site.xml

  <property>
<name>hadoop.proxyuser.hive.groups</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.hive.hosts</name>
<value>*</value>
</property>

 

I can open hive but I can't open the WebUI. Above are my files. What is the wrong?

(version:ubuntu 20.04, Hadoop 3.3.1 (including YARN), Open JDK 8, Hive 2.3.9)

 

2 replies

ChethanYM
Gold ⭐️
Gold ⭐️
Aug 29, 2021 1:13 PM UTC

Hi,

Can you explain the issue in brief.. 

1. what is the error you are seeing while opening the UI?

2. was this accessible earlier?

3. Please attach the screenshot of the error/exception you are seeing.

4. What is the CDH version.

 

Regards,

Chethan YM

Translate
hsuan
hsuanAuthor
Silver ⭐️
Sep 29, 2021 3:35 PM UTC

1. I can't open Hive WebUI. It can't connect to the Hive website. It shows "ERR_CONNECTION_REFUSED".

2. No, it always can't connect to the website.

3. There is no other message about it. 

4. I have used command line, "hadoop version". There is no information about CDH version.擷取.JPG

All codes are below.

https://github.com/KarenPHS/HadoopCluster

Translate