How to pass env variables in dataproc submit command?

Viewed 417

I want to be able to set the following env variables while submitting a job via dataproc submit:

  1. SPARK_HOME
  2. PYSPARK_PYTHON
  3. SPARK_CONF_DIR
  4. HADOOP_CONF_DIR

How can I achieve that?

1 Answers
Related