We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6457491 commit ff157d2Copy full SHA for ff157d2
desktop/core/src/desktop/api2.py
@@ -93,7 +93,6 @@
93
from metadata.conf import has_catalog
94
from notebook.connectors.base import Notebook, get_interpreter
95
from notebook.management.commands import notebook_setup
96
-from oozie.management.commands import oozie_setup
97
from pig.management.commands import pig_setup
98
from search.management.commands import search_setup
99
from useradmin.models import Group, User
@@ -1447,6 +1446,9 @@ def _setup_pig_examples(request):
1447
1446
1448
1449
def _setup_oozie_examples(request):
+ # Import dynamically to avoid oozie INSTALLED_APPS error
1450
+ from oozie.management.commands import oozie_setup
1451
+
1452
oozie_setup.Command().handle()
1453
1454
0 commit comments