This is an automated email from the ASF dual-hosted git repository.
healchow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 354b12e77 [INLONG-4500][Manager][Dashboard] Remove non-null
restriction on hiveConfDir parameter (#4501)
354b12e77 is described below
commit 354b12e77def53d7f3a706a2c4556a10a7fc1b8a
Author: healzhou <[email protected]>
AuthorDate: Sat Jun 4 09:43:36 2022 +0800
[INLONG-4500][Manager][Dashboard] Remove non-null restriction on
hiveConfDir parameter (#4501)
---
inlong-dashboard/src/components/MetaData/StorageHive.tsx | 1 -
.../org/apache/inlong/manager/common/pojo/sink/hive/HiveSinkRequest.java | 1 -
2 files changed, 2 deletions(-)
diff --git a/inlong-dashboard/src/components/MetaData/StorageHive.tsx
b/inlong-dashboard/src/components/MetaData/StorageHive.tsx
index b37de3c4f..3e6938af3 100644
--- a/inlong-dashboard/src/components/MetaData/StorageHive.tsx
+++ b/inlong-dashboard/src/components/MetaData/StorageHive.tsx
@@ -169,7 +169,6 @@ const getForm: GetStorageFormFieldsType = (
type: 'input',
label: i18n.t('components.AccessHelper.StorageMetaData.Hive.ConfDir'),
name: 'hiveConfDir',
- rules: [{ required: true }],
tooltip:
i18n.t('components.AccessHelper.StorageMetaData.Hive.ConfDirHelp'),
props: {
placeholder: '/usr/hive/conf',
diff --git
a/inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/pojo/sink/hive/HiveSinkRequest.java
b/inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/pojo/sink/hive/HiveSinkRequest.java
index 40ff6dd25..04d172ae7 100644
---
a/inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/pojo/sink/hive/HiveSinkRequest.java
+++
b/inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/pojo/sink/hive/HiveSinkRequest.java
@@ -85,7 +85,6 @@ public class HiveSinkRequest extends SinkRequest {
@ApiModelProperty("Version for Hive, such as: 3.2.1")
private String hiveVersion;
- @NotNull(message = "hiveConfDir cannot be null")
@ApiModelProperty("Config directory of Hive on HDFS, must include
hive-site.xml")
private String hiveConfDir;