If you run it on yarn with kerberos setup. You authenticate yourself by kinit before launching the job.
Thanks. Zhan Zhang On Jul 28, 2015, at 8:51 PM, Anh Hong <hongnhat...@yahoo.com.INVALID<mailto:hongnhat...@yahoo.com.INVALID>> wrote: Hi, I'd like to remotely run spark-submit from a local machine to submit a job to spark cluster (cluster mode). What method do I use to authenticate myself to the cluster? Like how to pass user id or password or private key to the cluster Any help is appreciated.