You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2023/01/31 11:06:06 UTC
[inlong] branch master updated: [INLONG-7297][Dashboard] Hive node parameter optimization (#7298)
This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 92435ceac [INLONG-7297][Dashboard] Hive node parameter optimization (#7298)
92435ceac is described below
commit 92435ceacdabef29d405cc45d27eca13da0b9383
Author: Lizhen <88...@users.noreply.github.com>
AuthorDate: Tue Jan 31 19:05:58 2023 +0800
[INLONG-7297][Dashboard] Hive node parameter optimization (#7298)
---
inlong-dashboard/src/metas/nodes/defaults/Hive.ts | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/inlong-dashboard/src/metas/nodes/defaults/Hive.ts b/inlong-dashboard/src/metas/nodes/defaults/Hive.ts
index d10b9befb..49221c66a 100644
--- a/inlong-dashboard/src/metas/nodes/defaults/Hive.ts
+++ b/inlong-dashboard/src/metas/nodes/defaults/Hive.ts
@@ -30,16 +30,20 @@ export default class HiveNode extends NodeInfo implements DataWithBackend, Rende
@FieldDecorator({
type: 'input',
rules: [{ required: true }],
- initialValue: 'jdbc:hive2://127.0.0.1:10000',
+ props: {
+ placeholder: 'jdbc:hive2://127.0.0.1:10000',
+ },
})
@I18n('JDBC URL')
- jdbcUrl: string;
+ url: string;
@FieldDecorator({
type: 'input',
rules: [{ required: true }],
tooltip: i18n.t('meta.Nodes.Hive.DataPathHelp'),
- initialValue: 'hdfs://127.0.0.1:9000/user/hive/warehouse/default',
+ props: {
+ placeholder: 'hdfs://127.0.0.1:9000/user/hive/warehouse/default',
+ },
})
@I18n('meta.Nodes.Hive.DataPath')
dataPath: string;
@@ -48,7 +52,9 @@ export default class HiveNode extends NodeInfo implements DataWithBackend, Rende
type: 'input',
rules: [{ required: true }],
tooltip: i18n.t('meta.Nodes.Hive.ConfDirHelp'),
- initialValue: '/usr/hive/conf',
+ props: {
+ placeholder: '/usr/hive/conf',
+ },
})
@I18n('meta.Nodes.Hive.ConfDir')
hiveConfDir: string;