Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Unable to restart apache hue after changing hue.ini file for hive configuration

avatar
New Contributor

Currently running hue with official helm chart and trying to connect to remote hive metastore

After changing in hue.ini file when running ./build/env/bin/supervisor command it's throwing error -

 

[2023-07-27 06:16:06 -0700] [425] [INFO] Starting gunicorn 19.9.0
[2023-07-27 06:16:06 -0700] [425] [ERROR] Connection in use: ('0.0.0.0', 8888)
[2023-07-27 06:16:06 -0700] [425] [ERROR] Retrying in 1 second.
[2023-07-27 06:16:07 -0700] [425] [ERROR] Connection in use: ('0.0.0.0', 8888)

 

when checked on 8888 python process is running 

Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name Timer
tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN 1001 39183488 1237/python3.8 off (0.00/0/0)
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 36878564 - off (0.00/0/0)

 

But everytime after killing the process id , it's again creating a new process on same port and unable to restart hue

 

What would be the ideal way to restart hue or is there any separate command to achieve the same , please suggest

3 REPLIES 3

avatar
Community Manager

@pratik4891 Welcome to the Cloudera Community!

To help you get the best possible solution, I have tagged our Hue experts @dturnau @iks  who may be able to assist you further.

Please keep us updated on your post, and we hope you find a satisfactory solution to your query.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Cloudera Employee

Please try the below actions

1) Stop the Hue 

2) $ ps -ef | grep -i <user-running-hue-process> 

if you still see the process is running kill the process by running $ pkill -U <user-running-hue-process> 

3) $ netstat -tulpn | grep 8888

If there is any pid then kill $ kill -9 <pid-holding-port>

4) Star the Hue 

avatar
Community Manager

@pratik4891 Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: