title: I am running Spark using Google Cloud dataproc cluster. Dataset writing to GCS stucks with pending 1 task which never ends
body: <p>I am running Spark using Google Cloud dataproc cluster. While writing Dataset to GCS bucket (Google cloud storage), it struck at last partition, which never ends.</p>
  <p>It shows 799/800 tasks are completed. But the pending 1 task never ends.</p>