فهرست منبع

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

Romain Rigaux 8 سال پیش
والد
کامیت
0fe047a
1فایلهای تغییر یافته به همراه1 افزوده شده و 4 حذف شده
  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': {}
       }),