Эх сурвалжийг харах

[oozie] Warning about using HBase credentials

Romain Rigaux 10 жил өмнө
parent
commit
3e29581935

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

@@ -499,6 +499,10 @@
 <script type="text/html" id="common-action-credentials">
 <script type="text/html" id="common-action-credentials">
   <em data-bind="visible: $root.credentials() == null || $root.credentials().length == 0">${ _('No available credentials.') }</em>
   <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>
   <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>
 </script>