Skip to main content
dv_conan
Silver ⭐️⭐️⭐️
August 24, 2021
Question

Hue Not working with hive on tez

Dear all 

I have installed CDP private cloud on single node, Also i added hive, hive-on-tez and Hue services but unfortunately Hue not working with hive database and hiveserver2 of hive-on-tez stopping frequently.

On hue UI this error is shown while choosing hive database

Could not connect to any of [('xx.xx.xxx.xxx', 10000)] (code THRIFTTRANSPORT): TTransportException("Could not connect to any of [('xx.xx.xxx.xxx', 10000)]",)

 

So what shall i do to work on hive using hue editor? 

thanks in advance 

8 replies

jAnshula
Gold ⭐️
Gold ⭐️
August 24, 2021

Hi @dv_conan 

 

As you have mentioned that hiveserver2 of hive-on-tez is stopping frequently. This seems to be the cause of this error, as this message indicates that Hive Server is down or HUE Can't reach the server.

 

Please check Hive server logs to see why the hiveserver2 on hive-on-tez is failing frequently.

 

Translate
dv_conan
dv_conanAuthor
Silver ⭐️⭐️⭐️
August 25, 2021

Hi @jAnshula 

Thanks for your reply,

I've already checked Hive server2 logs and this what i got in the screenshot below.

And i didn't find out what that error mean and how to solve it. am still cannot working with Hue  

Screenshot from 2021-08-25 16-43-30.png

 

Translate
jAnshula
Gold ⭐️
Gold ⭐️
August 25, 2021

@dv_conan 

 

It seems that Tez tar file is not uploaded to HDFS.

Can you try and manually upload the Tez tar file to HDFS manually

 

Go to CM  -> Tez  -> Actions  -> "Upload Tez tar file to HDFS.

 

Let us know if resolves your issue

 

Translate