title: How to specify spark.authenticate.secret value while executing spark pgm
body: <p>I got this error when I launched my spark program with deploy-mode : client.</p>
  
  <p>java.lang.illegalargumentexception: error: a secret key must be specified via the spark.authenticate.secret config.</p>
  
  <p>deploy-mode: client
  master: YARN.</p>
  
  <p>How do I resolve this error? I have no clue.</p>