I did tried. Same problem. as you said earlier.
spark.yarn.keytab spark.yarn.principal are required. On Fri, Dec 4, 2015 at 7:25 PM, Ted Yu <yuzhih...@gmail.com> wrote: > Did you try setting "spark.authenticate.secret" ? > > Cheers > > On Fri, Dec 4, 2015 at 7:07 PM, Prasad Reddy <alle.re...@gmail.com> wrote: > >> Hi Ted, >> >> Thank you for the reply. >> >> I am using 1.5.2. >> >> I am implementing SASL encryption. Authentication is required to >> implement SASL Encryption. >> >> I have configured like below in Spark-default.conf >> >> spark.authenticate true >> >> spark.authenticate.enableSaslEncryption true >> >> spark.network.sasl.serverAlwaysEncrypt true >> >> >> Any help will be appreciated. >> >> >> >> Thanks >> >> Prasad >> >> >> >> On Fri, Dec 4, 2015 at 5:55 PM, Ted Yu <yuzhih...@gmail.com> wrote: >> >>> Which release are you using ? >>> >>> Please take a look at >>> https://spark.apache.org/docs/latest/running-on-yarn.html >>> There're several config parameters related to security: >>> spark.yarn.keytab >>> spark.yarn.principal >>> ... >>> >>> FYI >>> >>> On Fri, Dec 4, 2015 at 5:47 PM, prasadreddy <alle.re...@gmail.com> >>> wrote: >>> >>>> Hi All, >>>> >>>> I am running Spark YARN and trying to enable authentication by setting >>>> spark.authenticate=true. After enable authentication I am not able to >>>> Run >>>> Spark word count or any other programs. >>>> >>>> Any help will be appreciated. >>>> >>>> Thanks >>>> >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://apache-spark-user-list.1001560.n3.nabble.com/spark-authenticate-true-YARN-mode-doesn-t-work-tp25573.html >>>> Sent from the Apache Spark User List mailing list archive at Nabble.com. >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org >>>> For additional commands, e-mail: user-h...@spark.apache.org >>>> >>>> >>> >> >