Browse Source

无jira任务 字体,重复点击测试连接保存会失败的问题

release/10.0
rinoux 6 years ago
parent
commit
af9c2df2ae
  1. 4
      src/com/fr/plugin/hdfs/repository/core/HDFSRepositoryFactory.java
  2. 4
      src/com/fr/plugin/hdfs/repository/decision/js/bundle.js

4
src/com/fr/plugin/hdfs/repository/core/HDFSRepositoryFactory.java

@ -87,9 +87,9 @@ public class HDFSRepositoryFactory extends ConfigRepositoryFactory<HDFSConfig> {
} }
try { try {
if (StringUtils.isNotEmpty(principal)) { if (StringUtils.isNotEmpty(principal)) {
return FileSystem.get(URI.create(hdfsUrl), conf, principal); return FileSystem.newInstance(URI.create(hdfsUrl), conf, principal);
} else { } else {
return FileSystem.get(URI.create(hdfsUrl), conf); return FileSystem.newInstance(URI.create(hdfsUrl), conf);
} }

4
src/com/fr/plugin/hdfs/repository/decision/js/bundle.js

@ -34,7 +34,6 @@ BI.config("dec.constant.intelligence.cluster.file.server", function (items) {
items: [ items: [
{ {
type: "dec.label.editor.item", type: "dec.label.editor.item",
textCls: "dec-font-weight-bold",
textWidth: LABEL_WIDTH, textWidth: LABEL_WIDTH,
editorWidth: EDITOR_WIDTH, editorWidth: EDITOR_WIDTH,
watermark: BI.i18nText("Dec-Please_Input"), watermark: BI.i18nText("Dec-Please_Input"),
@ -51,7 +50,6 @@ BI.config("dec.constant.intelligence.cluster.file.server", function (items) {
}] }]
}, { }, {
type: "dec.label.editor.item", type: "dec.label.editor.item",
textCls: "dec-font-weight-bold",
textWidth: LABEL_WIDTH, textWidth: LABEL_WIDTH,
editorWidth: EDITOR_WIDTH, editorWidth: EDITOR_WIDTH,
watermark: BI.i18nText("Dec-Please_Input"), watermark: BI.i18nText("Dec-Please_Input"),
@ -69,7 +67,6 @@ BI.config("dec.constant.intelligence.cluster.file.server", function (items) {
}, },
{ {
type: "dec.label.editor.item", type: "dec.label.editor.item",
textCls: "dec-font-weight-bold",
textWidth: LABEL_WIDTH, textWidth: LABEL_WIDTH,
editorWidth: EDITOR_WIDTH, editorWidth: EDITOR_WIDTH,
watermark: BI.i18nText("Principal"), watermark: BI.i18nText("Principal"),
@ -84,7 +81,6 @@ BI.config("dec.constant.intelligence.cluster.file.server", function (items) {
}, },
{ {
type: "dec.label.editor.item", type: "dec.label.editor.item",
textCls: "dec-font-weight-bold",
textWidth: LABEL_WIDTH, textWidth: LABEL_WIDTH,
editorWidth: EDITOR_WIDTH, editorWidth: EDITOR_WIDTH,
watermark: BI.i18nText("keyTab文件路径"), watermark: BI.i18nText("keyTab文件路径"),

Loading…
Cancel
Save