客户端无法通过认证。[TOKEN,KERBEROS)

问题描述 投票:-1回答:1

从我的火花应用来看,我正试图 distcp 从hdfs到s3。我的应用程序对数据进行了一些处理,并将数据写入hdfs,而这些数据我正试图通过 distcp. 我面临以下错误。 任何指针将是有益的。

org.apache.hadoop.security.UserGroupInformation doAs - 
PriviledgedActionException as: (auth:SIMPLE) cause:org.apache.hadoop.security.
Failed on local exception: java.io.IOException: 
org.apache.hadoop.security.AccessControlException:
Client cannot authenticate via: [TOKEN, KERBEROS);
apache-spark amazon-s3 hdfs kerberos distcp
1个回答
0
投票

我已经在做knit. 使用 ugi.doAs new privilege action 来解决这个问题。

© www.soinside.com 2019 - 2024. All rights reserved.