Support Questions
Find answers, ask questions, and share your expertise

Centralized DB for multiple hue servers

Solved Go to solution

Re: Centralized DB for multiple hue servers

Community Manager

Hi @Rajuambala as this is an older post, you would have a better chance of receiving a resolution by starting a new thread. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post.


Vidya Sargur,
Community Manager

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:

Re: Centralized DB for multiple hue servers

Thank you for all your responses. It works fine. But I got some error while restarting hue service in all hosts.

[centos@ip-172-31-56-224 ~]$ sudo -i [root@ip-172-31-56-224 ~]# /etc/init.d/hue restart

Shutting down hue: [ OK ] Traceback (most recent call last):

File "/usr/lib/hue/build/env/bin//hue", line 9, in <module> load_entry_point('desktop==2.6.1', 'console_scripts', 'hue')()

File "/usr/lib/hue/desktop/core/src/desktop/", line 41, in entry from desktop import settings, appmanager File "/usr/lib/hue/desktop/core/src/desktop/", line 52, in <module> desktop.log.basic_logging(os.environ[ENV_HUE_PROCESS_NAME])

File "/usr/lib/hue/desktop/core/src/desktop/log/", line 125, in basic_logging logging.config.fileConfig(log_conf) File "/usr/lib64/python2.6/logging/", line 84, in fileConfig handlers = _install_handlers(cp, formatters)

File "/usr/lib64/python2.6/logging/", line 162, in _install_handlers h = klass(*args)

File "/usr/lib64/python2.6/logging/", line 112, in __init__ BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)

File "/usr/lib64/python2.6/logging/", line 64, in __init__ logging.FileHandler.__init__(self, filename, mode, encoding, delay)

File "/usr/lib64/python2.6/logging/", line 835, in __init__ StreamHandler.__init__(self, self._open())

File "/usr/lib64/python2.6/logging/", line 854, in _open stream = open(self.baseFilename, self.mode)

IOError: [Errno 13] Permission denied: '/usr/lib/hue/logs/access.log'

Starting hue: [ OK ]

[root@ip-172-31-56-224 ~]# /etc/init.d/hue status

supervisor (pid 12586) is running...

[root@ip-172-31-56-224 ~]#

Will it impact my environment?

Thanks and Regards,