소스 검색

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': {}
       }),