This topic describes how to prevent Spark errors when making OS system calls from BDD Shell.
You can make call() or os.system() calls from BDD Shell. For example, you can call the DP CLI, as described in Creating a new BDD data set from BDD Shell.
org.apache.spark.SparkException: Job aborted due to stage failure: Exception while getting task result: com.esotericsoftware.kryo.KryoException: java.lang.UnsupportedOperationException
spark.serializer=org.apache.spark.serializer.KryoSerializer
Remove this property and re-try the operation.