You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2022/07/13 00:31:22 UTC

[doris] branch master updated: [doc]Add common errors to broker load import documentation (#10773)

This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new a9a08d3d0b [doc]Add common errors to broker load import documentation (#10773)
a9a08d3d0b is described below

commit a9a08d3d0b67767ba21c7ecaf95dd4c13d76306a
Author: caoliang-web <71...@users.noreply.github.com>
AuthorDate: Wed Jul 13 08:31:17 2022 +0800

    [doc]Add common errors to broker load import documentation (#10773)
    
    * Add common errors to broker load import documentation
    
    * Add common errors to broker load import documentation
---
 docs/en/docs/data-operate/import/import-way/broker-load-manual.md   | 5 +++++
 .../zh-CN/docs/data-operate/import/import-way/broker-load-manual.md | 6 ++++++
 2 files changed, 11 insertions(+)

diff --git a/docs/en/docs/data-operate/import/import-way/broker-load-manual.md b/docs/en/docs/data-operate/import/import-way/broker-load-manual.md
index 84504fa1f7..4601d0179c 100644
--- a/docs/en/docs/data-operate/import/import-way/broker-load-manual.md
+++ b/docs/en/docs/data-operate/import/import-way/broker-load-manual.md
@@ -445,6 +445,11 @@ Currently the Profile can only be viewed after the job has been successfully exe
 
   Note: If you use the orc file directly generated by some hive versions, the header in the orc file is not hive meta data, but (_col0, _col1, _col2, ...), which may cause Invalid Column Name error, then you need to use set to map
 
+- Import error: `Login failure for xxx from keytab xxx.keytab`
+
+  The reason for this problem is that when the broker accesses the kerberos authenticated cluster during import, the authentication fails. First, make sure that `kerberos_principal` and `kerberos_keytab` are configured correctly. If there is no problem, you need to set JAVA_OPTS="" in fe.conf
+  Add -Djava.security.krb5.conf=/xxx/krb5.conf to the JAVA_OPTS_FOR_JDK_9="" parameter,You also need to copy hdfs-site.xml in hadoop to broker/conf
+
 ## more help
 
 For more detailed syntax and best practices used by Broker Load, see [Broker Load](../../../sql-manual/sql-reference/Data-Manipulation-Statements/Load/BROKER-LOAD.md) command manual, you can also enter `HELP BROKER LOAD` in the MySql client command line for more help information.
diff --git a/docs/zh-CN/docs/data-operate/import/import-way/broker-load-manual.md b/docs/zh-CN/docs/data-operate/import/import-way/broker-load-manual.md
index 7a0031074d..420b4d3aa9 100644
--- a/docs/zh-CN/docs/data-operate/import/import-way/broker-load-manual.md
+++ b/docs/zh-CN/docs/data-operate/import/import-way/broker-load-manual.md
@@ -445,6 +445,12 @@ FE 的配置参数 `async_loading_load_task_pool_size` 用于限制同时运行
 
   注:如果使用某些 hive 版本直接生成的 orc 文件,orc 文件中的表头并非 hive meta 数据,而是(_col0, _col1, _col2, ...), 可能导致 Invalid Column Name 错误,那么则需要使用 set 进行映射
 
+- 导入出错:`Login failure for xxx from keytab xxx.keytab`
+
+  出现这个问题的原因是导入的时候broker访问kerberos认证的集群时候,认证没有通过,首先确定`kerberos_principal`和`kerberos_keytab`配置是否正确,如果没问题,则需要在fe.conf中JAVA_OPTS=""
+  JAVA_OPTS_FOR_JDK_9="" 参数里面添加-Djava.security.krb5.conf=/xxx/krb5.conf,还需要将hadoop中的hdfs-site.xml复制到broker/conf下
+  
+
 ## 更多帮助
 
 关于 Broker Load 使用的更多详细语法及最佳实践,请参阅 [Broker Load](../../../sql-manual/sql-reference/Data-Manipulation-Statements/Load/BROKER-LOAD.md) 命令手册,你也可以在 MySql 客户端命令行下输入 `HELP BROKER LOAD` 获取更多帮助信息。


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