Deleting and Resubmitting the Spark Applications

This section describes how to resubmit and delete the Spark applications using the Spark Operator on HPE Ezmeral Runtime Enterprise.

Prerequisites

Log in as Kubernetes Tenant Administrator.

About this task

To resubmit the same Spark application, delete the previously submitted Spark application and wait until Kubernetes cleans the driver pod. Failing to delete Spark application before resubmission will output the following message:
sparkapplication.sparkoperator.hpe.com/<spark-application-name> unchanged

Procedure

Run the following command to delete the Spark application:
kubectl delete -f /<path-to-spark-application-yaml-name>
To delete Spark applications using HPE Ezmeral Runtime Enterprise new UI, see Managing Spark Applications.