You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/12/30 13:49:13 UTC

[GitHub] [incubator-doris] zhaojintaozhao opened a new issue #5174: Add kerbos configuration item to apache-hdfs-broker.

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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org