new spark based generator (BIGTOP-1414)