add some logs and fix one bug, till now still has a bug, when you use sc.parallelize(1 to 5 * 1000 * 1000, 1).persist().count() in spark shell, try several times, preUnrollSpace value may have some problem