Hi Ji,
As far as I know only tasks that have been started by other services (e.g. streaming ingestion, auto-compaction, auto-kill) will automatically be rerun.
For batch jobs that you initiate I believe you would also have to resubmit ... but there is a Task API from which you can monitor task progress, and presumably your application can resubmit the job if the task status indicates failure.
Let us know if this answers your questiion.
Thanks. John