[SPARK-3571] Spark standalone cluster mode doesn't work.

I think, this issue is caused by #1106
I had misunderstanding. I thought you mentioned remove stopPos and curPos. I understood keeping curPos.