Job aborted due to stage failure: Task 0 in stage 0.0 failed 4 times, most recent failure: Lost task 0.3 in stage 0.0 (TID 3, node12.test-tpl-hadoop-wh.com, executor 76): org.apache.kudu.client.NonRecoverableException: Couldn’t find a valid master in (node11.test-tpl-hadoop-wh.com:7051). Exceptions received: [org.apache.kudu.client.NonRecoverableException: server requires authentication, but client does not have Kerberos credentials (tgt). Authentication tokens were not used because no TLS certificates are trusted by the client]
kudu官网有描述spark 读kudu数据的方式, https://kudu.apache.org/docs/configuration.html
但是死活认证不通过, 于是查找了很多资料, 还是未找到原因, 最后加上了:
session.sqlContext.read.options(Map(“kudu.master” -> kuduMaster, “kudu.table” -> kuduTable)).kudu.schema
认证通过
210

被折叠的 条评论
为什么被折叠?



