zhaojintaozhao opened a new issue #5174:
URL: https://github.com/apache/incubator-doris/issues/5174
In my system, it uses apache-hdfs-broker to load hdfs files into Doris. The
hdfs system uses kerbos authentication.
I must set kerbos authentication information in load sql, such as the keytab
file path.
eg:
```
LOAD LABEL example_db.label6
(
DATA INFILE("bos://my_bucket/input/file")
INTO TABLE `my_table`
)
WITH BROKER "broker_name"
(
"hadoop.security.authentication" = "kerberos",
"kerberos_keytab" = "/home/doris/my.keytab"
)
```
Generally, the kerbos authentication information is fixed. For example, the
keytab file is stored in a fixed directory on the host where the
apache-hdfs-broker is located.
I suggest we can add the kerbos authentication configuration item in the
apache-hdfs-broker configuration file. So we do not need to set the kerbos
authentication information in each load sql properties. However, if we set
kerbos authentication information in load sql properties, the configuration in
the configuration file will be replaced.
eg:
```
LOAD LABEL example_db.label6
(
DATA INFILE("bos://my_bucket/input/file")
INTO TABLE `my_table`
)
WITH BROKER "broker_name"
()
```
I have optimized this feature. We do not need to set kerbos authentication
information in each load sql.
I want to integrate my optimize into the community .
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]