diff --git a/inlong-dashboard/src/plugins/nodes/defaults/Hive.ts b/inlong-dashboard/src/plugins/nodes/defaults/Hive.ts index c507ad06ed2..3ad9d8c287d 100644 --- a/inlong-dashboard/src/plugins/nodes/defaults/Hive.ts +++ b/inlong-dashboard/src/plugins/nodes/defaults/Hive.ts @@ -27,6 +27,20 @@ const { I18n } = DataWithBackend; const { FieldDecorator } = RenderRow; export default class HiveNode extends NodeInfo implements DataWithBackend, RenderRow, RenderList { + @FieldDecorator({ + type: 'input', + rules: [{ required: true }], + }) + @I18n('meta.Nodes.Hive.Username') + username: string; + + @FieldDecorator({ + type: 'password', + rules: [{ required: true }], + }) + @I18n('meta.Nodes.Hive.Password') + token: string; + @FieldDecorator({ type: 'input', rules: [{ required: true }], diff --git a/inlong-dashboard/src/ui/locales/cn.json b/inlong-dashboard/src/ui/locales/cn.json index 67d8004dc8b..a99c7705fb3 100644 --- a/inlong-dashboard/src/ui/locales/cn.json +++ b/inlong-dashboard/src/ui/locales/cn.json @@ -491,6 +491,8 @@ "meta.Nodes.StarRocks.Username": "用户名", "meta.Nodes.StarRocks.Password": "密码", "meta.Nodes.StarRocks.Url": "地址", + "meta.Nodes.Hive.Username": "用户名", + "meta.Nodes.Hive.Password": "密码", "meta.Nodes.Hudi.Username": "用户名", "meta.Nodes.Hudi.Password": "密码", "meta.Nodes.Hudi.Url": "地址", diff --git a/inlong-dashboard/src/ui/locales/en.json b/inlong-dashboard/src/ui/locales/en.json index 60e49aa8df8..3700bac5663 100644 --- a/inlong-dashboard/src/ui/locales/en.json +++ b/inlong-dashboard/src/ui/locales/en.json @@ -491,6 +491,8 @@ "meta.Nodes.StarRocks.Username": "Username", "meta.Nodes.StarRocks.Password": "Password", "meta.Nodes.StarRocks.Url": "URL", + "meta.Nodes.Hive.Username": "Username", + "meta.Nodes.Hive.Password": "Password", "meta.Nodes.Redis.Database": "Database", "meta.Nodes.Redis.clusterMode": "ClusterMode", "meta.Nodes.Redis.Host": "Host",