robgajudo / SEBC

SEBC
0 stars 0 forks source link

clients lab hue #4

Closed robgajudo closed 7 years ago

robgajudo commented 7 years ago

When synching OS users to HUE I encountered

django.db.utils.OperationalError: unable to open database file

Workaround shared by https://github.com/mukkugolla007

[root@ip-172-31-3-11 hue]# export HUE_IGNORE_PASSWORD_SCRIPT_ERRORS=1
[root@ip-172-31-3-11 hue]# export HUE_DATABASE_PASSWORD=welcome1
[root@ip-172-31-3-11 hue]# export HUE_SECRET_KEY=cloudera

Also

export HUE_CONF_DIR="/var/run/cloudera-scm-agent/process/`ls -alrt /var/run/cloudera-scm-agent/process | grep HUE | tail -1 | awk '{print $9}'`"
robgajudo commented 7 years ago

Done with all the client labs.

mfernest commented 7 years ago

Why no issues for the other labs? I can't report on them if you don't give me the means.

mfernest commented 7 years ago

👍

robgajudo commented 7 years ago

Hi Michael! This is the only lab that I encountered an issue. As for the rest I was able to follow. Thanks!