I am submitting a spark with that would write to Kerborized cluster with following command. I didn't add any code in the spark program to enable authentication etc stuff. I just passed principal and keytab with spark-submit. But i am getting 'Failed to renew token' error. My spark program could connect to hive metastore.
Can i know what is causing this?
> ./spark-submit --class com.abcd.xyz.voice.cc.cc.cc --verbose --master
> yarn --deploy-mode cluster --executor-cores 6 --executor-memory 6g
> --driver-java-options "-Dlog4j.configuration=file:/app/home/abcd/conf/my_Driver.log4j"
> --principal myowner@CABLE.abcd.COM --keytab /app/home/emm/myfile.keytab --conf
> "spark.executor.extraJavaOptions=-Dlog4j.configuration=file:/app/home/emm/conf/my_Executor.log4j
> -Ddm.logging.name=LegalDemand" /app/home/emm/bin/myjar.jar --files file:///app/home/emm/mykeytab.keytab --conf
> spark.hadoop.fs.hdfs.impl.disable.cache=true
> /app/home/emm/conf/my.properties
17/07/11 18:02:42 INFO yarn.Client: client token: N/A diagnostics: Failed to renew token: Kind: TIMELINE_DELEGATION_TOKEN, Service: 172.27.30.133:8188, Ident: (owner=myowner, renewer=yarn, realUser=, issueDate=1499796160528, maxDate=1500400960528, sequenceNumber=74505, masterKeyId=294) ApplicationMaster host: N/A ApplicationMaster RPC port: -1 queue: default start time: 1499796160725 final status: FAILED tracking URL: http://abcd.net:8088/proxy/application_1499697586013_1727/ user: myowner