title: Unable to deploy Avro Spark. Access denied
body: <p>I am training to work with spark.
  Parquet and csv in Jupyter work correctly.</p>
  <p>When I started trying the avro format, this error appeared.</p>
  <p><a href="https://i.stack.imgur.com/SyOV3.jpg" rel="nofollow noreferrer">Screen 1</a></p>
  <p>Here they offer a solution.</p>
  <p><a href="https://spark.apache.org/docs/latest/sql-data-sources-avro.html" rel="nofollow noreferrer">Apache Avro Data Source Guide</a></p>
  <blockquote>
  <p>./bin/spark-submit --packages org.apache.spark:spark-avro_2.12:3.3.0
  ...</p>
  </blockquote>
  <p>I do everything on behalf of the administrator, but I still write that access is denied.</p>
  <p><a href="https://i.stack.imgur.com/Acvyp.jpg" rel="nofollow noreferrer">Screen 2</a></p>
  <p>Tell me, please, what am I doing wrong?</p>
  <p>UPD 05.07.22</p>
  <p>I noticed that if you use</p>
  <blockquote>
  <p>./bin/spark-shell --packages org.apache.spark:spark-avro_2.12:3.3.0
  ...</p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/QPX1M.jpg" rel="nofollow noreferrer">Spark-shell</a></p>
  <p>But writing on the command line is not very convenient.</p>
  <p><a href="https://i.stack.imgur.com/pHLPA.jpg" rel="nofollow noreferrer">Coding avro</a></p>
  <p>As I understand it, when I use Jupyter or Paycharm, they launch the spark on their own.
  Where can I see which spark (spark submit and spark shell) they are launching?</p>