From af9c2df2ae29cb07eeb894a809450c7bf2abc74f Mon Sep 17 00:00:00 2001 From: rinoux Date: Thu, 6 Dec 2018 08:54:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20=E5=AD=97?= =?UTF-8?q?=E4=BD=93=EF=BC=8C=E9=87=8D=E5=A4=8D=E7=82=B9=E5=87=BB=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E8=BF=9E=E6=8E=A5=E4=BF=9D=E5=AD=98=E4=BC=9A=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fr/plugin/hdfs/repository/core/HDFSRepositoryFactory.java | 4 ++-- src/com/fr/plugin/hdfs/repository/decision/js/bundle.js | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) 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文件路径"),