瀏覽代碼

[oozie] Warning about using HBase credentials

Romain Rigaux 10 年之前
父節點
當前提交
3e29581935
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      apps/oozie/src/oozie/templates/editor2/common_workflow.mako

+ 4 - 0
apps/oozie/src/oozie/templates/editor2/common_workflow.mako

@@ -499,6 +499,10 @@
 <script type="text/html" id="common-action-credentials">
   <em data-bind="visible: $root.credentials() == null || $root.credentials().length == 0">${ _('No available credentials.') }</em>
   <select data-bind="visible: $root.credentials() != null && $root.credentials().length > 0, options: $root.credentials, selectedOptions: properties.credentials" size="5" multiple="true"></select>
+
+  <em data-bind="visible: properties.credentials.indexOf('hbase') != -1">
+    ${ _('Requires hbase-site.xml in job path') }
+  </em>
 </script>