Explorar o código

HUE-6375 [jobsub] Enable job submission snippets based on jobsub app status

Romain Rigaux %!s(int64=8) %!d(string=hai) anos
pai
achega
0fe047a
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      desktop/libs/notebook/src/notebook/conf.py

+ 1 - 4
desktop/libs/notebook/src/notebook/conf.py

@@ -165,11 +165,8 @@ def _default_interpreters(user):
       'name': 'Pig', 'interface': 'oozie', 'options': {}
     }))
 
-  if 'oozie' in apps:
+  if 'oozie' in apps and 'jobsub' in apps:
     interpreters.extend((
-      ('pig', {
-          'name': 'Pig', 'interface': 'oozie', 'options': {}
-      }),
       ('java', {
           'name': 'Java', 'interface': 'oozie', 'options': {}
       }),