concurrentRestrictions fails for this PR - but works for master, probably some version change
Merge branch 'master' of github.com:mridulm/spark
Allow CheckpointWriter pending tasks to finish