Hue service does not start after a fresh installation or upgrade
Condition
Hue service fails during startup with the following error after a fresh installation
or after performing an upgrade:
File "/cs/cloudera/opt/cloudera/parcels/CDH-7.1.8-1.cdh7.1.8.p0.30990532/lib/hue/build/env/lib/python3.8/site-packages/gunicorn/util.py", line 173, in chown os.chown(path, uid, gid) PermissionError: [Errno 1] Operation not permitted: '/tmp/wgunicorn-qfm_jlch'
Cause
This happens because the Hue process user and group specified in the Hue configuration in Cloudera Manager are different than the default information present in the hue.ini file.