sqoop 导入 - GSS 启动失败 - 无法找到任何 Kerberos tgt
sqoop import - GSS initiate failed - Failed to find any Kerberos tgt
sqoop 导入 - 出错
sqoop list-tables/ eval 工作正常。
分布:Cloudera
安全问题:
GSS initiate failed [Caused by GSSException: No valid credentials
provided (Mechanism level: Failed to find any Kerberos tgt)]
WARN security.UserGroupInformation: PriviledgedActionException
as:pars7611 (auth:KERBEROS) cause:java.io.IOException: Failed on local
exception: java.io.IOException: javax.security.sasl.SaslException: GSS
initiate failed [Caused by GSSException: No valid credentials provided
(Mechanism level: Failed to find any Kerberos tgt)]; ERROR
tool.ImportTool: Import failed: java.io.IOException: Failed on local
exception: java.io.IOException: javax.security.sasl.SaslException: GSS
initiate failed [Caused by GSSException: No valid credentials provided
(Mechanism level: Failed to find any Kerberos tgt)];
错误
GSS initiate failed [Caused by GSSException: No valid credentials
provided (Mechanism level: Failed to find any Kerberos tgt)]
一般是没有Kerberos ticket引起的。请在 运行 sqoop 命令之前使用 kinit 获取 Kerberos 票证。
话虽这么说,但令人费解的是它可以做列表、评估。 Metastore 也应该受到 Kerberos 身份验证的保护。请检查 hive metastore 是否受 Kerberos 保护,即 hive.metastore.sasl.enabled
是否设置为 true。
sqoop 导入 - 出错 sqoop list-tables/ eval 工作正常。
分布:Cloudera 安全问题:
GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
WARN security.UserGroupInformation: PriviledgedActionException as:pars7611 (auth:KERBEROS) cause:java.io.IOException: Failed on local exception: java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]; ERROR tool.ImportTool: Import failed: java.io.IOException: Failed on local exception: java.io.IOException: javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)];
错误
GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
一般是没有Kerberos ticket引起的。请在 运行 sqoop 命令之前使用 kinit 获取 Kerberos 票证。
话虽这么说,但令人费解的是它可以做列表、评估。 Metastore 也应该受到 Kerberos 身份验证的保护。请检查 hive metastore 是否受 Kerberos 保护,即 hive.metastore.sasl.enabled
是否设置为 true。