I am trying to create a dictionary from a list in pyspark. I have the following list of lists:
rawPositions
Gives
[[100979
Check in Spark Configuration https://spark.apache.org/docs/latest/configuration.html#loading-default-configurations Runtime Environment part.
When running:
$SPARK_HOME/bin/spark-submit
Add:
--conf spark.executorEnv.PYTHONHASHSEED=321