diff --git a/src/com/fr/plugin/hdfs/repository/core/HDFSRepositoryFactory.java b/src/com/fr/plugin/hdfs/repository/core/HDFSRepositoryFactory.java index be4affe..87bad7c 100644 --- a/src/com/fr/plugin/hdfs/repository/core/HDFSRepositoryFactory.java +++ b/src/com/fr/plugin/hdfs/repository/core/HDFSRepositoryFactory.java @@ -87,9 +87,9 @@ public class HDFSRepositoryFactory extends ConfigRepositoryFactory { } try { if (StringUtils.isNotEmpty(principal)) { - return FileSystem.get(URI.create(hdfsUrl), conf, principal); + return FileSystem.newInstance(URI.create(hdfsUrl), conf, principal); } else { - return FileSystem.get(URI.create(hdfsUrl), conf); + return FileSystem.newInstance(URI.create(hdfsUrl), conf); } diff --git a/src/com/fr/plugin/hdfs/repository/decision/js/bundle.js b/src/com/fr/plugin/hdfs/repository/decision/js/bundle.js index ca9687d..a2d95c1 100644 --- a/src/com/fr/plugin/hdfs/repository/decision/js/bundle.js +++ b/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: [ { type: "dec.label.editor.item", - textCls: "dec-font-weight-bold", textWidth: LABEL_WIDTH, editorWidth: EDITOR_WIDTH, 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", - textCls: "dec-font-weight-bold", textWidth: LABEL_WIDTH, editorWidth: EDITOR_WIDTH, 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", - textCls: "dec-font-weight-bold", textWidth: LABEL_WIDTH, editorWidth: EDITOR_WIDTH, watermark: BI.i18nText("Principal"), @@ -84,7 +81,6 @@ BI.config("dec.constant.intelligence.cluster.file.server", function (items) { }, { type: "dec.label.editor.item", - textCls: "dec-font-weight-bold", textWidth: LABEL_WIDTH, editorWidth: EDITOR_WIDTH, watermark: BI.i18nText("keyTab文件路径"),