Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Unable to access Hive WebUI

avatar
Explorer

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 2

avatar
Master Collaborator

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

avatar
Explorer

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