Hue - app_blacklist minimum apps?

349 views
Skip to first unread message

Tom Stewart

unread,
Oct 9, 2017, 8:56:43 PM10/9/17
to Hue-Users
Does anyone know the restrictions for the minimum apps that we can have? We tried to follow something similar to this to blacklist everything but File Browser and RDBMS but we get a ton of Error 500's relating to Oozie or Hive.

app_blacklist=beeswax,impala,security,jobbrowser,search,jobsub,pig,hbase,sqoop,zookeeper,metastore,spark,oozie,indexer

This was on Hue 4.0. 

[09/Oct/2017 17:46:50 -0700] oozie_batch  ERROR    Oozie application is not enabled: 'Config' object has no attribute 'get'
Traceback (most recent call last):
  File "/app1/hue/desktop/libs/notebook/src/notebook/connectors/oozie_batch.py", line 37, in <module>
    from oozie.views.api import get_log as get_workflow_logs
  File "/app1/hue/apps/oozie/src/oozie/views/__init__.py", line 18, in <module>
    from dashboard import *
  File "/app1/hue/apps/oozie/src/oozie/views/dashboard.py", line 49, in <module>
    from oozie.forms import RerunForm, ParameterForm, RerunCoordForm, RerunBundleForm, UpdateCoordinatorForm
  File "/app1/hue/apps/oozie/src/oozie/forms.py", line 340, in <module>
    class CoordinatorForm(forms.ModelForm):
  File "/app1/hue/apps/oozie/src/oozie/forms.py", line 348, in CoordinatorForm
    class Meta:
  File "/app1/hue/apps/oozie/src/oozie/forms.py", line 351, in Meta
    if ENABLE_CRON_SCHEDULING.get():
AttributeError: 'Config' object has no attribute 'get'

Romain Rigaux

unread,
Oct 9, 2017, 10:21:32 PM10/9/17
to Tom Stewart, Hue-Users
Indeed, with https://issues.cloudera.org/browse/HUE-7441 and the patch attached to the review it should work.

--
You received this message because you are subscribed to the Google Groups "Hue-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.

Tom Stewart

unread,
Oct 10, 2017, 12:08:54 AM10/10/17
to Hue-Users, stewart...@yahoo.com
That is really close - I am past the Error 500 now. Also moved up to 4.1.0 to test further. I trimmed down to just a PostgreSQL librdbms entry (for Redshift). When I go to the Notebook and try to add any snippet, I get this:

[09/Oct/2017 21:04:38 -0700] views        ERROR    JS ERROR: {"msg":"Uncaught TypeError: Cannot read property 'TYPES' of undefined","url":"https://bdo-moo-820572.vpn-devl.us.i03.c01.mycloud.com/static/notebook/js/notebook.ko.10cd999806f5.js","line":794,"column":141,"stack":"TypeError: Cannot read property 'TYPES' of undefined\n    at new Snippet (https://bdo-moo-820572.vpn-devl.us.i03.c01.mycloud.com/static/notebook/js/notebook.ko.10cd999806f5.js:794:141)\n    at Notebook.self.addSnippet (https://bdo-moo-820572.vpn-devl.us.i03.c01.mycloud.com/static/notebook/js/notebook.ko.10cd999806f5.js:2131:22)\n    at Notebook.self.newSnippet (https://bdo-moo-820572.vpn-devl.us.i03.c01.mycloud.com/static/notebook/js/notebook.ko.10cd999806f5.js:2212:26)\n    at Object.AddSnippetMenuViewModel.self.addNewSnippet (eval at globalEval (https://bdo-moo-820572.vpn-devl.us.i03.c01.mycloud.com/static/desktop/js/hue-bundle.651d3f665f75.js:33:11837), <anonymous>:56:25)\n    at HTMLDivElement.<anonymous> (https://bdo-moo-820572.vpn-devl.us.i03.c01.mycloud.com/static/desktop/js/hue-bundle.651d3f665f75.js:52:26108)\n    at HTMLDivElement.dispatch (https://bdo-moo-820572.vpn-devl.us.i03.c01.mycloud.com/static/desktop/js/hue-bundle.651d3f665f75.js:44:1366)\n    at HTMLDivElement.m.handle (https://bdo-moo-820572.vpn-devl.us.i03.c01.mycloud.com/static/desktop/js/hue-bundle.651d3f665f75.js:43:30182)"}



To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+u...@cloudera.org.

Reply all
Reply to author
Forward
0 new messages