Closed stefanm7 closed 3 years ago
While not perfect his should not affect Hue from running normally though
On Tue, Aug 20, 2019, 9:26 AM stefanm7 notifications@github.com wrote:
When disabling beeswax and oozie like shown on this documentation-page: http://gethue.com/mini-how-to-disabling-some-apps-from-showing-up/ with
app_blacklist=beeswax,impala,security,filebrowser,jobbrowser,rdbms,jobsub,pig,hbase,sqoop,zookeeper,metastore,spark,oozie,indexer
the following errors are thrown on hue-startup: RuntimeError: Model class beeswax.models.QueryHistory doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS. and Oozie application is not enabled: Model class oozie.models.Job doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cloudera/hue/issues/948?email_source=notifications&email_token=AAAEMGP27YDFQ5GWXY23XS3QFQLKVA5CNFSM4INZTVC2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGJNA2A, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAEMGMZ2FYX4FCZPKUUTNDQFQLKVANCNFSM4INZTVCQ .
I am using the hue-docker image gethue/hue:4.5.0 and it does shutdown if this error is thrown. I attached the log of the hue-container.
beeswax should not be blacklisted very probably as it is a core lib. It was replaced by 'hive', could you switch beeswax with 'hive' in the app_blacklist?
Yes, beeswax and oozie should not be blacklisted obviously.
HUE 4.5. Blacklist - the same (with beeswax) Facing the same error. Can't start hue. Traceback after /usr/lib/hue/build/env/bin/supervisor
:
$ /usr/lib/hue/build/env/bin/supervisor
[INFO] Not running as root, skipping privilege drop
[21/Oct/2019 12:31:54 +0000] settings DEBUG DESKTOP_DB_TEST_NAME SET: /usr/lib/hue/desktop/desktop-test.db
[21/Oct/2019 12:31:54 +0000] settings DEBUG DESKTOP_DB_TEST_USER SET: hue_test
[21/Oct/2019 12:31:54 +0000] settings DEBUG DESKTOP_DB_TEST_NAME SET: /usr/lib/hue/desktop/desktop-test.db
[21/Oct/2019 12:31:54 +0000] settings DEBUG DESKTOP_DB_TEST_USER SET: hue_test
[21/Oct/2019 05:31:57 +0000] decorators INFO AXES: BEGIN LOG
[21/Oct/2019 05:31:57 +0000] decorators INFO Using django-axes 2.2.0
[21/Oct/2019 05:31:57 +0000] decorators INFO AXES: BEGIN LOG
[21/Oct/2019 05:31:57 +0000] decorators INFO Using django-axes 2.2.0
Traceback (most recent call last):
File "/usr/lib/hue/build/env/bin/hue", line 14, in
This issue is stale because it has been open 30 days with no activity and is not "roadmap" labeled or part of any milestone. Remove stale label or comment or this will be closed in 5 days.
I encountered the same issue with beeswax
via the Hue Docker image.
The Hue documentation is still providing an example with beeswax and oozie. It would be useful to remove it from the documentation.
When disabling beeswax and oozie like shown on this documentation-page: http://gethue.com/mini-how-to-disabling-some-apps-from-showing-up/ with
app_blacklist=beeswax,impala,security,filebrowser,jobbrowser,rdbms,jobsub,pig,hbase,sqoop,zookeeper,metastore,spark,oozie,indexer
the following errors are thrown on hue-startup:
RuntimeError: Model class beeswax.models.QueryHistory doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
andOozie application is not enabled: Model class oozie.models.Job doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
Version is 4.5.0